|
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.collection.DefaultDataMapProperty
Standard implementation of a map of objects.
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 | |
DefaultDataMapProperty()
Constructor |
Method Summary | |
protected java.lang.Object |
convertMapValueObject(java.lang.Object object)
Check whether the object is valid to add to the map. |
protected Property |
createClonedProperty(Bean bean)
Create a clone of this property, ignoring the data contents |
protected void |
populateClonedProperty(IdentityBasedHashMap clonedObjects,
Property property)
Populate the clone of this property with the same data as this one |
java.lang.String |
toDataString(java.lang.Object key)
Get an object from the Map as a formal data string. |
java.lang.String |
toString()
Get a debugging string of this object |
Methods inherited from class org.joda.property.impl.collection.AbstractMapProperty |
clear, containsKey, containsValue, convertMapKeyObject, entrySet, get, getContentName, getContentType, getInternal, getMapKeyType, getPropertyType, initBeanCreated, initPropertyCreated, 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 |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
public DefaultDataMapProperty()
Method Detail |
protected java.lang.Object convertMapValueObject(java.lang.Object object)
convertMapValueObject
in class AbstractMapProperty
IllegalArgumentPropertyException
- if the argument
is unacceptable for adding to the mappublic java.lang.String toDataString(java.lang.Object key)
toDataString
in interface DataMapProperty
key
- the key to obtain
protected Property createClonedProperty(Bean bean)
createClonedProperty
in class AbstractProperty
bean
- the bean that owns the propertyprotected void populateClonedProperty(IdentityBasedHashMap clonedObjects, Property property)
populateClonedProperty
in class AbstractProperty
clonedObjects
- the map of original element to cloned elementproperty
- the property to clone the data intopublic java.lang.String toString()
toString
in interface Property
toString
in class AbstractProperty
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |