public abstract class NamedElement extends DMNElement implements HasName
DMNElement.ExtensionElements
DMNModelInstrumentedBase.BaseNodeBuilder<T extends DMNModelInstrumentedBase>, DMNModelInstrumentedBase.Namespace
Modifier and Type | Field and Description |
---|---|
protected Name |
name |
protected NameHolder |
nameHolder |
description, id
Constructor and Description |
---|
NamedElement() |
NamedElement(Id id,
Description description,
Name name) |
Modifier and Type | Method and Description |
---|---|
Name |
getName()
Returns the
Name
Convenience method replicating HasValue.getValue() to honour DMN model semantics. |
NameHolder |
getNameHolder() |
void |
setName(Name name)
Sets the
Name
Convenience method replicating HasValue.setValue(Object) to honour DMN model semantics. |
void |
setNameHolder(NameHolder nameHolder) |
getDescription, getExtensionElements, getId, setDescription, setExtensionElements, setId
getAdditionalAttributes, getDefaultNamespace, getNsContext, getParent, getPrefixForNamespaceURI, setAdditionalAttributes, setParent
protected Name name
protected NameHolder nameHolder
public NamedElement()
public NamedElement(Id id, Description description, Name name)
public Name getName()
HasName
Name
Convenience method replicating HasValue.getValue()
to honour DMN model semantics.public void setName(Name name)
HasName
Name
Convenience method replicating HasValue.setValue(Object)
to honour DMN model semantics.public NameHolder getNameHolder()
public void setNameHolder(NameHolder nameHolder)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.