org.joda.property.type
Interface ObjectProperty
- All Superinterfaces:
- DataProperty, ModelElement, Property, java.io.Serializable
- All Known Implementing Classes:
- DefaultObjectProperty
- public interface ObjectProperty
- extends DataProperty
Interface for property types which are not provided by Joda but are
immutable. Immutable means that there are no instance methods which
change the value of the object. For these properties, toDataString()
will be toString() on the stored object. This kind of property cannot
be recreated from a String. In summary, it is better to write a special
kind of Property rather than rely on this class.
- Author:
- Stephen Colebourne
Method Summary |
java.lang.Object |
get()
Get the contents of the property |
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 |
DEFAULT_TYPE
public static final java.lang.Class DEFAULT_TYPE
get
public java.lang.Object get()
- Get the contents of the property
- Returns:
- property value
Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.