Class DRGElement
- 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
-
- org.kie.workbench.common.dmn.api.definition.model.DRGElement
-
- All Implemented Interfaces:
DMNDefinition,HasName,HasValue<Name>,org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly,org.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId,org.kie.workbench.common.stunner.core.graph.content.HasStringName
- Direct Known Subclasses:
BusinessKnowledgeModel,Decision,DecisionService,InputData,KnowledgeSource
public abstract class DRGElement extends NamedElement implements org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly, org.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId, org.kie.workbench.common.stunner.core.graph.content.HasStringName
-
-
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 booleanallowOnlyVisualChangeprotected DocumentationLinksHolderlinksHolder-
Fields inherited from class org.kie.workbench.common.dmn.api.definition.model.NamedElement
nameHolder
-
Fields inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
description, id
-
-
Constructor Summary
Constructors Constructor Description DRGElement()DRGElement(Id id, Description description, Name name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentDefinitionId()StringgetDiagramId()DocumentationLinksHoldergetLinksHolder()org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly.ReadOnlygetReadOnly(String fieldName)StringgetStringName()booleanisAllowOnlyVisualChange()protected booleanisReadonlyField(String fieldName)voidsetAllowOnlyVisualChange(boolean allowOnlyVisualChange)voidsetContentDefinitionId(String contentDefinitionId)voidsetDiagramId(String dmnDiagramId)voidsetLinksHolder(DocumentationLinksHolder linksHolder)-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.NamedElement
getName, getNameHolder, setName, setNameHolder
-
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
-
allowOnlyVisualChange
protected boolean allowOnlyVisualChange
-
linksHolder
protected DocumentationLinksHolder linksHolder
-
-
Constructor Detail
-
DRGElement
public DRGElement()
-
DRGElement
public DRGElement(Id id, Description description, Name name)
-
-
Method Detail
-
setAllowOnlyVisualChange
public void setAllowOnlyVisualChange(boolean allowOnlyVisualChange)
- Specified by:
setAllowOnlyVisualChangein interfaceorg.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
-
isAllowOnlyVisualChange
public boolean isAllowOnlyVisualChange()
- Specified by:
isAllowOnlyVisualChangein interfaceorg.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
-
getReadOnly
public org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly.ReadOnly getReadOnly(String fieldName)
- Specified by:
getReadOnlyin interfaceorg.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
-
getContentDefinitionId
public String getContentDefinitionId()
- Specified by:
getContentDefinitionIdin interfaceorg.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
-
getDiagramId
public String getDiagramId()
- Specified by:
getDiagramIdin interfaceorg.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
-
setDiagramId
public void setDiagramId(String dmnDiagramId)
- Specified by:
setDiagramIdin interfaceorg.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
-
setContentDefinitionId
public void setContentDefinitionId(String contentDefinitionId)
- Specified by:
setContentDefinitionIdin interfaceorg.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
-
isReadonlyField
protected boolean isReadonlyField(String fieldName)
-
getLinksHolder
public DocumentationLinksHolder getLinksHolder()
-
setLinksHolder
public void setLinksHolder(DocumentationLinksHolder linksHolder)
-
getStringName
public String getStringName()
- Specified by:
getStringNamein interfaceorg.kie.workbench.common.stunner.core.graph.content.HasStringName
-
-