Package wt.lifecycle
Class PhaseTemplate
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.project._WTRoleHolder
wt.project.WTRoleHolder
wt.project._WTActorRoleHolder
wt.project.WTActorRoleHolder
wt.project._WTIndirectRoleHolder
wt.project.WTIndirectRoleHolder
wt.lifecycle._PhaseTemplate
wt.lifecycle.PhaseTemplate
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.project._ActorRoleHolder,wt.project._IndirectRoleHolder,wt.project._RoleHolder,wt.project.ActorRoleHolder,wt.project.IndirectRoleHolder,wt.project.RoleHolder
@GenAsPersistable(superClass=wt.project.WTIndirectRoleHolder.class,versions=4435566718245430701L,properties={@GeneratedProperty(name="name",type=java.lang.String.class,javaDoc="Name for the context. Intialized to state name. Required attribute.",constraints=@PropertyConstraints(upperLimit=30,required=true)),@GeneratedProperty(name="phaseState",type=State.class,javaDoc="A unique state to be associated with objects in this phase. This is an enumerated type with localized values held in a resource bundle. Required attribute.",constraints=@PropertyConstraints(required=true)),@GeneratedProperty(name="finalPhase",type=boolean.class,javaDoc="a flag to determine whether or not there is a successor to this phase"),@GeneratedProperty(name="seriesSelector",type=SeriesRangeSelector.class,javaDoc="Select the SeriesRangeSelector.")},foreignKeys={@GeneratedForeignKey(name="GateWorkflow",foreignKeyRole=@ForeignKeyRole(name="gateWorkflowId",type=WfProcessDefinition.class),myRole=@MyRole(name="thePhaseTemplate",cardinality=ONE)),@GeneratedForeignKey(name="PhaseWorkflow",foreignKeyRole=@ForeignKeyRole(name="phaseWorkflowId",type=WfProcessDefinition.class),myRole=@MyRole(name="thePhaseTemplate",cardinality=ONE))})
public final class PhaseTemplate
extends wt.lifecycle._PhaseTemplate
PhaseTemplate is a building block class for forming a life cycle definition.
An ordered sequence of phase templates are connected to instantiate a
life cycle template.
A PhaseTemplate is also a factory for creating Phase instances. The template specifies the state and behavior for a period of time when an object has that specific state.
Use the newPhaseTemplate static factory method(s), not the
PhaseTemplate constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType