org.yawlfoundation.yawl.resourcing.jsf.dynform.dynattributes
Class DynAttributeFactory

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.jsf.dynform.dynattributes.DynAttributeFactory

public class DynAttributeFactory
extends Object

This factory class creates and instantiates instances of the various dynamic form attribute classes found in this package. Create Date: 18/05/2009.

Version:
2.0
Author:
Michael Adams

Constructor Summary
DynAttributeFactory()
           
 
Method Summary
static void adjustFields(List<DynFormField> fieldList, WorkItemRecord wir, Participant p)
           
static void applyAttributes(com.sun.rave.web.ui.component.PanelLayout parentPanel, WorkItemRecord wir, Participant p)
           
static AbstractDynAttribute getInstance(String classname)
          Instantiates a class of the name passed.
static Set<AbstractDynAttribute> getInstances()
          Constructs and returns a list of instantiated dynAttribute objects, one for each of the different dynAttribute classes available in this package
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynAttributeFactory

public DynAttributeFactory()
Method Detail

applyAttributes

public static void applyAttributes(com.sun.rave.web.ui.component.PanelLayout parentPanel,
                                   WorkItemRecord wir,
                                   Participant p)

adjustFields

public static void adjustFields(List<DynFormField> fieldList,
                                WorkItemRecord wir,
                                Participant p)

getInstance

public static AbstractDynAttribute getInstance(String classname)
Instantiates a class of the name passed.

Parameters:
classname - the name of the class to instantiate
Returns:
the instantiated class, or null if there was a problem
Precondition:
'allocatorName' must be the name of a class in this package

getInstances

public static Set<AbstractDynAttribute> getInstances()
Constructs and returns a list of instantiated dynAttribute objects, one for each of the different dynAttribute classes available in this package

Returns:
a List of instantiated allocator objects


Copyright © 2004-2012 The YAWL Foundation.