Class EMFProfileValidator

    • Field Detail

      • INSTANCE

        public static final EMFProfileValidator INSTANCE
        The cached model package
        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.
      • ecoreValidator

        protected EcoreValidator ecoreValidator
        The cached base package validator.
        Generated class or method.
      • STEREOTYPE__UNIQUE_EXTENSIONS__EEXPRESSION

        protected static final String STEREOTYPE__UNIQUE_EXTENSIONS__EEXPRESSION
        The cached validation expression for the uniqueExtensions constraint of 'Stereotype'.
        See Also:
        Constant Field Values
        Generated class or method.
      • EXTENSION__REDEFINED_IN_SUPER_STEREOTYPE__EEXPRESSION

        protected static final String EXTENSION__REDEFINED_IN_SUPER_STEREOTYPE__EEXPRESSION
        The cached validation expression for the redefinedInSuperStereotype constraint of 'Extension'.
        See Also:
        Constant Field Values
        Generated class or method.
      • EXTENSION__SUBSETTED_IN_SUPER_STEREOTYPE__EEXPRESSION

        protected static final String EXTENSION__SUBSETTED_IN_SUPER_STEREOTYPE__EEXPRESSION
        The cached validation expression for the subsettedInSuperStereotype constraint of 'Extension'.
        See Also:
        Constant Field Values
        Generated class or method.
      • EXTENSION__SUBSETTED_MUST_HAVE_HIGHER_OR_EQUAL_UPPER_BOUND__EEXPRESSION

        protected static final String EXTENSION__SUBSETTED_MUST_HAVE_HIGHER_OR_EQUAL_UPPER_BOUND__EEXPRESSION
        The cached validation expression for the subsettedMustHaveHigherOrEqualUpperBound constraint of 'Extension'.
        See Also:
        Constant Field Values
        Generated class or method.
      • EXTENSION__REDEFINING_TARGET_MUST_BE_SUBCLASS_OF_REDEFINED_TARGET__EEXPRESSION

        protected static final String EXTENSION__REDEFINING_TARGET_MUST_BE_SUBCLASS_OF_REDEFINED_TARGET__EEXPRESSION
        The cached validation expression for the redefiningTargetMustBeSubclassOfRedefinedTarget constraint of 'Extension'.
        See Also:
        Constant Field Values
        Generated class or method.
      • EXTENSION__SUBSETTING_TARGET_MUST_BE_SUBCLASS_OF_SUBSETTED_TARGET__EEXPRESSION

        protected static final String EXTENSION__SUBSETTING_TARGET_MUST_BE_SUBCLASS_OF_SUBSETTED_TARGET__EEXPRESSION
        The cached validation expression for the subsettingTargetMustBeSubclassOfSubsettedTarget constraint of 'Extension'.
        See Also:
        Constant Field Values
        Generated class or method.
    • Constructor Detail

      • EMFProfileValidator

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

      • validateStereotype_uniqueExtensions

        public boolean validateStereotype_uniqueExtensions​(Stereotype stereotype,
                                                           DiagnosticChain diagnostics,
                                                           Map<Object,​Object> context)
        Validates the uniqueExtensions constraint of 'Stereotype'.
        Generated class or method.
      • validateExtension_redefinedInSuperStereotype

        public boolean validateExtension_redefinedInSuperStereotype​(Extension extension,
                                                                    DiagnosticChain diagnostics,
                                                                    Map<Object,​Object> context)
        Validates the redefinedInSuperStereotype constraint of 'Extension'.
        Generated class or method.
      • validateExtension_subsettedInSuperStereotype

        public boolean validateExtension_subsettedInSuperStereotype​(Extension extension,
                                                                    DiagnosticChain diagnostics,
                                                                    Map<Object,​Object> context)
        Validates the subsettedInSuperStereotype constraint of 'Extension'.
        Generated class or method.
      • validateExtension_subsettedMustHaveHigherOrEqualUpperBound

        public boolean validateExtension_subsettedMustHaveHigherOrEqualUpperBound​(Extension extension,
                                                                                  DiagnosticChain diagnostics,
                                                                                  Map<Object,​Object> context)
        Validates the subsettedMustHaveHigherOrEqualUpperBound constraint of 'Extension'.
        Generated class or method.
      • validateExtension_redefiningTargetMustBeSubclassOfRedefinedTarget

        public boolean validateExtension_redefiningTargetMustBeSubclassOfRedefinedTarget​(Extension extension,
                                                                                         DiagnosticChain diagnostics,
                                                                                         Map<Object,​Object> context)
        Validates the redefiningTargetMustBeSubclassOfRedefinedTarget constraint of 'Extension'.
        Generated class or method.
      • validateExtension_subsettingTargetMustBeSubclassOfSubsettedTarget

        public boolean validateExtension_subsettingTargetMustBeSubclassOfSubsettedTarget​(Extension extension,
                                                                                         DiagnosticChain diagnostics,
                                                                                         Map<Object,​Object> context)
        Validates the subsettingTargetMustBeSubclassOfSubsettedTarget constraint of 'Extension'.
        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.