public class TRelationship extends TBaseElement
tRelationship complex type的 Java 类。
以下模式片段指定包含在此类中的预期内容。
<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>
| 限定符和类型 | 字段和说明 |
|---|---|
protected TRelationshipDirection |
direction |
protected List<QName> |
source |
protected List<QName> |
target |
protected String |
type |
documentation, extensionElements, id| 构造器和说明 |
|---|
TRelationship() |
| 限定符和类型 | 方法和说明 |
|---|---|
TRelationshipDirection |
getDirection()
获取direction属性的值。
|
List<QName> |
getSource()
Gets the value of the source property.
|
List<QName> |
getTarget()
Gets the value of the target property.
|
String |
getType()
获取type属性的值。
|
void |
setDirection(TRelationshipDirection value)
设置direction属性的值。
|
void |
setType(String value)
设置type属性的值。
|
getDocumentation, getExtensionElements, getId, getOtherAttributes, setExtensionElements, setIdprotected String type
protected TRelationshipDirection direction
public List<QName> getSource()
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 JAXB 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
public List<QName> getTarget()
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 JAXB 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
public TRelationshipDirection getDirection()
TRelationshipDirectionpublic void setDirection(TRelationshipDirection value)
value - allowed object is
TRelationshipDirectionCopyright © 2021. All rights reserved.