public class Connection extends java.lang.Object implements JSONCacheable, XMLable, java.io.Serializable
ProcessNode
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_OBJECT_TYPE |
static java.lang.String |
END_TYPE_ANNOTATION |
static java.lang.String |
END_TYPE_NODE |
static java.lang.Long |
STATUS_NOT_TRAVERSED |
static java.lang.Long |
STATUS_TRAVERSED |
hiddenAttributes$TRANSIENT
DEFAULT_BUFFER_SIZE
Constructor and Description |
---|
Connection()
Creates a new connection.
|
Modifier and Type | Method and Description |
---|---|
Connection[] |
getAssociations()
|
java.lang.Long |
getEndNodeGuiId()
The gui id of the node
ProcessNode at the end of this connection. |
java.lang.String |
getEndObjectType()
|
java.lang.Long |
getFromAnchor()
Get the anchor of the Node from which this
Connection begins. |
java.lang.Long |
getGuiId()
See
setGuiId(Long) . |
java.util.HashSet |
getHiddenAttributes()
Returns the set of attributes (properties) that should not be included in
the JSON representation of the object.
|
java.lang.String |
getLabel()
Gets the label for this
Connection . |
Label |
getLabelStyle()
Gets the
Label bean which stores the styling information for
this Connection 's label. |
java.lang.Long |
getStartNodeGuiId()
Gets the gui id of the start node
ProcessNode of this connection. |
java.lang.Long |
getStatus() |
boolean |
getSynchronizeData()
Returns true if you want to synchronizeData
|
java.lang.Long |
getToAnchor()
Get the anchor of the Node at which this
Connection
terminates. |
boolean |
isChained()
Determines whether the next attended activity should be shown
immediately, as if part of a wizard.
|
boolean |
isOverridesAssignment()
Returns true if you want to override the assignment for the
next attended activity.
|
boolean |
isShowArrowhead()
|
void |
setAssociations(Connection[] associations_)
Set the associations of this connection; if this connection is
an association itself, this field should be
null . |
void |
setChained(boolean chained_)
Set whether the next attended activity should be shown immediately,
as if part of a wizard.
|
void |
setEndNodeGuiId(java.lang.Long endNodeGuiId_)
Sets the gui id of the node
ProcessNode at the end of this
connection. |
void |
setEndObjectType(java.lang.String endObjectType_)
Set the type of the end object of this connection, for example
"ap.gui.Node" or "ap.gui.Annotation".
|
void |
setFromAnchor(java.lang.Long fromAnchor_)
Set the anchor of the Node from which this
Connection begins. |
void |
setGuiId(java.lang.Long guiId_)
Set the guiId of the connection.
|
void |
setLabel(java.lang.String label_)
Sets the label for this
Connection . |
void |
setLabelStyle(Label labelStyle_)
Sets the
Label bean for this Connection . |
void |
setOverridesAssignment(boolean overridesAssignment_)
Set whether or not to override the assignment of the next attended
activity.
|
void |
setShowArrowhead(boolean showArrowhead_)
Set whether an arrowhead should be displayed
at the end of the connection.
|
void |
setStartNodeGuiId(java.lang.Long startNodeGuiId_)
Sets the gui id of the start node
ProcessNode of this connection. |
void |
setStatus(java.lang.Long status_)
sets the status of the connection
|
void |
setSynchronizeData(boolean synchronizeData_)
Set whether or not to synchronizeData
|
void |
setToAnchor(java.lang.Long toAnchor_)
Set the anchor of the Node at which this
Connection
terminates. |
java.lang.String |
toString()
Creates a String representation of this object, which is useful for
debugging.
|
java.lang.String |
toXML()
converts the
connection to XML and returns it as a String |
void |
toXML(java.lang.StringBuilder buffer_)
Appends an XML representation of this object to the given buffer.
|
public static final java.lang.Long STATUS_NOT_TRAVERSED
public static final java.lang.Long STATUS_TRAVERSED
public static final java.lang.String END_TYPE_NODE
public static final java.lang.String END_TYPE_ANNOTATION
public static final java.lang.String DEFAULT_OBJECT_TYPE
public java.util.HashSet getHiddenAttributes()
JSONable
getHiddenAttributes
in interface JSONable
public java.lang.String toXML()
connection
to XML and returns it as a Stringpublic void toXML(java.lang.StringBuilder buffer_)
public java.lang.Long getGuiId()
setGuiId(Long)
.public void setGuiId(java.lang.Long guiId_)
public java.lang.Long getEndNodeGuiId()
ProcessNode
at the end of this connection.
A gui id is the identifier within the context of a process model
ProcessModel
, and is NOT a primary key.public void setEndNodeGuiId(java.lang.Long endNodeGuiId_)
ProcessNode
at the end of this
connection. A gui id is the identifier within the context of a process
model ProcessModel
, and is NOT a primary key.endNodeGuiId_
- the end node gui id to set for this connectionpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Long getStartNodeGuiId()
ProcessNode
of this connection.
A gui id is the identifier within the context of a process model
ProcessModel
, and is NOT a primary key.public void setStartNodeGuiId(java.lang.Long startNodeGuiId_)
ProcessNode
of this connection.
A gui id is the identifier within the context of a process model
ProcessModel
, and is NOT a primary key.startNodeGuiId_
- the start node gui id to set for this connectionpublic void setStatus(java.lang.Long status_)
status_
- the status of the connection, which can eitherpublic java.lang.Long getStatus()
public java.lang.Long getFromAnchor()
Connection
begins.Connection
starts.public void setFromAnchor(java.lang.Long fromAnchor_)
Connection
begins.fromAnchor_
- The anchor from which this Connection
will
startpublic java.lang.Long getToAnchor()
Connection
terminates.Connection
terminates.public void setToAnchor(java.lang.Long toAnchor_)
Connection
terminates.toAnchor_
- The anchor at which this Connection
terminates.public boolean isShowArrowhead()
public void setShowArrowhead(boolean showArrowhead_)
public java.lang.String getLabel()
Connection
.Connection
public void setLabel(java.lang.String label_)
Connection
.label_
- The label to set for this Connection
public Label getLabelStyle()
Label
bean which stores the styling information for
this Connection
's label.Label
bean for this Connection
public void setLabelStyle(Label labelStyle_)
Label
bean for this Connection
.labelStyle_
- The Label
bean to set for this
Connection
getLabelStyle()
public java.lang.String getEndObjectType()
public void setEndObjectType(java.lang.String endObjectType_)
public Connection[] getAssociations()
public void setAssociations(Connection[] associations_)
null
.public boolean isChained()
setChained(boolean)
public void setChained(boolean chained_)
chained_
- true to enable activity chainingisChained()
public boolean isOverridesAssignment()
setOverridesAssignment(boolean)
public void setOverridesAssignment(boolean overridesAssignment_)
overridesAssignment_
- true to override assignmentisOverridesAssignment()
public boolean getSynchronizeData()
public void setSynchronizeData(boolean synchronizeData_)
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.