public class MongoDbRepositoryState extends RepositoryState
Constructor and Description |
---|
MongoDbRepositoryState()
Instantiates a new MongoDb repository state.
|
MongoDbRepositoryState(java.lang.String state)
Instantiates a new MongoDb repository state.
|
MongoDbRepositoryState(java.lang.String state,
boolean initial)
Instantiates a new MongoDb repository state.
|
MongoDbRepositoryState(java.lang.String machineId,
MongoDbRepositoryState parentState,
java.lang.String state,
boolean initial)
Instantiates a new MongoDb repository state.
|
MongoDbRepositoryState(java.lang.String machineId,
MongoDbRepositoryState parentState,
java.lang.String state,
boolean initial,
java.util.Set<MongoDbRepositoryAction> stateActions,
java.util.Set<MongoDbRepositoryAction> entryActions,
java.util.Set<MongoDbRepositoryAction> exitActions)
Instantiates a new MongoDb repository state.
|
MongoDbRepositoryState(java.lang.String machineId,
java.lang.String state,
boolean initial)
Instantiates a new MongoDb repository state.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getDeferredEvents()
Gets the deferred events.
|
java.util.Set<MongoDbRepositoryAction> |
getEntryActions()
Gets the entry actions.
|
java.util.Set<MongoDbRepositoryAction> |
getExitActions()
Gets the exit actions.
|
RepositoryAction |
getInitialAction()
Gets the initial action.
|
PseudoStateKind |
getKind()
Gets the pseudo state kind.
|
java.lang.String |
getMachineId()
Gets the machine id.
|
MongoDbRepositoryState |
getParentState()
Gets the parent state.
|
java.lang.String |
getRegion()
Gets the region.
|
java.lang.String |
getState()
Gets the state.
|
java.util.Set<MongoDbRepositoryAction> |
getStateActions()
Gets the state actions.
|
java.lang.String |
getSubmachineId()
Gets the submachine id indicating that this is a submachine state
and its structure is available from particular machine itself.
|
java.lang.Boolean |
isInitial()
Checks if is initial.
|
void |
setDeferredEvents(java.util.Set<java.lang.String> deferredEvents) |
void |
setEntryActions(java.util.Set<MongoDbRepositoryAction> entryActions) |
void |
setExitActions(java.util.Set<MongoDbRepositoryAction> exitActions) |
void |
setInitial(boolean initial) |
void |
setInitialAction(MongoDbRepositoryAction initialAction) |
void |
setKind(PseudoStateKind kind) |
void |
setMachineId(java.lang.String machineId) |
void |
setParentState(MongoDbRepositoryState parentState) |
void |
setRegion(java.lang.String region) |
void |
setState(java.lang.String state) |
void |
setStateActions(java.util.Set<MongoDbRepositoryAction> stateActions) |
void |
setSubmachineId(java.lang.String submachineId) |
java.lang.String |
toString() |
public MongoDbRepositoryState()
public MongoDbRepositoryState(java.lang.String state)
state
- the statepublic MongoDbRepositoryState(java.lang.String state, boolean initial)
state
- the stateinitial
- the initialpublic MongoDbRepositoryState(java.lang.String machineId, java.lang.String state, boolean initial)
machineId
- the machine idstate
- the stateinitial
- the initialpublic MongoDbRepositoryState(java.lang.String machineId, MongoDbRepositoryState parentState, java.lang.String state, boolean initial)
machineId
- the machine idparentState
- the parent statestate
- the stateinitial
- the initialpublic MongoDbRepositoryState(java.lang.String machineId, MongoDbRepositoryState parentState, java.lang.String state, boolean initial, java.util.Set<MongoDbRepositoryAction> stateActions, java.util.Set<MongoDbRepositoryAction> entryActions, java.util.Set<MongoDbRepositoryAction> exitActions)
machineId
- the machine idparentState
- the parent statestate
- the stateinitial
- the initialstateActions
- the state actionsentryActions
- the entry actionsexitActions
- the exit actionspublic java.lang.String getMachineId()
RepositoryState
getMachineId
in class RepositoryState
public void setMachineId(java.lang.String machineId)
public java.lang.String getRegion()
RepositoryState
getRegion
in class RepositoryState
public void setRegion(java.lang.String region)
public MongoDbRepositoryState getParentState()
RepositoryState
getParentState
in class RepositoryState
public void setParentState(MongoDbRepositoryState parentState)
public java.lang.String getState()
RepositoryState
getState
in class RepositoryState
public void setState(java.lang.String state)
public PseudoStateKind getKind()
RepositoryState
getKind
in class RepositoryState
public void setKind(PseudoStateKind kind)
public java.lang.Boolean isInitial()
RepositoryState
isInitial
in class RepositoryState
public void setInitial(boolean initial)
public RepositoryAction getInitialAction()
RepositoryState
getInitialAction
in class RepositoryState
public void setInitialAction(MongoDbRepositoryAction initialAction)
public java.util.Set<MongoDbRepositoryAction> getStateActions()
RepositoryState
getStateActions
in class RepositoryState
public void setStateActions(java.util.Set<MongoDbRepositoryAction> stateActions)
public java.util.Set<MongoDbRepositoryAction> getEntryActions()
RepositoryState
getEntryActions
in class RepositoryState
public void setEntryActions(java.util.Set<MongoDbRepositoryAction> entryActions)
public java.util.Set<MongoDbRepositoryAction> getExitActions()
RepositoryState
getExitActions
in class RepositoryState
public void setExitActions(java.util.Set<MongoDbRepositoryAction> exitActions)
public java.util.Set<java.lang.String> getDeferredEvents()
RepositoryState
getDeferredEvents
in class RepositoryState
public void setDeferredEvents(java.util.Set<java.lang.String> deferredEvents)
public java.lang.String getSubmachineId()
RepositoryState
getSubmachineId
in class RepositoryState
public void setSubmachineId(java.lang.String submachineId)
public java.lang.String toString()
toString
in class java.lang.Object