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