|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.fsm.StateModel
com.retek.commons.fsm.RcomRmmStateModel
Abstract class for RCOM/RMM state model classes.
Field Summary |
---|
Fields inherited from class com.retek.fsm.StateModel |
---|
DBBUILD_EVENT_DESCRIPTOR_CODE, PARTCHANGED_EVENT_DESCRIPTOR_CODE, START_EVENT_DESCRIPTOR_CODE |
Constructor Summary | |
---|---|
RcomRmmStateModel(com.retek.fsm.StateModelMgr stateModelMgr)
|
Method Summary | |
---|---|
protected com.retek.fsm.StateDescriptor |
buildDecisionStateDescriptor(java.lang.String stateCode,
java.lang.String stateDescription,
RcomRmmEventDescriptor eventDescriptor,
com.retek.fsm.EventTransformer eventTransformer)
Create a new Decision StateDescriptor object for a given state code and description. |
protected RcomRmmEvent |
buildEvent(java.lang.String eventDescriptorCode)
Create a new Event object for a given event descriptor code. |
protected RcomRmmEventDescriptor |
buildRcomRmmEventDescriptor(java.lang.String eventDescriptorCode,
java.lang.Class eventClass)
Create a new RcomRmmEventDescriptor object for a given event descriptor code and event class. |
protected com.retek.fsm.StateDescriptor |
buildStateDescriptor(java.lang.String stateCode,
java.lang.String stateDescription)
Create a new StateDescriptor object for a given state code and description. |
static com.retek.fsm.State |
getState(com.retek.fsm.StateModel model,
java.lang.String stateCode)
Return the State object for a given state model and state code. |
boolean |
inState(RcomRmmFsmable fsmableBo,
com.retek.fsm.StateDescriptor stateDescriptor)
Return boolean indicating if a Fsmable business object is in a specific state. |
static void |
registerStateModel(java.lang.Class fsmableClass,
java.lang.Class stateModelClass)
Register a StateModel object within RCOM. |
Methods inherited from class com.retek.fsm.StateModel |
---|
buildDecisionStateDescriptor, buildEventDescriptor, buildEventDescriptor, buildInternalTransition, buildStateDescriptor, buildTransition, findEventDescriptorForCode, findEventFanout, findEventFanout, findEventFanoutForUI, findStateDescriptorForCode, findStateDescriptorForState, findTransitions, getAllEventDescriptors, getAllNonSuperStates, getAllStateDescriptors, getAllStateTransitions, getDbBuildEventDescriptor, getLocalizer, getPartChangedEventDescriptor, getStartEventDescriptor, getStartState, mapHasTransitions, setLocalizer, setStartState, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RcomRmmStateModel(com.retek.fsm.StateModelMgr stateModelMgr)
Method Detail |
public static void registerStateModel(java.lang.Class fsmableClass, java.lang.Class stateModelClass)
fsmableClass
- stateModelClass
- public static com.retek.fsm.State getState(com.retek.fsm.StateModel model, java.lang.String stateCode)
model
- state modelstateCode
- state code
public final boolean inState(RcomRmmFsmable fsmableBo, com.retek.fsm.StateDescriptor stateDescriptor) throws SystemException
fsmableBo
- source business objectstateDescriptor
- state descriptor
SystemException
protected final com.retek.fsm.StateDescriptor buildStateDescriptor(java.lang.String stateCode, java.lang.String stateDescription)
stateCode
- stateDescription
-
protected final com.retek.fsm.StateDescriptor buildDecisionStateDescriptor(java.lang.String stateCode, java.lang.String stateDescription, RcomRmmEventDescriptor eventDescriptor, com.retek.fsm.EventTransformer eventTransformer)
stateCode
- state code identifierstateDescription
- state descriptioneventDescriptor
- event descriptor for the decisioneventTransformer
- event transformer for the decision
protected final RcomRmmEventDescriptor buildRcomRmmEventDescriptor(java.lang.String eventDescriptorCode, java.lang.Class eventClass)
eventDescriptorCode
- eventClass
-
protected final RcomRmmEvent buildEvent(java.lang.String eventDescriptorCode) throws SystemException
eventDescriptorCode
-
SystemException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |