@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, toString
public 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 PropertyVisitorAcceptor
getClassType
in class Property
PropertyID.LIST_PROPERTY
public void accept(PropertyVisitor v) throws java.lang.Exception
accept
in interface PropertyVisitorAcceptor
accept
in class Property
v
- the PropertyVisitor.java.lang.Exception
public java.lang.String getValueStringRepresentation()
Property
getValueStringRepresentation
in class Property
value.
toString()
if property has value.public java.lang.Object[] getValue()
Property
public ListProperty clone()
Property