Class 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>
     
    • Constructor Detail

      • TRelationship

        public TRelationship()
    • Method Detail

      • 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 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

      • 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 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

      • 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