@Entity public class JpaRepositoryState extends RepositoryState
Constructor and Description |
---|
JpaRepositoryState()
Instantiates a new jpa repository state.
|
JpaRepositoryState(java.lang.String state)
Instantiates a new jpa repository state.
|
JpaRepositoryState(java.lang.String state,
java.lang.Boolean initial)
Instantiates a new jpa repository state.
|
JpaRepositoryState(java.lang.String machineId,
JpaRepositoryState parentState,
java.lang.String state,
java.lang.Boolean initial)
Instantiates a new jpa repository state.
|
JpaRepositoryState(java.lang.String machineId,
JpaRepositoryState parentState,
java.lang.String state,
java.lang.Boolean initial,
java.util.Set<JpaRepositoryAction> stateActions,
java.util.Set<JpaRepositoryAction> entryActions,
java.util.Set<JpaRepositoryAction> exitActions)
Instantiates a new jpa repository state.
|
JpaRepositoryState(java.lang.String machineId,
java.lang.String state,
java.lang.Boolean initial)
Instantiates a new jpa repository state.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getDeferredEvents()
Gets the deferred events.
|
java.util.Set<JpaRepositoryAction> |
getEntryActions()
Gets the entry actions.
|
java.util.Set<JpaRepositoryAction> |
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.
|
JpaRepositoryState |
getParentState()
Gets the parent state.
|
java.lang.String |
getRegion()
Gets the region.
|
java.lang.String |
getState()
Gets the state.
|
java.util.Set<JpaRepositoryAction> |
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<JpaRepositoryAction> entryActions) |
void |
setExitActions(java.util.Set<JpaRepositoryAction> exitActions) |
void |
setInitial(java.lang.Boolean initial) |
void |
setInitialAction(JpaRepositoryAction initialAction) |
void |
setKind(PseudoStateKind kind) |
void |
setMachineId(java.lang.String machineId) |
void |
setParentState(JpaRepositoryState parentState) |
void |
setRegion(java.lang.String region) |
void |
setState(java.lang.String state) |
void |
setStateActions(java.util.Set<JpaRepositoryAction> stateActions) |
void |
setSubmachineId(java.lang.String submachineId) |
java.lang.String |
toString() |
public JpaRepositoryState()
public JpaRepositoryState(java.lang.String state)
state
- the statepublic JpaRepositoryState(java.lang.String state, java.lang.Boolean initial)
state
- the stateinitial
- the initialpublic JpaRepositoryState(java.lang.String machineId, java.lang.String state, java.lang.Boolean initial)
machineId
- the machine idstate
- the stateinitial
- the initialpublic JpaRepositoryState(java.lang.String machineId, JpaRepositoryState parentState, java.lang.String state, java.lang.Boolean initial)
machineId
- the machine idparentState
- the parent statestate
- the stateinitial
- the initialpublic JpaRepositoryState(java.lang.String machineId, JpaRepositoryState parentState, java.lang.String state, java.lang.Boolean initial, java.util.Set<JpaRepositoryAction> stateActions, java.util.Set<JpaRepositoryAction> entryActions, java.util.Set<JpaRepositoryAction> 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 JpaRepositoryState getParentState()
RepositoryState
getParentState
in class RepositoryState
public void setParentState(JpaRepositoryState 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(java.lang.Boolean initial)
public RepositoryAction getInitialAction()
RepositoryState
getInitialAction
in class RepositoryState
public void setInitialAction(JpaRepositoryAction initialAction)
public java.util.Set<JpaRepositoryAction> getStateActions()
RepositoryState
getStateActions
in class RepositoryState
public void setStateActions(java.util.Set<JpaRepositoryAction> stateActions)
public java.util.Set<JpaRepositoryAction> getEntryActions()
RepositoryState
getEntryActions
in class RepositoryState
public void setEntryActions(java.util.Set<JpaRepositoryAction> entryActions)
public java.util.Set<JpaRepositoryAction> getExitActions()
RepositoryState
getExitActions
in class RepositoryState
public void setExitActions(java.util.Set<JpaRepositoryAction> 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