org.deduced.controller.implementation
Class DirectControllerProvider

java.lang.Object
  extended by org.deduced.controller.implementation.DirectControllerProvider
All Implemented Interfaces:
ControllerProvider

public class DirectControllerProvider
extends java.lang.Object
implements ControllerProvider

Temporary controller provider used to create DirectPropertyCollectionControllers

Author:
Steve McDuff

Field Summary
private  ControllerFactory factory
          controller factory used by this provider
 
Constructor Summary
DirectControllerProvider()
           
 
Method Summary
 ControllerFactory getFactory()
           
 PropertyList<PropertyCollectionController> getPropertyCollectionChildPropertyCollectionControllerList(PropertyCollection<?,?> model)
          (non-Javadoc)
 PropertyCollectionController getPropertyCollectionController(PropertyCollection<?,?> model)
          (non-Javadoc)
 PropertyList<PropertyController> getPropertyCollectionPropertyControllerList(PropertyCollection<?,?> model)
          (non-Javadoc)
 PropertyController getPropertyController(PropertyCollection<?,?> model, java.lang.Object propertyKey)
          (non-Javadoc)
 void setFactory(ControllerFactory setFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private ControllerFactory factory
controller factory used by this provider

Constructor Detail

DirectControllerProvider

public DirectControllerProvider()
Method Detail

getPropertyCollectionChildPropertyCollectionControllerList

public PropertyList<PropertyCollectionController> getPropertyCollectionChildPropertyCollectionControllerList(PropertyCollection<?,?> model)
(non-Javadoc)

Specified by:
getPropertyCollectionChildPropertyCollectionControllerList in interface ControllerProvider
Parameters:
model - the controlled model
Returns:
the Property Collection Child Property Collection Controller List
See Also:
ControllerProvider.getPropertyCollectionChildPropertyCollectionControllerList(org.deduced.PropertyCollection)

getPropertyCollectionController

public PropertyCollectionController getPropertyCollectionController(PropertyCollection<?,?> model)
(non-Javadoc)

Specified by:
getPropertyCollectionController in interface ControllerProvider
Parameters:
model - the model from which to fetch the controller
Returns:
the associated controller
See Also:
ControllerProvider.getPropertyCollectionController(org.deduced.PropertyCollection)

getPropertyCollectionPropertyControllerList

public PropertyList<PropertyController> getPropertyCollectionPropertyControllerList(PropertyCollection<?,?> model)
(non-Javadoc)

Specified by:
getPropertyCollectionPropertyControllerList in interface ControllerProvider
Parameters:
model - the controlled model
Returns:
the Property Collection Property Controller List
See Also:
ControllerProvider.getPropertyCollectionPropertyControllerList(org.deduced.PropertyCollection)

getPropertyController

public PropertyController getPropertyController(PropertyCollection<?,?> model,
                                                java.lang.Object propertyKey)
(non-Javadoc)

Specified by:
getPropertyController in interface ControllerProvider
Parameters:
model - the controlled model
propertyKey - the key of the controlled property
Returns:
the property controller
See Also:
ControllerProvider.getPropertyController(org.deduced.PropertyCollection, java.lang.Object)

setFactory

public void setFactory(ControllerFactory setFactory)
Parameters:
setFactory - the controller factory to use

getFactory

public ControllerFactory getFactory()
Returns:
the controller factory