public class ElementRuntimeData extends Object implements Serializable
Constructor and Description |
---|
ElementRuntimeData(long processInstanceId,
String elementId,
String fillColor,
String outlineColor)
Creates a new instance of visualization runtime data relevant
for a given process instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getElementId()
Gets the element identifier.
|
String |
getFillColor()
Gets the fill color in "r,g,b" format.
|
String |
getOutlineColor()
Gets the outline color in "r,g,b" format.
|
long |
getProcessInstanceId()
Gets the identifier of a process instance this data is relevant for.
|
Long |
getSubprocessInstanceId()
Gets the identifier of a subprocess instance which was triggered by the
element this data belongs to.
|
void |
setSubprocessInstanceId(Long subprocessInstanceId)
Sets the identifier of a subprocess instance.
|
String |
toString() |
public ElementRuntimeData(long processInstanceId, String elementId, String fillColor, String outlineColor)
processInstanceId
- the identifier of the process instanceelementId
- identifier of the element within the resourcefillColor
- color in "r,g,b" formatoutlineColor
- color in "r,g,b" formatpublic long getProcessInstanceId()
public Long getSubprocessInstanceId()
null
if the element does
not trigger any subprocess.public void setSubprocessInstanceId(Long subprocessInstanceId)
subprocessInstanceId
- a subprocess instance identifierFpublic String getElementId()
public String getFillColor()
public String getOutlineColor()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.