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:
-
Field Summary
Fields inherited from class wt.lifecycle._PhaseTemplate
EXTERNALIZATION_VERSION_UID, FINAL_PHASE, GATE_WORKFLOW_ID, GATE_WORKFLOW_ID_REFERENCE, NAME, PHASE_STATE, PHASE_WORKFLOW_ID, PHASE_WORKFLOW_ID_REFERENCE, SERIES_SELECTORFields inherited from class wt.project.WTRoleHolder
OLD_FORMAT_VERSION_UIDFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.project._ActorRoleHolder
ROLE_ACTOR_ROLE_MAPFields inherited from interface wt.project._IndirectRoleHolder
ROLE_ROLE_MAPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.project._RoleHolder
ROLE_PRINCIPAL_MAPFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
Method Summary
Methods inherited from class wt.lifecycle._PhaseTemplate
getClassInfo, getConceptualClassname, getGateWorkflowId, getGateWorkflowIdReference, getName, getPhaseState, getPhaseWorkflowId, getPhaseWorkflowIdReference, getSeriesSelector, getType, isFinalPhase, readExternal, readExternal, readVersion, setFinalPhase, setGateWorkflowId, setGateWorkflowIdReference, setName, setPhaseState, setPhaseWorkflowId, setPhaseWorkflowIdReference, setSeriesSelector, super_readExternal_PhaseTemplate, super_readVersion_PhaseTemplate, super_writeExternal_PhaseTemplate, writeExternal, writeExternalMethods inherited from class wt.project.WTIndirectRoleHolder
addRole, deleteRole, deleteRoleTarget, getRoles, getRoleTargetMethods inherited from class wt.project._WTIndirectRoleHolder
getRoleRoleMap, readVersion, setRoleRoleMap, super_readExternal_WTIndirectRoleHolder, super_readVersion_WTIndirectRoleHolder, super_writeExternal_WTIndirectRoleHolderMethods inherited from class wt.project.WTActorRoleHolder
addActorRole, deleteActorRoleTarget, getActorRoleTargetMethods inherited from class wt.project._WTActorRoleHolder
getRoleActorRoleMap, readVersion, setRoleActorRoleMap, super_readExternal_WTActorRoleHolder, super_readVersion_WTActorRoleHolder, super_writeExternal_WTActorRoleHolderMethods inherited from class wt.project.WTRoleHolder
addPrincipal, deletePrincipal, getMembers, getPrincipals, mapAsString, readVersion, rolePrincipalMapAsStringMethods inherited from class wt.project._WTRoleHolder
getRolePrincipalMap, setRolePrincipalMap, super_readExternal_WTRoleHolder, super_readVersion_WTRoleHolder, super_writeExternal_WTRoleHolderMethods inherited from class wt.fc.WTObject
duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.project._ActorRoleHolder
getRoleActorRoleMap, setRoleActorRoleMapMethods inherited from interface wt.project._RoleHolder
getRolePrincipalMap, setRolePrincipalMapMethods inherited from interface wt.project.ActorRoleHolder
addActorRole, deleteActorRoleTarget, getActorRoleTargetMethods inherited from interface wt.project.RoleHolder
addPrincipal, deletePrincipal, getPrincipals, rolePrincipalMapAsString