@OpenApiAll public class BooleanProperty extends Property
DEFAULT_PROPERTY_RESOURCE_PROVIDER, EDITABLE, mValue, NULL, NULL_ID_PROPERTY_RESOURCE_PROVIDER, UNDEFINED, VALUE| Constructor and Description | 
|---|
BooleanProperty()
Default constructor. 
 | 
BooleanProperty(java.lang.String id,
               boolean value)
The boolean property constructor. 
 | 
BooleanProperty(java.lang.String id,
               java.lang.Boolean value)
The boolean property constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
accept(PropertyVisitor v)
Accepts the given visitor. 
 | 
BooleanProperty | 
clone()
Clones the property. 
 | 
boolean | 
getBoolean()
Returns value as boolean (primitive type). 
 | 
java.lang.Boolean | 
getBooleanObject()
Returns value as  
Boolean object. | 
java.lang.String | 
getClassType()
Returns property class type. 
 | 
static java.lang.String | 
getStringRepresentation(java.lang.Boolean value)
Returns value's string representation. 
 | 
java.lang.String | 
getValueStringRepresentation()
Returns value's string representation. 
 | 
void | 
setValue(boolean value)
Sets value as primitive boolean type. 
 | 
void | 
setValue(java.lang.Object value)
Sets boolean value from given Object. 
 | 
_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, toStringpublic BooleanProperty()
public BooleanProperty(java.lang.String id,
                       @CheckForNull
                       java.lang.Boolean value)
id - the ID of property.value - the boolean value of the property.public BooleanProperty(java.lang.String id,
                       boolean value)
id - the ID of the property.value - the boolean value of the property.public java.lang.String getValueStringRepresentation()
getValueStringRepresentation in class Propertypublic static java.lang.String getStringRepresentation(@CheckForNull
                                                       java.lang.Boolean value)
value - The given value.public void accept(PropertyVisitor v) throws java.lang.Exception
accept in interface PropertyVisitorAcceptoraccept in class Propertyv - the PropertyVisitor.java.lang.Exceptionpublic boolean getBoolean()
public java.lang.Boolean getBooleanObject()
Boolean object.Boolean object.public void setValue(boolean value)
value - the given new boolean value.public void setValue(java.lang.Object value)
public java.lang.String getClassType()
getClassType in interface PropertyVisitorAcceptorgetClassType in class PropertyPropertyID.BOOLEAN_PROPERTYpublic BooleanProperty clone()
Property