public class TResourceRole extends TBaseElement
tResourceRole complex type的 Java 类。
以下模式片段指定包含在此类中的预期内容。
<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>
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
name |
protected TResourceAssignmentExpression |
resourceAssignmentExpression |
protected List<TResourceParameterBinding> |
resourceParameterBinding |
protected QName |
resourceRef |
documentation, extensionElements, id| 构造器和说明 |
|---|
TResourceRole() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName()
获取name属性的值。
|
TResourceAssignmentExpression |
getResourceAssignmentExpression()
获取resourceAssignmentExpression属性的值。
|
List<TResourceParameterBinding> |
getResourceParameterBinding()
Gets the value of the resourceParameterBinding property.
|
QName |
getResourceRef()
获取resourceRef属性的值。
|
void |
setName(String value)
设置name属性的值。
|
void |
setResourceAssignmentExpression(TResourceAssignmentExpression value)
设置resourceAssignmentExpression属性的值。
|
void |
setResourceRef(QName value)
设置resourceRef属性的值。
|
getDocumentation, getExtensionElements, getId, getOtherAttributes, setExtensionElements, setIdprotected QName resourceRef
protected List<TResourceParameterBinding> resourceParameterBinding
protected TResourceAssignmentExpression resourceAssignmentExpression
protected String name
public void setResourceRef(QName value)
value - allowed object is
QNamepublic List<TResourceParameterBinding> getResourceParameterBinding()
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
public TResourceAssignmentExpression getResourceAssignmentExpression()
TResourceAssignmentExpressionpublic void setResourceAssignmentExpression(TResourceAssignmentExpression value)
value - allowed object is
TResourceAssignmentExpressionCopyright © 2021. All rights reserved.