Class DmnDecisionImpl

    • Constructor Detail

      • DmnDecisionImpl

        public DmnDecisionImpl()
    • Method Detail

      • getKey

        public String getKey()
        Description copied from interface: DmnDecision
        The unique identifier of the decision if exists.
        Specified by:
        getKey in interface DmnDecision
        Returns:
        the identifier or null if not set
      • setKey

        public void setKey​(String key)
      • getName

        public String getName()
        Description copied from interface: DmnDecision
        The human readable name of the decision if exists.
        Specified by:
        getName in interface DmnDecision
        Returns:
        the name or null if not set
      • setName

        public void setName​(String name)
      • setDecisionLogic

        public void setDecisionLogic​(DmnDecisionLogic decisionLogic)
      • getDecisionLogic

        public DmnDecisionLogic getDecisionLogic()
        Description copied from interface: DmnDecision
        Returns the decision logic of the decision (e.g., a decision table).
        Specified by:
        getDecisionLogic in interface DmnDecision
        Returns:
        the containing decision logic
      • setRequiredDecision

        public void setRequiredDecision​(List<DmnDecision> requiredDecision)
      • isDecisionTable

        public boolean isDecisionTable()
        Description copied from interface: DmnDecision
        Checks if the decision logic is implemented as Decision Table.
        Specified by:
        isDecisionTable in interface DmnDecision
        Returns:
        true if the decision logic is implement as Decision Table, otherwise false