Class ModelValidator

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.EValidator

    public class ModelValidator
    extends org.eclipse.emf.ecore.util.EObjectValidator
    The Validator for the model.
    See Also:
    ModelPackage
    • Field Detail

      • INSTANCE

        public static final ModelValidator INSTANCE
        The cached model package
      • DIAGNOSTIC_SOURCE

        public static final String DIAGNOSTIC_SOURCE
        A constant for the source of diagnostic codes from this package.
        See Also:
        Diagnostic.getSource(), Diagnostic.getCode(), Constant Field Values
      • SECTION__VALIDATE

        public static final int SECTION__VALIDATE
        The code for constraint 'Validate' of 'Section'.
        See Also:
        Constant Field Values
      • INFOBASE_REFERENCE__VALIDATE

        public static final int INFOBASE_REFERENCE__VALIDATE
        The code for constraint 'Validate' of 'Infobase Reference'.
        See Also:
        Constant Field Values
      • 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
    • Constructor Detail

      • ModelValidator

        public ModelValidator()
        Creates an instance of the switch.
    • Method Detail

      • getEPackage

        protected org.eclipse.emf.ecore.EPackage getEPackage()
        Returns the package of this validator switch.
        Overrides:
        getEPackage in class org.eclipse.emf.ecore.util.EObjectValidator
      • validate

        protected boolean validate​(int classifierID,
                                   Object value,
                                   org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                   Map<Object,​Object> context)
        Calls validateXXX for the corresponding classifier of the model.
        Overrides:
        validate in class org.eclipse.emf.ecore.util.EObjectValidator
      • validateRuntimeInstallation

        public boolean validateRuntimeInstallation​(RuntimeInstallation runtimeInstallation,
                                                   org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateSection

        public boolean validateSection​(Section section,
                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateSection_validate

        public boolean validateSection_validate​(Section section,
                                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
        Validates the validate constraint of 'Section'.
      • validateGroup

        public boolean validateGroup​(Group group,
                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateInfobaseReference

        public boolean validateInfobaseReference​(InfobaseReference infobaseReference,
                                                 org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateInfobaseReference_validate

        public boolean validateInfobaseReference_validate​(InfobaseReference infobaseReference,
                                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
        Validates the validate constraint of 'Infobase Reference'.
      • validateIConnectionString

        public boolean validateIConnectionString​(IConnectionString iConnectionString,
                                                 org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateFileConnectionString

        public boolean validateFileConnectionString​(FileConnectionString fileConnectionString,
                                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
      • validateServerConnectionString

        public boolean validateServerConnectionString​(ServerConnectionString serverConnectionString,
                                                      org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                      Map<Object,​Object> context)
      • validateWebServerConnectionString

        public boolean validateWebServerConnectionString​(WebServerConnectionString webServerConnectionString,
                                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                         Map<Object,​Object> context)
      • validateCreateInfobaseArguments

        public boolean validateCreateInfobaseArguments​(CreateInfobaseArguments createInfobaseArguments,
                                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                       Map<Object,​Object> context)
      • validateCreateServerInfobaseArguments

        public boolean validateCreateServerInfobaseArguments​(CreateServerInfobaseArguments createServerInfobaseArguments,
                                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                             Map<Object,​Object> context)
      • validateWebServer

        public boolean validateWebServer​(WebServer webServer,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validatePublication

        public boolean validatePublication​(Publication publication,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateInfobasePublication

        public boolean validateInfobasePublication​(InfobasePublication infobasePublication,
                                                   org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateMobileApplicationPublication

        public boolean validateMobileApplicationPublication​(MobileApplicationPublication mobileApplicationPublication,
                                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                            Map<Object,​Object> context)
      • validatePool

        public boolean validatePool​(Pool pool,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateDataSeparator

        public boolean validateDataSeparator​(DataSeparator dataSeparator,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateDebug

        public boolean validateDebug​(Debug debug,
                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateOpenId

        public boolean validateOpenId​(OpenId openId,
                                      org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                      Map<Object,​Object> context)
      • validateOpenIdProvider

        public boolean validateOpenIdProvider​(OpenIdProvider openIdProvider,
                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateOpenIdConnect

        public boolean validateOpenIdConnect​(OpenIdConnect openIdConnect,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateOData

        public boolean validateOData​(OData oData,
                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateWebServices

        public boolean validateWebServices​(WebServices webServices,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateWebService

        public boolean validateWebService​(WebService webService,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateHttpServices

        public boolean validateHttpServices​(HttpServices httpServices,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateHttpService

        public boolean validateHttpService​(HttpService httpService,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateSessionReusable

        public boolean validateSessionReusable​(SessionReusable sessionReusable,
                                               org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateParametrizedValueList

        public boolean validateParametrizedValueList​(ParametrizedValueList parametrizedValueList,
                                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateValueListItem

        public boolean validateValueListItem​(ValueListItem valueListItem,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateArch

        public boolean validateArch​(Arch arch,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateClientType

        public boolean validateClientType​(ClientType clientType,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateAppArch

        public boolean validateAppArch​(AppArch appArch,
                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateUseProxy

        public boolean validateUseProxy​(UseProxy useProxy,
                                        org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateAuthentication

        public boolean validateAuthentication​(Authentication authentication,
                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateClientConnectionSpeed

        public boolean validateClientConnectionSpeed​(ClientConnectionSpeed clientConnectionSpeed,
                                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateCertificateSourceType

        public boolean validateCertificateSourceType​(CertificateSourceType certificateSourceType,
                                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateCertificateSelectType

        public boolean validateCertificateSelectType​(CertificateSelectType certificateSelectType,
                                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateInfobaseType

        public boolean validateInfobaseType​(InfobaseType infobaseType,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateSecureConnection

        public boolean validateSecureConnection​(SecureConnection secureConnection,
                                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateDatabaseType

        public boolean validateDatabaseType​(DatabaseType databaseType,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateDateShift

        public boolean validateDateShift​(DateShift dateShift,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateInfobaseAccess

        public boolean validateInfobaseAccess​(InfobaseAccess infobaseAccess,
                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validatePublicationType

        public boolean validatePublicationType​(PublicationType publicationType,
                                               org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateDebugProtocol

        public boolean validateDebugProtocol​(DebugProtocol debugProtocol,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateJobExecution

        public boolean validateJobExecution​(JobExecution jobExecution,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateSessionReuseMode

        public boolean validateSessionReuseMode​(SessionReuseMode sessionReuseMode,
                                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateLocale

        public boolean validateLocale​(Locale locale,
                                      org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                      Map<Object,​Object> context)
      • validateVersion

        public boolean validateVersion​(Version version,
                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validatePath

        public boolean validatePath​(Path path,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateIProject

        public boolean validateIProject​(org.eclipse.core.resources.IProject iProject,
                                        org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • getResourceLocator

        public org.eclipse.emf.common.util.ResourceLocator getResourceLocator()
        Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
        Overrides:
        getResourceLocator in class org.eclipse.emf.ecore.util.EObjectValidator