Class RepositoryValidator

java.lang.Object
org.eclipse.emf.ecore.util.EObjectValidator
org.palladiosimulator.pcm.repository.util.RepositoryValidator
All Implemented Interfaces:
EValidator

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

    • INSTANCE

      public static final RepositoryValidator 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.
    • identifierValidator

      protected de.uka.ipd.sdq.identifier.util.IdentifierValidator identifierValidator
      The cached base package validator.
      Generated class or method.
    • entityValidator

      protected EntityValidator entityValidator
      The cached base package validator.
      Generated class or method.
    • compositionValidator

      protected CompositionValidator compositionValidator
      The cached base package validator.
      Generated class or method.
    • BASIC_COMPONENT__NO_SEFF_TYPE_USED_TWICE__EEXPRESSION

      protected static final String BASIC_COMPONENT__NO_SEFF_TYPE_USED_TWICE__EEXPRESSION
      The cached validation expression for the noSeffTypeUsedTwice constraint of 'Basic Component'.
      See Also:
      Generated class or method.
    • BASIC_COMPONENT__EVERY_OPERATION_INTERFACE_METHODS_NEEDS_SEFF__EEXPRESSION

      protected static final String BASIC_COMPONENT__EVERY_OPERATION_INTERFACE_METHODS_NEEDS_SEFF__EEXPRESSION
      The cached validation expression for the everyOperationInterfaceMethodsNeedsSEFF constraint of 'Basic Component'.
      See Also:
      Generated class or method.
    • BASIC_COMPONENT__EVERY_INFRASTRUCTURE_INTERFACE_METHODS_NEEDS_SEFF__EEXPRESSION

      protected static final String BASIC_COMPONENT__EVERY_INFRASTRUCTURE_INTERFACE_METHODS_NEEDS_SEFF__EEXPRESSION
      The cached validation expression for the everyInfrastructureInterfaceMethodsNeedsSEFF constraint of 'Basic Component'.
      See Also:
      Generated class or method.
    • IMPLEMENTATION_COMPONENT_TYPE__REQUIRED_INTERFACES_HAVE_TO_CONFORM_TO_COMPLETE_TYPE__EEXPRESSION

      protected static final String IMPLEMENTATION_COMPONENT_TYPE__REQUIRED_INTERFACES_HAVE_TO_CONFORM_TO_COMPLETE_TYPE__EEXPRESSION
      The cached validation expression for the requiredInterfacesHaveToConformToCompleteType constraint of 'Implementation Component Type'.
      See Also:
      Generated class or method.
    • IMPLEMENTATION_COMPONENT_TYPE__PROVIDED_INTERFACES_HAVE_TO_CONFORM_TO_COMPLETE_TYPE__EEXPRESSION

      protected static final String IMPLEMENTATION_COMPONENT_TYPE__PROVIDED_INTERFACES_HAVE_TO_CONFORM_TO_COMPLETE_TYPE__EEXPRESSION
      The cached validation expression for the providedInterfacesHaveToConformToCompleteType constraint of 'Implementation Component Type'.
      See Also:
      Generated class or method.
    • IMPLEMENTATION_COMPONENT_TYPE__PROVIDED_INTERFACE_HAVE_TO_CONFORM_TO_COMPONENT_TYPE__EEXPRESSION

      protected static final String IMPLEMENTATION_COMPONENT_TYPE__PROVIDED_INTERFACE_HAVE_TO_CONFORM_TO_COMPONENT_TYPE__EEXPRESSION
      The cached validation expression for the providedInterfaceHaveToConformToComponentType constraint of 'Implementation Component Type'.
      See Also:
      Generated class or method.
    • IMPLEMENTATION_COMPONENT_TYPE__PROVIDE_SAME_OR_MORE_INTERFACES_AS_COMPLETE_COMPONENT_TYPE__EEXPRESSION

      protected static final String IMPLEMENTATION_COMPONENT_TYPE__PROVIDE_SAME_OR_MORE_INTERFACES_AS_COMPLETE_COMPONENT_TYPE__EEXPRESSION
      The cached validation expression for the provideSameOrMoreInterfacesAsCompleteComponentType constraint of 'Implementation Component Type'.
      See Also:
      Generated class or method.
    • IMPLEMENTATION_COMPONENT_TYPE__REQUIRE_SAME_OR_FEWER_INTERFACES_AS_COMPLETE_COMPONENT_TYPE__EEXPRESSION

      protected static final String IMPLEMENTATION_COMPONENT_TYPE__REQUIRE_SAME_OR_FEWER_INTERFACES_AS_COMPLETE_COMPONENT_TYPE__EEXPRESSION
      The cached validation expression for the requireSameOrFewerInterfacesAsCompleteComponentType constraint of 'Implementation Component Type'.
      See Also:
      Generated class or method.
    • REPOSITORY__REPOSITORYNOTEMPTY__EEXPRESSION

      protected static final String REPOSITORY__REPOSITORYNOTEMPTY__EEXPRESSION
      The cached validation expression for the repositorynotempty constraint of 'Repository'.
      See Also:
      Generated class or method.
    • INTERFACE__NO_PROTOCOL_TYPE_ID_USED_TWICE__EEXPRESSION

      protected static final String INTERFACE__NO_PROTOCOL_TYPE_ID_USED_TWICE__EEXPRESSION
      The cached validation expression for the noProtocolTypeIDUsedTwice constraint of 'Interface'.
      See Also:
      Generated class or method.
    • OPERATION_SIGNATURE__PARAMETER_NAMES_HAVE_TO_BE_UNIQUE_FOR_ASIGNATURE__EEXPRESSION

      protected static final String OPERATION_SIGNATURE__PARAMETER_NAMES_HAVE_TO_BE_UNIQUE_FOR_ASIGNATURE__EEXPRESSION
      The cached validation expression for the parameterNamesHaveToBeUniqueForASignature constraint of 'Operation Signature'.
      See Also:
      Generated class or method.
    • OPERATION_INTERFACE__SIGNATURES_HAVE_TO_BE_UNIQUE_FOR_AN_INTERFACE__EEXPRESSION

      protected static final String OPERATION_INTERFACE__SIGNATURES_HAVE_TO_BE_UNIQUE_FOR_AN_INTERFACE__EEXPRESSION
      The cached validation expression for the signaturesHaveToBeUniqueForAnInterface constraint of 'Operation Interface'.
      See Also:
      Generated class or method.
    • COMPLETE_COMPONENT_TYPE__AT_LEAST_ONE_INTERFACE_HAS_TO_BE_PROVIDED_OR_REQUIRED_BY_AUSEFULL_COMPLETE_COMPONENT_TYPE__EEXPRESSION

      protected static final String COMPLETE_COMPONENT_TYPE__AT_LEAST_ONE_INTERFACE_HAS_TO_BE_PROVIDED_OR_REQUIRED_BY_AUSEFULL_COMPLETE_COMPONENT_TYPE__EEXPRESSION
      The cached validation expression for the atLeastOneInterfaceHasToBeProvidedOrRequiredByAUsefullCompleteComponentType constraint of 'Complete Component Type'.
      See Also:
      Generated class or method.
    • COMPLETE_COMPONENT_TYPE__PROVIDED_INTERFACES_HAVE_TO_CONFORM_TO_PROVIDED_TYPE2__EEXPRESSION

      protected static final String COMPLETE_COMPONENT_TYPE__PROVIDED_INTERFACES_HAVE_TO_CONFORM_TO_PROVIDED_TYPE2__EEXPRESSION
      The cached validation expression for the providedInterfacesHaveToConformToProvidedType2 constraint of 'Complete Component Type'.
      See Also:
      Generated class or method.
    • PROVIDES_COMPONENT_TYPE__AT_LEAST_ONE_INTERFACE_HAS_TO_BE_PROVIDED_BY_AUSEFULL_PROVIDES_COMPONENT_TYPE__EEXPRESSION

      protected static final String PROVIDES_COMPONENT_TYPE__AT_LEAST_ONE_INTERFACE_HAS_TO_BE_PROVIDED_BY_AUSEFULL_PROVIDES_COMPONENT_TYPE__EEXPRESSION
      The cached validation expression for the atLeastOneInterfaceHasToBeProvidedByAUsefullProvidesComponentType constraint of 'Provides Component Type'.
      See Also:
      Generated class or method.
  • Constructor Details

    • RepositoryValidator

      public RepositoryValidator()
      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.
    • validatePassiveResource

      public boolean validatePassiveResource(PassiveResource passiveResource, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateBasicComponent

      public boolean validateBasicComponent(BasicComponent basicComponent, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateBasicComponent_noSeffTypeUsedTwice

      public boolean validateBasicComponent_noSeffTypeUsedTwice(BasicComponent basicComponent, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the noSeffTypeUsedTwice constraint of 'Basic Component'.
      Generated class or method.
    • validateBasicComponent_everyOperationInterfaceMethodsNeedsSEFF

      public boolean validateBasicComponent_everyOperationInterfaceMethodsNeedsSEFF(BasicComponent basicComponent, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the everyOperationInterfaceMethodsNeedsSEFF constraint of 'Basic Component'.
      Generated class or method.
    • validateBasicComponent_everyInfrastructureInterfaceMethodsNeedsSEFF

      public boolean validateBasicComponent_everyInfrastructureInterfaceMethodsNeedsSEFF(BasicComponent basicComponent, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the everyInfrastructureInterfaceMethodsNeedsSEFF constraint of 'Basic Component'.
      Generated class or method.
    • validateImplementationComponentType

      public boolean validateImplementationComponentType(ImplementationComponentType implementationComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateImplementationComponentType_requiredInterfacesHaveToConformToCompleteType

      public boolean validateImplementationComponentType_requiredInterfacesHaveToConformToCompleteType(ImplementationComponentType implementationComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the requiredInterfacesHaveToConformToCompleteType constraint of 'Implementation Component Type'.
      Generated class or method.
    • validateImplementationComponentType_providedInterfacesHaveToConformToCompleteType

      public boolean validateImplementationComponentType_providedInterfacesHaveToConformToCompleteType(ImplementationComponentType implementationComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the providedInterfacesHaveToConformToCompleteType constraint of 'Implementation Component Type'.
      Generated class or method.
    • validateImplementationComponentType_providedInterfaceHaveToConformToComponentType

      public boolean validateImplementationComponentType_providedInterfaceHaveToConformToComponentType(ImplementationComponentType implementationComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the providedInterfaceHaveToConformToComponentType constraint of 'Implementation Component Type'.
      Generated class or method.
    • validateImplementationComponentType_provideSameOrMoreInterfacesAsCompleteComponentType

      public boolean validateImplementationComponentType_provideSameOrMoreInterfacesAsCompleteComponentType(ImplementationComponentType implementationComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the provideSameOrMoreInterfacesAsCompleteComponentType constraint of 'Implementation Component Type'.
      Generated class or method.
    • validateImplementationComponentType_requireSameOrFewerInterfacesAsCompleteComponentType

      public boolean validateImplementationComponentType_requireSameOrFewerInterfacesAsCompleteComponentType(ImplementationComponentType implementationComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the requireSameOrFewerInterfacesAsCompleteComponentType constraint of 'Implementation Component Type'.
      Generated class or method.
    • validateRepositoryComponent

      public boolean validateRepositoryComponent(RepositoryComponent repositoryComponent, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateProvidedRole

      public boolean validateProvidedRole(ProvidedRole providedRole, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateParameter

      public boolean validateParameter(Parameter parameter, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateDataType

      public boolean validateDataType(DataType dataType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateRepository

      public boolean validateRepository(Repository repository, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateRepository_repositorynotempty

      public boolean validateRepository_repositorynotempty(Repository repository, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the repositorynotempty constraint of 'Repository'.
      Generated class or method.
    • validateInterface

      public boolean validateInterface(Interface interface_, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateInterface_noProtocolTypeIDUsedTwice

      public boolean validateInterface_noProtocolTypeIDUsedTwice(Interface interface_, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the noProtocolTypeIDUsedTwice constraint of 'Interface'.
      Generated class or method.
    • validateRequiredCharacterisation

      public boolean validateRequiredCharacterisation(RequiredCharacterisation requiredCharacterisation, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateEventGroup

      public boolean validateEventGroup(EventGroup eventGroup, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateEventType

      public boolean validateEventType(EventType eventType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateSignature

      public boolean validateSignature(Signature signature, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateExceptionType

      public boolean validateExceptionType(ExceptionType exceptionType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateInfrastructureSignature

      public boolean validateInfrastructureSignature(InfrastructureSignature infrastructureSignature, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateInfrastructureInterface

      public boolean validateInfrastructureInterface(InfrastructureInterface infrastructureInterface, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateInfrastructureRequiredRole

      public boolean validateInfrastructureRequiredRole(InfrastructureRequiredRole infrastructureRequiredRole, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateRequiredRole

      public boolean validateRequiredRole(RequiredRole requiredRole, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateOperationSignature

      public boolean validateOperationSignature(OperationSignature operationSignature, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateOperationSignature_parameterNamesHaveToBeUniqueForASignature

      public boolean validateOperationSignature_parameterNamesHaveToBeUniqueForASignature(OperationSignature operationSignature, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the parameterNamesHaveToBeUniqueForASignature constraint of 'Operation Signature'.
      Generated class or method.
    • validateOperationInterface

      public boolean validateOperationInterface(OperationInterface operationInterface, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateOperationInterface_signaturesHaveToBeUniqueForAnInterface

      public boolean validateOperationInterface_signaturesHaveToBeUniqueForAnInterface(OperationInterface operationInterface, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the signaturesHaveToBeUniqueForAnInterface constraint of 'Operation Interface'.
      Generated class or method.
    • validateOperationRequiredRole

      public boolean validateOperationRequiredRole(OperationRequiredRole operationRequiredRole, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateSourceRole

      public boolean validateSourceRole(SourceRole sourceRole, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateSinkRole

      public boolean validateSinkRole(SinkRole sinkRole, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateOperationProvidedRole

      public boolean validateOperationProvidedRole(OperationProvidedRole operationProvidedRole, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateInfrastructureProvidedRole

      public boolean validateInfrastructureProvidedRole(InfrastructureProvidedRole infrastructureProvidedRole, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateCompleteComponentType

      public boolean validateCompleteComponentType(CompleteComponentType completeComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateCompleteComponentType_atLeastOneInterfaceHasToBeProvidedOrRequiredByAUsefullCompleteComponentType

      public boolean validateCompleteComponentType_atLeastOneInterfaceHasToBeProvidedOrRequiredByAUsefullCompleteComponentType(CompleteComponentType completeComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the atLeastOneInterfaceHasToBeProvidedOrRequiredByAUsefullCompleteComponentType constraint of 'Complete Component Type'.
      Generated class or method.
    • validateCompleteComponentType_providedInterfacesHaveToConformToProvidedType2

      public boolean validateCompleteComponentType_providedInterfacesHaveToConformToProvidedType2(CompleteComponentType completeComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the providedInterfacesHaveToConformToProvidedType2 constraint of 'Complete Component Type'.
      Generated class or method.
    • validateProvidesComponentType

      public boolean validateProvidesComponentType(ProvidesComponentType providesComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateProvidesComponentType_atLeastOneInterfaceHasToBeProvidedByAUsefullProvidesComponentType

      public boolean validateProvidesComponentType_atLeastOneInterfaceHasToBeProvidedByAUsefullProvidesComponentType(ProvidesComponentType providesComponentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the atLeastOneInterfaceHasToBeProvidedByAUsefullProvidesComponentType constraint of 'Provides Component Type'.
      Generated class or method.
    • validateCompositeComponent

      public boolean validateCompositeComponent(CompositeComponent compositeComponent, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validatePrimitiveDataType

      public boolean validatePrimitiveDataType(PrimitiveDataType primitiveDataType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateCollectionDataType

      public boolean validateCollectionDataType(CollectionDataType collectionDataType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateCompositeDataType

      public boolean validateCompositeDataType(CompositeDataType compositeDataType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateInnerDeclaration

      public boolean validateInnerDeclaration(InnerDeclaration innerDeclaration, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateRole

      public boolean validateRole(Role role, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateParameterModifier

      public boolean validateParameterModifier(ParameterModifier parameterModifier, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateComponentType

      public boolean validateComponentType(ComponentType componentType, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validatePrimitiveTypeEnum

      public boolean validatePrimitiveTypeEnum(PrimitiveTypeEnum primitiveTypeEnum, DiagnosticChain diagnostics, Map<Object,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.