|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
BooleanicProperty holds the same position as NumericProperty for numbers. It is the superinterface for all properties that can have a true/false value.
Nested Class Summary |
Nested classes inherited from class org.joda.property.Property |
Property.Internal |
Method Summary | |
boolean |
booleanValue()
Get the property's value as a boolean. |
boolean |
isFalse()
Is the property value currently in a 'false' state. |
boolean |
isTrue()
Is the property value currently in a 'true' state. |
void |
negate()
Negate the current value of the property. |
void |
set(boolean propertyValue)
Set the property's value. |
java.lang.Boolean |
toBoolean()
Get the property's value as a Boolean. |
Methods inherited from interface org.joda.property.type.DataProperty |
toDataString |
Methods inherited from interface org.joda.property.Property |
addPropertyChangeListener, bean, equals, equalsValue, firePropertyChange, getContentName, getContentType, getPropertyName, getPropertyType, hashCode, isModifiable, isNull, isReadOnly, removePropertyChangeListener, set, setModifiable, setReadOnly, toObject, toString |
Methods inherited from interface org.joda.property.ModelElement |
getAttribute, getAttributeCount, getAttributeMap, setAttribute |
Method Detail |
public boolean booleanValue()
java.lang.IllegalStateException
- if this is not possiblepublic java.lang.Boolean toBoolean()
public boolean isTrue()
public boolean isFalse()
public void set(boolean propertyValue)
propertyValue
- a value to set the property's value topublic void negate()
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |