Joda System API

org.joda.property.impl.type
Class DefaultBooleanProperty

java.lang.Object
  |
  +--org.joda.property.impl.AbstractModelElement
        |
        +--org.joda.property.impl.AbstractProperty
              |
              +--org.joda.property.impl.type.AbstractBooleanicProperty
                    |
                    +--org.joda.property.impl.type.DefaultBooleanProperty
All Implemented Interfaces:
BooleanicProperty, BooleanProperty, DataProperty, InitializableProperty, ModelElement, Property, Property.Internal, java.io.Serializable

public class DefaultBooleanProperty
extends AbstractBooleanicProperty
implements BooleanProperty

Default implementation of a Boolean property.

Data is stored in the associated PropertyData object as a Boolean object. This is immutable so can be directly returned.

Author:
Stephen Colebourne
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.joda.property.Property
Property.Internal
 
Field Summary
 
Fields inherited from interface org.joda.property.type.BooleanProperty
DEFAULT_TYPE
 
Constructor Summary
DefaultBooleanProperty()
          Constructor
 
Method Summary
 java.lang.Boolean get()
          Get the property's value as a Boolean.
 java.lang.Class getPropertyType()
          Get the type of the property - Boolean.
 
Methods inherited from class org.joda.property.impl.type.AbstractBooleanicProperty
booleanValue, convertObjectToBoolean, getInternal, isFalse, isTrue, negate, set, set, setInternal, toBoolean, toObject
 
Methods inherited from class org.joda.property.impl.AbstractProperty
addPropertyChangeListener, bean, checkArgumentNotNull, checkModifiable, checkValueNotNull, checkValueNotNull, cloneDeep, convertObject, createClonedProperty, data, equals, equalsValue, firePropertyChange, firePropertyChange, getContentName, getContentType, getPropertyName, getThis, hashCode, initBeanCreated, initPropertyCreated, isModifiable, isNull, isReadOnly, populateClonedProperty, removePropertyChangeListener, setModifiable, setReadOnly, toDataString, toString
 
Methods inherited from class org.joda.property.impl.AbstractModelElement
getAttribute, getAttributeCount, getAttributeMap, setAttribute
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.joda.property.type.BooleanicProperty
booleanValue, isFalse, isTrue, negate, set, toBoolean
 
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, hashCode, isModifiable, isNull, isReadOnly, removePropertyChangeListener, set, setModifiable, setReadOnly, toObject, toString
 
Methods inherited from interface org.joda.property.ModelElement
getAttribute, getAttributeCount, getAttributeMap, setAttribute
 

Constructor Detail

DefaultBooleanProperty

public DefaultBooleanProperty()
Constructor

Method Detail

getPropertyType

public java.lang.Class getPropertyType()
Get the type of the property - Boolean.

Specified by:
getPropertyType in interface Property
Returns:
the property type

get

public java.lang.Boolean get()
Description copied from interface: BooleanProperty
Get the property's value as a Boolean.

Specified by:
get in interface BooleanProperty
Returns:
the property value as a Boolean
See Also:
BooleanProperty.get()

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.