Class TResourceRole

  • Direct Known Subclasses:
    TPerformer

    public class TResourceRole
    extends TBaseElement

    Java class for tResourceRole complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="tResourceRole">
       <complexContent>
         <extension base="{http://www.omg.org/spec/BPMN/20100524/MODEL}tBaseElement">
           <choice>
             <sequence>
               <element name="resourceRef" type="{http://www.w3.org/2001/XMLSchema}QName"/>
               <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}resourceParameterBinding" maxOccurs="unbounded" minOccurs="0"/>
             </sequence>
             <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}resourceAssignmentExpression" minOccurs="0"/>
           </choice>
           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TResourceRole

        public TResourceRole()
    • Method Detail

      • getResourceRef

        public QName getResourceRef()
        Gets the value of the resourceRef property.
        Returns:
        possible object is QName
      • setResourceRef

        public void setResourceRef​(QName value)
        Sets the value of the resourceRef property.
        Parameters:
        value - allowed object is QName
      • getResourceParameterBinding

        public List<TResourceParameterBinding> getResourceParameterBinding()
        Gets the value of the resourceParameterBinding 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 resourceParameterBinding property.

        For example, to add a new item, do as follows:

            getResourceParameterBinding().add(newItem);
         

        Objects of the following type(s) are allowed in the list TResourceParameterBinding

      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String