Class ErrorImpl
-
- All Implemented Interfaces:
BaseElement,BpmnModelElementInstance,Error,RootElement,ModelElementInstance
public class ErrorImpl extends RootElementImpl implements Error
- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<String>camundaErrorMessageAttributeprotected static Attribute<String>errorCodeAttributeprotected static Attribute<String>nameAttributeprotected static AttributeReference<ItemDefinition>structureRefAttribute-
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 ErrorImpl(ModelTypeInstanceContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCamundaErrorMessage()StringgetErrorCode()StringgetName()ItemDefinitiongetStructure()static voidregisterType(ModelBuilder modelBuilder)voidsetCamundaErrorMessage(String camundaErrorMessage)voidsetErrorCode(String errorCode)voidsetName(String name)voidsetStructure(ItemDefinition structure)-
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
-
structureRefAttribute
protected static AttributeReference<ItemDefinition> structureRefAttribute
-
-
Constructor Detail
-
ErrorImpl
public ErrorImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getErrorCode
public String getErrorCode()
- Specified by:
getErrorCodein interfaceError
-
setErrorCode
public void setErrorCode(String errorCode)
- Specified by:
setErrorCodein interfaceError
-
getCamundaErrorMessage
public String getCamundaErrorMessage()
- Specified by:
getCamundaErrorMessagein interfaceError
-
setCamundaErrorMessage
public void setCamundaErrorMessage(String camundaErrorMessage)
- Specified by:
setCamundaErrorMessagein interfaceError
-
getStructure
public ItemDefinition getStructure()
- Specified by:
getStructurein interfaceError
-
setStructure
public void setStructure(ItemDefinition structure)
- Specified by:
setStructurein interfaceError
-
-