Class FeatureObjectiveValidator

    • Field Detail

      • FEATURE_GROUP__XO_ROR_OR_IMPLIES_CHILDREN_ARE_MANDATORY

        public static final int FEATURE_GROUP__XO_ROR_OR_IMPLIES_CHILDREN_ARE_MANDATORY
        The code for constraint 'XO Ror OR Implies Children Are Mandatory' of 'Feature Group'.
        See Also:
        Constant Field Values
        Generated class or method.
      • FEATURE_GROUP__ALL_IMPLIES_CARDINALITIES_TO_BE_MINUS_ONE

        public static final int FEATURE_GROUP__ALL_IMPLIES_CARDINALITIES_TO_BE_MINUS_ONE
        The code for constraint 'ALL Implies Cardinalities To Be Minus One' of 'Feature Group'.
        See Also:
        Constant Field Values
        Generated class or method.
      • FEATURE_GROUP__OR_IMPLIES_CARDINALITIES_MIN_TO_BE_ONE_AND_MAX_TO_BE_MINUS_ONE

        public static final int FEATURE_GROUP__OR_IMPLIES_CARDINALITIES_MIN_TO_BE_ONE_AND_MAX_TO_BE_MINUS_ONE
        The code for constraint 'OR Implies Cardinalities Min To Be One And Max To Be Minus One' of 'Feature Group'.
        See Also:
        Constant Field Values
        Generated class or method.
      • FEATURE_GROUP__XOR_IMPLIES_CARDINALITIES_TO_BE_ONE

        public static final int FEATURE_GROUP__XOR_IMPLIES_CARDINALITIES_TO_BE_ONE
        The code for constraint 'XOR Implies Cardinalities To Be One' of 'Feature Group'.
        See Also:
        Constant Field Values
        Generated class or method.
      • DIAGNOSTIC_CODE_COUNT

        protected static final int DIAGNOSTIC_CODE_COUNT
        A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
        See Also:
        Constant Field Values
        Generated class or method.
    • Constructor Detail

      • FeatureObjectiveValidator

        public FeatureObjectiveValidator()
        Creates an instance of the switch.
        Generated class or method.
    • Method Detail

      • validateFeatureGroup_XORorORImpliesChildrenAreMandatory

        public boolean validateFeatureGroup_XORorORImpliesChildrenAreMandatory​(FeatureGroup featureGroup,
                                                                               DiagnosticChain diagnostics,
                                                                               Map<Object,​Object> context)
        Validates the XORorORImpliesChildrenAreMandatory constraint of 'Feature Group'.
        Generated class or method.
      • validateFeatureGroup_ALLImpliesCardinalitiesToBeMinusOne

        public boolean validateFeatureGroup_ALLImpliesCardinalitiesToBeMinusOne​(FeatureGroup featureGroup,
                                                                                DiagnosticChain diagnostics,
                                                                                Map<Object,​Object> context)
        Validates the ALLImpliesCardinalitiesToBeMinusOne constraint of 'Feature Group'.
        Generated class or method.
      • validateFeatureGroup_ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne

        public boolean validateFeatureGroup_ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne​(FeatureGroup featureGroup,
                                                                                               DiagnosticChain diagnostics,
                                                                                               Map<Object,​Object> context)
        Validates the ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne constraint of 'Feature Group'.
        Generated class or method.
      • validateFeatureGroup_XORImpliesCardinalitiesToBeOne

        public boolean validateFeatureGroup_XORImpliesCardinalitiesToBeOne​(FeatureGroup featureGroup,
                                                                           DiagnosticChain diagnostics,
                                                                           Map<Object,​Object> context)
        Validates the XORImpliesCardinalitiesToBeOne constraint of 'Feature Group'.
        Generated class or method.
      • getResourceLocator

        public ResourceLocator getResourceLocator()
        Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
        Overrides:
        getResourceLocator in class EObjectValidator
        Generated class or method.