public interface PropertyMetaData
Modifier and Type | Method and Description |
---|---|
PropertyMetaData |
addOption(java.lang.String optionLabel,
java.lang.String optionValue)
Return a list of valid options for this property (the labels may be localized).
|
PropertyMetaData |
setCardinality(int cardinality)
Return the cardinality of this property.
|
PropertyMetaData |
setDefaults(java.lang.String[] defaults)
Returns a default for this property.
|
default PropertyMetaData |
setDefaults(java.lang.String def,
java.lang.String... defaults)
Returns some defaults for this property.
|
PropertyMetaData |
setDescription(java.lang.String description)
Returns the property description.
|
PropertyMetaData |
setHeading(java.lang.String heading)
The label used to display the property.
|
PropertyMetaData |
setId(java.lang.String id)
The key of a ConfigurationAdmin property.
|
PropertyMetaData |
setRequired(boolean required)
Tells if this property is required or not.
|
PropertyMetaData |
setType(java.lang.Class<?> type)
Returns the property primitive type.
|
PropertyMetaData setHeading(java.lang.String heading)
PropertyMetaData setId(java.lang.String id)
PropertyMetaData setType(java.lang.Class<?> type)
PropertyMetaData setDefaults(java.lang.String[] defaults)
default PropertyMetaData setDefaults(java.lang.String def, java.lang.String... defaults)
PropertyMetaData setDescription(java.lang.String description)
PropertyMetaData setCardinality(int cardinality)
PropertyMetaData setRequired(boolean required)
PropertyMetaData addOption(java.lang.String optionLabel, java.lang.String optionValue)