Package org.flowable.cmmn.model
Class BaseElement
java.lang.Object
org.flowable.cmmn.model.BaseElement
- All Implemented Interfaces:
HasExtensionAttributes
- Direct Known Subclasses:
AbstractFlowableHttpHandler
,CmmnDiEdge
,CmmnDiShape
,CmmnElement
,ExtensionElement
,FieldExtension
,GraphicInfo
,IOParameter
,ScriptInfo
- Author:
- Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,
List<ExtensionAttribute>> extension attributes could be part of each elementprotected Map<String,
List<ExtensionElement>> protected String
protected int
protected int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(ExtensionAttribute attribute) add attribute to the objectvoid
addExtensionElement
(ExtensionElement extensionElement) get element's attributesgetAttributeValue
(String namespace, String name) return value of the attribute from given namespace with given name.getId()
int
int
void
setAttributes
(Map<String, List<ExtensionAttribute>> attributes) set all object's attributesvoid
setExtensionElements
(Map<String, List<ExtensionElement>> extensionElements) void
void
setValues
(BaseElement otherElement) void
setXmlColumnNumber
(int xmlColumnNumber) void
setXmlRowNumber
(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:HasExtensionAttributes
get element's attributes- Specified by:
getAttributes
in interfaceHasExtensionAttributes
-
getAttributeValue
Description copied from interface:HasExtensionAttributes
return value of the attribute from given namespace with given name.- Specified by:
getAttributeValue
in interfaceHasExtensionAttributes
- Returns:
- attribute value or null in case when attribute was not found
-
addAttribute
Description copied from interface:HasExtensionAttributes
add attribute to the object- Specified by:
addAttribute
in interfaceHasExtensionAttributes
-
setAttributes
Description copied from interface:HasExtensionAttributes
set all object's attributes- Specified by:
setAttributes
in interfaceHasExtensionAttributes
-
setValues
-