Class NamedElement
- java.lang.Object
-
- org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
-
- org.kie.workbench.common.dmn.api.definition.model.DMNElement
-
- org.kie.workbench.common.dmn.api.definition.model.NamedElement
-
- All Implemented Interfaces:
DMNDefinition,HasName,HasValue<Name>
- Direct Known Subclasses:
BusinessContextElement,Definitions,DRGElement,ElementCollection,Import,InformationItem,ItemDefinition
public abstract class NamedElement extends DMNElement implements HasName
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
DMNElement.ExtensionElements
-
Nested classes/interfaces inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
DMNModelInstrumentedBase.BaseNodeBuilder<T extends DMNModelInstrumentedBase>, DMNModelInstrumentedBase.Namespace
-
-
Field Summary
Fields Modifier and Type Field Description protected NameHoldernameHolder-
Fields inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
description, id
-
-
Constructor Summary
Constructors Constructor Description NamedElement()NamedElement(Id id, Description description, Name name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamegetName()Returns theNameConvenience method replicatingHasValue.getValue()to honour DMN model semantics.NameHoldergetNameHolder()voidsetName(Name name)Sets theNameConvenience method replicatingHasValue.setValue(Object)to honour DMN model semantics.voidsetNameHolder(NameHolder nameHolder)-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
getDescription, getExtensionElements, getId, setDescription, setExtensionElements, setId
-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
getAdditionalAttributes, getDefaultNamespace, getNsContext, getParent, getPrefixForNamespaceURI, setAdditionalAttributes, setParent
-
-
-
-
Field Detail
-
nameHolder
protected NameHolder nameHolder
-
-
Constructor Detail
-
NamedElement
public NamedElement()
-
NamedElement
public NamedElement(Id id, Description description, Name name)
-
-
Method Detail
-
getName
public Name getName()
Description copied from interface:HasNameReturns theNameConvenience method replicatingHasValue.getValue()to honour DMN model semantics.
-
setName
public void setName(Name name)
Description copied from interface:HasNameSets theNameConvenience method replicatingHasValue.setValue(Object)to honour DMN model semantics.
-
getNameHolder
public NameHolder getNameHolder()
-
setNameHolder
public void setNameHolder(NameHolder nameHolder)
-
-