@Entity public class FlowTokenEntity extends Object implements brainslug.flow.instance.FlowInstanceToken
| Modifier and Type | Field and Description |
|---|---|
protected Long |
created |
protected String |
currentNode |
protected String |
flowInstanceId |
protected String |
id |
protected Integer |
isDead |
protected Integer |
isFinal |
protected String |
sourceNode |
protected Long |
version |
| Constructor and Description |
|---|
FlowTokenEntity() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCreated() |
String |
getCurrentNode() |
String |
getFlowInstanceId() |
brainslug.flow.definition.Identifier |
getId() |
brainslug.flow.definition.Identifier |
getInstanceId() |
brainslug.flow.definition.Identifier |
getNodeId() |
Option<brainslug.flow.definition.Identifier> |
getSourceNodeId() |
Long |
getVersion() |
boolean |
isDead() |
boolean |
isFinal() |
FlowTokenEntity |
setDead(boolean isDead) |
FlowTokenEntity |
setFinal(boolean isFinal) |
FlowTokenEntity |
withCreated(Long created) |
FlowTokenEntity |
withCurrentNode(String currentNode) |
FlowTokenEntity |
withFlowInstanceId(String flowInstanceId) |
FlowTokenEntity |
withId(String id) |
FlowTokenEntity |
withSourceNode(String sourceNode) |
FlowTokenEntity |
withVersion(Long version) |
protected String id
protected Long version
protected Long created
protected String currentNode
protected String flowInstanceId
protected Integer isDead
protected Integer isFinal
protected String sourceNode
public brainslug.flow.definition.Identifier getId()
getId in interface brainslug.flow.instance.FlowInstanceTokenpublic brainslug.flow.definition.Identifier getNodeId()
getNodeId in interface brainslug.flow.instance.FlowInstanceTokenpublic FlowTokenEntity withId(String id)
public Long getVersion()
public FlowTokenEntity withVersion(Long version)
public Long getCreated()
public FlowTokenEntity withCreated(Long created)
public String getCurrentNode()
public FlowTokenEntity withCurrentNode(String currentNode)
public String getFlowInstanceId()
public FlowTokenEntity withFlowInstanceId(String flowInstanceId)
public boolean isDead()
isDead in interface brainslug.flow.instance.FlowInstanceTokenpublic FlowTokenEntity setDead(boolean isDead)
public Option<brainslug.flow.definition.Identifier> getSourceNodeId()
getSourceNodeId in interface brainslug.flow.instance.FlowInstanceTokenpublic brainslug.flow.definition.Identifier getInstanceId()
getInstanceId in interface brainslug.flow.instance.FlowInstanceTokenpublic boolean isFinal()
isFinal in interface brainslug.flow.instance.FlowInstanceTokenpublic FlowTokenEntity setFinal(boolean isFinal)
public FlowTokenEntity withSourceNode(String sourceNode)
Copyright © 2015. All rights reserved.