@OpenApiAll public class ListProperty extends Property
ListProperty represents a property for storing and editing entries of the list.DEFAULT_PROPERTY_RESOURCE_PROVIDER, EDITABLE, NULL, NULL_ID_PROPERTY_RESOURCE_PROVIDER, UNDEFINED, VALUE| Constructor and Description |
|---|
ListProperty()
Creates and initializes a new
ListProperty object. |
ListProperty(java.lang.String id,
java.lang.Object[] value)
Creates and initializes a new
ListProperty object from
specified parameters. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PropertyVisitor v)
Accepts the given visitor.
|
ListProperty |
clone()
Clones the property.
|
java.lang.String |
getClassType()
Returns a class type of the property.
|
java.lang.Object[] |
getValue()
Returns properties value.
|
java.lang.String |
getValueStringRepresentation()
Returns value's string representation.
|
void |
setValue(java.lang.Object value)
Sets a value of the property.
|
_getValue, _isFrozen, _setFrozen, _setValue, addPropertyChangeListener, addSource, addSources, areValuesEqual, checkFrozen, checkFrozen, createCellEditor, createTableCellRenderer, equals, firePropertyChange, generateDefaultDescriptionID, getAdditionalProperties, getAdditionalProperty, getDescription, getDescriptionID, getFirstElementFromSources, getGroup, getID, getIntroductoryVersion, getName, getNonEditableReason, getProjectFromSourcesOrActive, getPureDescription, getResourceProvider, getResourceProviderID, getSourceAsElement, getSources, getSourcesAsStream, getUndefinedString, getUndefinedString, hashCode, isEditable, isUndefinedState, isValueCompatible, removePropertyChangeListener, setAdditionalProperties, setAdditionalProperty, setDescription, setDescriptionID, setEditable, setGroup, setID, setIntroductoryVersion, setNonEditableReason, setResourceProvider, setResourceProviderID, setSources, setUndefinedState, toStringpublic ListProperty()
ListProperty object.
ID of the property will be empty string and value - null.public ListProperty(java.lang.String id,
java.lang.Object[] value)
ListProperty object from
specified parameters.id - - id of the property.value - - value of the property.public void setValue(@CheckForNull
java.lang.Object value)
public java.lang.String getClassType()
getClassType in interface PropertyVisitorAcceptorgetClassType in class PropertyPropertyID.LIST_PROPERTYpublic void accept(PropertyVisitor v) throws java.lang.Exception
accept in interface PropertyVisitorAcceptoraccept in class Propertyv - the PropertyVisitor.java.lang.Exceptionpublic java.lang.String getValueStringRepresentation()
PropertygetValueStringRepresentation in class Propertyvalue.
toString() if property has value.public java.lang.Object[] getValue()
Propertypublic ListProperty clone()
Property