/** * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. * * <p>This method is used to initialize {@link persistencePackage#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static persistencePackage init() { if (isInited) return (persistencePackage)EPackage.Registry.INSTANCE.getEPackage(persistencePackage.eNS_URI); // Obtain or create and register package persistencePackageImpl thepersistencePackage = (persistencePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof persistencePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new persistencePackageImpl()); isInited = true; // Initialize simple dependencies XMLTypePackage.eINSTANCE.eClass(); // Create package meta-data objects thepersistencePackage.createPackageContents(); // Initialize created meta-data thepersistencePackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed thepersistencePackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(persistencePackage.eNS_URI, thepersistencePackage); return thepersistencePackage; }
/** * Creates, registers, and initializes the <b>Package</b> for this model, * and for any others upon which it depends. * <p> * This method is used to initialize {@link CommonPackage#eINSTANCE} when * that field is accessed. Clients should not invoke it directly. Instead, * they should simply access that field to obtain the package. <!-- * begin-user-doc --> <!-- end-user-doc --> * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated NOT */ public static CommonPackage init () { if ( isInited ) { return (CommonPackage)EPackage.Registry.INSTANCE.getEPackage ( CommonPackage.eNS_URI ); } // Obtain or create and register package final CommonPackageImpl theCommonPackage = (CommonPackageImpl) ( EPackage.Registry.INSTANCE.get ( eNS_URI ) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.get ( eNS_URI ) : new CommonPackageImpl () ); isInited = true; // Initialize simple dependencies ComponentPackage.eINSTANCE.eClass (); EcorePackage.eINSTANCE.eClass (); XMLTypePackage.eINSTANCE.eClass (); // Create package meta-data objects theCommonPackage.createPackageContents (); // Initialize created meta-data theCommonPackage.initializePackageContents (); // register validation registerPackageValidator ( theCommonPackage ); // Mark meta-data to indicate it can't be changed theCommonPackage.freeze (); // Update the registry and return the package EPackage.Registry.INSTANCE.put ( CommonPackage.eNS_URI, theCommonPackage ); return theCommonPackage; }
/** * Creates, registers, and initializes the <b>Package</b> for this model, * and for any others upon which it depends. * <p> * This method is used to initialize {@link ModbusPackage#eINSTANCE} when * that field is accessed. Clients should not invoke it directly. Instead, * they should simply access that field to obtain the package. <!-- * begin-user-doc --> <!-- end-user-doc --> * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static ModbusPackage init () { if ( isInited ) return (ModbusPackage)EPackage.Registry.INSTANCE.getEPackage ( ModbusPackage.eNS_URI ); // Obtain or create and register package ModbusPackageImpl theModbusPackage = (ModbusPackageImpl) ( EPackage.Registry.INSTANCE.get ( eNS_URI ) instanceof ModbusPackageImpl ? EPackage.Registry.INSTANCE.get ( eNS_URI ) : new ModbusPackageImpl () ); isInited = true; // Initialize simple dependencies ComponentPackage.eINSTANCE.eClass (); MemoryPackage.eINSTANCE.eClass (); XMLTypePackage.eINSTANCE.eClass (); // Create package meta-data objects theModbusPackage.createPackageContents (); // Initialize created meta-data theModbusPackage.initializePackageContents (); // Mark meta-data to indicate it can't be changed theModbusPackage.freeze (); // Update the registry and return the package EPackage.Registry.INSTANCE.put ( ModbusPackage.eNS_URI, theModbusPackage ); return theModbusPackage; }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public String convertWaitDepthToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.INTEGER, instanceValue); }
/** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages ValuesPackage theValuesPackage = (ValuesPackage)EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI); TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes mailRecipientEClass.getESuperTypes().add(theValuesPackage.getComplexValue()); // Initialize classes and features; add operations and parameters initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_MailConfiguration(), this.getMailConfiguration(), null, "mailConfiguration", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); initEClass(mailConfigurationEClass, MailConfiguration.class, "MailConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getMailConfiguration_Subject(), theValuesPackage.getComplexValue(), null, "subject", null, 0, 1, MailConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMailConfiguration_Message(), theValuesPackage.getComplexValue(), null, "message", null, 0, 1, MailConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMailConfiguration_Attachments(), theTypesPackage.getResourceDefinition(), null, "attachments", null, 0, -1, MailConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMailConfiguration_Recipients(), this.getMailRecipient(), null, "recipients", null, 0, -1, MailConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMailConfiguration_AttachAsLink(), theXMLTypePackage.getBoolean(), "attachAsLink", "false", 0, 1, MailConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMailConfiguration_MessageType(), this.getMessageTypeEnum(), "messageType", "TEXT", 0, 1, MailConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(mailRecipientEClass, MailRecipient.class, "MailRecipient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getMailRecipient_Type(), this.getRecipientTypeEnum(), "type", "TO", 0, 1, MailRecipient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize enums and add enum literals initEEnum(messageTypeEnumEEnum, MessageTypeEnum.class, "MessageTypeEnum"); addEEnumLiteral(messageTypeEnumEEnum, MessageTypeEnum.TEXT); addEEnumLiteral(messageTypeEnumEEnum, MessageTypeEnum.HTML); addEEnumLiteral(messageTypeEnumEEnum, MessageTypeEnum.XML); initEEnum(recipientTypeEnumEEnum, RecipientTypeEnum.class, "RecipientTypeEnum"); addEEnumLiteral(recipientTypeEnumEEnum, RecipientTypeEnum.TO); addEEnumLiteral(recipientTypeEnumEEnum, RecipientTypeEnum.CC); addEEnumLiteral(recipientTypeEnumEEnum, RecipientTypeEnum.BCC); // Initialize data types initEDataType(messageTypeEnumObjectEDataType, MessageTypeEnum.class, "MessageTypeEnumObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(recipientTypeEnumObjectEDataType, RecipientTypeEnum.class, "RecipientTypeEnumObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); // Create resource createResource(eNS_URI); // Create annotations // http://www.ms.com/2011/tdo-qa-tools/rcs createRcsAnnotations(); // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); }
/** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes saturnVerbosityConfigurationEClass.getESuperTypes().add(theTypesPackage.getAbstractAnnotation()); // Initialize classes and features; add operations and parameters initEClass(saturnVerbosityConfigurationEClass, SaturnVerbosityConfiguration.class, "SaturnVerbosityConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSaturnVerbosityConfiguration_Verbosity(), this.getVerbosityEnum(), "verbosity", null, 1, 1, SaturnVerbosityConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSaturnVerbosityConfiguration_Enabled(), theXMLTypePackage.getBoolean(), "enabled", "true", 0, 1, SaturnVerbosityConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize enums and add enum literals initEEnum(verbosityEnumEEnum, VerbosityEnum.class, "VerbosityEnum"); addEEnumLiteral(verbosityEnumEEnum, VerbosityEnum.QUIET); addEEnumLiteral(verbosityEnumEEnum, VerbosityEnum.NORMAL); addEEnumLiteral(verbosityEnumEEnum, VerbosityEnum.DEBUG); addEEnumLiteral(verbosityEnumEEnum, VerbosityEnum.DEBUGONPASS); addEEnumLiteral(verbosityEnumEEnum, VerbosityEnum.DEBUGONFAIL); // Initialize data types initEDataType(verbosityEnumObjectEDataType, VerbosityEnum.class, "VerbosityEnumObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); // Create resource createResource(eNS_URI); // Create annotations // http://www.ms.com/2011/tdo-qa-tools/rcs createRcsAnnotations(); // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); }
/** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); ValuesPackage theValuesPackage = (ValuesPackage)EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI); XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes mongoDbResourceEClass.getESuperTypes().add(theTypesPackage.getDatabaseResourceDefinition()); // Initialize classes and features; add operations and parameters initEClass(mongoDbResourceEClass, MongoDbResource.class, "MongoDbResource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getMongoDbResource_Host(), theValuesPackage.getComplexValue(), null, "host", null, 0, 1, MongoDbResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMongoDbResource_Port(), theValuesPackage.getComplexValue(), null, "port", null, 0, 1, MongoDbResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMongoDbResource_Database(), theValuesPackage.getComplexValue(), null, "database", null, 0, 1, MongoDbResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMongoDbResource_Login(), theValuesPackage.getComplexValue(), null, "login", null, 0, 1, MongoDbResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMongoDbResource_Password(), theValuesPackage.getComplexValue(), null, "password", null, 0, 1, MongoDbResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMongoDbResource_Authentification(), this.getAuthentificationEnums(), "authentification", "PASSWORD", 0, 1, MongoDbResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMongoDbResource_ConnectTimeout(), theXMLTypePackage.getInt(), "connectTimeout", "10000", 0, 1, MongoDbResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMongoDbResource_SocketTimeout(), theXMLTypePackage.getInt(), "socketTimeout", "0", 0, 1, MongoDbResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize enums and add enum literals initEEnum(authentificationEnumsEEnum, AuthentificationEnums.class, "AuthentificationEnums"); addEEnumLiteral(authentificationEnumsEEnum, AuthentificationEnums.PASSWORD); addEEnumLiteral(authentificationEnumsEEnum, AuthentificationEnums.KERBEROS); addEEnumLiteral(authentificationEnumsEEnum, AuthentificationEnums.ANONYMOUS); // Initialize data types initEDataType(authentificationEnumsObjectEDataType, AuthentificationEnums.class, "AuthentificationEnumsObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); // Create resource createResource(eNS_URI); // Create annotations // http://www.ms.com/2011/tdo-qa-tools/rcs createRcsAnnotations(); // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); }
/** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages ValuesPackage theValuesPackage = (ValuesPackage)EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI); TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes // Initialize classes and features; add operations and parameters initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_DocumentumConfiguration(), this.getDocumentumConfiguration(), null, "documentumConfiguration", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); initEClass(documentumConfigurationEClass, DocumentumConfiguration.class, "DocumentumConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getDocumentumConfiguration_Base(), theValuesPackage.getComplexValue(), null, "base", null, 1, 1, DocumentumConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentumConfiguration_Username(), theValuesPackage.getComplexValue(), null, "username", null, 1, 1, DocumentumConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentumConfiguration_Password(), theValuesPackage.getComplexValue(), null, "password", null, 1, 1, DocumentumConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentumConfiguration_Folder(), theValuesPackage.getComplexValue(), null, "folder", null, 0, 1, DocumentumConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentumConfiguration_Document(), theValuesPackage.getComplexValue(), null, "document", null, 1, 1, DocumentumConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentumConfiguration_File(), theTypesPackage.getResourceDefinition(), null, "file", null, 1, 1, DocumentumConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getDocumentumConfiguration_Debug(), theXMLTypePackage.getBoolean(), "debug", "false", 0, 1, DocumentumConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); // Create annotations // http://www.ms.com/2011/tdo-qa-tools/rcs createRcsAnnotations(); // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); }
/** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); ValuesPackage theValuesPackage = (ValuesPackage)EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI); XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes // Initialize classes and features; add operations and parameters initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XmlDiffConfiguration(), this.getXmlDiffConfiguration(), null, "xmlDiffConfiguration", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); initEClass(xmlDiffColumnEClass, XmlDiffColumn.class, "XmlDiffColumn", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getXmlDiffColumn_ColumnDesc(), theTypesPackage.getColumn(), null, "columnDesc", null, 1, 1, XmlDiffColumn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffColumn_XPath(), theValuesPackage.getComplexValue(), null, "xPath", null, 1, 1, XmlDiffColumn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getXmlDiffColumn_Enabled(), theXMLTypePackage.getBoolean(), "enabled", "true", 0, 1, XmlDiffColumn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getXmlDiffColumn_Threshold(), theXMLTypePackage.getInteger(), "threshold", null, 0, 1, XmlDiffColumn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(xmlDiffConfigurationEClass, XmlDiffConfiguration.class, "XmlDiffConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getXmlDiffConfiguration_Objects(), this.getXmlDiffObject(), null, "objects", null, 0, -1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffConfiguration_Columns(), this.getXmlDiffColumn(), null, "columns", null, 0, -1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffConfiguration_DocumentKeys(), this.getXmlDiffColumn(), null, "documentKeys", null, 0, -1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffConfiguration_Namespaces(), this.getXmlDiffNamespace(), null, "namespaces", null, 0, -1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffConfiguration_LeftFile(), theTypesPackage.getResourceDefinition(), null, "leftFile", null, 0, 1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffConfiguration_RightFile(), theTypesPackage.getResourceDefinition(), null, "rightFile", null, 0, 1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffConfiguration_OutResource(), theTypesPackage.getResourceDefinition(), null, "outResource", null, 0, 1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffConfiguration_Description(), theValuesPackage.getComplexValue(), null, "description", null, 0, 1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getXmlDiffConfiguration_FailOnValidation(), theXMLTypePackage.getBoolean(), "failOnValidation", "true", 0, 1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getXmlDiffConfiguration_IgnoreInLeftOnly(), theXMLTypePackage.getBoolean(), "ignoreInLeftOnly", "false", 0, 1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getXmlDiffConfiguration_IgnoreInRightOnly(), theXMLTypePackage.getBoolean(), "ignoreInRightOnly", "false", 0, 1, XmlDiffConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(xmlDiffNamespaceEClass, XmlDiffNamespace.class, "XmlDiffNamespace", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getXmlDiffNamespace_Prefix(), theValuesPackage.getComplexValue(), null, "prefix", null, 1, 1, XmlDiffNamespace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffNamespace_Uri(), theValuesPackage.getComplexValue(), null, "uri", null, 1, 1, XmlDiffNamespace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getXmlDiffNamespace_Enabled(), theXMLTypePackage.getBoolean(), "enabled", "true", 0, 1, XmlDiffNamespace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(xmlDiffObjectEClass, XmlDiffObject.class, "XmlDiffObject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getXmlDiffObject_Keys(), this.getXmlDiffColumn(), null, "keys", null, 0, -1, XmlDiffObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getXmlDiffObject_XPath(), theValuesPackage.getComplexValue(), null, "xPath", null, 0, 1, XmlDiffObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getXmlDiffObject_Enabled(), theXMLTypePackage.getBoolean(), "enabled", "true", 0, 1, XmlDiffObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); // Create annotations // http://www.ms.com/2011/tdo-qa-tools/rcs createRcsAnnotations(); // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); }
/** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); ValuesPackage theValuesPackage = (ValuesPackage)EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI); XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); SaturnPackage theSaturnPackage = (SaturnPackage)EPackage.Registry.INSTANCE.getEPackage(SaturnPackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes referenceResourceEClass.getESuperTypes().add(theTypesPackage.getDeviceResourceDefinition()); // Initialize classes and features; add operations and parameters initEClass(referenceResourceEClass, ReferenceResource.class, "ReferenceResource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getReferenceResource_IncludeFileAdv(), theValuesPackage.getComplexValue(), null, "includeFileAdv", null, 0, 1, ReferenceResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getReferenceResource_ResourceAdv(), theValuesPackage.getComplexValue(), null, "resourceAdv", null, 0, 1, ReferenceResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getReferenceResource_IncludeFile(), theXMLTypePackage.getToken(), "includeFile", null, 0, 1, ReferenceResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getReferenceResource_Resource(), theXMLTypePackage.getToken(), "resource", null, 0, 1, ReferenceResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getReferenceResource_Advanced(), theXMLTypePackage.getBoolean(), "advanced", "false", 0, 1, ReferenceResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getReferenceResource_Clone(), theXMLTypePackage.getBoolean(), "clone", "false", 0, 1, ReferenceResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getReferenceResource_Link(), theSaturnPackage.getAbstractResourceLink(), null, "link", null, 0, 1, ReferenceResource.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); // Create annotations // null createNullAnnotations(); // http://www.ms.com/2011/tdo-qa-tools/rcs createRcsAnnotations(); // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); }
/** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes compareExceptionEClass.getESuperTypes().add(this.getTraceableException()); compareInitExceptionEClass.getESuperTypes().add(this.getCompareException()); fileNotFoundExceptionEClass.getESuperTypes().add(this.getFileSystemException()); fileSystemExceptionEClass.getESuperTypes().add(this.getTraceableException()); permissionDeniedExceptionEClass.getESuperTypes().add(this.getFileSystemException()); qatUnknownCodeEClass.getESuperTypes().add(this.getTraceableException()); satExceptionEClass.getESuperTypes().add(this.getTraceableException()); // Initialize classes and features; add operations and parameters initEClass(compareExceptionEClass, CompareException.class, "CompareException", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(compareInitExceptionEClass, CompareInitException.class, "CompareInitException", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_Exception(), this.getexception(), null, "exception", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); initEClass(exceptionEClass, exception.class, "exception", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getexception_Exception(), this.getTraceableException(), null, "exception", null, 0, 1, exception.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getexception_Message(), theXMLTypePackage.getString(), "message", null, 1, 1, exception.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(fileNotFoundExceptionEClass, FileNotFoundException.class, "FileNotFoundException", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(fileSystemExceptionEClass, FileSystemException.class, "FileSystemException", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getFileSystemException_FileName(), theXMLTypePackage.getString(), "fileName", null, 0, 1, FileSystemException.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(permissionDeniedExceptionEClass, PermissionDeniedException.class, "PermissionDeniedException", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(qatUnknownCodeEClass, QATUnknownCode.class, "QATUnknownCode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getQATUnknownCode_Env(), theXMLTypePackage.getString(), "env", null, 0, 1, QATUnknownCode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getQATUnknownCode_Raw(), theXMLTypePackage.getString(), "raw", null, 0, 1, QATUnknownCode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(rawExceptionEClass, RawException.class, "RawException", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(satExceptionEClass, SATException.class, "SATException", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(stackTraceExceptionEClass, StackTraceException.class, "StackTraceException", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getStackTraceException_Trace(), theXMLTypePackage.getString(), "trace", null, 1, 1, StackTraceException.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(traceableExceptionEClass, TraceableException.class, "TraceableException", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTraceableException_Message(), theXMLTypePackage.getString(), "message", null, 1, 1, TraceableException.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getTraceableException_Exception(), this.getSATException(), null, "exception", null, 0, 1, TraceableException.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); // Create annotations // http://www.ms.com/2011/tdo-qa-tools/rcs createRcsAnnotations(); // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public String createObjectNameFromString(EDataType eDataType, String initialValue) { return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.STRING, initialValue); }
/** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void initializePackageContents () { if ( isInitialized ) return; isInitialized = true; // Initialize package setName ( eNAME ); setNsPrefix ( eNS_PREFIX ); setNsURI ( eNS_URI ); // Obtain other dependent packages XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage ( XMLTypePackage.eNS_URI ); // Create type parameters // Set bounds for type parameters // Add supertypes to classes // Initialize classes, features, and operations; add parameters initEClass ( announcerTypeEClass, AnnouncerType.class, "AnnouncerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS ); //$NON-NLS-1$ initEAttribute ( getAnnouncerType_Class (), theXMLTypePackage.getString (), "class", null, 0, 1, AnnouncerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEClass ( configurationTypeEClass, ConfigurationType.class, "ConfigurationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS ); //$NON-NLS-1$ initEReference ( getConfigurationType_Hive (), this.getHiveType (), null, "hive", null, 0, -1, ConfigurationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEReference ( getConfigurationType_Announcer (), this.getAnnouncerType (), null, "announcer", null, 0, -1, ConfigurationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEClass ( documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS ); //$NON-NLS-1$ initEAttribute ( getDocumentRoot_Mixed (), ecorePackage.getEFeatureMapEntry (), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEReference ( getDocumentRoot_XMLNSPrefixMap (), ecorePackage.getEStringToStringMapEntry (), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEReference ( getDocumentRoot_XSISchemaLocation (), ecorePackage.getEStringToStringMapEntry (), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEReference ( getDocumentRoot_Configuration (), this.getConfigurationType (), null, "configuration", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEClass ( exportTypeEClass, ExportType.class, "ExportType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS ); //$NON-NLS-1$ initEAttribute ( getExportType_Uri (), theXMLTypePackage.getString (), "uri", null, 1, 1, ExportType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEClass ( hiveConfigurationTypeEClass, HiveConfigurationType.class, "HiveConfigurationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS ); //$NON-NLS-1$ initEAttribute ( getHiveConfigurationType_Mixed (), ecorePackage.getEFeatureMapEntry (), "mixed", null, 0, -1, HiveConfigurationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEAttribute ( getHiveConfigurationType_Any (), ecorePackage.getEFeatureMapEntry (), "any", null, 0, 1, HiveConfigurationType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEClass ( hiveTypeEClass, HiveType.class, "HiveType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS ); //$NON-NLS-1$ initEReference ( getHiveType_Configuration (), this.getHiveConfigurationType (), null, "configuration", null, 0, 1, HiveType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEReference ( getHiveType_Export (), this.getExportType (), null, "export", null, 0, -1, HiveType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ initEAttribute ( getHiveType_Ref (), theXMLTypePackage.getString (), "ref", null, 1, 1, HiveType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); //$NON-NLS-1$ // Create resource createResource ( eNS_URI ); // Create annotations // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations (); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float createHeatRateFromString(EDataType eDataType, String initialValue) { return (Float)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.FLOAT, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertHeatRateToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertClassificationToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.INTEGER, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float createWaterLevelFromString(EDataType eDataType, String initialValue) { return (Float)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.FLOAT, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertEmissionToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String createStringQuantityFromString(EDataType eDataType, String initialValue) { return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.STRING, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertCostPerHeatUnitToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float createCostRateFromString(EDataType eDataType, String initialValue) { return (Float)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.FLOAT, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float createKWActivePowerFromString(EDataType eDataType, String initialValue) { return (Float)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.FLOAT, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String createClassTypeFromString ( EDataType eDataType, String initialValue ) { return (String)XMLTypeFactory.eINSTANCE.createFromString ( XMLTypePackage.Literals.STRING, initialValue ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float createSusceptanceFromString(EDataType eDataType, String initialValue) { return (Float)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.FLOAT, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertVoltagePerReactivePowerToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertImpedanceToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertStringQuantityToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.STRING, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Integer createRestartDelayTypeFromString ( EDataType eDataType, String initialValue ) { return (Integer)XMLTypeFactory.eINSTANCE.createFromString ( XMLTypePackage.Literals.INT, initialValue ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertMoneyToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertFloatQuantityToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertRestartDelayTypeToString ( EDataType eDataType, Object instanceValue ) { return XMLTypeFactory.eINSTANCE.convertToString ( XMLTypePackage.Literals.INT, instanceValue ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertRealEnergyToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float createAngleDegreesFromString(EDataType eDataType, String initialValue) { return (Float)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.FLOAT, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertTemperatureToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertApparentPowerToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertCurrentFlowToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float createReactanceFromString(EDataType eDataType, String initialValue) { return (Float)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.FLOAT, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float createMinutesFromString(EDataType eDataType, String initialValue) { return (Float)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.FLOAT, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertConductanceToString(EDataType eDataType, Object instanceValue) { return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.FLOAT, instanceValue); }