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