public class PropertyDescription extends AbstractDescription
PropertyDescription
describes a property
of a component.
In general all fields should be set by an annocation scanner,
no default values should be assumed for these fields:
annotation
Constructor and Description |
---|
PropertyDescription(ScannedAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
AbstractDescription |
clone() |
int |
getCardinality() |
java.lang.String |
getDescription() |
java.lang.String |
getLabel() |
java.lang.String[] |
getMultiValue() |
java.lang.String |
getName() |
java.lang.String[] |
getOptions() |
PropertyType |
getType() |
PropertyUnbounded |
getUnbounded() |
java.lang.String |
getValue() |
java.lang.Boolean |
isPrivate() |
void |
setCardinality(int cardinality) |
void |
setDescription(java.lang.String description) |
void |
setLabel(java.lang.String label) |
void |
setMultiValue(java.lang.String[] values) |
void |
setName(java.lang.String name) |
void |
setOptions(java.lang.String[] values) |
void |
setPrivate(java.lang.Boolean isPrivate) |
void |
setType(PropertyType type) |
void |
setUnbounded(PropertyUnbounded unbounded) |
void |
setValue(java.lang.String value) |
java.lang.String |
toString() |
getAnnotation, getIdentifier, getSource, setSource
public PropertyDescription(ScannedAnnotation annotation)
public PropertyUnbounded getUnbounded()
public void setUnbounded(PropertyUnbounded unbounded)
public java.lang.String[] getOptions()
public void setOptions(java.lang.String[] values)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public PropertyType getType()
public void setType(PropertyType type)
public java.lang.String[] getMultiValue()
public void setMultiValue(java.lang.String[] values)
public java.lang.Boolean isPrivate()
public void setPrivate(java.lang.Boolean isPrivate)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public int getCardinality()
public void setCardinality(int cardinality)
public java.lang.String toString()
toString
in class java.lang.Object
public AbstractDescription clone()
clone
in class AbstractDescription
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.