org.apache.felix.scr.impl
Class PropertyMetadata

java.lang.Object
  extended by org.apache.felix.scr.impl.PropertyMetadata

public class PropertyMetadata
extends java.lang.Object

A property descriptor that contains the information for properties defined in the descriptor


Constructor Summary
PropertyMetadata()
           
 
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
 void setName(java.lang.String name)
          Set the name
 void setType(java.lang.String type)
          Set the type
 void setValue(java.lang.String value)
          Set the value
 void setValues(java.lang.String values)
          Set multiple values as an array, where the values are contained in the string as one value per line.
 void validate()
          Method used to verify if the semantics of this metadata are correct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyMetadata

public PropertyMetadata()
Method Detail

setName

public void setName(java.lang.String name)
Set the name

Parameters:
name -

setType

public void setType(java.lang.String type)
Set the type

Parameters:
type -

setValue

public void setValue(java.lang.String value)
Set the value

Parameters:
value -

setValues

public void setValues(java.lang.String values)
Set multiple values as an array, where the values are contained in the string as one value per line.

Parameters:
values -

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

validate

public void validate()
Method used to verify if the semantics of this metadata are correct