@OpenApiAll public class StringProperty extends Property
DEFAULT_PROPERTY_RESOURCE_PROVIDER, EDITABLE, mAdditionalProperties, mDescriptionID, mEditable, mGroupName, mID, mResourceProvider, mSources, mSupport, mUndefinedState, mValue, NULL, NULL_ID_PROPERTY_RESOURCE_PROVIDER, UNDEFINED, VALUE
Constructor and Description |
---|
StringProperty()
Default constructor.
|
StringProperty(java.lang.String id,
java.lang.Object value)
The property constructor.
|
StringProperty(java.lang.String id,
java.lang.Object value,
boolean multiline)
The property constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(PropertyVisitor v)
Accepts the given visitor.
|
StringProperty |
clone()
Clones the property.
|
java.lang.String |
getClassType()
Returns property class type.
|
java.lang.String |
getString()
Returns value as String object.
|
java.lang.String |
getValueStringRepresentation()
Returns value's string representation.
|
boolean |
isMultiline()
Returns multiline flag.
|
void |
setMultiline(boolean multiline)
Sets the multiline flag
|
_isFrozen, _setFrozen, addPropertyChangeListener, addSource, addSources, areValuesEqual, createCellEditor, createTableCellRenderer, equals, firePropertyChange, generateDefaultDescriptionID, getAdditionalProperties, getAdditionalProperty, getDescription, getDescriptionID, getGroup, getID, getIntroductoryVersion, getName, getNonEditableReason, getProjectFromSourcesOrActive, getPureDescription, getResourceProvider, getResourceProviderID, getSources, getUndefinedString, getUndefinedString, getValue, hashCode, isEditable, isUndefinedState, removePropertyChangeListener, setAdditionalProperties, setAdditionalProperty, setDescription, setDescriptionID, setEditable, setGroup, setID, setIntroductoryVersion, setNonEditableReason, setResourceProvider, setResourceProviderID, setSources, setUndefinedState, setValue, toString
public StringProperty()
public StringProperty(java.lang.String id, @CheckForNull java.lang.Object value)
id
- the ID of property.value
- value of the property.public StringProperty(java.lang.String id, @CheckForNull java.lang.Object value, boolean multiline)
id
- the ID of property.value
- value of the property.multiline
- the multiline flag value.public boolean isMultiline()
public void setMultiline(boolean multiline)
multiline
- the multiline flag value.public java.lang.String getValueStringRepresentation()
getValueStringRepresentation
in class 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 getString()
public java.lang.String getClassType()
getClassType
in interface PropertyVisitorAcceptor
getClassType
in class Property
PropertyID.STRING_PROPERTY
public StringProperty clone()
Property