Class ResourceParameterImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.ResourceParameterImpl
-
- All Implemented Interfaces:
BaseElement
,BpmnModelElementInstance
,ResourceParameter
,ModelElementInstance
public class ResourceParameterImpl extends BaseElementImpl implements ResourceParameter
The BPMN resourceParameter element- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<Boolean>
isRequiredAttribute
protected static Attribute<String>
nameAttribute
protected static AttributeReference<ItemDefinition>
typeAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
documentationCollection, extensionElementsChild, idAttribute
-
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
-
-
Constructor Summary
Constructors Constructor Description ResourceParameterImpl(ModelTypeInstanceContext instanceContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
ItemDefinition
getType()
boolean
isRequired()
static void
registerType(ModelBuilder modelBuilder)
void
setName(String name)
void
setRequired(boolean isRequired)
void
setType(ItemDefinition type)
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
getDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
builder, getScope, isScope
-
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BaseElement
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setId
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BpmnModelElementInstance
builder, getScope, isScope
-
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstance
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
-
-
-
Field Detail
-
typeAttribute
protected static AttributeReference<ItemDefinition> typeAttribute
-
-
Constructor Detail
-
ResourceParameterImpl
public ResourceParameterImpl(ModelTypeInstanceContext instanceContext)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getName
public String getName()
- Specified by:
getName
in interfaceResourceParameter
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceResourceParameter
-
getType
public ItemDefinition getType()
- Specified by:
getType
in interfaceResourceParameter
-
setType
public void setType(ItemDefinition type)
- Specified by:
setType
in interfaceResourceParameter
-
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interfaceResourceParameter
-
setRequired
public void setRequired(boolean isRequired)
- Specified by:
setRequired
in interfaceResourceParameter
-
-