Package org.flowable.dmn.model
Class DmnElement
- java.lang.Object
-
- org.flowable.dmn.model.DmnElement
-
- Direct Known Subclasses:
DecisionRule,DmnDiDiagramElement,DmnExtensionElement,Expression,GraphicInfo,InputClause,NamedElement,OutputClause,UnaryTests
public abstract class DmnElement extends Object
- Author:
- Yvo Swillens, Bassam Al-Sarori
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,List<DmnExtensionAttribute>>attributesextension attributes could be part of each elementprotected Stringdescriptionprotected Map<String,List<DmnExtensionElement>>extensionElementsprotected Stringidprotected Stringlabel
-
Constructor Summary
Constructors Constructor Description DmnElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(DmnExtensionAttribute attribute)voidaddExtensionElement(DmnExtensionElement extensionElement)Map<String,List<DmnExtensionAttribute>>getAttributes()StringgetAttributeValue(String namespace, String name)StringgetDescription()Map<String,List<DmnExtensionElement>>getExtensionElements()StringgetId()StringgetLabel()voidsetAttributes(Map<String,List<DmnExtensionAttribute>> attributes)voidsetDescription(String description)voidsetExtensionElements(Map<String,List<DmnExtensionElement>> extensionElements)voidsetId(String id)voidsetLabel(String label)voidsetValues(DmnElement otherElement)
-
-
-
Field Detail
-
id
protected String id
-
label
protected String label
-
description
protected String description
-
extensionElements
protected Map<String,List<DmnExtensionElement>> extensionElements
-
attributes
protected Map<String,List<DmnExtensionAttribute>> attributes
extension attributes could be part of each element
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getExtensionElements
public Map<String,List<DmnExtensionElement>> getExtensionElements()
-
addExtensionElement
public void addExtensionElement(DmnExtensionElement extensionElement)
-
setExtensionElements
public void setExtensionElements(Map<String,List<DmnExtensionElement>> extensionElements)
-
getAttributes
public Map<String,List<DmnExtensionAttribute>> getAttributes()
-
setAttributes
public void setAttributes(Map<String,List<DmnExtensionAttribute>> attributes)
-
addAttribute
public void addAttribute(DmnExtensionAttribute attribute)
-
setValues
public void setValues(DmnElement otherElement)
-
-