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>
camundaErrorMessageAttribute
protected static Attribute<java.lang.String>
errorCodeAttribute
protected static Attribute<java.lang.String>
nameAttribute
protected 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.String
getCamundaErrorMessage()
java.lang.String
getErrorCode()
java.lang.String
getName()
ItemDefinition
getStructure()
static void
registerType(ModelBuilder modelBuilder)
void
setCamundaErrorMessage(java.lang.String camundaErrorMessage)
void
setErrorCode(java.lang.String errorCode)
void
setName(java.lang.String name)
void
setStructure(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:
getErrorCode
in interfaceError
-
setErrorCode
public void setErrorCode(java.lang.String errorCode)
- Specified by:
setErrorCode
in interfaceError
-
getCamundaErrorMessage
public java.lang.String getCamundaErrorMessage()
- Specified by:
getCamundaErrorMessage
in interfaceError
-
setCamundaErrorMessage
public void setCamundaErrorMessage(java.lang.String camundaErrorMessage)
- Specified by:
setCamundaErrorMessage
in interfaceError
-
getStructure
public ItemDefinition getStructure()
- Specified by:
getStructure
in interfaceError
-
setStructure
public void setStructure(ItemDefinition structure)
- Specified by:
setStructure
in interfaceError
-
-