Class PropertyMetadata
- java.lang.Object
-
- org.apache.felix.scr.impl.metadata.PropertyMetadata
-
public class PropertyMetadata extends Object
A property descriptor that contains the information for properties defined in the descriptor
-
-
Constructor Summary
Constructors Constructor Description PropertyMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get the name of the propertyString
getType()
Get the type of the propertyObject
getValue()
Get the value of the propertyvoid
setName(String name)
Set the namevoid
setType(String type)
Set the typevoid
setValue(String value)
Set the valuevoid
setValues(String values)
Set multiple values as an array, where the values are contained in the string as one value per line.void
validate(ComponentMetadata componentMetadata)
Method used to verify if the semantics of this metadata are correct
-
-
-
Method Detail
-
setName
public void setName(String name)
Set the name- Parameters:
name
-
-
setType
public void setType(String type)
Set the type- Parameters:
type
-
-
setValue
public void setValue(String value)
Set the value- Parameters:
value
-
-
setValues
public void setValues(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 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
-
validate
public void validate(ComponentMetadata componentMetadata)
Method used to verify if the semantics of this metadata are correct
-
-