Class MandatoryClassifierSettings

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean considerDefaultValues
      Consider default values as already assigned values.
      private boolean considerEnumerationsAsMandatory
      Consider enumeration variables as mandatory, even if they don't have a default value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean considerDefaultValues()
      Returns whether default values should be threaten as already set values.
      void setDefaultValueConsideration​(boolean considerDefaultValues)
      Specification, whether default values shall be considered.
      void setTreatEnumsAsMandatory​(boolean considerEnumerationsAsMandatory)
      Specification, whether enumeration variables shall be considered as mandatory as exactly one value should be selected.
      (package private) boolean treatEnumsAsMandatory()
      Returns whether enumumeration variables shall be treaten as mandatory variables.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • considerDefaultValues

        private boolean considerDefaultValues
        Consider default values as already assigned values. true: Variables with default values are not mandatory, as there is already a value specified (default) false: Variables with default values should be (re-)assigned by the user, if used in a constraint.
      • considerEnumerationsAsMandatory

        private boolean considerEnumerationsAsMandatory
        Consider enumeration variables as mandatory, even if they don't have a default value. true: Enumerations are mandatory, as they enforce to select exact one value. false: Enumerations are not mandatory, as all other variables (default)
    • Constructor Detail

      • MandatoryClassifierSettings

        public MandatoryClassifierSettings()
        Creates default settings.
    • Method Detail

      • considerDefaultValues

        boolean considerDefaultValues()
        Returns whether default values should be threaten as already set values.
        Returns:
        true: Variables with default values are not mandatory, as there is already a value specified false: Variables with default values should be (re-)assigned by the user, if used in a constraint.
      • setDefaultValueConsideration

        public void setDefaultValueConsideration​(boolean considerDefaultValues)
        Specification, whether default values shall be considered.
        Parameters:
        considerDefaultValues - true: Variables with default values are not mandatory, as there is already a value specified false: Variables with default values should be (re-)assigned by the user, if used in a constraint.
      • treatEnumsAsMandatory

        boolean treatEnumsAsMandatory()
        Returns whether enumumeration variables shall be treaten as mandatory variables.
        Returns:
        true: Enumerations are mandatory, as they enforce to select exact one value. false: Enumerations are not mandatory, as all other variables
      • setTreatEnumsAsMandatory

        public void setTreatEnumsAsMandatory​(boolean considerEnumerationsAsMandatory)
        Specification, whether enumeration variables shall be considered as mandatory as exactly one value should be selected.
        Parameters:
        considerEnumerationsAsMandatory - true: Enumerations are mandatory, as they enforce to select exact one value. false: Enumerations are not mandatory, as all other variables