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