org.apache.felix.servicebinder
Class PropertyMetadata

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

public class PropertyMetadata
extends Object

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

Author:
Felix Project Team

Constructor Summary
PropertyMetadata(String name, String type, String val)
          Create a PropertyMetadata object
 
Method Summary
 String getName()
          Get the name of the property
 String getType()
          Get the type of the property
 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(String name,
                        String type,
                        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 String getName()
Get the name of the property

Returns:
the name of the property

getType

public String getType()
Get the type of the property

Returns:
the type of the property

getValue

public Object getValue()
Get the value of the property

Returns:
the value of the property as an Object


Copyright © 2011 Apache Software Foundation. All Rights Reserved.