/** | |
* ******************************************************************************* | |
* Copyright (c) 2008 Hatha Systems. | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* | |
* Contributors: | |
* Nikolai Mansourov (Hatha Systems) - initial API and implementation | |
* ******************************************************************************* | |
* | |
* $Id$ | |
*/ | |
package org.eclipse.gmt.modisco.omg.kdm.data.impl; | |
import org.eclipse.emf.ecore.EAttribute; | |
import org.eclipse.emf.ecore.EClass; | |
import org.eclipse.emf.ecore.EPackage; | |
import org.eclipse.emf.ecore.EReference; | |
import org.eclipse.emf.ecore.impl.EPackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.action.ActionPackage; | |
import org.eclipse.gmt.modisco.omg.kdm.action.impl.ActionPackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.build.BuildPackage; | |
import org.eclipse.gmt.modisco.omg.kdm.build.impl.BuildPackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.code.CodePackage; | |
import org.eclipse.gmt.modisco.omg.kdm.code.impl.CodePackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.conceptual.ConceptualPackage; | |
import org.eclipse.gmt.modisco.omg.kdm.conceptual.impl.ConceptualPackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.core.CorePackage; | |
import org.eclipse.gmt.modisco.omg.kdm.core.impl.CorePackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.data.AbstractContentElement; | |
import org.eclipse.gmt.modisco.omg.kdm.data.AbstractDataElement; | |
import org.eclipse.gmt.modisco.omg.kdm.data.AbstractDataRelationship; | |
import org.eclipse.gmt.modisco.omg.kdm.data.AllContent; | |
import org.eclipse.gmt.modisco.omg.kdm.data.Catalog; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ChoiceContent; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ColumnSet; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ComplexContentType; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ContentAttribute; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ContentElement; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ContentItem; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ContentReference; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ContentRestriction; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DataAction; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DataContainer; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DataEvent; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DataFactory; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DataModel; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DataPackage; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DataRelationship; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DataResource; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DataSegment; | |
import org.eclipse.gmt.modisco.omg.kdm.data.DatatypeOf; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ExtendedDataElement; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ExtensionTo; | |
import org.eclipse.gmt.modisco.omg.kdm.data.GroupContent; | |
import org.eclipse.gmt.modisco.omg.kdm.data.HasContent; | |
import org.eclipse.gmt.modisco.omg.kdm.data.Index; | |
import org.eclipse.gmt.modisco.omg.kdm.data.IndexElement; | |
import org.eclipse.gmt.modisco.omg.kdm.data.KeyRelation; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ManagesData; | |
import org.eclipse.gmt.modisco.omg.kdm.data.MixedContent; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ProducesDataEvent; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ReadsColumnSet; | |
import org.eclipse.gmt.modisco.omg.kdm.data.RecordFile; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ReferenceKey; | |
import org.eclipse.gmt.modisco.omg.kdm.data.ReferenceTo; | |
import org.eclipse.gmt.modisco.omg.kdm.data.RelationalSchema; | |
import org.eclipse.gmt.modisco.omg.kdm.data.RelationalTable; | |
import org.eclipse.gmt.modisco.omg.kdm.data.RelationalView; | |
import org.eclipse.gmt.modisco.omg.kdm.data.RestrictionOf; | |
import org.eclipse.gmt.modisco.omg.kdm.data.SeqContent; | |
import org.eclipse.gmt.modisco.omg.kdm.data.SimpleContentType; | |
import org.eclipse.gmt.modisco.omg.kdm.data.TypedBy; | |
import org.eclipse.gmt.modisco.omg.kdm.data.UniqueKey; | |
import org.eclipse.gmt.modisco.omg.kdm.data.WritesColumnSet; | |
import org.eclipse.gmt.modisco.omg.kdm.data.XMLSchema; | |
import org.eclipse.gmt.modisco.omg.kdm.event.EventPackage; | |
import org.eclipse.gmt.modisco.omg.kdm.event.impl.EventPackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.kdm.KdmPackage; | |
import org.eclipse.gmt.modisco.omg.kdm.kdm.impl.KdmPackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.platform.PlatformPackage; | |
import org.eclipse.gmt.modisco.omg.kdm.platform.impl.PlatformPackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.source.SourcePackage; | |
import org.eclipse.gmt.modisco.omg.kdm.source.impl.SourcePackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.structure.StructurePackage; | |
import org.eclipse.gmt.modisco.omg.kdm.structure.impl.StructurePackageImpl; | |
import org.eclipse.gmt.modisco.omg.kdm.ui.UiPackage; | |
import org.eclipse.gmt.modisco.omg.kdm.ui.impl.UiPackageImpl; | |
/** | |
* <!-- begin-user-doc --> | |
* An implementation of the model <b>Package</b>. | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public class DataPackageImpl extends EPackageImpl implements DataPackage { | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataModelEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass abstractDataElementEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataResourceEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass indexElementEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass uniqueKeyEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass indexEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass abstractDataRelationshipEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass keyRelationEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass referenceKeyEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataContainerEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass catalogEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass relationalSchemaEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass columnSetEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass relationalTableEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass relationalViewEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass recordFileEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataEventEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass xmlSchemaEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass abstractContentElementEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass complexContentTypeEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass allContentEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass seqContentEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass choiceContentEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass contentItemEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass groupContentEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass contentRestrictionEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass simpleContentTypeEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass extendedDataElementEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataRelationshipEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass mixedContentEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass contentReferenceEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataActionEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass readsColumnSetEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass contentAttributeEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass typedByEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass referenceToEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass restrictionOfEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass extensionToEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass datatypeOfEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass hasContentEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass writesColumnSetEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass producesDataEventEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass dataSegmentEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass contentElementEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass managesDataEClass = null; | |
/** | |
* Creates an instance of the model <b>Package</b>, registered with | |
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | |
* package URI value. | |
* <p>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. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see org.eclipse.emf.ecore.EPackage.Registry | |
* @see org.eclipse.gmt.modisco.omg.kdm.data.DataPackage#eNS_URI | |
* @see #init() | |
* @generated | |
*/ | |
private DataPackageImpl() { | |
super(eNS_URI, DataFactory.eINSTANCE); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private static boolean isInited = false; | |
/** | |
* 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 DataPackage#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 DataPackage init() { | |
if (isInited) return (DataPackage)EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI); | |
// Obtain or create and register package | |
DataPackageImpl theDataPackage = (DataPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DataPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DataPackageImpl()); | |
isInited = true; | |
// Obtain or create and register interdependencies | |
CorePackageImpl theCorePackage = (CorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) instanceof CorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) : CorePackage.eINSTANCE); | |
KdmPackageImpl theKdmPackage = (KdmPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(KdmPackage.eNS_URI) instanceof KdmPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(KdmPackage.eNS_URI) : KdmPackage.eINSTANCE); | |
SourcePackageImpl theSourcePackage = (SourcePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SourcePackage.eNS_URI) instanceof SourcePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SourcePackage.eNS_URI) : SourcePackage.eINSTANCE); | |
CodePackageImpl theCodePackage = (CodePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CodePackage.eNS_URI) instanceof CodePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CodePackage.eNS_URI) : CodePackage.eINSTANCE); | |
ActionPackageImpl theActionPackage = (ActionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActionPackage.eNS_URI) instanceof ActionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActionPackage.eNS_URI) : ActionPackage.eINSTANCE); | |
PlatformPackageImpl thePlatformPackage = (PlatformPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PlatformPackage.eNS_URI) instanceof PlatformPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PlatformPackage.eNS_URI) : PlatformPackage.eINSTANCE); | |
BuildPackageImpl theBuildPackage = (BuildPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BuildPackage.eNS_URI) instanceof BuildPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BuildPackage.eNS_URI) : BuildPackage.eINSTANCE); | |
ConceptualPackageImpl theConceptualPackage = (ConceptualPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConceptualPackage.eNS_URI) instanceof ConceptualPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConceptualPackage.eNS_URI) : ConceptualPackage.eINSTANCE); | |
EventPackageImpl theEventPackage = (EventPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventPackage.eNS_URI) instanceof EventPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventPackage.eNS_URI) : EventPackage.eINSTANCE); | |
StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE); | |
UiPackageImpl theUiPackage = (UiPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UiPackage.eNS_URI) instanceof UiPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UiPackage.eNS_URI) : UiPackage.eINSTANCE); | |
// Create package meta-data objects | |
theDataPackage.createPackageContents(); | |
theCorePackage.createPackageContents(); | |
theKdmPackage.createPackageContents(); | |
theSourcePackage.createPackageContents(); | |
theCodePackage.createPackageContents(); | |
theActionPackage.createPackageContents(); | |
thePlatformPackage.createPackageContents(); | |
theBuildPackage.createPackageContents(); | |
theConceptualPackage.createPackageContents(); | |
theEventPackage.createPackageContents(); | |
theStructurePackage.createPackageContents(); | |
theUiPackage.createPackageContents(); | |
// Initialize created meta-data | |
theDataPackage.initializePackageContents(); | |
theCorePackage.initializePackageContents(); | |
theKdmPackage.initializePackageContents(); | |
theSourcePackage.initializePackageContents(); | |
theCodePackage.initializePackageContents(); | |
theActionPackage.initializePackageContents(); | |
thePlatformPackage.initializePackageContents(); | |
theBuildPackage.initializePackageContents(); | |
theConceptualPackage.initializePackageContents(); | |
theEventPackage.initializePackageContents(); | |
theStructurePackage.initializePackageContents(); | |
theUiPackage.initializePackageContents(); | |
// Mark meta-data to indicate it can't be changed | |
theDataPackage.freeze(); | |
// Update the registry and return the package | |
EPackage.Registry.INSTANCE.put(DataPackage.eNS_URI, theDataPackage); | |
return theDataPackage; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getDataModel() { | |
return dataModelEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getDataModel_DataElement() { | |
return (EReference)dataModelEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getAbstractDataElement() { | |
return abstractDataElementEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getAbstractDataElement_Source() { | |
return (EReference)abstractDataElementEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getAbstractDataElement_DataRelation() { | |
return (EReference)abstractDataElementEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getAbstractDataElement_Abstraction() { | |
return (EReference)abstractDataElementEClass.getEStructuralFeatures().get(2); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getDataResource() { | |
return dataResourceEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getIndexElement() { | |
return indexElementEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getIndexElement_Implementation() { | |
return (EReference)indexElementEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getUniqueKey() { | |
return uniqueKeyEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getIndex() { | |
return indexEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getAbstractDataRelationship() { | |
return abstractDataRelationshipEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getKeyRelation() { | |
return keyRelationEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getKeyRelation_To() { | |
return (EReference)keyRelationEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getKeyRelation_From() { | |
return (EReference)keyRelationEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getReferenceKey() { | |
return referenceKeyEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getDataContainer() { | |
return dataContainerEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getDataContainer_DataElement() { | |
return (EReference)dataContainerEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getCatalog() { | |
return catalogEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getRelationalSchema() { | |
return relationalSchemaEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getRelationalSchema_CodeElement() { | |
return (EReference)relationalSchemaEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getColumnSet() { | |
return columnSetEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getColumnSet_ItemUnit() { | |
return (EReference)columnSetEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getRelationalTable() { | |
return relationalTableEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getRelationalView() { | |
return relationalViewEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getRecordFile() { | |
return recordFileEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getDataEvent() { | |
return dataEventEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getDataEvent_Kind() { | |
return (EAttribute)dataEventEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getXMLSchema() { | |
return xmlSchemaEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getXMLSchema_ContentElement() { | |
return (EReference)xmlSchemaEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getAbstractContentElement() { | |
return abstractContentElementEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getComplexContentType() { | |
return complexContentTypeEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getComplexContentType_ContentElement() { | |
return (EReference)complexContentTypeEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getAllContent() { | |
return allContentEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getSeqContent() { | |
return seqContentEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getChoiceContent() { | |
return choiceContentEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getContentItem() { | |
return contentItemEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getContentItem_Type() { | |
return (EReference)contentItemEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getContentItem_ContentElement() { | |
return (EReference)contentItemEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getGroupContent() { | |
return groupContentEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getContentRestriction() { | |
return contentRestrictionEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getContentRestriction_Kind() { | |
return (EAttribute)contentRestrictionEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getContentRestriction_Value() { | |
return (EAttribute)contentRestrictionEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getSimpleContentType() { | |
return simpleContentTypeEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getSimpleContentType_Type() { | |
return (EReference)simpleContentTypeEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getSimpleContentType_Kind() { | |
return (EAttribute)simpleContentTypeEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getExtendedDataElement() { | |
return extendedDataElementEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getDataRelationship() { | |
return dataRelationshipEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getDataRelationship_To() { | |
return (EReference)dataRelationshipEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getDataRelationship_From() { | |
return (EReference)dataRelationshipEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getMixedContent() { | |
return mixedContentEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getContentReference() { | |
return contentReferenceEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getDataAction() { | |
return dataActionEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getDataAction_Kind() { | |
return (EAttribute)dataActionEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getDataAction_Implementation() { | |
return (EReference)dataActionEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getDataAction_DataElement() { | |
return (EReference)dataActionEClass.getEStructuralFeatures().get(2); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getReadsColumnSet() { | |
return readsColumnSetEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getReadsColumnSet_To() { | |
return (EReference)readsColumnSetEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getReadsColumnSet_From() { | |
return (EReference)readsColumnSetEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getContentAttribute() { | |
return contentAttributeEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getTypedBy() { | |
return typedByEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getTypedBy_To() { | |
return (EReference)typedByEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getTypedBy_From() { | |
return (EReference)typedByEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getReferenceTo() { | |
return referenceToEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getReferenceTo_To() { | |
return (EReference)referenceToEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getReferenceTo_From() { | |
return (EReference)referenceToEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getRestrictionOf() { | |
return restrictionOfEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getRestrictionOf_To() { | |
return (EReference)restrictionOfEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getRestrictionOf_From() { | |
return (EReference)restrictionOfEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getExtensionTo() { | |
return extensionToEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getExtensionTo_To() { | |
return (EReference)extensionToEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getExtensionTo_From() { | |
return (EReference)extensionToEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getDatatypeOf() { | |
return datatypeOfEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getDatatypeOf_To() { | |
return (EReference)datatypeOfEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getDatatypeOf_From() { | |
return (EReference)datatypeOfEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getHasContent() { | |
return hasContentEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getHasContent_To() { | |
return (EReference)hasContentEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getHasContent_From() { | |
return (EReference)hasContentEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getWritesColumnSet() { | |
return writesColumnSetEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getWritesColumnSet_To() { | |
return (EReference)writesColumnSetEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getWritesColumnSet_From() { | |
return (EReference)writesColumnSetEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getProducesDataEvent() { | |
return producesDataEventEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getProducesDataEvent_To() { | |
return (EReference)producesDataEventEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getProducesDataEvent_From() { | |
return (EReference)producesDataEventEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getDataSegment() { | |
return dataSegmentEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getContentElement() { | |
return contentElementEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getManagesData() { | |
return managesDataEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getManagesData_To() { | |
return (EReference)managesDataEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getManagesData_From() { | |
return (EReference)managesDataEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public DataFactory getDataFactory() { | |
return (DataFactory)getEFactoryInstance(); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @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. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void createPackageContents() { | |
if (isCreated) return; | |
isCreated = true; | |
// Create classes and their features | |
dataModelEClass = createEClass(DATA_MODEL); | |
createEReference(dataModelEClass, DATA_MODEL__DATA_ELEMENT); | |
abstractDataElementEClass = createEClass(ABSTRACT_DATA_ELEMENT); | |
createEReference(abstractDataElementEClass, ABSTRACT_DATA_ELEMENT__SOURCE); | |
createEReference(abstractDataElementEClass, ABSTRACT_DATA_ELEMENT__DATA_RELATION); | |
createEReference(abstractDataElementEClass, ABSTRACT_DATA_ELEMENT__ABSTRACTION); | |
dataResourceEClass = createEClass(DATA_RESOURCE); | |
indexElementEClass = createEClass(INDEX_ELEMENT); | |
createEReference(indexElementEClass, INDEX_ELEMENT__IMPLEMENTATION); | |
uniqueKeyEClass = createEClass(UNIQUE_KEY); | |
indexEClass = createEClass(INDEX); | |
abstractDataRelationshipEClass = createEClass(ABSTRACT_DATA_RELATIONSHIP); | |
keyRelationEClass = createEClass(KEY_RELATION); | |
createEReference(keyRelationEClass, KEY_RELATION__TO); | |
createEReference(keyRelationEClass, KEY_RELATION__FROM); | |
referenceKeyEClass = createEClass(REFERENCE_KEY); | |
dataContainerEClass = createEClass(DATA_CONTAINER); | |
createEReference(dataContainerEClass, DATA_CONTAINER__DATA_ELEMENT); | |
catalogEClass = createEClass(CATALOG); | |
relationalSchemaEClass = createEClass(RELATIONAL_SCHEMA); | |
createEReference(relationalSchemaEClass, RELATIONAL_SCHEMA__CODE_ELEMENT); | |
columnSetEClass = createEClass(COLUMN_SET); | |
createEReference(columnSetEClass, COLUMN_SET__ITEM_UNIT); | |
relationalTableEClass = createEClass(RELATIONAL_TABLE); | |
relationalViewEClass = createEClass(RELATIONAL_VIEW); | |
recordFileEClass = createEClass(RECORD_FILE); | |
dataEventEClass = createEClass(DATA_EVENT); | |
createEAttribute(dataEventEClass, DATA_EVENT__KIND); | |
xmlSchemaEClass = createEClass(XML_SCHEMA); | |
createEReference(xmlSchemaEClass, XML_SCHEMA__CONTENT_ELEMENT); | |
abstractContentElementEClass = createEClass(ABSTRACT_CONTENT_ELEMENT); | |
complexContentTypeEClass = createEClass(COMPLEX_CONTENT_TYPE); | |
createEReference(complexContentTypeEClass, COMPLEX_CONTENT_TYPE__CONTENT_ELEMENT); | |
allContentEClass = createEClass(ALL_CONTENT); | |
seqContentEClass = createEClass(SEQ_CONTENT); | |
choiceContentEClass = createEClass(CHOICE_CONTENT); | |
contentItemEClass = createEClass(CONTENT_ITEM); | |
createEReference(contentItemEClass, CONTENT_ITEM__TYPE); | |
createEReference(contentItemEClass, CONTENT_ITEM__CONTENT_ELEMENT); | |
groupContentEClass = createEClass(GROUP_CONTENT); | |
contentRestrictionEClass = createEClass(CONTENT_RESTRICTION); | |
createEAttribute(contentRestrictionEClass, CONTENT_RESTRICTION__KIND); | |
createEAttribute(contentRestrictionEClass, CONTENT_RESTRICTION__VALUE); | |
simpleContentTypeEClass = createEClass(SIMPLE_CONTENT_TYPE); | |
createEReference(simpleContentTypeEClass, SIMPLE_CONTENT_TYPE__TYPE); | |
createEAttribute(simpleContentTypeEClass, SIMPLE_CONTENT_TYPE__KIND); | |
extendedDataElementEClass = createEClass(EXTENDED_DATA_ELEMENT); | |
dataRelationshipEClass = createEClass(DATA_RELATIONSHIP); | |
createEReference(dataRelationshipEClass, DATA_RELATIONSHIP__TO); | |
createEReference(dataRelationshipEClass, DATA_RELATIONSHIP__FROM); | |
mixedContentEClass = createEClass(MIXED_CONTENT); | |
contentReferenceEClass = createEClass(CONTENT_REFERENCE); | |
dataActionEClass = createEClass(DATA_ACTION); | |
createEAttribute(dataActionEClass, DATA_ACTION__KIND); | |
createEReference(dataActionEClass, DATA_ACTION__IMPLEMENTATION); | |
createEReference(dataActionEClass, DATA_ACTION__DATA_ELEMENT); | |
readsColumnSetEClass = createEClass(READS_COLUMN_SET); | |
createEReference(readsColumnSetEClass, READS_COLUMN_SET__TO); | |
createEReference(readsColumnSetEClass, READS_COLUMN_SET__FROM); | |
contentAttributeEClass = createEClass(CONTENT_ATTRIBUTE); | |
typedByEClass = createEClass(TYPED_BY); | |
createEReference(typedByEClass, TYPED_BY__TO); | |
createEReference(typedByEClass, TYPED_BY__FROM); | |
referenceToEClass = createEClass(REFERENCE_TO); | |
createEReference(referenceToEClass, REFERENCE_TO__TO); | |
createEReference(referenceToEClass, REFERENCE_TO__FROM); | |
restrictionOfEClass = createEClass(RESTRICTION_OF); | |
createEReference(restrictionOfEClass, RESTRICTION_OF__TO); | |
createEReference(restrictionOfEClass, RESTRICTION_OF__FROM); | |
extensionToEClass = createEClass(EXTENSION_TO); | |
createEReference(extensionToEClass, EXTENSION_TO__TO); | |
createEReference(extensionToEClass, EXTENSION_TO__FROM); | |
datatypeOfEClass = createEClass(DATATYPE_OF); | |
createEReference(datatypeOfEClass, DATATYPE_OF__TO); | |
createEReference(datatypeOfEClass, DATATYPE_OF__FROM); | |
hasContentEClass = createEClass(HAS_CONTENT); | |
createEReference(hasContentEClass, HAS_CONTENT__TO); | |
createEReference(hasContentEClass, HAS_CONTENT__FROM); | |
writesColumnSetEClass = createEClass(WRITES_COLUMN_SET); | |
createEReference(writesColumnSetEClass, WRITES_COLUMN_SET__TO); | |
createEReference(writesColumnSetEClass, WRITES_COLUMN_SET__FROM); | |
producesDataEventEClass = createEClass(PRODUCES_DATA_EVENT); | |
createEReference(producesDataEventEClass, PRODUCES_DATA_EVENT__TO); | |
createEReference(producesDataEventEClass, PRODUCES_DATA_EVENT__FROM); | |
dataSegmentEClass = createEClass(DATA_SEGMENT); | |
contentElementEClass = createEClass(CONTENT_ELEMENT); | |
managesDataEClass = createEClass(MANAGES_DATA); | |
createEReference(managesDataEClass, MANAGES_DATA__TO); | |
createEReference(managesDataEClass, MANAGES_DATA__FROM); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @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. | |
* <!-- 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 | |
KdmPackage theKdmPackage = (KdmPackage)EPackage.Registry.INSTANCE.getEPackage(KdmPackage.eNS_URI); | |
CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI); | |
SourcePackage theSourcePackage = (SourcePackage)EPackage.Registry.INSTANCE.getEPackage(SourcePackage.eNS_URI); | |
ActionPackage theActionPackage = (ActionPackage)EPackage.Registry.INSTANCE.getEPackage(ActionPackage.eNS_URI); | |
CodePackage theCodePackage = (CodePackage)EPackage.Registry.INSTANCE.getEPackage(CodePackage.eNS_URI); | |
// Create type parameters | |
// Set bounds for type parameters | |
// Add supertypes to classes | |
dataModelEClass.getESuperTypes().add(theKdmPackage.getKDMModel()); | |
abstractDataElementEClass.getESuperTypes().add(theCorePackage.getKDMEntity()); | |
dataResourceEClass.getESuperTypes().add(this.getAbstractDataElement()); | |
indexElementEClass.getESuperTypes().add(this.getDataResource()); | |
uniqueKeyEClass.getESuperTypes().add(this.getIndexElement()); | |
indexEClass.getESuperTypes().add(this.getIndexElement()); | |
abstractDataRelationshipEClass.getESuperTypes().add(theCorePackage.getKDMRelationship()); | |
keyRelationEClass.getESuperTypes().add(this.getAbstractDataRelationship()); | |
referenceKeyEClass.getESuperTypes().add(this.getIndexElement()); | |
dataContainerEClass.getESuperTypes().add(this.getDataResource()); | |
catalogEClass.getESuperTypes().add(this.getDataContainer()); | |
relationalSchemaEClass.getESuperTypes().add(this.getDataContainer()); | |
columnSetEClass.getESuperTypes().add(this.getDataContainer()); | |
relationalTableEClass.getESuperTypes().add(this.getColumnSet()); | |
relationalViewEClass.getESuperTypes().add(this.getColumnSet()); | |
recordFileEClass.getESuperTypes().add(this.getColumnSet()); | |
dataEventEClass.getESuperTypes().add(this.getDataResource()); | |
xmlSchemaEClass.getESuperTypes().add(this.getAbstractDataElement()); | |
abstractContentElementEClass.getESuperTypes().add(this.getAbstractDataElement()); | |
complexContentTypeEClass.getESuperTypes().add(this.getAbstractContentElement()); | |
allContentEClass.getESuperTypes().add(this.getComplexContentType()); | |
seqContentEClass.getESuperTypes().add(this.getComplexContentType()); | |
choiceContentEClass.getESuperTypes().add(this.getComplexContentType()); | |
contentItemEClass.getESuperTypes().add(this.getAbstractContentElement()); | |
groupContentEClass.getESuperTypes().add(this.getContentItem()); | |
contentRestrictionEClass.getESuperTypes().add(this.getAbstractContentElement()); | |
simpleContentTypeEClass.getESuperTypes().add(this.getComplexContentType()); | |
extendedDataElementEClass.getESuperTypes().add(this.getAbstractDataElement()); | |
dataRelationshipEClass.getESuperTypes().add(this.getAbstractDataRelationship()); | |
mixedContentEClass.getESuperTypes().add(this.getComplexContentType()); | |
contentReferenceEClass.getESuperTypes().add(this.getContentItem()); | |
dataActionEClass.getESuperTypes().add(this.getAbstractDataElement()); | |
readsColumnSetEClass.getESuperTypes().add(theActionPackage.getAbstractActionRelationship()); | |
contentAttributeEClass.getESuperTypes().add(this.getContentItem()); | |
typedByEClass.getESuperTypes().add(this.getAbstractDataRelationship()); | |
referenceToEClass.getESuperTypes().add(this.getAbstractDataRelationship()); | |
restrictionOfEClass.getESuperTypes().add(this.getAbstractDataRelationship()); | |
extensionToEClass.getESuperTypes().add(this.getAbstractDataRelationship()); | |
datatypeOfEClass.getESuperTypes().add(this.getAbstractDataRelationship()); | |
hasContentEClass.getESuperTypes().add(theActionPackage.getAbstractActionRelationship()); | |
writesColumnSetEClass.getESuperTypes().add(theActionPackage.getAbstractActionRelationship()); | |
producesDataEventEClass.getESuperTypes().add(theActionPackage.getAbstractActionRelationship()); | |
dataSegmentEClass.getESuperTypes().add(this.getColumnSet()); | |
contentElementEClass.getESuperTypes().add(this.getContentItem()); | |
managesDataEClass.getESuperTypes().add(theActionPackage.getAbstractActionRelationship()); | |
// Initialize classes and features; add operations and parameters | |
initEClass(dataModelEClass, DataModel.class, "DataModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getDataModel_DataElement(), this.getAbstractDataElement(), null, "dataElement", null, 0, -1, DataModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(abstractDataElementEClass, AbstractDataElement.class, "AbstractDataElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getAbstractDataElement_Source(), theSourcePackage.getSourceRef(), null, "source", null, 0, -1, AbstractDataElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getAbstractDataElement_DataRelation(), this.getAbstractDataRelationship(), null, "dataRelation", null, 0, -1, AbstractDataElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getAbstractDataElement_Abstraction(), theActionPackage.getActionElement(), null, "abstraction", null, 0, -1, AbstractDataElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ | |
initEClass(dataResourceEClass, DataResource.class, "DataResource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(indexElementEClass, IndexElement.class, "IndexElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getIndexElement_Implementation(), theCodePackage.getItemUnit(), null, "implementation", null, 0, -1, IndexElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(uniqueKeyEClass, UniqueKey.class, "UniqueKey", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(indexEClass, Index.class, "Index", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(abstractDataRelationshipEClass, AbstractDataRelationship.class, "AbstractDataRelationship", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(keyRelationEClass, KeyRelation.class, "KeyRelation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getKeyRelation_To(), this.getUniqueKey(), null, "to", null, 1, 1, KeyRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getKeyRelation_From(), this.getReferenceKey(), null, "from", null, 1, 1, KeyRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(referenceKeyEClass, ReferenceKey.class, "ReferenceKey", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(dataContainerEClass, DataContainer.class, "DataContainer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getDataContainer_DataElement(), this.getDataResource(), null, "dataElement", null, 0, -1, DataContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(catalogEClass, Catalog.class, "Catalog", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(relationalSchemaEClass, RelationalSchema.class, "RelationalSchema", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getRelationalSchema_CodeElement(), theCodePackage.getCodeItem(), null, "codeElement", null, 0, -1, RelationalSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(columnSetEClass, ColumnSet.class, "ColumnSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getColumnSet_ItemUnit(), theCodePackage.getItemUnit(), null, "itemUnit", null, 0, -1, ColumnSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ | |
initEClass(relationalTableEClass, RelationalTable.class, "RelationalTable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(relationalViewEClass, RelationalView.class, "RelationalView", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(recordFileEClass, RecordFile.class, "RecordFile", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(dataEventEClass, DataEvent.class, "DataEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEAttribute(getDataEvent_Kind(), theCorePackage.getString(), "kind", null, 0, 1, DataEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ | |
initEClass(xmlSchemaEClass, XMLSchema.class, "XMLSchema", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getXMLSchema_ContentElement(), this.getAbstractContentElement(), null, "contentElement", null, 0, -1, XMLSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(abstractContentElementEClass, AbstractContentElement.class, "AbstractContentElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(complexContentTypeEClass, ComplexContentType.class, "ComplexContentType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getComplexContentType_ContentElement(), this.getAbstractContentElement(), null, "contentElement", null, 0, -1, ComplexContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ | |
initEClass(allContentEClass, AllContent.class, "AllContent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(seqContentEClass, SeqContent.class, "SeqContent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(choiceContentEClass, ChoiceContent.class, "ChoiceContent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(contentItemEClass, ContentItem.class, "ContentItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getContentItem_Type(), this.getComplexContentType(), null, "type", null, 0, 1, ContentItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getContentItem_ContentElement(), this.getAbstractContentElement(), null, "contentElement", null, 0, -1, ContentItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(groupContentEClass, GroupContent.class, "GroupContent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(contentRestrictionEClass, ContentRestriction.class, "ContentRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEAttribute(getContentRestriction_Kind(), theCorePackage.getString(), "kind", null, 0, 1, ContentRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ | |
initEAttribute(getContentRestriction_Value(), theCorePackage.getString(), "value", null, 0, 1, ContentRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ | |
initEClass(simpleContentTypeEClass, SimpleContentType.class, "SimpleContentType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getSimpleContentType_Type(), this.getComplexContentType(), null, "type", null, 0, -1, SimpleContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEAttribute(getSimpleContentType_Kind(), theCorePackage.getString(), "kind", null, 0, 1, SimpleContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ | |
initEClass(extendedDataElementEClass, ExtendedDataElement.class, "ExtendedDataElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(dataRelationshipEClass, DataRelationship.class, "DataRelationship", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getDataRelationship_To(), theCorePackage.getKDMEntity(), null, "to", null, 1, 1, DataRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getDataRelationship_From(), this.getAbstractDataElement(), null, "from", null, 1, 1, DataRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(mixedContentEClass, MixedContent.class, "MixedContent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(contentReferenceEClass, ContentReference.class, "ContentReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(dataActionEClass, DataAction.class, "DataAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEAttribute(getDataAction_Kind(), theCorePackage.getString(), "kind", null, 0, 1, DataAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getDataAction_Implementation(), theActionPackage.getActionElement(), null, "implementation", null, 0, -1, DataAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getDataAction_DataElement(), this.getDataEvent(), null, "dataElement", null, 0, -1, DataAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(readsColumnSetEClass, ReadsColumnSet.class, "ReadsColumnSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getReadsColumnSet_To(), this.getColumnSet(), null, "to", null, 1, 1, ReadsColumnSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getReadsColumnSet_From(), theActionPackage.getActionElement(), null, "from", null, 1, 1, ReadsColumnSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(contentAttributeEClass, ContentAttribute.class, "ContentAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(typedByEClass, TypedBy.class, "TypedBy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getTypedBy_To(), this.getComplexContentType(), null, "to", null, 1, 1, TypedBy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getTypedBy_From(), this.getContentItem(), null, "from", null, 1, 1, TypedBy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(referenceToEClass, ReferenceTo.class, "ReferenceTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getReferenceTo_To(), this.getContentItem(), null, "to", null, 1, 1, ReferenceTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getReferenceTo_From(), this.getContentItem(), null, "from", null, 1, 1, ReferenceTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(restrictionOfEClass, RestrictionOf.class, "RestrictionOf", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getRestrictionOf_To(), this.getComplexContentType(), null, "to", null, 1, 1, RestrictionOf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getRestrictionOf_From(), this.getComplexContentType(), null, "from", null, 1, 1, RestrictionOf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(extensionToEClass, ExtensionTo.class, "ExtensionTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getExtensionTo_To(), this.getComplexContentType(), null, "to", null, 1, 1, ExtensionTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getExtensionTo_From(), this.getComplexContentType(), null, "from", null, 1, 1, ExtensionTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(datatypeOfEClass, DatatypeOf.class, "DatatypeOf", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getDatatypeOf_To(), theCodePackage.getDatatype(), null, "to", null, 1, 1, DatatypeOf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getDatatypeOf_From(), this.getComplexContentType(), null, "from", null, 1, 1, DatatypeOf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(hasContentEClass, HasContent.class, "HasContent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getHasContent_To(), this.getAbstractDataElement(), null, "to", null, 1, 1, HasContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getHasContent_From(), theActionPackage.getActionElement(), null, "from", null, 1, 1, HasContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(writesColumnSetEClass, WritesColumnSet.class, "WritesColumnSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getWritesColumnSet_To(), this.getColumnSet(), null, "to", null, 1, 1, WritesColumnSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getWritesColumnSet_From(), theActionPackage.getActionElement(), null, "from", null, 1, 1, WritesColumnSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(producesDataEventEClass, ProducesDataEvent.class, "ProducesDataEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getProducesDataEvent_To(), this.getDataEvent(), null, "to", null, 1, 1, ProducesDataEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getProducesDataEvent_From(), theActionPackage.getActionElement(), null, "from", null, 1, 1, ProducesDataEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEClass(dataSegmentEClass, DataSegment.class, "DataSegment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(contentElementEClass, ContentElement.class, "ContentElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEClass(managesDataEClass, ManagesData.class, "ManagesData", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ | |
initEReference(getManagesData_To(), this.getAbstractDataElement(), null, "to", null, 1, 1, ManagesData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
initEReference(getManagesData_From(), theActionPackage.getActionElement(), null, "from", null, 1, 1, ManagesData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ | |
// Create resource | |
createResource(eNS_URI); | |
} | |
} //DataPackageImpl |