Class 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
    • Field Detail

      • allowOnlyVisualChange

        protected boolean allowOnlyVisualChange
    • Constructor Detail

      • DRGElement

        public DRGElement()
    • Method Detail

      • setAllowOnlyVisualChange

        public void setAllowOnlyVisualChange​(boolean allowOnlyVisualChange)
        Specified by:
        setAllowOnlyVisualChange in interface org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
      • isAllowOnlyVisualChange

        public boolean isAllowOnlyVisualChange()
        Specified by:
        isAllowOnlyVisualChange in interface org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
      • getReadOnly

        public org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly.ReadOnly getReadOnly​(String fieldName)
        Specified by:
        getReadOnly in interface org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
      • getContentDefinitionId

        public String getContentDefinitionId()
        Specified by:
        getContentDefinitionId in interface org.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
      • getDiagramId

        public String getDiagramId()
        Specified by:
        getDiagramId in interface org.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
      • setDiagramId

        public void setDiagramId​(String dmnDiagramId)
        Specified by:
        setDiagramId in interface org.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
      • setContentDefinitionId

        public void setContentDefinitionId​(String contentDefinitionId)
        Specified by:
        setContentDefinitionId in interface org.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
      • isReadonlyField

        protected boolean isReadonlyField​(String fieldName)
      • getStringName

        public String getStringName()
        Specified by:
        getStringName in interface org.kie.workbench.common.stunner.core.graph.content.HasStringName