Class ManifestationValidator

    • Field Detail

      • INSTANCE

        public static final ManifestationValidator 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.
      • MANIFESTATION__MANIFESTATION_MUST_PRODUCE_SAMPLES_OF_THE_CORRECT_VALUE_TYPE__EEXPRESSION

        protected static final java.lang.String MANIFESTATION__MANIFESTATION_MUST_PRODUCE_SAMPLES_OF_THE_CORRECT_VALUE_TYPE__EEXPRESSION
        The cached validation expression for the ManifestationMustProduceSamplesOfTheCorrectValueType constraint of 'Manifestation'.
        See Also:
        Constant Field Values
        Generated class or method.
    • Constructor Detail

      • ManifestationValidator

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

      • validate

        protected boolean validate​(int classifierID,
                                   java.lang.Object value,
                                   DiagnosticChain diagnostics,
                                   java.util.Map<java.lang.Object,​java.lang.Object> context)
        Calls validateXXX for the corresponding classifier of the model.
        Overrides:
        validate in class EObjectValidator
        Generated class or method.
      • validateDerivedManifestation

        public boolean validateDerivedManifestation​(DerivedManifestation derivedManifestation,
                                                    DiagnosticChain diagnostics,
                                                    java.util.Map<java.lang.Object,​java.lang.Object> context)
        Generated class or method.
      • validateManifestation

        public boolean validateManifestation​(Manifestation manifestation,
                                             DiagnosticChain diagnostics,
                                             java.util.Map<java.lang.Object,​java.lang.Object> context)
        Generated class or method.
      • validateManifestation_ManifestationMustProduceSamplesOfTheCorrectValueType

        public boolean validateManifestation_ManifestationMustProduceSamplesOfTheCorrectValueType​(Manifestation manifestation,
                                                                                                  DiagnosticChain diagnostics,
                                                                                                  java.util.Map<java.lang.Object,​java.lang.Object> context)
        Validates the ManifestationMustProduceSamplesOfTheCorrectValueType constraint of 'Manifestation'.
        Generated class or method.
      • validateProbabilisticManifestation

        public boolean validateProbabilisticManifestation​(ProbabilisticManifestation probabilisticManifestation,
                                                          DiagnosticChain diagnostics,
                                                          java.util.Map<java.lang.Object,​java.lang.Object> context)
        Generated class or method.
      • validateDiscreteProbabilityDistributionManifestation

        public boolean validateDiscreteProbabilityDistributionManifestation​(DiscreteProbabilityDistributionManifestation discreteProbabilityDistributionManifestation,
                                                                            DiagnosticChain diagnostics,
                                                                            java.util.Map<java.lang.Object,​java.lang.Object> context)
        Generated class or method.
      • validateStaticManifestation

        public boolean validateStaticManifestation​(StaticManifestation staticManifestation,
                                                   DiagnosticChain diagnostics,
                                                   java.util.Map<java.lang.Object,​java.lang.Object> context)
        Generated class or method.
      • validateSingleValue

        public boolean validateSingleValue​(SingleValue singleValue,
                                           DiagnosticChain diagnostics,
                                           java.util.Map<java.lang.Object,​java.lang.Object> context)
        Generated class or method.
      • validateCategoricalProbabilityMassFunction

        public boolean validateCategoricalProbabilityMassFunction​(CategoricalProbabilityMassFunction categoricalProbabilityMassFunction,
                                                                  DiagnosticChain diagnostics,
                                                                  java.util.Map<java.lang.Object,​java.lang.Object> context)
        Generated class or method.
      • validateCategory

        public boolean validateCategory​(Category category,
                                        DiagnosticChain diagnostics,
                                        java.util.Map<java.lang.Object,​java.lang.Object> context)
        Generated class or method.
      • validateEManifestationObject

        public boolean validateEManifestationObject​(java.lang.Object eManifestationObject,
                                                    DiagnosticChain diagnostics,
                                                    java.util.Map<java.lang.Object,​java.lang.Object> context)
        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.