org.deduced.controller.implementation
Class DeducedControllerLayerExtensionImplementation.LooseParentPropertyList<V>

java.lang.Object
  extended by org.deduced.AbstractPropertyCollection<K,V>
      extended by org.deduced.PropertyMap<java.lang.Object,V>
          extended by org.deduced.IdPropertyMap<V>
              extended by org.deduced.PropertyList<V>
                  extended by org.deduced.controller.implementation.DeducedControllerLayerExtensionImplementation.LooseParentPropertyList<V>
Type Parameters:
V - type of objects in the list
All Implemented Interfaces:
java.lang.Cloneable, PropertyCollection<java.lang.Object,V>
Enclosing class:
DeducedControllerLayerExtensionImplementation

private final class DeducedControllerLayerExtensionImplementation.LooseParentPropertyList<V>
extends PropertyList<V>

LooseParentPropertyList is a property list that allows addition of property collections where the parent already matches the current collection

Author:
Steve McDuff

Nested Class Summary
 
Nested classes/interfaces inherited from class org.deduced.PropertyMap
PropertyMap.PropertyIterator, PropertyMap.ValueIterator
 
Nested classes/interfaces inherited from class org.deduced.AbstractPropertyCollection
AbstractPropertyCollection.CollectionToDeleteMonitor
 
Field Summary
 
Fields inherited from class org.deduced.PropertyList
PROPERTY_LIST_TYPE
 
Fields inherited from class org.deduced.PropertyMap
PROPERTY_MAP_TYPE
 
Fields inherited from class org.deduced.AbstractPropertyCollection
CHECK_DELETE_MODE_AUTOMATIC, CHECK_DELETE_MODE_MANUAL, COLLECTION_TO_DELETE
 
Fields inherited from interface org.deduced.PropertyCollection
PROPERTY_COLLECTION_TYPE
 
Constructor Summary
DeducedControllerLayerExtensionImplementation.LooseParentPropertyList(PropertyCollection<?,?> setFixedInstance)
          LooseParentPropertyList constructor
 
Method Summary
protected  void validateCollectionParentBeforeAddition(PropertyCollection<?,?> newCollection)
          (non-JSDoc)
 
Methods inherited from class org.deduced.PropertyList
type
 
Methods inherited from class org.deduced.IdPropertyMap
addProperty, areKeysAssignedAutomatically, createThrowMustNotSpecifyKeyError, equals, generateKey, hashCode, instanceKey, removePropertyInstance
 
Methods inherited from class org.deduced.PropertyMap
asKeySet, cleanNewlyClonedValue, clone, containsKey, getFixedInstance, getProperty, getPropertyValue, handleRemovedProperty, internalAddProperty, internalIsSetValueParentNecessary, internalRemoveProperty, internalSetValueParentIfNecessary, isFixedInstanceReference, iterator, iteratorByValue, putPropertyInMap, removeProperty, removePropertyValue, resetRemovedPropertyParent, setFixedInstance, setProperty, size
 
Methods inherited from class org.deduced.AbstractPropertyCollection
activate, addListener, asPropertyList, asPropertyMap, asValueList, asValueMap, callObjectClone, classLogger, clear, clearCollectionMonitoredForDelete, cloneCollection, containsInstance, containsValue, createUniqueID, delete, deleteClearAllProperties, deleteClearListenerList, deleteFireDeleteEvent, deleteProcessCompletedValidation, deleteRemoveLocalObjectFromParent, deleteValidateEmptyListenerList, deleteValidateNoPendingReferences, firePropertyChangeEvent, flushCollectionsWithNewParent, flushCollectionsWithNewParent, getActionInvoker, getCheckDeleteMode, getCheckDeleteRunner, getInstanceIdentityKey, id, internalFirePropertyChangeEvent, invokeAction, isActivated, isDeleteCheckedOnClearParent, isEmpty, isListenerRegistered, isParentOrKeyNull, keyOnParent, parent, removeListener, requiresChangeEvent, setActionInvoker, setCheckDeleteMode, setCheckDeleteRunner, setDeleteCheckedOnClearParent, setParent, toString, updateReference, updateReferenceWithReferenceFlag, validateAllPropertyInstances, validateNoListener, validateNoParentRecursion, validateParentIsNull, validateParentIsNull, valueKey
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeducedControllerLayerExtensionImplementation.LooseParentPropertyList

public DeducedControllerLayerExtensionImplementation.LooseParentPropertyList(PropertyCollection<?,?> setFixedInstance)
LooseParentPropertyList constructor

Parameters:
setFixedInstance - list fixed instance
Method Detail

validateCollectionParentBeforeAddition

protected void validateCollectionParentBeforeAddition(PropertyCollection<?,?> newCollection)
(non-JSDoc)

Overrides:
validateCollectionParentBeforeAddition in class PropertyMap<java.lang.Object,V>
Parameters:
newCollection - the collection to add
See Also:
PropertyMap.validateCollectionParentBeforeAddition(org.deduced.PropertyCollection)