Class TRelationship

java.lang.Object
ru.cg.webbpm.studio.subsystems.bpmn.bpmn_model.TBaseElement
ru.cg.webbpm.studio.subsystems.bpmn.bpmn_model.TRelationship

public class TRelationship extends TBaseElement

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 Details

  • Constructor Details

    • TRelationship

      public TRelationship()
  • Method Details

    • getSource

      public List<QName> 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

      public 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

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getDirection

      public TRelationshipDirection getDirection()
      Gets the value of the direction property.
      Returns:
      possible object is TRelationshipDirection
    • setDirection

      public void setDirection(TRelationshipDirection value)
      Sets the value of the direction property.
      Parameters:
      value - allowed object is TRelationshipDirection