Constructor and Description |
---|
Transition() |
Transition(org.json.JSONObject json)
Does not set fromWorkId since JSON transitions are children of activities.
|
Transition(java.lang.Long id,
java.lang.Long fromId,
java.lang.Long toId,
java.lang.Integer eventType,
java.lang.String completionCode,
java.lang.String pValClassName,
Attributes attributes) |
Transition(java.util.Map<java.lang.String,java.lang.Object> yaml) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.String name) |
java.lang.String |
getCompletionCode() |
java.lang.Integer |
getEventType() |
java.lang.Long |
getFromId() |
java.lang.Long |
getId() |
org.json.JSONObject |
getJson()
Does not populate from field since JSON transitions are children of activities.
|
java.lang.String |
getLabel() |
java.lang.String |
getLogicalId() |
java.lang.Long |
getProcessId() |
java.lang.Long |
getToId() |
java.util.Map<java.lang.String,java.lang.Object> |
getYaml() |
boolean |
isDefaultTransition(boolean noLabelIsDefault) |
boolean |
isHidden() |
boolean |
match(java.lang.Integer eventType,
java.lang.String compCode) |
void |
setAttribute(java.lang.String name,
java.lang.String value) |
void |
setCompletionCode(java.lang.String completionCode) |
void |
setEventType(java.lang.Integer eventType) |
void |
setFromId(java.lang.Long fromId) |
void |
setId(java.lang.Long id) |
void |
setProcessId(java.lang.Long processId) |
void |
setToId(java.lang.Long toId) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, getJsonName
create, fromString, toString
public Transition()
public Transition(java.lang.Long id, java.lang.Long fromId, java.lang.Long toId, java.lang.Integer eventType, java.lang.String completionCode, java.lang.String pValClassName, Attributes attributes)
public Transition(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException
public Transition(java.util.Map<java.lang.String,java.lang.Object> yaml)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.lang.Long getFromId()
public void setFromId(java.lang.Long fromId)
public java.lang.Long getToId()
public void setToId(java.lang.Long toId)
public java.lang.Integer getEventType()
public void setEventType(java.lang.Integer eventType)
public java.lang.String getCompletionCode()
public void setCompletionCode(java.lang.String completionCode)
public java.lang.Long getProcessId()
public void setProcessId(java.lang.Long processId)
public java.lang.String getAttribute(java.lang.String name)
public void setAttribute(java.lang.String name, java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean match(java.lang.Integer eventType, java.lang.String compCode)
public boolean isDefaultTransition(boolean noLabelIsDefault)
public java.lang.String getLabel()
public java.lang.String getLogicalId()
public boolean isHidden()
public org.json.JSONObject getJson() throws org.json.JSONException
org.json.JSONException
Copyright © 2019 CenturyLink, Inc.