Class QosReliabilityValidator

java.lang.Object
org.eclipse.emf.ecore.util.EObjectValidator
org.palladiosimulator.pcm.qosannotations.qos_reliability.util.QosReliabilityValidator
All Implemented Interfaces:
EValidator

public class QosReliabilityValidator extends EObjectValidator
The Validator for the model.
See Also:
Generated class or method.
  • Field Details

    • INSTANCE

      public static final QosReliabilityValidator INSTANCE
      The cached model package
      Generated class or method.
    • DIAGNOSTIC_SOURCE

      public static final String DIAGNOSTIC_SOURCE
      A constant for the source of diagnostic codes from this package.
      See Also:
      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:
      Generated class or method.
    • SPECIFIED_RELIABILITY_ANNOTATION__SPECIFIED_RELIABILITY_ANNOTATION_MUST_REFERENCE_REQUIRED_ROLE_OF_ASYSTEM__EEXPRESSION

      protected static final String SPECIFIED_RELIABILITY_ANNOTATION__SPECIFIED_RELIABILITY_ANNOTATION_MUST_REFERENCE_REQUIRED_ROLE_OF_ASYSTEM__EEXPRESSION
      The cached validation expression for the specifiedReliabilityAnnotationMustReferenceRequiredRoleOfASystem constraint of 'Specified Reliability Annotation'.
      See Also:
      Generated class or method.
    • SPECIFIED_RELIABILITY_ANNOTATION__MULTIPLE_EXTERNAL_OCCURRENCE_DESCRIPTIONS_PER_FAILURE_TYPE_NOT_ALLOWED__EEXPRESSION

      protected static final String SPECIFIED_RELIABILITY_ANNOTATION__MULTIPLE_EXTERNAL_OCCURRENCE_DESCRIPTIONS_PER_FAILURE_TYPE_NOT_ALLOWED__EEXPRESSION
      The cached validation expression for the multipleExternalOccurrenceDescriptionsPerFailureTypeNotAllowed constraint of 'Specified Reliability Annotation'.
      See Also:
      Generated class or method.
    • SPECIFIED_RELIABILITY_ANNOTATION__SUM_OF_RELIABILITY_ANNOTATION_FAILURE_PROBABILITIES_MUST_NOT_EXCEED1__EEXPRESSION

      protected static final String SPECIFIED_RELIABILITY_ANNOTATION__SUM_OF_RELIABILITY_ANNOTATION_FAILURE_PROBABILITIES_MUST_NOT_EXCEED1__EEXPRESSION
      The cached validation expression for the sumOfReliabilityAnnotationFailureProbabilitiesMustNotExceed1 constraint of 'Specified Reliability Annotation'.
      See Also:
      Generated class or method.
  • Constructor Details

    • QosReliabilityValidator

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

    • getEPackage

      protected EPackage getEPackage()
      Returns the package of this validator switch.
      Overrides:
      getEPackage in class EObjectValidator
      Generated class or method.
    • validate

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

      public boolean validateSpecifiedReliabilityAnnotation(SpecifiedReliabilityAnnotation specifiedReliabilityAnnotation, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateSpecifiedReliabilityAnnotation_specifiedReliabilityAnnotationMustReferenceRequiredRoleOfASystem

      public boolean validateSpecifiedReliabilityAnnotation_specifiedReliabilityAnnotationMustReferenceRequiredRoleOfASystem(SpecifiedReliabilityAnnotation specifiedReliabilityAnnotation, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the specifiedReliabilityAnnotationMustReferenceRequiredRoleOfASystem constraint of 'Specified Reliability Annotation'.
      Generated class or method.
    • validateSpecifiedReliabilityAnnotation_multipleExternalOccurrenceDescriptionsPerFailureTypeNotAllowed

      public boolean validateSpecifiedReliabilityAnnotation_multipleExternalOccurrenceDescriptionsPerFailureTypeNotAllowed(SpecifiedReliabilityAnnotation specifiedReliabilityAnnotation, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the multipleExternalOccurrenceDescriptionsPerFailureTypeNotAllowed constraint of 'Specified Reliability Annotation'.
      Generated class or method.
    • validateSpecifiedReliabilityAnnotation_sumOfReliabilityAnnotationFailureProbabilitiesMustNotExceed1

      public boolean validateSpecifiedReliabilityAnnotation_sumOfReliabilityAnnotationFailureProbabilitiesMustNotExceed1(SpecifiedReliabilityAnnotation specifiedReliabilityAnnotation, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the sumOfReliabilityAnnotationFailureProbabilitiesMustNotExceed1 constraint of 'Specified Reliability Annotation'.
      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.