| 
 | 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.link.DefaultLinkListProperty
Standard link list view implementation which links one Bean to a list of other Beans.
This view does not hold the beans, it simply provides convenient methods to manipulate the link. The method node() refers to the parent bean.
| Nested Class Summary | 
| Nested classes inherited from class org.joda.property.Property | 
| Property.Internal | 
| Constructor Summary | |
| DefaultLinkListProperty()Constructor | |
| Method Summary | |
|  Bean | addNew()Create a new Bean of the correct type and add the underlying node to the end of the list. | 
|  Bean | addNew(java.lang.Class type)Create a new Bean of a specific type and add the underlying node to the end of the list. | 
|  Bean | addNew(int insertIndex)Create a new Bean of the correct type and insert the underlying node into the list. | 
|  Bean | addNew(int insertIndex,
       java.lang.Class type)Create a new Bean of a specific type and insert the underlying node into the list. | 
|  void | clear() | 
| protected  java.lang.Object | convertListObject(java.lang.Object object)Check whether the object is valid to add to the map. | 
| protected  Bean | createBean(java.lang.Class type)Create a new bean | 
| protected  Property | createClonedProperty(Bean bean)Create a clone of this property, ignoring the data contents | 
|  Bean | getBean(int index)Get the typecast Bean from the list by index | 
|  java.util.List | getBeanList()Get the beans being linked to as a list. | 
| protected  java.util.List | getInternal()Get the actual list | 
|  void | initPropertyCreated(PropertyInit init)Initialize the list, after the constructor | 
| protected  void | populateClonedProperty(IdentityBasedHashMap clonedObjects,
                       Property property)Populate the clone of this property with the same data as this one | 
|  java.lang.String | toString()Get a debug string representing this object. | 
| Methods inherited from class org.joda.property.impl.collection.AbstractListProperty | 
| add, add, addAll, addAll, contains, containsAll, get, getContentName, getContentType, getPropertyType, indexOf, initBeanCreated, 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, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray | 
| Methods inherited from interface java.util.List | 
| add, add, addAll, addAll, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray | 
| Constructor Detail | 
public DefaultLinkListProperty()
| Method Detail | 
public void initPropertyCreated(PropertyInit init)
initPropertyCreated in interface InitializablePropertyinitPropertyCreated in class AbstractListPropertyprotected java.util.List getInternal()
AbstractListProperty
getInternal in class AbstractListPropertyAbstractListProperty.getInternal()public void clear()
clear in interface java.util.Collectionclear in class AbstractListPropertyMap.clear()protected java.lang.Object convertListObject(java.lang.Object object)
convertListObject in class AbstractListPropertyIllegalArgumentPropertyException - if the argument
  is unacceptable for adding to the mappublic Bean getBean(int index)
getBean in interface LinkListPropertyindex - the index to retrieve
protected Bean createBean(java.lang.Class type)
public Bean addNew()
LinkListProperty
addNew in interface LinkListPropertyLinkListProperty.addNew()public Bean addNew(java.lang.Class type)
LinkListProperty
addNew in interface LinkListPropertytype - the interface to create a Bean for
LinkListProperty.addNew(Class)public Bean addNew(int insertIndex)
LinkListProperty
addNew in interface LinkListPropertyLinkListProperty.addNew(int)
public Bean addNew(int insertIndex,
                   java.lang.Class type)
LinkListProperty
addNew in interface LinkListPropertytype - the interface to create a Bean for
LinkListProperty.addNew(int, 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 AbstractListProperty| 
 | Joda System API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||