|
Joda System API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.joda.property.impl.AbstractModelElement
|
+--org.joda.property.impl.AbstractProperty
|
+--org.joda.property.impl.collection.AbstractMapProperty
|
+--org.joda.property.impl.link.DefaultLinkMapProperty
Standard implementation of a map of beans.
| Nested Class Summary |
| Nested classes inherited from class org.joda.property.impl.collection.AbstractMapProperty |
AbstractMapProperty.Entry |
| Nested classes inherited from class org.joda.property.Property |
Property.Internal |
| Constructor Summary | |
DefaultLinkMapProperty()
Constructor |
|
| Method Summary | |
void |
clear()
|
protected java.lang.Object |
convertMapValueObject(java.lang.Object object)
Check whether the object is valid to add to the map. |
protected Bean |
createBean(java.lang.Class intface)
Create a new child ModelProperty given an interface. |
protected Property |
createClonedProperty(Bean bean)
Create a clone of this property, ignoring the data contents |
Bean |
getBean(java.lang.Object key)
Get the element at the specified key as a formal string |
java.util.List |
getBeanList()
Get the beans being linked to as a list. |
protected java.util.Set |
getInternal()
Get the set backing the map |
void |
initPropertyCreated(PropertyInit init)
Initialize the map, after the constructor |
protected void |
populateClonedProperty(IdentityBasedHashMap clonedObjects,
Property property)
Populate the clone of this property with the same data as this one |
Bean |
putNew(java.lang.Object key)
Get the list underlying the property. |
Bean |
putNew(java.lang.Object key,
java.lang.Class type)
Get the list underlying the property. |
java.lang.String |
toString()
Get a debugging string of this object |
| Methods inherited from class org.joda.property.impl.collection.AbstractMapProperty |
containsKey, containsValue, convertMapKeyObject, entrySet, get, getContentName, getContentType, getMapKeyType, getPropertyType, initBeanCreated, isEmpty, keySet, put, putAll, remove, set, size, toMap, toObject, values |
| Methods inherited from class org.joda.property.impl.AbstractProperty |
addPropertyChangeListener, bean, checkArgumentNotNull, checkModifiable, checkValueNotNull, checkValueNotNull, cloneDeep, convertObject, data, equals, equalsValue, firePropertyChange, firePropertyChange, getPropertyName, getThis, hashCode, isModifiable, isNull, isReadOnly, removePropertyChangeListener, setModifiable, setReadOnly, toDataString |
| 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.MapProperty |
getMapKeyType, toMap |
| 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 |
| Methods inherited from interface org.joda.property.ModelElement |
getAttribute, getAttributeCount, getAttributeMap, setAttribute |
| Methods inherited from interface java.util.Map |
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Constructor Detail |
public DefaultLinkMapProperty()
| Method Detail |
public void initPropertyCreated(PropertyInit init)
initPropertyCreated in interface InitializablePropertyinitPropertyCreated in class AbstractMapPropertyprotected java.util.Set getInternal()
AbstractMapProperty
getInternal in class AbstractMapPropertyAbstractMapProperty.getInternal()public void clear()
clear in interface java.util.Mapclear in class AbstractMapPropertyMap.clear()protected java.lang.Object convertMapValueObject(java.lang.Object object)
convertMapValueObject in class AbstractMapPropertyIllegalArgumentPropertyException - if the argument
is unacceptable for adding to the mappublic Bean getBean(java.lang.Object key)
LinkMapProperty
getBean in interface LinkMapPropertykey - the element to obtain
LinkMapProperty.getBean(Object)protected Bean createBean(java.lang.Class intface)
intface - the interface to create
public Bean putNew(java.lang.Object key)
LinkMapProperty
putNew in interface LinkMapPropertykey - the key to set the new bean at
LinkMapProperty.putNew(Object)
public Bean putNew(java.lang.Object key,
java.lang.Class type)
LinkMapProperty
putNew in interface LinkMapPropertykey - the key to set the new bean attype - the bean interface to create
LinkMapProperty.putNew(Object, Class)public java.util.List getBeanList()
LinkingProperty
getBeanList in interface LinkingPropertyLinkingProperty.getBeanList()protected Property createClonedProperty(Bean bean)
createClonedProperty in class AbstractPropertybean - the bean that owns the property
protected void populateClonedProperty(IdentityBasedHashMap clonedObjects,
Property property)
populateClonedProperty in class AbstractPropertyclonedObjects - the map of original element to cloned elementproperty - the property to clone the data intopublic java.lang.String toString()
toString in interface PropertytoString in class AbstractProperty
|
Joda System API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||