org.deduced.controller.implementation
Class FlyWheelPropertyCollectionController

java.lang.Object
  extended by org.deduced.AbstractPropertyCollection<K,V>
      extended by org.deduced.FixedPropertyInstanceCollection<java.lang.Object,java.lang.Object>
          extended by org.deduced.controller.implementation.PropertyCollectionControllerModelImplementation
              extended by org.deduced.controller.implementation.AbstractPropertyCollectionController
                  extended by org.deduced.controller.implementation.FlyWheelPropertyCollectionController
All Implemented Interfaces:
java.lang.Cloneable, PropertyCollectionController, PropertyCollectionControllerModel, NamedPropertyCollection, PropertyCollection<java.lang.Object,java.lang.Object>

public class FlyWheelPropertyCollectionController
extends AbstractPropertyCollectionController

Fly Wheel Property Collection Controller

Author:
Steve McDuff

Nested Class Summary
 
Nested classes/interfaces inherited from class org.deduced.AbstractPropertyCollection
AbstractPropertyCollection.CollectionToDeleteMonitor
 
Field Summary
private static long serialVersionUID
          serial ID
 
Fields inherited from class org.deduced.controller.implementation.PropertyCollectionControllerModelImplementation
KEY_SET
 
Fields inherited from class org.deduced.AbstractPropertyCollection
CHECK_DELETE_MODE_AUTOMATIC, CHECK_DELETE_MODE_MANUAL, COLLECTION_TO_DELETE
 
Fields inherited from interface org.deduced.controller.PropertyCollectionControllerModel
CHILD_COLLECTION_CONTROLLER_LIST_INSTANCE, CHILD_PROPERTY_CONTROLLER_LIST_INSTANCE, CONTROLLED_COLLECTION_INSTANCE, IS_ADD_AVAILABLE_INSTANCE, IS_DELETE_AVAILABLE_INSTANCE, PROPERTY_COLLECTION_CONTROLLER_MODEL_TYPE
 
Fields inherited from interface org.deduced.NamedPropertyCollection
NAME_INSTANCE, NAMED_PROPERTY_COLLECTION_TYPE
 
Fields inherited from interface org.deduced.PropertyCollection
PROPERTY_COLLECTION_TYPE
 
Constructor Summary
FlyWheelPropertyCollectionController(DeducedControllerLayerExtension setControlLayer)
          FlyWheelPropertyCollectionController Constructor
 
Method Summary
protected  void deleteRemoveLocalObjectFromParent()
          (non-Javadoc)
 PropertyList<PropertyCollectionControllerModel> getChildCollectionControllerList()
          (non-Javadoc)
 PropertyList<PropertyControllerModel> getChildPropertyControllerList()
          (non-Javadoc)
 java.lang.Object getPropertyValue(java.lang.Object key)
          (non-Javadoc)
 java.lang.Object keyOnParent()
          (non-Javadoc)
 PropertyCollection<?,?> parent()
          (non-Javadoc)
 PropertyList setChildCollectionControllerList(PropertyList setChildCollectionController)
          (non-Javadoc)
 PropertyList setChildPropertyControllerList(PropertyList setChildPropertyController)
          (non-Javadoc)
 
Methods inherited from class org.deduced.controller.implementation.AbstractPropertyCollectionController
addPropertyToControlledCollection, baseAddPropertyToControlledCollection, baseCreateAndAddProperty, baseDeleteControlledCollection, baseIsAddValueValid, createAndAddProperty, deleteControlledCollection, getControlLayer, getModelFactoryFromCollection, handleException, internalAddPropertyToControlledCollection, isAddValueValid, setControlLayer, validateAddToCollection
 
Methods inherited from class org.deduced.controller.implementation.PropertyCollectionControllerModelImplementation
asKeySet, clone, createInstancesAndTypes, createKeyList, equals, fillInstancesAndTypes, fillInstancesAndTypesFromSchema, fillTypeLists, getChildCollectionControllerList, getChildPropertyControllerList, getControlledCollection, getControlledCollection, getName, getName, isAddAvailable, isAddAvailable, isDeleteAvailable, isDeleteAvailable, resetListFixedInstances, setChildCollectionControllerList, setChildPropertyControllerList, setControlledCollection, setControlledCollection, setIsAddAvailable, setIsAddAvailable, setIsDeleteAvailable, setIsDeleteAvailable, setName, setName, setProperty, type
 
Methods inherited from class org.deduced.FixedPropertyInstanceCollection
addProperty, areKeysAssignedAutomatically, containsKey, getProperty, iterator, iteratorByValue, removeProperty, removePropertyInstance, removePropertyValue, size
 
Methods inherited from class org.deduced.AbstractPropertyCollection
activate, addListener, asPropertyList, asPropertyMap, asValueList, asValueMap, callObjectClone, classLogger, cleanNewlyClonedValue, clear, clearCollectionMonitoredForDelete, cloneCollection, containsInstance, containsValue, createUniqueID, delete, deleteClearAllProperties, deleteClearListenerList, deleteFireDeleteEvent, deleteProcessCompletedValidation, deleteValidateEmptyListenerList, deleteValidateNoPendingReferences, firePropertyChangeEvent, flushCollectionsWithNewParent, flushCollectionsWithNewParent, getActionInvoker, getCheckDeleteMode, getCheckDeleteRunner, getFixedInstance, getInstanceIdentityKey, hashCode, id, instanceKey, internalFirePropertyChangeEvent, invokeAction, isActivated, isDeleteCheckedOnClearParent, isEmpty, isListenerRegistered, isParentOrKeyNull, removeListener, requiresChangeEvent, setActionInvoker, setCheckDeleteMode, setCheckDeleteRunner, setDeleteCheckedOnClearParent, setFixedInstance, setParent, toString, updateReference, updateReferenceWithReferenceFlag, validateAllPropertyInstances, validateNoListener, validateNoParentRecursion, validateParentIsNull, validateParentIsNull, valueKey
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deduced.controller.PropertyCollectionControllerModel
getControlledCollection, isAddAvailable, isDeleteAvailable, setControlledCollection, setIsAddAvailable, setIsDeleteAvailable
 
Methods inherited from interface org.deduced.NamedPropertyCollection
getName, setName
 
Methods inherited from interface org.deduced.PropertyCollection
activate, addListener, addProperty, areKeysAssignedAutomatically, asKeySet, asPropertyList, asPropertyMap, asValueList, asValueMap, clear, clone, containsInstance, containsKey, containsValue, delete, getFixedInstance, getProperty, id, instanceKey, invokeAction, isActivated, isEmpty, isListenerRegistered, iterator, iteratorByValue, removeListener, removeProperty, removePropertyInstance, removePropertyValue, setFixedInstance, setParent, setProperty, size, type, valueKey
 

Field Detail

serialVersionUID

private static final long serialVersionUID
serial ID

See Also:
Constant Field Values
Constructor Detail

FlyWheelPropertyCollectionController

public FlyWheelPropertyCollectionController(DeducedControllerLayerExtension setControlLayer)
FlyWheelPropertyCollectionController Constructor

Parameters:
setControlLayer - control layer to use
Method Detail

getChildCollectionControllerList

public PropertyList<PropertyCollectionControllerModel> getChildCollectionControllerList()
(non-Javadoc)

Specified by:
getChildCollectionControllerList in interface PropertyCollectionControllerModel
Overrides:
getChildCollectionControllerList in class PropertyCollectionControllerModelImplementation
Returns:
child collection controller list
See Also:
PropertyCollectionControllerModelImplementation.getChildCollectionControllerList()

getChildPropertyControllerList

public PropertyList<PropertyControllerModel> getChildPropertyControllerList()
(non-Javadoc)

Specified by:
getChildPropertyControllerList in interface PropertyCollectionControllerModel
Overrides:
getChildPropertyControllerList in class PropertyCollectionControllerModelImplementation
Returns:
child property controller list
See Also:
PropertyCollectionControllerModelImplementation.getChildPropertyControllerList()

setChildCollectionControllerList

public PropertyList setChildCollectionControllerList(PropertyList setChildCollectionController)
(non-Javadoc)

Specified by:
setChildCollectionControllerList in interface PropertyCollectionControllerModel
Overrides:
setChildCollectionControllerList in class PropertyCollectionControllerModelImplementation
Parameters:
setChildCollectionController - new child collection controller list
Returns:
child collection controller list value after the change
See Also:
PropertyCollectionControllerModelImplementation.setChildCollectionControllerList(org.deduced.PropertyList)

setChildPropertyControllerList

public PropertyList setChildPropertyControllerList(PropertyList setChildPropertyController)
(non-Javadoc)

Specified by:
setChildPropertyControllerList in interface PropertyCollectionControllerModel
Overrides:
setChildPropertyControllerList in class PropertyCollectionControllerModelImplementation
Parameters:
setChildPropertyController - new child property controller list
Returns:
child property controller list value after the change
See Also:
PropertyCollectionControllerModelImplementation.setChildPropertyControllerList(org.deduced.PropertyList)

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.Object key)
(non-Javadoc)

Specified by:
getPropertyValue in interface PropertyCollection<java.lang.Object,java.lang.Object>
Overrides:
getPropertyValue in class PropertyCollectionControllerModelImplementation
Parameters:
key - the property key
Returns:
the property value, null if the get failed
See Also:
PropertyCollectionControllerModelImplementation.getPropertyValue(java.lang.Object)

deleteRemoveLocalObjectFromParent

protected void deleteRemoveLocalObjectFromParent()
(non-Javadoc)

Overrides:
deleteRemoveLocalObjectFromParent in class AbstractPropertyCollection<java.lang.Object,java.lang.Object>
See Also:
AbstractPropertyCollection.deleteRemoveLocalObjectFromParent()

parent

public PropertyCollection<?,?> parent()
(non-Javadoc)

Specified by:
parent in interface PropertyCollection<java.lang.Object,java.lang.Object>
Overrides:
parent in class AbstractPropertyCollection<java.lang.Object,java.lang.Object>
Returns:
Returns the parent.
See Also:
AbstractPropertyCollection.parent()

keyOnParent

public java.lang.Object keyOnParent()
(non-Javadoc)

Specified by:
keyOnParent in interface PropertyCollection<java.lang.Object,java.lang.Object>
Overrides:
keyOnParent in class AbstractPropertyCollection<java.lang.Object,java.lang.Object>
Returns:
the key on the parent
See Also:
AbstractPropertyCollection.keyOnParent()