|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a LinkProperty that expresses a link between one Bean and another.
Nested Class Summary |
Nested classes inherited from class org.joda.property.Property |
Property.Internal |
Method Summary | |
Bean |
getBean()
Get the Bean that is currently linked, or null. |
Bean |
getBean(boolean createIfNull)
Get the Bean that is currently linked, optionally creating it. |
void |
set(java.lang.Object object)
Set the Bean that is currently linked, or null to break the link. |
Bean |
setNew()
Create a new Bean of the correct type replacing the current underlying node in the node tree. |
Bean |
setNew(java.lang.Class intface)
Create a new Bean of a specific type replacing the the current underlying node in the node tree. |
Methods inherited from interface org.joda.property.type.LinkingProperty |
getBeanList |
Methods inherited from interface org.joda.property.Property |
addPropertyChangeListener, bean, equals, equalsValue, firePropertyChange, getContentName, getContentType, getPropertyName, getPropertyType, hashCode, isModifiable, isNull, isReadOnly, removePropertyChangeListener, setModifiable, setReadOnly, toObject, toString |
Methods inherited from interface org.joda.property.ModelElement |
getAttribute, getAttributeCount, getAttributeMap, setAttribute |
Method Detail |
public Bean getBean()
public Bean getBean(boolean createIfNull)
createIfNull
- create a new bean if one does not exist
public void set(java.lang.Object object)
This method only accepts objects of the correct type.
set
in interface Property
object
- an Object to set the property's value topublic Bean setNew()
public Bean setNew(java.lang.Class intface)
intface
- the interface to create a Bean for
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |