Package org.flowable.bpmn.model
Class BaseElement
java.lang.Object
org.flowable.bpmn.model.BaseElement
- All Implemented Interfaces:
HasExtensionAttributes
- Direct Known Subclasses:
AbstractFlowableHttpHandler,Artifact,Assignment,CollectionHandler,CustomProperty,DataAssociation,DataGridField,DataSpec,DataStore,Escalation,EventDefinition,EventListener,ExtensionElement,FieldExtension,FlowableListener,FlowElement,FormProperty,FormValue,Import,Interface,IOParameter,IOSpecification,ItemDefinition,Lane,Message,MessageFlow,MultiInstanceLoopCharacteristics,Operation,Pool,Process,Resource,ScriptInfo,Signal
- Author:
- Tijs Rademakers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,List<ExtensionAttribute>> extension attributes could be part of each elementprotected Map<String,List<ExtensionElement>> protected Stringprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(ExtensionAttribute attribute) add attribute to the objectvoidaddExtensionElement(ExtensionElement extensionElement) abstract BaseElementclone()get element's attributesgetAttributeValue(String namespace, String name) return value of the attribute from given namespace with given name.getId()intintvoidsetAttributes(Map<String, List<ExtensionAttribute>> attributes) set all object's attributesvoidsetExtensionElements(Map<String, List<ExtensionElement>> extensionElements) voidvoidsetValues(BaseElement otherElement) voidsetXmlColumnNumber(int xmlColumnNumber) voidsetXmlRowNumber(int xmlRowNumber)
-
Field Details
-
id
-
xmlRowNumber
protected int xmlRowNumber -
xmlColumnNumber
protected int xmlColumnNumber -
extensionElements
-
attributes
extension attributes could be part of each element
-
-
Constructor Details
-
BaseElement
public BaseElement()
-
-
Method Details
-
getId
-
setId
-
getXmlRowNumber
public int getXmlRowNumber() -
setXmlRowNumber
public void setXmlRowNumber(int xmlRowNumber) -
getXmlColumnNumber
public int getXmlColumnNumber() -
setXmlColumnNumber
public void setXmlColumnNumber(int xmlColumnNumber) -
getExtensionElements
-
addExtensionElement
-
setExtensionElements
-
getAttributes
Description copied from interface:HasExtensionAttributesget element's attributes- Specified by:
getAttributesin interfaceHasExtensionAttributes
-
getAttributeValue
Description copied from interface:HasExtensionAttributesreturn value of the attribute from given namespace with given name.- Specified by:
getAttributeValuein interfaceHasExtensionAttributes- Returns:
- attribute value or null in case when attribute was not found
-
addAttribute
Description copied from interface:HasExtensionAttributesadd attribute to the object- Specified by:
addAttributein interfaceHasExtensionAttributes
-
setAttributes
Description copied from interface:HasExtensionAttributesset all object's attributes- Specified by:
setAttributesin interfaceHasExtensionAttributes
-
setValues
-
clone
-