Class QMLContractTypeValidator

    • Field Detail

      • DIMENSION_TYPE_SET__ORDER_CAN_ONLY_EXIST_WITH_RELATIONSEMANTICS

        public static final int DIMENSION_TYPE_SET__ORDER_CAN_ONLY_EXIST_WITH_RELATIONSEMANTICS
        The code for constraint 'ORDER can only exist with RELATIONSEMANTICS' of 'Dimension Type Set'.
        See Also:
        Constant Field Values
        Generated class or method.
      • ORDER__BIGGERELEMENT_MUST_NOT_BE_SMALLELEMENT

        public static final int ORDER__BIGGERELEMENT_MUST_NOT_BE_SMALLELEMENT
        The code for constraint 'BIGGERELEMENT must not be SMALLELEMENT' of 'Order'.
        See Also:
        Constant Field Values
        Generated class or method.
      • DIMENSION_TYPE_ENUM__ORDER_CAN_ONLY_EXIST_WITH_RELATIONSEMANTICS_AND_VICE_VERSA

        public static final int DIMENSION_TYPE_ENUM__ORDER_CAN_ONLY_EXIST_WITH_RELATIONSEMANTICS_AND_VICE_VERSA
        The code for constraint 'ORDER can only exist with RELATIONSEMANTICS and vice versa' of 'Dimension Type Enum'.
        See Also:
        Constant Field Values
        Generated class or method.
      • DIMENSION_TYPE_NUMERIC__NUMERICDIMENSIONTYPE_MUST_HAVE_RELATIONSEMANTICS

        public static final int DIMENSION_TYPE_NUMERIC__NUMERICDIMENSIONTYPE_MUST_HAVE_RELATIONSEMANTICS
        The code for constraint 'NUMERICDIMENSIONTYPE must have RELATIONSEMANTICS' of 'Dimension Type Numeric'.
        See Also:
        Constant Field Values
        Generated class or method.
      • NUMERIC_RANGE__UPPERLIMIT_MUST_BE_GREATER_THAN_LOWERLIMIT

        public static final int NUMERIC_RANGE__UPPERLIMIT_MUST_BE_GREATER_THAN_LOWERLIMIT
        The code for constraint 'UPPERLIMIT must be greater than LOWERLIMIT' of 'Numeric Range'.
        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

      • QMLContractTypeValidator

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

      • validateDimensionTypeSet_ORDER_can_only_exist_with_RELATIONSEMANTICS

        public boolean validateDimensionTypeSet_ORDER_can_only_exist_with_RELATIONSEMANTICS​(DimensionTypeSet dimensionTypeSet,
                                                                                            DiagnosticChain diagnostics,
                                                                                            Map<Object,​Object> context)
        Validates the ORDER_can_only_exist_with_RELATIONSEMANTICS constraint of 'Dimension Type Set'.
        Generated class or method.
      • validateOrder_BIGGERELEMENT_must_not_be_SMALLELEMENT

        public boolean validateOrder_BIGGERELEMENT_must_not_be_SMALLELEMENT​(Order order,
                                                                            DiagnosticChain diagnostics,
                                                                            Map<Object,​Object> context)
        Validates the BIGGERELEMENT_must_not_be_SMALLELEMENT constraint of 'Order'.
        Generated class or method.
      • validateDimensionTypeEnum_ORDER_can_only_exist_with_RELATIONSEMANTICS_and_vice_versa

        public boolean validateDimensionTypeEnum_ORDER_can_only_exist_with_RELATIONSEMANTICS_and_vice_versa​(DimensionTypeEnum dimensionTypeEnum,
                                                                                                            DiagnosticChain diagnostics,
                                                                                                            Map<Object,​Object> context)
        Validates the ORDER_can_only_exist_with_RELATIONSEMANTICS_and_vice_versa constraint of 'Dimension Type Enum'.
        Generated class or method.
      • validateDimensionTypeNumeric_NUMERICDIMENSIONTYPE_must_have_RELATIONSEMANTICS

        public boolean validateDimensionTypeNumeric_NUMERICDIMENSIONTYPE_must_have_RELATIONSEMANTICS​(DimensionTypeNumeric dimensionTypeNumeric,
                                                                                                     DiagnosticChain diagnostics,
                                                                                                     Map<Object,​Object> context)
        Validates the NUMERICDIMENSIONTYPE_must_have_RELATIONSEMANTICS constraint of 'Dimension Type Numeric'.
        Generated class or method.
      • validateNumericRange_UPPERLIMIT_must_be_greater_than_LOWERLIMIT

        public boolean validateNumericRange_UPPERLIMIT_must_be_greater_than_LOWERLIMIT​(NumericRange numericRange,
                                                                                       DiagnosticChain diagnostics,
                                                                                       Map<Object,​Object> context)
        Validates the UPPERLIMIT_must_be_greater_than_LOWERLIMIT constraint of 'Numeric Range'.
        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.