Class ErrorImpl
- java.lang.Object
-
- 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<java.lang.String>camundaErrorMessageAttributeprotected static Attribute<java.lang.String>errorCodeAttributeprotected static Attribute<java.lang.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 java.lang.StringgetCamundaErrorMessage()java.lang.StringgetErrorCode()java.lang.StringgetName()ItemDefinitiongetStructure()static voidregisterType(ModelBuilder modelBuilder)voidsetCamundaErrorMessage(java.lang.String camundaErrorMessage)voidsetErrorCode(java.lang.String errorCode)voidsetName(java.lang.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
-
nameAttribute
protected static Attribute<java.lang.String> nameAttribute
-
errorCodeAttribute
protected static Attribute<java.lang.String> errorCodeAttribute
-
camundaErrorMessageAttribute
protected static Attribute<java.lang.String> camundaErrorMessageAttribute
-
structureRefAttribute
protected static AttributeReference<ItemDefinition> structureRefAttribute
-
-
Constructor Detail
-
ErrorImpl
public ErrorImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getErrorCode
public java.lang.String getErrorCode()
- Specified by:
getErrorCodein interfaceError
-
setErrorCode
public void setErrorCode(java.lang.String errorCode)
- Specified by:
setErrorCodein interfaceError
-
getCamundaErrorMessage
public java.lang.String getCamundaErrorMessage()
- Specified by:
getCamundaErrorMessagein interfaceError
-
setCamundaErrorMessage
public void setCamundaErrorMessage(java.lang.String camundaErrorMessage)
- Specified by:
setCamundaErrorMessagein interfaceError
-
getStructure
public ItemDefinition getStructure()
- Specified by:
getStructurein interfaceError
-
setStructure
public void setStructure(ItemDefinition structure)
- Specified by:
setStructurein interfaceError
-
-