org.omg.spec.bpmn._20100524.model
Class TResourceRole

java.lang.Object
  extended by org.omg.spec.bpmn._20100524.model.TBaseElement
      extended by org.omg.spec.bpmn._20100524.model.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>
 


Field Summary
protected  java.lang.String name
           
protected  TResourceAssignmentExpression resourceAssignmentExpression
           
protected  java.util.List<TResourceParameterBinding> resourceParameterBinding
           
protected  javax.xml.namespace.QName resourceRef
           
 
Fields inherited from class org.omg.spec.bpmn._20100524.model.TBaseElement
documentation, extensionElements, id
 
Constructor Summary
TResourceRole()
           
 
Method Summary
 java.lang.String getName()
          Gets the value of the name property.
 TResourceAssignmentExpression getResourceAssignmentExpression()
          Gets the value of the resourceAssignmentExpression property.
 java.util.List<TResourceParameterBinding> getResourceParameterBinding()
          Gets the value of the resourceParameterBinding property.
 javax.xml.namespace.QName getResourceRef()
          Gets the value of the resourceRef property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setResourceAssignmentExpression(TResourceAssignmentExpression value)
          Sets the value of the resourceAssignmentExpression property.
 void setResourceRef(javax.xml.namespace.QName value)
          Sets the value of the resourceRef property.
 
Methods inherited from class org.omg.spec.bpmn._20100524.model.TBaseElement
getDocumentation, getExtensionElements, getId, getOtherAttributes, setExtensionElements, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceRef

protected javax.xml.namespace.QName resourceRef

resourceParameterBinding

protected java.util.List<TResourceParameterBinding> resourceParameterBinding

resourceAssignmentExpression

protected TResourceAssignmentExpression resourceAssignmentExpression

name

protected java.lang.String name
Constructor Detail

TResourceRole

public TResourceRole()
Method Detail

getResourceRef

public javax.xml.namespace.QName getResourceRef()
Gets the value of the resourceRef property.

Returns:
possible object is QName

setResourceRef

public void setResourceRef(javax.xml.namespace.QName value)
Sets the value of the resourceRef property.

Parameters:
value - allowed object is QName

getResourceParameterBinding

public java.util.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


getResourceAssignmentExpression

public TResourceAssignmentExpression getResourceAssignmentExpression()
Gets the value of the resourceAssignmentExpression property.

Returns:
possible object is TResourceAssignmentExpression

setResourceAssignmentExpression

public void setResourceAssignmentExpression(TResourceAssignmentExpression value)
Sets the value of the resourceAssignmentExpression property.

Parameters:
value - allowed object is TResourceAssignmentExpression

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String