|
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.AbstractListProperty | +--org.joda.property.impl.collection.DefaultDataListProperty
Standard implementation of a list of objects.
Nested Class Summary |
Nested classes inherited from class org.joda.property.Property |
Property.Internal |
Constructor Summary | |
DefaultDataListProperty()
Constructor |
Method Summary | |
protected java.lang.Object |
convertListObject(java.lang.Object object)
Check whether the object is valid to add to the list. |
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(int index)
Get the element at the specified index as a formal string |
java.lang.String |
toString()
Get a debugging string of this object |
Methods inherited from class org.joda.property.impl.collection.AbstractListProperty |
add, add, addAll, addAll, clear, contains, containsAll, get, getContentName, getContentType, getInternal, getPropertyType, indexOf, initBeanCreated, initPropertyCreated, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, set, size, subList, toArray, toArray, toCollection, toList, toObject |
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.ListProperty |
toList |
Methods inherited from interface org.joda.property.type.CollectionProperty |
toCollection |
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.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Constructor Detail |
public DefaultDataListProperty()
Method Detail |
protected java.lang.Object convertListObject(java.lang.Object object)
convertListObject
in class AbstractListProperty
IllegalArgumentPropertyException
- if the argument
is unacceptable for adding to the listpublic java.lang.String toDataString(int index)
DataListProperty
toDataString
in interface DataListProperty
index
- the element to obtain
DataListProperty.toDataString(int)
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 AbstractListProperty
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |