public class ConfigurationMetadataProperty extends Object implements Serializable
id
which is composed of a namespace prefix (the
group id
), if any and the name
of the property.Constructor and Description |
---|
ConfigurationMetadataProperty() |
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue()
The default value, if any.
|
Deprecation |
getDeprecation()
The
Deprecation for this property, if any. |
String |
getDescription()
A description of the property, if any.
|
Hints |
getHints()
Return the hints of this item.
|
String |
getId()
The full identifier of the property, in lowercase dashed form (e.g.
|
String |
getName()
The name of the property, in lowercase dashed form (e.g.
|
String |
getShortDescription()
A single-line, single-sentence description of this property, if any.
|
String |
getType()
The class name of the data type of the property.
|
boolean |
isDeprecated()
Specify if the property is deprecated.
|
void |
setDefaultValue(Object defaultValue) |
void |
setDeprecation(Deprecation deprecation) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setShortDescription(String shortDescription) |
void |
setType(String type) |
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public String getType()
java.lang.String
.
For consistency, the type of a primitive is specified using its wrapper
counterpart, i.e. boolean
becomes java.lang.Boolean
. If the type
holds generic information, these are provided as well, i.e. a HashMap
of
String to Integer would be defined as java.util.HashMap
<java.lang.String,java.lang.Integer>
.
Note that this class may be a complex type that gets converted from a String as values are bound.
public void setType(String type)
public String getDescription()
getShortDescription()
public void setDescription(String description)
public String getShortDescription()
getDescription()
public void setShortDescription(String shortDescription)
public Object getDefaultValue()
public void setDefaultValue(Object defaultValue)
public Hints getHints()
public Deprecation getDeprecation()
Deprecation
for this property, if any.isDeprecated()
public void setDeprecation(Deprecation deprecation)
public boolean isDeprecated()
getDeprecation()