public class SProcessInstance extends Object implements SXmlEntity, SEntityWithId
Constructor and Description |
---|
SProcessInstance()
Creates new empty instance of
SProcessInstance . |
Modifier and Type | Method and Description |
---|---|
void |
addCommand(SActivationCommand command) |
void |
addGoal(SGoal goal) |
void |
addProcessInstance(SProcessInstance processInstance) |
void |
addToken(SToken token) |
List<SActivationCommand> |
getCommands() |
long |
getContextId() |
Collection<SGoal> |
getGoals() |
long |
getId()
Returns the id.
|
String |
getParentModelElementId() |
Set<SProcessInstance> |
getProcessInstances() |
ProcessInstanceState |
getState() |
Set<SToken> |
getTokens() |
boolean |
isInlined() |
void |
postUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent)
Callback method invoked after unmarshalling XML data into target.
|
void |
preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent)
Callback method invoked before unmarshalling into target.
|
void |
setContextId(long contextId) |
void |
setId(long id) |
void |
setInlined(boolean isInlined) |
void |
setParentModelElementId(String parentModelElementId) |
void |
setState(ProcessInstanceState state) |
public SProcessInstance()
SProcessInstance
.public long getId()
SEntityWithId
getId
in interface SEntityWithId
public long getContextId()
public String getParentModelElementId()
public ProcessInstanceState getState()
public boolean isInlined()
public Collection<SGoal> getGoals()
public List<SActivationCommand> getCommands()
public Set<SProcessInstance> getProcessInstances()
public void setParentModelElementId(String parentModelElementId)
public void setState(ProcessInstanceState state)
public void setId(long id)
public void setInlined(boolean isInlined)
public void setContextId(long contextId)
public void addToken(SToken token)
public void addGoal(SGoal goal)
public void addCommand(SActivationCommand command)
public void addProcessInstance(SProcessInstance processInstance)
public void preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
UnmarshalCallback
preUnmarshal
in interface UnmarshalCallback
parent
- instance of JAXB mapped class that will eventually reference target.
null when target is root element.public void postUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
UnmarshalCallback
postUnmarshal
in interface UnmarshalCallback
parent
- instance of JAXB mapped class that will reference target.
null when target is root element.Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.