org.apache.felix.servicebinder
Class PropertyMetadata

java.lang.Object
  extended by org.apache.felix.servicebinder.PropertyMetadata

public class PropertyMetadata
extends java.lang.Object

A property descriptor that contains the information for properties defined in the meta-data file.

Author:
Felix Project Team

Constructor Summary
PropertyMetadata(java.lang.String name, java.lang.String type, java.lang.String val)
          Create a PropertyMetadata object
 
Method Summary
 java.lang.String getName()
          Get the name of the property
 java.lang.String getType()
          Get the type of the property
 java.lang.Object getValue()
          Get the value of the property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyMetadata

public PropertyMetadata(java.lang.String name,
                        java.lang.String type,
                        java.lang.String val)
Create a PropertyMetadata object

Parameters:
name - the name of the property
type - the type of the property (string, boolean, byte, char, short, int, long, float or double)
val - the value of the property
Method Detail

getName

public java.lang.String getName()
Get the name of the property

Returns:
the name of the property

getType

public java.lang.String getType()
Get the type of the property

Returns:
the type of the property

getValue

public java.lang.Object getValue()
Get the value of the property

Returns:
the value of the property as an Object