Class TRelationship
Java class for tRelationship complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="tRelationship"> <complexContent> <extension base="{http://www.omg.org/spec/BPMN/20100524/MODEL}tBaseElement"> <sequence> <element name="source" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded"/> <element name="target" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded"/> </sequence> <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="direction" type="{http://www.omg.org/spec/BPMN/20100524/MODEL}tRelationshipDirection" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>
-
Field Summary
FieldsFields inherited from class ru.cg.webbpm.studio.subsystems.bpmn.bpmn_model.TBaseElement
documentation, extensionElements, id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the direction property.Gets the value of the source property.Gets the value of the target property.getType()
Gets the value of the type property.void
Sets the value of the direction property.void
Sets the value of the type property.Methods inherited from class ru.cg.webbpm.studio.subsystems.bpmn.bpmn_model.TBaseElement
getDocumentation, getExtensionElements, getId, getOtherAttributes, setExtensionElements, setId
-
Field Details
-
source
-
target
-
type
-
direction
-
-
Constructor Details
-
TRelationship
public TRelationship()
-
-
Method Details
-
getSource
Gets the value of the source property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the source property.For example, to add a new item, do as follows:
getSource().add(newItem);
Objects of the following type(s) are allowed in the list
QName
-
getTarget
Gets the value of the target property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the target property.For example, to add a new item, do as follows:
getTarget().add(newItem);
Objects of the following type(s) are allowed in the list
QName
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
getDirection
Gets the value of the direction property.- Returns:
- possible object is
TRelationshipDirection
-
setDirection
Sets the value of the direction property.- Parameters:
value
- allowed object isTRelationshipDirection
-