public class MongoDbRepositoryTransition extends RepositoryTransition
Constructor and Description |
---|
MongoDbRepositoryTransition()
Instantiates a new MongoDb repository transition.
|
MongoDbRepositoryTransition(MongoDbRepositoryState source,
MongoDbRepositoryState target,
java.lang.String event)
Instantiates a new MongoDb repository transition.
|
MongoDbRepositoryTransition(java.lang.String machineId,
MongoDbRepositoryState source,
MongoDbRepositoryState target,
java.lang.String event)
Instantiates a new MongoDb repository transition.
|
MongoDbRepositoryTransition(java.lang.String machineId,
MongoDbRepositoryState source,
MongoDbRepositoryState target,
java.lang.String event,
java.util.Set<MongoDbRepositoryAction> actions)
Instantiates a new MongoDb repository transition.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<MongoDbRepositoryAction> |
getActions()
Gets the actions.
|
java.lang.String |
getEvent()
Gets the event.
|
MongoDbRepositoryGuard |
getGuard()
Gets the guard.
|
TransitionKind |
getKind()
Gets the transition kind.
|
java.lang.String |
getMachineId()
Gets the machine id.
|
MongoDbRepositoryState |
getSource()
Gets the source.
|
MongoDbRepositoryState |
getTarget()
Gets the target.
|
void |
setActions(java.util.Set<MongoDbRepositoryAction> actions) |
void |
setEvent(java.lang.String event) |
void |
setGuard(MongoDbRepositoryGuard guard) |
void |
setKind(TransitionKind kind) |
void |
setMachineId(java.lang.String machineId) |
void |
setSource(MongoDbRepositoryState source) |
void |
setTarget(MongoDbRepositoryState target) |
java.lang.String |
toString() |
public MongoDbRepositoryTransition()
public MongoDbRepositoryTransition(MongoDbRepositoryState source, MongoDbRepositoryState target, java.lang.String event)
source
- the sourcetarget
- the targetevent
- the eventpublic MongoDbRepositoryTransition(java.lang.String machineId, MongoDbRepositoryState source, MongoDbRepositoryState target, java.lang.String event)
machineId
- the machine idsource
- the sourcetarget
- the targetevent
- the eventpublic MongoDbRepositoryTransition(java.lang.String machineId, MongoDbRepositoryState source, MongoDbRepositoryState target, java.lang.String event, java.util.Set<MongoDbRepositoryAction> 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 MongoDbRepositoryState getSource()
RepositoryTransition
getSource
in class RepositoryTransition
public void setSource(MongoDbRepositoryState source)
public MongoDbRepositoryState getTarget()
RepositoryTransition
getTarget
in class RepositoryTransition
public void setTarget(MongoDbRepositoryState target)
public java.lang.String getEvent()
RepositoryTransition
getEvent
in class RepositoryTransition
public void setEvent(java.lang.String event)
public java.util.Set<MongoDbRepositoryAction> getActions()
RepositoryTransition
getActions
in class RepositoryTransition
public void setActions(java.util.Set<MongoDbRepositoryAction> actions)
public MongoDbRepositoryGuard getGuard()
RepositoryTransition
getGuard
in class RepositoryTransition
public void setGuard(MongoDbRepositoryGuard 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