/** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.tuscany.sdo.model.impl; import java.math.BigDecimal; import java.math.BigInteger; import java.util.Date; import java.util.List; import org.apache.tuscany.sdo.SDOPackage; import org.apache.tuscany.sdo.model.BaseDataGraphType; import org.apache.tuscany.sdo.model.ChangeSummaryType; import org.apache.tuscany.sdo.model.DataGraphType; import org.apache.tuscany.sdo.model.DataObject; import org.apache.tuscany.sdo.model.ModelFactory; import org.apache.tuscany.sdo.model.ModelPackage; import org.apache.tuscany.sdo.model.ModelsType; import org.apache.tuscany.sdo.model.Property; import org.apache.tuscany.sdo.model.TextType; import org.apache.tuscany.sdo.model.Type; import org.apache.tuscany.sdo.model.Types; import org.apache.tuscany.sdo.model.XSDType; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EDataType; import org.eclipse.emf.ecore.EFactory; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.emf.ecore.xml.type.XMLTypePackage; /** * * The Package for the model. * It contains accessors for the meta objects to represent *
Note: the correct way to create the package is via the static * factory method {@link #init init()}, which also performs * initialization of the package, or returns the registered package, * if one already exists. * * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.apache.tuscany.sdo.model.impl.ModelPackageImpl#eNS_URI * @see #init() * @generated */ private ModelPackageImpl() { super(eNS_URI, ((EFactory)ModelFactory.INSTANCE)); } /** * * * @generated */ private static boolean isInited = false; /** * Creates, registers, and initializes the Package for this * model, and for any others upon which it depends. Simple * dependencies are satisfied by calling this method on all * dependent packages before doing anything else. This method drives * initialization for interdependent packages directly, in parallel * with this package, itself. *
Of this package and its interdependencies, all packages which * have not yet been registered by their URI values are first created * and registered. The packages are then initialized in two steps: * meta-model objects for all of the packages are created before any * are initialized, since one package's meta-model objects may refer to * those of another. *
Invocation of this method will not affect any packages that have * already been initialized. * * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static ModelPackageImpl init() { if (isInited) return (ModelPackageImpl)EPackage.Registry.INSTANCE.getEPackage(ModelPackageImpl.eNS_URI); // Obtain or create and register package ModelPackageImpl theModelPackageImpl = (ModelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ModelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ModelPackageImpl()); isInited = true; // Initialize simple dependencies XMLTypePackage.eINSTANCE.eClass(); // Create package meta-data objects theModelPackageImpl.createPackageContents(); // Initialize created meta-data theModelPackageImpl.initializePackageContents(); // Mark meta-data to indicate it can't be changed theModelPackageImpl.freeze(); return theModelPackageImpl; } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.BaseDataGraphType Base Data Graph Type}'. * * * @return the meta object for class 'Base Data Graph Type'. * @see org.apache.tuscany.sdo.model.BaseDataGraphType * @generated */ public EClass getBaseDataGraphType() { return baseDataGraphTypeEClass; } /** * Returns the meta object for the containment reference '{@link org.apache.tuscany.sdo.model.BaseDataGraphType#getModels Models}'. * * * @return the meta object for the containment reference 'Models'. * @see org.apache.tuscany.sdo.model.BaseDataGraphType#getModels() * @see #getBaseDataGraphType() * @generated */ public EReference getBaseDataGraphType_Models() { return (EReference)baseDataGraphTypeEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for the containment reference '{@link org.apache.tuscany.sdo.model.BaseDataGraphType#getXsd Xsd}'. * * * @return the meta object for the containment reference 'Xsd'. * @see org.apache.tuscany.sdo.model.BaseDataGraphType#getXsd() * @see #getBaseDataGraphType() * @generated */ public EReference getBaseDataGraphType_Xsd() { return (EReference)baseDataGraphTypeEClass.getEStructuralFeatures().get(1); } /** * Returns the meta object for the containment reference '{@link org.apache.tuscany.sdo.model.BaseDataGraphType#getChangeSummary Change Summary}'. * * * @return the meta object for the containment reference 'Change Summary'. * @see org.apache.tuscany.sdo.model.BaseDataGraphType#getChangeSummary() * @see #getBaseDataGraphType() * @generated */ public EReference getBaseDataGraphType_ChangeSummary() { return (EReference)baseDataGraphTypeEClass.getEStructuralFeatures().get(2); } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.BaseDataGraphType#getAnyAttribute Any Attribute}'. * * * @return the meta object for the attribute list 'Any Attribute'. * @see org.apache.tuscany.sdo.model.BaseDataGraphType#getAnyAttribute() * @see #getBaseDataGraphType() * @generated */ public EAttribute getBaseDataGraphType_AnyAttribute() { return (EAttribute)baseDataGraphTypeEClass.getEStructuralFeatures().get(3); } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.ChangeSummaryType Change Summary Type}'. * * * @return the meta object for class 'Change Summary Type'. * @see org.apache.tuscany.sdo.model.ChangeSummaryType * @generated */ public EClass getChangeSummaryType() { return changeSummaryTypeEClass; } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.ChangeSummaryType#getAny Any}'. * * * @return the meta object for the attribute list 'Any'. * @see org.apache.tuscany.sdo.model.ChangeSummaryType#getAny() * @see #getChangeSummaryType() * @generated */ public EAttribute getChangeSummaryType_Any() { return (EAttribute)changeSummaryTypeEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.ChangeSummaryType#getCreate Create}'. * * * @return the meta object for the attribute 'Create'. * @see org.apache.tuscany.sdo.model.ChangeSummaryType#getCreate() * @see #getChangeSummaryType() * @generated */ public EAttribute getChangeSummaryType_Create() { return (EAttribute)changeSummaryTypeEClass.getEStructuralFeatures().get(1); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.ChangeSummaryType#getDelete Delete}'. * * * @return the meta object for the attribute 'Delete'. * @see org.apache.tuscany.sdo.model.ChangeSummaryType#getDelete() * @see #getChangeSummaryType() * @generated */ public EAttribute getChangeSummaryType_Delete() { return (EAttribute)changeSummaryTypeEClass.getEStructuralFeatures().get(2); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.ChangeSummaryType#isLogging Logging}'. * * * @return the meta object for the attribute 'Logging'. * @see org.apache.tuscany.sdo.model.ChangeSummaryType#isLogging() * @see #getChangeSummaryType() * @generated */ public EAttribute getChangeSummaryType_Logging() { return (EAttribute)changeSummaryTypeEClass.getEStructuralFeatures().get(3); } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.DataGraphType Data Graph Type}'. * * * @return the meta object for class 'Data Graph Type'. * @see org.apache.tuscany.sdo.model.DataGraphType * @generated */ public EClass getDataGraphType() { return dataGraphTypeEClass; } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.DataGraphType#getAny Any}'. * * * @return the meta object for the attribute list 'Any'. * @see org.apache.tuscany.sdo.model.DataGraphType#getAny() * @see #getDataGraphType() * @generated */ public EAttribute getDataGraphType_Any() { return (EAttribute)dataGraphTypeEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.DataObject Data Object}'. * * * @return the meta object for class 'Data Object'. * @see org.apache.tuscany.sdo.model.DataObject * @generated */ public EClass getDataObject() { return dataObjectEClass; } /** * Returns the meta object for class '{@link org.eclipse.emf.ecore.EObject Document Root}'. * * * @return the meta object for class 'Document Root'. * @see org.eclipse.emf.ecore.EObject * @generated */ public EClass getDocumentRoot() { return documentRootEClass; } /** * Returns the meta object for the attribute list '{@link org.eclipse.emf.ecore.EObject#getMixed Mixed}'. * * * @return the meta object for the attribute list 'Mixed'. * @see org.eclipse.emf.ecore.EObject#getMixed() * @see #getDocumentRoot() * @generated */ public EAttribute getDocumentRoot_Mixed() { return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for the map '{@link org.eclipse.emf.ecore.EObject#getXMLNSPrefixMap XMLNS Prefix Map}'. * * * @return the meta object for the map 'XMLNS Prefix Map'. * @see org.eclipse.emf.ecore.EObject#getXMLNSPrefixMap() * @see #getDocumentRoot() * @generated */ public EReference getDocumentRoot_XMLNSPrefixMap() { return (EReference)documentRootEClass.getEStructuralFeatures().get(1); } /** * Returns the meta object for the map '{@link org.eclipse.emf.ecore.EObject#getXSISchemaLocation XSI Schema Location}'. * * * @return the meta object for the map 'XSI Schema Location'. * @see org.eclipse.emf.ecore.EObject#getXSISchemaLocation() * @see #getDocumentRoot() * @generated */ public EReference getDocumentRoot_XSISchemaLocation() { return (EReference)documentRootEClass.getEStructuralFeatures().get(2); } /** * Returns the meta object for the containment reference '{@link org.eclipse.emf.ecore.EObject#getDatagraph Datagraph}'. * * * @return the meta object for the containment reference 'Datagraph'. * @see org.eclipse.emf.ecore.EObject#getDatagraph() * @see #getDocumentRoot() * @generated */ public EReference getDocumentRoot_Datagraph() { return (EReference)documentRootEClass.getEStructuralFeatures().get(3); } /** * Returns the meta object for the containment reference '{@link org.eclipse.emf.ecore.EObject#getDataObject Data Object}'. * * * @return the meta object for the containment reference 'Data Object'. * @see org.eclipse.emf.ecore.EObject#getDataObject() * @see #getDocumentRoot() * @generated */ public EReference getDocumentRoot_DataObject() { return (EReference)documentRootEClass.getEStructuralFeatures().get(4); } /** * Returns the meta object for the containment reference '{@link org.eclipse.emf.ecore.EObject#getType Type}'. * * * @return the meta object for the containment reference 'Type'. * @see org.eclipse.emf.ecore.EObject#getType() * @see #getDocumentRoot() * @generated */ public EReference getDocumentRoot_Type() { return (EReference)documentRootEClass.getEStructuralFeatures().get(5); } /** * Returns the meta object for the containment reference '{@link org.eclipse.emf.ecore.EObject#getTypes Types}'. * * * @return the meta object for the containment reference 'Types'. * @see org.eclipse.emf.ecore.EObject#getTypes() * @see #getDocumentRoot() * @generated */ public EReference getDocumentRoot_Types() { return (EReference)documentRootEClass.getEStructuralFeatures().get(6); } /** * Returns the meta object for the attribute '{@link org.eclipse.emf.ecore.EObject#getRef Ref}'. * * * @return the meta object for the attribute 'Ref'. * @see org.eclipse.emf.ecore.EObject#getRef() * @see #getDocumentRoot() * @generated */ public EAttribute getDocumentRoot_Ref() { return (EAttribute)documentRootEClass.getEStructuralFeatures().get(7); } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.ModelsType Models Type}'. * * * @return the meta object for class 'Models Type'. * @see org.apache.tuscany.sdo.model.ModelsType * @generated */ public EClass getModelsType() { return modelsTypeEClass; } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.ModelsType#getAny Any}'. * * * @return the meta object for the attribute list 'Any'. * @see org.apache.tuscany.sdo.model.ModelsType#getAny() * @see #getModelsType() * @generated */ public EAttribute getModelsType_Any() { return (EAttribute)modelsTypeEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.Property Property}'. * * * @return the meta object for class 'Property'. * @see org.apache.tuscany.sdo.model.Property * @generated */ public EClass getProperty() { return propertyEClass; } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.Property#getAliasName Alias Name}'. * * * @return the meta object for the attribute list 'Alias Name'. * @see org.apache.tuscany.sdo.model.Property#getAliasName() * @see #getProperty() * @generated */ public EAttribute getProperty_AliasName() { return (EAttribute)propertyEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.Property#getAny Any}'. * * * @return the meta object for the attribute list 'Any'. * @see org.apache.tuscany.sdo.model.Property#getAny() * @see #getProperty() * @generated */ public EAttribute getProperty_Any() { return (EAttribute)propertyEClass.getEStructuralFeatures().get(1); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Property#isContainment Containment}'. * * * @return the meta object for the attribute 'Containment'. * @see org.apache.tuscany.sdo.model.Property#isContainment() * @see #getProperty() * @generated */ public EAttribute getProperty_Containment() { return (EAttribute)propertyEClass.getEStructuralFeatures().get(2); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Property#getDefault Default}'. * * * @return the meta object for the attribute 'Default'. * @see org.apache.tuscany.sdo.model.Property#getDefault() * @see #getProperty() * @generated */ public EAttribute getProperty_Default() { return (EAttribute)propertyEClass.getEStructuralFeatures().get(3); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Property#isMany Many}'. * * * @return the meta object for the attribute 'Many'. * @see org.apache.tuscany.sdo.model.Property#isMany() * @see #getProperty() * @generated */ public EAttribute getProperty_Many() { return (EAttribute)propertyEClass.getEStructuralFeatures().get(4); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Property#getName Name}'. * * * @return the meta object for the attribute 'Name'. * @see org.apache.tuscany.sdo.model.Property#getName() * @see #getProperty() * @generated */ public EAttribute getProperty_Name() { return (EAttribute)propertyEClass.getEStructuralFeatures().get(5); } /** * Returns the meta object for the reference '{@link org.apache.tuscany.sdo.model.Property#getOpposite Opposite}'. * * * @return the meta object for the reference 'Opposite'. * @see org.apache.tuscany.sdo.model.Property#getOpposite() * @see #getProperty() * @generated */ public EReference getProperty_Opposite() { return (EReference)propertyEClass.getEStructuralFeatures().get(6); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Property#isReadOnly Read Only}'. * * * @return the meta object for the attribute 'Read Only'. * @see org.apache.tuscany.sdo.model.Property#isReadOnly() * @see #getProperty() * @generated */ public EAttribute getProperty_ReadOnly() { return (EAttribute)propertyEClass.getEStructuralFeatures().get(7); } /** * Returns the meta object for the reference '{@link org.apache.tuscany.sdo.model.Property#getType Type}'. * * * @return the meta object for the reference 'Type'. * @see org.apache.tuscany.sdo.model.Property#getType() * @see #getProperty() * @generated */ public EReference getProperty_Type() { return (EReference)propertyEClass.getEStructuralFeatures().get(8); } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.Property#getAnyAttribute Any Attribute}'. * * * @return the meta object for the attribute list 'Any Attribute'. * @see org.apache.tuscany.sdo.model.Property#getAnyAttribute() * @see #getProperty() * @generated */ public EAttribute getProperty_AnyAttribute() { return (EAttribute)propertyEClass.getEStructuralFeatures().get(9); } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.TextType Text Type}'. * * * @return the meta object for class 'Text Type'. * @see org.apache.tuscany.sdo.model.TextType * @generated */ public EClass getTextType() { return textTypeEClass; } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.TextType#getText Text}'. * * * @return the meta object for the attribute list 'Text'. * @see org.apache.tuscany.sdo.model.TextType#getText() * @see #getTextType() * @generated */ public EAttribute getTextType_Text() { return (EAttribute)textTypeEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.Type Type}'. * * * @return the meta object for class 'Type'. * @see org.apache.tuscany.sdo.model.Type * @generated */ public EClass getType() { return typeEClass; } /** * Returns the meta object for the reference list '{@link org.apache.tuscany.sdo.model.Type#getBaseType Base Type}'. * * * @return the meta object for the reference list 'Base Type'. * @see org.apache.tuscany.sdo.model.Type#getBaseType() * @see #getType() * @generated */ public EReference getType_BaseType() { return (EReference)typeEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for the containment reference list '{@link org.apache.tuscany.sdo.model.Type#getProperty Property}'. * * * @return the meta object for the containment reference list 'Property'. * @see org.apache.tuscany.sdo.model.Type#getProperty() * @see #getType() * @generated */ public EReference getType_Property() { return (EReference)typeEClass.getEStructuralFeatures().get(1); } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.Type#getAliasName Alias Name}'. * * * @return the meta object for the attribute list 'Alias Name'. * @see org.apache.tuscany.sdo.model.Type#getAliasName() * @see #getType() * @generated */ public EAttribute getType_AliasName() { return (EAttribute)typeEClass.getEStructuralFeatures().get(2); } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.Type#getAny Any}'. * * * @return the meta object for the attribute list 'Any'. * @see org.apache.tuscany.sdo.model.Type#getAny() * @see #getType() * @generated */ public EAttribute getType_Any() { return (EAttribute)typeEClass.getEStructuralFeatures().get(3); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Type#isAbstract Abstract}'. * * * @return the meta object for the attribute 'Abstract'. * @see org.apache.tuscany.sdo.model.Type#isAbstract() * @see #getType() * @generated */ public EAttribute getType_Abstract() { return (EAttribute)typeEClass.getEStructuralFeatures().get(4); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Type#isDataType Data Type}'. * * * @return the meta object for the attribute 'Data Type'. * @see org.apache.tuscany.sdo.model.Type#isDataType() * @see #getType() * @generated */ public EAttribute getType_DataType() { return (EAttribute)typeEClass.getEStructuralFeatures().get(5); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Type#getName Name}'. * * * @return the meta object for the attribute 'Name'. * @see org.apache.tuscany.sdo.model.Type#getName() * @see #getType() * @generated */ public EAttribute getType_Name() { return (EAttribute)typeEClass.getEStructuralFeatures().get(6); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Type#isOpen Open}'. * * * @return the meta object for the attribute 'Open'. * @see org.apache.tuscany.sdo.model.Type#isOpen() * @see #getType() * @generated */ public EAttribute getType_Open() { return (EAttribute)typeEClass.getEStructuralFeatures().get(7); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Type#isSequenced Sequenced}'. * * * @return the meta object for the attribute 'Sequenced'. * @see org.apache.tuscany.sdo.model.Type#isSequenced() * @see #getType() * @generated */ public EAttribute getType_Sequenced() { return (EAttribute)typeEClass.getEStructuralFeatures().get(8); } /** * Returns the meta object for the attribute '{@link org.apache.tuscany.sdo.model.Type#getUri Uri}'. * * * @return the meta object for the attribute 'Uri'. * @see org.apache.tuscany.sdo.model.Type#getUri() * @see #getType() * @generated */ public EAttribute getType_Uri() { return (EAttribute)typeEClass.getEStructuralFeatures().get(9); } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.Type#getAnyAttribute Any Attribute}'. * * * @return the meta object for the attribute list 'Any Attribute'. * @see org.apache.tuscany.sdo.model.Type#getAnyAttribute() * @see #getType() * @generated */ public EAttribute getType_AnyAttribute() { return (EAttribute)typeEClass.getEStructuralFeatures().get(10); } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.Types Types}'. * * * @return the meta object for class 'Types'. * @see org.apache.tuscany.sdo.model.Types * @generated */ public EClass getTypes() { return typesEClass; } /** * Returns the meta object for the containment reference list '{@link org.apache.tuscany.sdo.model.Types#getType Type}'. * * * @return the meta object for the containment reference list 'Type'. * @see org.apache.tuscany.sdo.model.Types#getType() * @see #getTypes() * @generated */ public EReference getTypes_Type() { return (EReference)typesEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for class '{@link org.apache.tuscany.sdo.model.XSDType XSD Type}'. * * * @return the meta object for class 'XSD Type'. * @see org.apache.tuscany.sdo.model.XSDType * @generated */ public EClass getXSDType() { return xsdTypeEClass; } /** * Returns the meta object for the attribute list '{@link org.apache.tuscany.sdo.model.XSDType#getAny Any}'. * * * @return the meta object for the attribute list 'Any'. * @see org.apache.tuscany.sdo.model.XSDType#getAny() * @see #getXSDType() * @generated */ public EAttribute getXSDType_Any() { return (EAttribute)xsdTypeEClass.getEStructuralFeatures().get(0); } /** * Returns the meta object for data type 'Boolean'. * * * @return the meta object for data type 'Boolean'. * @generated */ public EDataType getBoolean() { return booleanEDataType; } /** * Returns the meta object for data type '{@link java.lang.Boolean Boolean Object}'. * * * @return the meta object for data type 'Boolean Object'. * @see java.lang.Boolean * @generated */ public EDataType getBooleanObject() { return booleanObjectEDataType; } /** * Returns the meta object for data type 'Byte'. * * * @return the meta object for data type 'Byte'. * @generated */ public EDataType getByte() { return byteEDataType; } /** * Returns the meta object for data type '{@link java.lang.Byte Byte Object}'. * * * @return the meta object for data type 'Byte Object'. * @see java.lang.Byte * @generated */ public EDataType getByteObject() { return byteObjectEDataType; } /** * Returns the meta object for data type 'Bytes'. * * * @return the meta object for data type 'Bytes'. * @generated */ public EDataType getBytes() { return bytesEDataType; } /** * Returns the meta object for data type 'Character'. * * * @return the meta object for data type 'Character'. * @generated */ public EDataType getCharacter() { return characterEDataType; } /** * Returns the meta object for data type '{@link java.lang.Character Character Object}'. * * * @return the meta object for data type 'Character Object'. * @see java.lang.Character * @generated */ public EDataType getCharacterObject() { return characterObjectEDataType; } /** * Returns the meta object for data type '{@link java.util.Date Date}'. * * * @return the meta object for data type 'Date'. * @see java.util.Date * @generated */ public EDataType getDate() { return dateEDataType; } /** * Returns the meta object for data type '{@link java.lang.String Date Time}'. * * * @return the meta object for data type 'Date Time'. * @see java.lang.String * @generated */ public EDataType getDateTime() { return dateTimeEDataType; } /** * Returns the meta object for data type '{@link java.lang.String Day}'. * * * @return the meta object for data type 'Day'. * @see java.lang.String * @generated */ public EDataType getDay() { return dayEDataType; } /** * Returns the meta object for data type '{@link java.math.BigDecimal Decimal}'. * * * @return the meta object for data type 'Decimal'. * @see java.math.BigDecimal * @generated */ public EDataType getDecimal() { return decimalEDataType; } /** * Returns the meta object for data type 'Double'. * * * @return the meta object for data type 'Double'. * @generated */ public EDataType getDouble() { return doubleEDataType; } /** * Returns the meta object for data type '{@link java.lang.Double Double Object}'. * * * @return the meta object for data type 'Double Object'. * @see java.lang.Double * @generated */ public EDataType getDoubleObject() { return doubleObjectEDataType; } /** * Returns the meta object for data type '{@link java.lang.String Duration}'. * * * @return the meta object for data type 'Duration'. * @see java.lang.String * @generated */ public EDataType getDuration() { return durationEDataType; } /** * Returns the meta object for data type 'Float'. * * * @return the meta object for data type 'Float'. * @generated */ public EDataType getFloat() { return floatEDataType; } /** * Returns the meta object for data type '{@link java.lang.Float Float Object}'. * * * @return the meta object for data type 'Float Object'. * @see java.lang.Float * @generated */ public EDataType getFloatObject() { return floatObjectEDataType; } /** * Returns the meta object for data type 'Int'. * * * @return the meta object for data type 'Int'. * @generated */ public EDataType getInt() { return intEDataType; } /** * Returns the meta object for data type '{@link java.math.BigInteger Integer}'. * * * @return the meta object for data type 'Integer'. * @see java.math.BigInteger * @generated */ public EDataType getInteger() { return integerEDataType; } /** * Returns the meta object for data type '{@link java.lang.Integer Int Object}'. * * * @return the meta object for data type 'Int Object'. * @see java.lang.Integer * @generated */ public EDataType getIntObject() { return intObjectEDataType; } /** * Returns the meta object for data type 'Long'. * * * @return the meta object for data type 'Long'. * @generated */ public EDataType getLong() { return longEDataType; } /** * Returns the meta object for data type '{@link java.lang.Long Long Object}'. * * * @return the meta object for data type 'Long Object'. * @see java.lang.Long * @generated */ public EDataType getLongObject() { return longObjectEDataType; } /** * Returns the meta object for data type '{@link java.lang.String Month}'. * * * @return the meta object for data type 'Month'. * @see java.lang.String * @generated */ public EDataType getMonth() { return monthEDataType; } /** * Returns the meta object for data type '{@link java.lang.String Month Day}'. * * * @return the meta object for data type 'Month Day'. * @see java.lang.String * @generated */ public EDataType getMonthDay() { return monthDayEDataType; } /** * Returns the meta object for data type '{@link java.lang.Object Object}'. * * * @return the meta object for data type 'Object'. * @see java.lang.Object * @generated */ public EDataType getObject() { return objectEDataType; } /** * Returns the meta object for data type 'Short'. * * * @return the meta object for data type 'Short'. * @generated */ public EDataType getShort() { return shortEDataType; } /** * Returns the meta object for data type '{@link java.lang.Short Short Object}'. * * * @return the meta object for data type 'Short Object'. * @see java.lang.Short * @generated */ public EDataType getShortObject() { return shortObjectEDataType; } /** * Returns the meta object for data type '{@link java.lang.String String}'. * * * @return the meta object for data type 'String'. * @see java.lang.String * @generated */ public EDataType getString() { return stringEDataType; } /** * Returns the meta object for data type '{@link java.util.List Strings}'. * * * @return the meta object for data type 'Strings'. * @see java.util.List * @generated */ public EDataType getStrings() { return stringsEDataType; } /** * Returns the meta object for data type '{@link java.lang.String Time}'. * * * @return the meta object for data type 'Time'. * @see java.lang.String * @generated */ public EDataType getTime() { return timeEDataType; } /** * Returns the meta object for data type '{@link java.lang.String URI}'. * * * @return the meta object for data type 'URI'. * @see java.lang.String * @generated */ public EDataType getURI() { return uriEDataType; } /** * Returns the meta object for data type '{@link java.lang.String Year}'. * * * @return the meta object for data type 'Year'. * @see java.lang.String * @generated */ public EDataType getYear() { return yearEDataType; } /** * Returns the meta object for data type '{@link java.lang.String Year Month}'. * * * @return the meta object for data type 'Year Month'. * @see java.lang.String * @generated */ public EDataType getYearMonth() { return yearMonthEDataType; } /** * Returns the meta object for data type '{@link java.lang.String Year Month Day}'. * * * @return the meta object for data type 'Year Month Day'. * @see java.lang.String * @generated */ public EDataType getYearMonthDay() { return yearMonthDayEDataType; } /** * Returns the factory that creates the instances of the model. * * * @return the factory that creates the instances of the model. * @generated */ public ModelFactory getModelFactory() { return (ModelFactory)getEFactoryInstance(); } /** * * * @generated */ private boolean isCreated = false; /** * Creates the meta-model objects for the package. This method is * guarded to have no affect on any invocation but its first. * * * @generated */ public void createPackageContents() { if (isCreated) return; isCreated = true; // Create classes and their features baseDataGraphTypeEClass = createEClass(BASE_DATA_GRAPH_TYPE); createEReference(baseDataGraphTypeEClass, BASE_DATA_GRAPH_TYPE__MODELS); createEReference(baseDataGraphTypeEClass, BASE_DATA_GRAPH_TYPE__XSD); createEReference(baseDataGraphTypeEClass, BASE_DATA_GRAPH_TYPE__CHANGE_SUMMARY); createEAttribute(baseDataGraphTypeEClass, BASE_DATA_GRAPH_TYPE__ANY_ATTRIBUTE); changeSummaryTypeEClass = createEClass(CHANGE_SUMMARY_TYPE); createEAttribute(changeSummaryTypeEClass, CHANGE_SUMMARY_TYPE__ANY); createEAttribute(changeSummaryTypeEClass, CHANGE_SUMMARY_TYPE__CREATE); createEAttribute(changeSummaryTypeEClass, CHANGE_SUMMARY_TYPE__DELETE); createEAttribute(changeSummaryTypeEClass, CHANGE_SUMMARY_TYPE__LOGGING); dataGraphTypeEClass = createEClass(DATA_GRAPH_TYPE); createEAttribute(dataGraphTypeEClass, DATA_GRAPH_TYPE__ANY); dataObjectEClass = createEClass(DATA_OBJECT); documentRootEClass = createEClass(DOCUMENT_ROOT); createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED); createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP); createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); createEReference(documentRootEClass, DOCUMENT_ROOT__DATAGRAPH); createEReference(documentRootEClass, DOCUMENT_ROOT__DATA_OBJECT); createEReference(documentRootEClass, DOCUMENT_ROOT__TYPE); createEReference(documentRootEClass, DOCUMENT_ROOT__TYPES); createEAttribute(documentRootEClass, DOCUMENT_ROOT__REF); modelsTypeEClass = createEClass(MODELS_TYPE); createEAttribute(modelsTypeEClass, MODELS_TYPE__ANY); propertyEClass = createEClass(PROPERTY); createEAttribute(propertyEClass, PROPERTY__ALIAS_NAME); createEAttribute(propertyEClass, PROPERTY__ANY); createEAttribute(propertyEClass, PROPERTY__CONTAINMENT); createEAttribute(propertyEClass, PROPERTY__DEFAULT); createEAttribute(propertyEClass, PROPERTY__MANY); createEAttribute(propertyEClass, PROPERTY__NAME); createEReference(propertyEClass, PROPERTY__OPPOSITE); createEAttribute(propertyEClass, PROPERTY__READ_ONLY); createEReference(propertyEClass, PROPERTY__TYPE); createEAttribute(propertyEClass, PROPERTY__ANY_ATTRIBUTE); textTypeEClass = createEClass(TEXT_TYPE); createEAttribute(textTypeEClass, TEXT_TYPE__TEXT); typeEClass = createEClass(TYPE); createEReference(typeEClass, TYPE__BASE_TYPE); createEReference(typeEClass, TYPE__PROPERTY); createEAttribute(typeEClass, TYPE__ALIAS_NAME); createEAttribute(typeEClass, TYPE__ANY); createEAttribute(typeEClass, TYPE__ABSTRACT); createEAttribute(typeEClass, TYPE__DATA_TYPE); createEAttribute(typeEClass, TYPE__NAME); createEAttribute(typeEClass, TYPE__OPEN); createEAttribute(typeEClass, TYPE__SEQUENCED); createEAttribute(typeEClass, TYPE__URI); createEAttribute(typeEClass, TYPE__ANY_ATTRIBUTE); typesEClass = createEClass(TYPES); createEReference(typesEClass, TYPES__TYPE); xsdTypeEClass = createEClass(XSD_TYPE); createEAttribute(xsdTypeEClass, XSD_TYPE__ANY); // Create data types booleanEDataType = createEDataType(BOOLEAN); booleanObjectEDataType = createEDataType(BOOLEAN_OBJECT); byteEDataType = createEDataType(BYTE); byteObjectEDataType = createEDataType(BYTE_OBJECT); bytesEDataType = createEDataType(BYTES); characterEDataType = createEDataType(CHARACTER); characterObjectEDataType = createEDataType(CHARACTER_OBJECT); dateEDataType = createEDataType(DATE); dateTimeEDataType = createEDataType(DATE_TIME); dayEDataType = createEDataType(DAY); decimalEDataType = createEDataType(DECIMAL); doubleEDataType = createEDataType(DOUBLE); doubleObjectEDataType = createEDataType(DOUBLE_OBJECT); durationEDataType = createEDataType(DURATION); floatEDataType = createEDataType(FLOAT); floatObjectEDataType = createEDataType(FLOAT_OBJECT); intEDataType = createEDataType(INT); integerEDataType = createEDataType(INTEGER); intObjectEDataType = createEDataType(INT_OBJECT); longEDataType = createEDataType(LONG); longObjectEDataType = createEDataType(LONG_OBJECT); monthEDataType = createEDataType(MONTH); monthDayEDataType = createEDataType(MONTH_DAY); objectEDataType = createEDataType(OBJECT); shortEDataType = createEDataType(SHORT); shortObjectEDataType = createEDataType(SHORT_OBJECT); stringEDataType = createEDataType(STRING); stringsEDataType = createEDataType(STRINGS); timeEDataType = createEDataType(TIME); uriEDataType = createEDataType(URI); yearEDataType = createEDataType(YEAR); yearMonthEDataType = createEDataType(YEAR_MONTH); yearMonthDayEDataType = createEDataType(YEAR_MONTH_DAY); } /** * * * @generated */ private boolean isInitialized = false; /** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * * * @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); // Add supertypes to classes dataGraphTypeEClass.getESuperTypes().add(this.getBaseDataGraphType()); // Initialize classes and features; add operations and parameters initEClass(baseDataGraphTypeEClass, BaseDataGraphType.class, "BaseDataGraphType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getBaseDataGraphType_Models(), this.getModelsType(), null, "models", null, 0, 1, BaseDataGraphType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getBaseDataGraphType_Xsd(), this.getXSDType(), null, "xsd", null, 0, 1, BaseDataGraphType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getBaseDataGraphType_ChangeSummary(), this.getChangeSummaryType(), null, "changeSummary", null, 0, 1, BaseDataGraphType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBaseDataGraphType_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, BaseDataGraphType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(changeSummaryTypeEClass, ChangeSummaryType.class, "ChangeSummaryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getChangeSummaryType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, ChangeSummaryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChangeSummaryType_Create(), theXMLTypePackage.getString(), "create", null, 0, 1, ChangeSummaryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChangeSummaryType_Delete(), theXMLTypePackage.getString(), "delete", null, 0, 1, ChangeSummaryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChangeSummaryType_Logging(), theXMLTypePackage.getBoolean(), "logging", null, 0, 1, ChangeSummaryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dataGraphTypeEClass, DataGraphType.class, "DataGraphType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDataGraphType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, 1, DataGraphType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dataObjectEClass, DataObject.class, "DataObject", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(documentRootEClass, null, "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_Datagraph(), this.getDataGraphType(), null, "datagraph", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_DataObject(), ecorePackage.getEObject(), null, "dataObject", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_Type(), this.getType(), null, "type", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_Types(), this.getTypes(), null, "types", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); initEAttribute(getDocumentRoot_Ref(), theXMLTypePackage.getString(), "ref", null, 0, 1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(modelsTypeEClass, ModelsType.class, "ModelsType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getModelsType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, ModelsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(propertyEClass, Property.class, "Property", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getProperty_AliasName(), this.getString(), "aliasName", null, 0, -1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getProperty_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getProperty_Containment(), this.getBoolean(), "containment", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getProperty_Default(), this.getString(), "default", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getProperty_Many(), this.getBoolean(), "many", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getProperty_Name(), this.getString(), "name", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getProperty_Opposite(), this.getProperty(), null, "opposite", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getProperty_ReadOnly(), this.getBoolean(), "readOnly", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getProperty_Type(), this.getType(), null, "type", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getProperty_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(textTypeEClass, TextType.class, "TextType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTextType_Text(), theXMLTypePackage.getString(), "text", null, 0, -1, TextType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(typeEClass, Type.class, "Type", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getType_BaseType(), this.getType(), null, "baseType", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getType_Property(), this.getProperty(), null, "property", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getType_AliasName(), this.getString(), "aliasName", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getType_Abstract(), this.getBoolean(), "abstract", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getType_DataType(), this.getBoolean(), "dataType", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getType_Name(), theXMLTypePackage.getID(), "name", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getType_Open(), this.getBoolean(), "open", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getType_Sequenced(), this.getBoolean(), "sequenced", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getType_Uri(), this.getURI(), "uri", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getType_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(typesEClass, Types.class, "Types", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getTypes_Type(), this.getType(), null, "type", null, 0, -1, Types.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(xsdTypeEClass, XSDType.class, "XSDType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getXSDType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, XSDType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize data types initEDataType(booleanEDataType, boolean.class, "Boolean", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(booleanObjectEDataType, Boolean.class, "BooleanObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(byteEDataType, byte.class, "Byte", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(byteObjectEDataType, Byte.class, "ByteObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(bytesEDataType, byte[].class, "Bytes", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(characterEDataType, char.class, "Character", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(characterObjectEDataType, Character.class, "CharacterObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(dateEDataType, Date.class, "Date", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(dateTimeEDataType, String.class, "DateTime", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(dayEDataType, String.class, "Day", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(decimalEDataType, BigDecimal.class, "Decimal", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(doubleEDataType, double.class, "Double", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(doubleObjectEDataType, Double.class, "DoubleObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(durationEDataType, String.class, "Duration", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(floatEDataType, float.class, "Float", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(floatObjectEDataType, Float.class, "FloatObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(intEDataType, int.class, "Int", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(integerEDataType, BigInteger.class, "Integer", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(intObjectEDataType, Integer.class, "IntObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(longEDataType, long.class, "Long", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(longObjectEDataType, Long.class, "LongObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(monthEDataType, String.class, "Month", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(monthDayEDataType, String.class, "MonthDay", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(objectEDataType, Object.class, "Object", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(shortEDataType, short.class, "Short", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(shortObjectEDataType, Short.class, "ShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(stringEDataType, String.class, "String", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(stringsEDataType, List.class, "Strings", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(timeEDataType, String.class, "Time", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(uriEDataType, String.class, "URI", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(yearEDataType, String.class, "Year", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(yearMonthEDataType, String.class, "YearMonth", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(yearMonthDayEDataType, String.class, "YearMonthDay", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); // Create resource createResource(eNS_URI); // Create annotations // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); } /** * Initializes the annotations for http:///org/eclipse/emf/ecore/util/ExtendedMetaData. * * * @generated */ protected void createExtendedMetaDataAnnotations() { String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; addAnnotation (baseDataGraphTypeEClass, source, new String[] { "name", "BaseDataGraphType", "kind", "elementOnly" }); addAnnotation (getBaseDataGraphType_Models(), source, new String[] { "kind", "element", "name", "models" }); addAnnotation (getBaseDataGraphType_Xsd(), source, new String[] { "kind", "element", "name", "xsd" }); addAnnotation (getBaseDataGraphType_ChangeSummary(), source, new String[] { "kind", "element", "name", "changeSummary" }); addAnnotation (getBaseDataGraphType_AnyAttribute(), source, new String[] { "kind", "attributeWildcard", "wildcards", "##other", "name", ":3", "processing", "lax" }); addAnnotation (booleanEDataType, source, new String[] { "name", "Boolean" }); addAnnotation (booleanObjectEDataType, source, new String[] { "name", "Boolean:Object", "baseType", "Boolean" }); addAnnotation (byteEDataType, source, new String[] { "name", "Byte" }); addAnnotation (byteObjectEDataType, source, new String[] { "name", "Byte:Object", "baseType", "Byte" }); addAnnotation (bytesEDataType, source, new String[] { "name", "Bytes" }); addAnnotation (changeSummaryTypeEClass, source, new String[] { "name", "ChangeSummaryType", "kind", "elementOnly" }); addAnnotation (getChangeSummaryType_Any(), source, new String[] { "kind", "elementWildcard", "wildcards", "##any", "name", ":0", "processing", "lax" }); addAnnotation (getChangeSummaryType_Create(), source, new String[] { "kind", "attribute", "name", "create" }); addAnnotation (getChangeSummaryType_Delete(), source, new String[] { "kind", "attribute", "name", "delete" }); addAnnotation (getChangeSummaryType_Logging(), source, new String[] { "kind", "attribute", "name", "logging" }); addAnnotation (characterEDataType, source, new String[] { "name", "Character" }); addAnnotation (characterObjectEDataType, source, new String[] { "name", "Character:Object", "baseType", "Character" }); addAnnotation (dataGraphTypeEClass, source, new String[] { "name", "DataGraphType", "kind", "elementOnly" }); addAnnotation (getDataGraphType_Any(), source, new String[] { "kind", "elementWildcard", "wildcards", "##other", "name", ":4", "processing", "lax" }); addAnnotation (dataObjectEClass, source, new String[] { "name", "DataObject", "kind", "empty" }); addAnnotation (dateEDataType, source, new String[] { "name", "Date" }); addAnnotation (dateTimeEDataType, source, new String[] { "name", "DateTime" }); addAnnotation (dayEDataType, source, new String[] { "name", "Day" }); addAnnotation (decimalEDataType, source, new String[] { "name", "Decimal" }); addAnnotation (documentRootEClass, source, new String[] { "name", "", "kind", "mixed" }); addAnnotation (getDocumentRoot_Mixed(), source, new String[] { "kind", "elementWildcard", "name", ":mixed" }); addAnnotation (getDocumentRoot_XMLNSPrefixMap(), source, new String[] { "kind", "attribute", "name", "xmlns:prefix" }); addAnnotation (getDocumentRoot_XSISchemaLocation(), source, new String[] { "kind", "attribute", "name", "xsi:schemaLocation" }); addAnnotation (getDocumentRoot_Datagraph(), source, new String[] { "kind", "element", "name", "datagraph", "namespace", "##targetNamespace" }); addAnnotation (getDocumentRoot_DataObject(), source, new String[] { "kind", "element", "name", "dataObject", "namespace", "##targetNamespace" }); addAnnotation (getDocumentRoot_Type(), source, new String[] { "kind", "element", "name", "type", "namespace", "##targetNamespace" }); addAnnotation (getDocumentRoot_Types(), source, new String[] { "kind", "element", "name", "types", "namespace", "##targetNamespace" }); addAnnotation (getDocumentRoot_Ref(), source, new String[] { "kind", "attribute", "name", "ref", "namespace", "##targetNamespace" }); addAnnotation (doubleEDataType, source, new String[] { "name", "Double" }); addAnnotation (doubleObjectEDataType, source, new String[] { "name", "Double:Object", "baseType", "Double" }); addAnnotation (durationEDataType, source, new String[] { "name", "Duration" }); addAnnotation (floatEDataType, source, new String[] { "name", "Float" }); addAnnotation (floatObjectEDataType, source, new String[] { "name", "Float:Object", "baseType", "Float" }); addAnnotation (intEDataType, source, new String[] { "name", "Int" }); addAnnotation (integerEDataType, source, new String[] { "name", "Integer" }); addAnnotation (intObjectEDataType, source, new String[] { "name", "Int:Object", "baseType", "Int" }); addAnnotation (longEDataType, source, new String[] { "name", "Long" }); addAnnotation (longObjectEDataType, source, new String[] { "name", "Long:Object", "baseType", "Long" }); addAnnotation (modelsTypeEClass, source, new String[] { "name", "ModelsType", "kind", "elementOnly" }); addAnnotation (getModelsType_Any(), source, new String[] { "kind", "elementWildcard", "wildcards", "##other", "name", ":0", "processing", "lax" }); addAnnotation (monthEDataType, source, new String[] { "name", "Month" }); addAnnotation (monthDayEDataType, source, new String[] { "name", "MonthDay" }); addAnnotation (objectEDataType, source, new String[] { "name", "Object" }); addAnnotation (propertyEClass, source, new String[] { "name", "Property", "kind", "elementOnly" }); addAnnotation (getProperty_AliasName(), source, new String[] { "kind", "element", "name", "aliasName", "namespace", "##targetNamespace" }); addAnnotation (getProperty_Any(), source, new String[] { "kind", "elementWildcard", "wildcards", "##other", "name", ":1", "processing", "lax" }); addAnnotation (getProperty_Containment(), source, new String[] { "kind", "attribute", "name", "containment" }); addAnnotation (getProperty_Default(), source, new String[] { "kind", "attribute", "name", "default" }); addAnnotation (getProperty_Many(), source, new String[] { "kind", "attribute", "name", "many" }); addAnnotation (getProperty_Name(), source, new String[] { "kind", "attribute", "name", "name" }); addAnnotation (getProperty_Opposite(), source, new String[] { "kind", "attribute", "name", "opposite" }); addAnnotation (getProperty_ReadOnly(), source, new String[] { "kind", "attribute", "name", "readOnly" }); addAnnotation (getProperty_Type(), source, new String[] { "kind", "attribute", "name", "type" }); addAnnotation (getProperty_AnyAttribute(), source, new String[] { "kind", "attributeWildcard", "wildcards", "##any", "name", ":9", "processing", "lax" }); addAnnotation (shortEDataType, source, new String[] { "name", "Short" }); addAnnotation (shortObjectEDataType, source, new String[] { "name", "Short:Object", "baseType", "Short" }); addAnnotation (stringEDataType, source, new String[] { "name", "String" }); addAnnotation (stringsEDataType, source, new String[] { "name", "Strings" }); addAnnotation (textTypeEClass, source, new String[] { "name", "TextType", "kind", "elementOnly" }); addAnnotation (getTextType_Text(), source, new String[] { "kind", "element", "name", "text", "namespace", "##targetNamespace" }); addAnnotation (timeEDataType, source, new String[] { "name", "Time" }); addAnnotation (typeEClass, source, new String[] { "name", "Type", "kind", "elementOnly" }); addAnnotation (getType_BaseType(), source, new String[] { "kind", "element", "name", "baseType", "namespace", "##targetNamespace" }); addAnnotation (getType_Property(), source, new String[] { "kind", "element", "name", "property", "namespace", "##targetNamespace" }); addAnnotation (getType_AliasName(), source, new String[] { "kind", "element", "name", "aliasName", "namespace", "##targetNamespace" }); addAnnotation (getType_Any(), source, new String[] { "kind", "elementWildcard", "wildcards", "##other", "name", ":3", "processing", "lax" }); addAnnotation (getType_Abstract(), source, new String[] { "kind", "attribute", "name", "abstract" }); addAnnotation (getType_DataType(), source, new String[] { "kind", "attribute", "name", "dataType" }); addAnnotation (getType_Name(), source, new String[] { "kind", "attribute", "name", "name" }); addAnnotation (getType_Open(), source, new String[] { "kind", "attribute", "name", "open" }); addAnnotation (getType_Sequenced(), source, new String[] { "kind", "attribute", "name", "sequenced" }); addAnnotation (getType_Uri(), source, new String[] { "kind", "attribute", "name", "uri" }); addAnnotation (getType_AnyAttribute(), source, new String[] { "kind", "attributeWildcard", "wildcards", "##any", "name", ":10", "processing", "lax" }); addAnnotation (typesEClass, source, new String[] { "name", "Types", "kind", "elementOnly" }); addAnnotation (getTypes_Type(), source, new String[] { "kind", "element", "name", "type", "namespace", "##targetNamespace" }); addAnnotation (uriEDataType, source, new String[] { "name", "URI" }); addAnnotation (xsdTypeEClass, source, new String[] { "name", "XSDType", "kind", "elementOnly" }); addAnnotation (getXSDType_Any(), source, new String[] { "kind", "elementWildcard", "wildcards", "http://www.w3.org/2001/XMLSchema", "name", ":0", "processing", "lax" }); addAnnotation (yearEDataType, source, new String[] { "name", "Year" }); addAnnotation (yearMonthEDataType, source, new String[] { "name", "YearMonth" }); addAnnotation (yearMonthDayEDataType, source, new String[] { "name", "YearMonthDay" }); } /** * * Defines literals for the meta objects that represent *