@Entity public class JpaRepositoryTransition extends RepositoryTransition
Constructor and Description |
---|
JpaRepositoryTransition()
Instantiates a new jpa repository transition.
|
JpaRepositoryTransition(JpaRepositoryState source,
JpaRepositoryState target,
java.lang.String event)
Instantiates a new jpa repository transition.
|
JpaRepositoryTransition(java.lang.String machineId,
JpaRepositoryState source,
JpaRepositoryState target,
java.lang.String event)
Instantiates a new jpa repository transition.
|
JpaRepositoryTransition(java.lang.String machineId,
JpaRepositoryState source,
JpaRepositoryState target,
java.lang.String event,
java.util.Set<JpaRepositoryAction> actions)
Instantiates a new jpa repository transition.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<JpaRepositoryAction> |
getActions()
Gets the actions.
|
java.lang.String |
getEvent()
Gets the event.
|
JpaRepositoryGuard |
getGuard()
Gets the guard.
|
TransitionKind |
getKind()
Gets the transition kind.
|
java.lang.String |
getMachineId()
Gets the machine id.
|
JpaRepositoryState |
getSource()
Gets the source.
|
JpaRepositoryState |
getTarget()
Gets the target.
|
void |
setActions(java.util.Set<JpaRepositoryAction> actions) |
void |
setEvent(java.lang.String event) |
void |
setGuard(JpaRepositoryGuard guard) |
void |
setKind(TransitionKind kind) |
void |
setMachineId(java.lang.String machineId) |
void |
setSource(JpaRepositoryState source) |
void |
setTarget(JpaRepositoryState target) |
java.lang.String |
toString() |
public JpaRepositoryTransition()
public JpaRepositoryTransition(JpaRepositoryState source, JpaRepositoryState target, java.lang.String event)
source
- the sourcetarget
- the targetevent
- the eventpublic JpaRepositoryTransition(java.lang.String machineId, JpaRepositoryState source, JpaRepositoryState target, java.lang.String event)
machineId
- the machine idsource
- the sourcetarget
- the targetevent
- the eventpublic JpaRepositoryTransition(java.lang.String machineId, JpaRepositoryState source, JpaRepositoryState target, java.lang.String event, java.util.Set<JpaRepositoryAction> actions)
machineId
- the machine idsource
- the sourcetarget
- the targetevent
- the eventactions
- the actionspublic java.lang.String getMachineId()
RepositoryTransition
getMachineId
in class RepositoryTransition
public void setMachineId(java.lang.String machineId)
public JpaRepositoryState getSource()
RepositoryTransition
getSource
in class RepositoryTransition
public void setSource(JpaRepositoryState source)
public JpaRepositoryState getTarget()
RepositoryTransition
getTarget
in class RepositoryTransition
public void setTarget(JpaRepositoryState target)
public java.lang.String getEvent()
RepositoryTransition
getEvent
in class RepositoryTransition
public void setEvent(java.lang.String event)
public java.util.Set<JpaRepositoryAction> getActions()
RepositoryTransition
getActions
in class RepositoryTransition
public void setActions(java.util.Set<JpaRepositoryAction> actions)
public JpaRepositoryGuard getGuard()
RepositoryTransition
getGuard
in class RepositoryTransition
public void setGuard(JpaRepositoryGuard guard)
public TransitionKind getKind()
RepositoryTransition
getKind
in class RepositoryTransition
public void setKind(TransitionKind kind)
public java.lang.String toString()
toString
in class java.lang.Object