/** * <copyright> * </copyright> * * $Id$ */ package orgomg.cwm.resource.record.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 orgomg.cwm.analysis.businessnomenclature.BusinessnomenclaturePackage; import orgomg.cwm.analysis.businessnomenclature.impl.BusinessnomenclaturePackageImpl; import orgomg.cwm.analysis.informationvisualization.InformationvisualizationPackage; import orgomg.cwm.analysis.informationvisualization.impl.InformationvisualizationPackageImpl; import orgomg.cwm.analysis.olap.OlapPackage; import orgomg.cwm.analysis.olap.impl.OlapPackageImpl; import orgomg.cwm.analysis.transformation.TransformationPackage; import orgomg.cwm.analysis.transformation.impl.TransformationPackageImpl; import orgomg.cwm.foundation.businessinformation.BusinessinformationPackage; import orgomg.cwm.foundation.businessinformation.impl.BusinessinformationPackageImpl; import orgomg.cwm.foundation.datatypes.DatatypesPackage; import orgomg.cwm.foundation.datatypes.impl.DatatypesPackageImpl; import orgomg.cwm.foundation.expressions.ExpressionsPackage; import orgomg.cwm.foundation.expressions.impl.ExpressionsPackageImpl; import orgomg.cwm.foundation.keysindexes.KeysindexesPackage; import orgomg.cwm.foundation.keysindexes.impl.KeysindexesPackageImpl; import orgomg.cwm.foundation.softwaredeployment.SoftwaredeploymentPackage; import orgomg.cwm.foundation.softwaredeployment.impl.SoftwaredeploymentPackageImpl; import orgomg.cwm.foundation.typemapping.TypemappingPackage; import orgomg.cwm.foundation.typemapping.impl.TypemappingPackageImpl; import orgomg.cwm.management.warehouseoperation.WarehouseoperationPackage; import orgomg.cwm.management.warehouseoperation.impl.WarehouseoperationPackageImpl; import orgomg.cwm.management.warehouseprocess.WarehouseprocessPackage; import orgomg.cwm.management.warehouseprocess.datatype.DatatypePackage; import orgomg.cwm.management.warehouseprocess.datatype.impl.DatatypePackageImpl; import orgomg.cwm.management.warehouseprocess.events.EventsPackage; import orgomg.cwm.management.warehouseprocess.events.impl.EventsPackageImpl; import orgomg.cwm.management.warehouseprocess.impl.WarehouseprocessPackageImpl; import orgomg.cwm.objectmodel.behavioral.BehavioralPackage; import orgomg.cwm.objectmodel.behavioral.impl.BehavioralPackageImpl; import orgomg.cwm.objectmodel.core.CorePackage; import orgomg.cwm.objectmodel.core.impl.CorePackageImpl; import orgomg.cwm.objectmodel.instance.InstancePackage; import orgomg.cwm.objectmodel.instance.impl.InstancePackageImpl; import orgomg.cwm.objectmodel.relationships.RelationshipsPackage; import orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl; import orgomg.cwm.resource.multidimensional.MultidimensionalPackage; import orgomg.cwm.resource.multidimensional.impl.MultidimensionalPackageImpl; import orgomg.cwm.resource.record.Field; import orgomg.cwm.resource.record.FieldValue; import orgomg.cwm.resource.record.FixedOffsetField; import orgomg.cwm.resource.record.Group; import orgomg.cwm.resource.record.Record; import orgomg.cwm.resource.record.RecordDef; import orgomg.cwm.resource.record.RecordFactory; import orgomg.cwm.resource.record.RecordFile; import orgomg.cwm.resource.record.RecordPackage; import orgomg.cwm.resource.record.RecordSet; import orgomg.cwm.resource.relational.RelationalPackage; import orgomg.cwm.resource.relational.enumerations.EnumerationsPackage; import orgomg.cwm.resource.relational.enumerations.impl.EnumerationsPackageImpl; import orgomg.cwm.resource.relational.impl.RelationalPackageImpl; import orgomg.cwm.resource.xml.XmlPackage; import orgomg.cwm.resource.xml.impl.XmlPackageImpl; /** * <!-- begin-user-doc --> * An implementation of the model <b>Package</b>. * <!-- end-user-doc --> * @generated */ public class RecordPackageImpl extends EPackageImpl implements RecordPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass fieldEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass recordDefEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass fixedOffsetFieldEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass recordFileEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass fieldValueEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass recordEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass recordSetEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass groupEClass = 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 orgomg.cwm.resource.record.RecordPackage#eNS_URI * @see #init() * @generated */ private RecordPackageImpl() { super(eNS_URI, RecordFactory.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 RecordPackage#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 RecordPackage init() { if (isInited) return (RecordPackage)EPackage.Registry.INSTANCE.getEPackage(RecordPackage.eNS_URI); // Obtain or create and register package RecordPackageImpl theRecordPackage = (RecordPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RecordPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RecordPackageImpl()); 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); BehavioralPackageImpl theBehavioralPackage = (BehavioralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehavioralPackage.eNS_URI) instanceof BehavioralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehavioralPackage.eNS_URI) : BehavioralPackage.eINSTANCE); RelationshipsPackageImpl theRelationshipsPackage = (RelationshipsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RelationshipsPackage.eNS_URI) instanceof RelationshipsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RelationshipsPackage.eNS_URI) : RelationshipsPackage.eINSTANCE); InstancePackageImpl theInstancePackage = (InstancePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InstancePackage.eNS_URI) instanceof InstancePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InstancePackage.eNS_URI) : InstancePackage.eINSTANCE); BusinessinformationPackageImpl theBusinessinformationPackage = (BusinessinformationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BusinessinformationPackage.eNS_URI) instanceof BusinessinformationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BusinessinformationPackage.eNS_URI) : BusinessinformationPackage.eINSTANCE); DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE); ExpressionsPackageImpl theExpressionsPackage = (ExpressionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI) instanceof ExpressionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI) : ExpressionsPackage.eINSTANCE); KeysindexesPackageImpl theKeysindexesPackage = (KeysindexesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(KeysindexesPackage.eNS_URI) instanceof KeysindexesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(KeysindexesPackage.eNS_URI) : KeysindexesPackage.eINSTANCE); SoftwaredeploymentPackageImpl theSoftwaredeploymentPackage = (SoftwaredeploymentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SoftwaredeploymentPackage.eNS_URI) instanceof SoftwaredeploymentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SoftwaredeploymentPackage.eNS_URI) : SoftwaredeploymentPackage.eINSTANCE); TypemappingPackageImpl theTypemappingPackage = (TypemappingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TypemappingPackage.eNS_URI) instanceof TypemappingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TypemappingPackage.eNS_URI) : TypemappingPackage.eINSTANCE); RelationalPackageImpl theRelationalPackage = (RelationalPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RelationalPackage.eNS_URI) instanceof RelationalPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RelationalPackage.eNS_URI) : RelationalPackage.eINSTANCE); EnumerationsPackageImpl theEnumerationsPackage = (EnumerationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnumerationsPackage.eNS_URI) instanceof EnumerationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnumerationsPackage.eNS_URI) : EnumerationsPackage.eINSTANCE); MultidimensionalPackageImpl theMultidimensionalPackage = (MultidimensionalPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MultidimensionalPackage.eNS_URI) instanceof MultidimensionalPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MultidimensionalPackage.eNS_URI) : MultidimensionalPackage.eINSTANCE); XmlPackageImpl theXmlPackage = (XmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(XmlPackage.eNS_URI) instanceof XmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(XmlPackage.eNS_URI) : XmlPackage.eINSTANCE); TransformationPackageImpl theTransformationPackage = (TransformationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TransformationPackage.eNS_URI) instanceof TransformationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TransformationPackage.eNS_URI) : TransformationPackage.eINSTANCE); OlapPackageImpl theOlapPackage = (OlapPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OlapPackage.eNS_URI) instanceof OlapPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OlapPackage.eNS_URI) : OlapPackage.eINSTANCE); InformationvisualizationPackageImpl theInformationvisualizationPackage = (InformationvisualizationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InformationvisualizationPackage.eNS_URI) instanceof InformationvisualizationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InformationvisualizationPackage.eNS_URI) : InformationvisualizationPackage.eINSTANCE); BusinessnomenclaturePackageImpl theBusinessnomenclaturePackage = (BusinessnomenclaturePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BusinessnomenclaturePackage.eNS_URI) instanceof BusinessnomenclaturePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BusinessnomenclaturePackage.eNS_URI) : BusinessnomenclaturePackage.eINSTANCE); WarehouseprocessPackageImpl theWarehouseprocessPackage = (WarehouseprocessPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WarehouseprocessPackage.eNS_URI) instanceof WarehouseprocessPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WarehouseprocessPackage.eNS_URI) : WarehouseprocessPackage.eINSTANCE); DatatypePackageImpl theDatatypePackage = (DatatypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypePackage.eNS_URI) instanceof DatatypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypePackage.eNS_URI) : DatatypePackage.eINSTANCE); EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE); WarehouseoperationPackageImpl theWarehouseoperationPackage = (WarehouseoperationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WarehouseoperationPackage.eNS_URI) instanceof WarehouseoperationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WarehouseoperationPackage.eNS_URI) : WarehouseoperationPackage.eINSTANCE); // Create package meta-data objects theRecordPackage.createPackageContents(); theCorePackage.createPackageContents(); theBehavioralPackage.createPackageContents(); theRelationshipsPackage.createPackageContents(); theInstancePackage.createPackageContents(); theBusinessinformationPackage.createPackageContents(); theDatatypesPackage.createPackageContents(); theExpressionsPackage.createPackageContents(); theKeysindexesPackage.createPackageContents(); theSoftwaredeploymentPackage.createPackageContents(); theTypemappingPackage.createPackageContents(); theRelationalPackage.createPackageContents(); theEnumerationsPackage.createPackageContents(); theMultidimensionalPackage.createPackageContents(); theXmlPackage.createPackageContents(); theTransformationPackage.createPackageContents(); theOlapPackage.createPackageContents(); theInformationvisualizationPackage.createPackageContents(); theBusinessnomenclaturePackage.createPackageContents(); theWarehouseprocessPackage.createPackageContents(); theDatatypePackage.createPackageContents(); theEventsPackage.createPackageContents(); theWarehouseoperationPackage.createPackageContents(); // Initialize created meta-data theRecordPackage.initializePackageContents(); theCorePackage.initializePackageContents(); theBehavioralPackage.initializePackageContents(); theRelationshipsPackage.initializePackageContents(); theInstancePackage.initializePackageContents(); theBusinessinformationPackage.initializePackageContents(); theDatatypesPackage.initializePackageContents(); theExpressionsPackage.initializePackageContents(); theKeysindexesPackage.initializePackageContents(); theSoftwaredeploymentPackage.initializePackageContents(); theTypemappingPackage.initializePackageContents(); theRelationalPackage.initializePackageContents(); theEnumerationsPackage.initializePackageContents(); theMultidimensionalPackage.initializePackageContents(); theXmlPackage.initializePackageContents(); theTransformationPackage.initializePackageContents(); theOlapPackage.initializePackageContents(); theInformationvisualizationPackage.initializePackageContents(); theBusinessnomenclaturePackage.initializePackageContents(); theWarehouseprocessPackage.initializePackageContents(); theDatatypePackage.initializePackageContents(); theEventsPackage.initializePackageContents(); theWarehouseoperationPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theRecordPackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(RecordPackage.eNS_URI, theRecordPackage); return theRecordPackage; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getField() { return fieldEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getField_Length() { return (EAttribute)fieldEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getField_Precision() { return (EAttribute)fieldEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getField_Scale() { return (EAttribute)fieldEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getRecordDef() { return recordDefEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getRecordDef_FieldDelimiter() { return (EAttribute)recordDefEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getRecordDef_IsFixedWidth() { return (EAttribute)recordDefEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getRecordDef_TextDelimiter() { return (EAttribute)recordDefEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getRecordDef_File() { return (EReference)recordDefEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getFixedOffsetField() { return fixedOffsetFieldEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getFixedOffsetField_Offset() { return (EAttribute)fixedOffsetFieldEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getFixedOffsetField_OffsetUnitBits() { return (EAttribute)fixedOffsetFieldEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getRecordFile() { return recordFileEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getRecordFile_IsSelfDescribing() { return (EAttribute)recordFileEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getRecordFile_RecordDelimiter() { return (EAttribute)recordFileEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getRecordFile_SkipRecords() { return (EAttribute)recordFileEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getRecordFile_Record() { return (EReference)recordFileEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getFieldValue() { return fieldValueEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getRecord() { return recordEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getRecordSet() { return recordSetEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getGroup() { return groupEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public RecordFactory getRecordFactory() { return (RecordFactory)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 fieldEClass = createEClass(FIELD); createEAttribute(fieldEClass, FIELD__LENGTH); createEAttribute(fieldEClass, FIELD__PRECISION); createEAttribute(fieldEClass, FIELD__SCALE); recordDefEClass = createEClass(RECORD_DEF); createEAttribute(recordDefEClass, RECORD_DEF__FIELD_DELIMITER); createEAttribute(recordDefEClass, RECORD_DEF__IS_FIXED_WIDTH); createEAttribute(recordDefEClass, RECORD_DEF__TEXT_DELIMITER); createEReference(recordDefEClass, RECORD_DEF__FILE); fixedOffsetFieldEClass = createEClass(FIXED_OFFSET_FIELD); createEAttribute(fixedOffsetFieldEClass, FIXED_OFFSET_FIELD__OFFSET); createEAttribute(fixedOffsetFieldEClass, FIXED_OFFSET_FIELD__OFFSET_UNIT_BITS); recordFileEClass = createEClass(RECORD_FILE); createEAttribute(recordFileEClass, RECORD_FILE__IS_SELF_DESCRIBING); createEAttribute(recordFileEClass, RECORD_FILE__RECORD_DELIMITER); createEAttribute(recordFileEClass, RECORD_FILE__SKIP_RECORDS); createEReference(recordFileEClass, RECORD_FILE__RECORD); fieldValueEClass = createEClass(FIELD_VALUE); recordEClass = createEClass(RECORD); recordSetEClass = createEClass(RECORD_SET); groupEClass = createEClass(GROUP); } /** * <!-- 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 CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI); InstancePackage theInstancePackage = (InstancePackage)EPackage.Registry.INSTANCE.getEPackage(InstancePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes fieldEClass.getESuperTypes().add(theCorePackage.getAttribute()); recordDefEClass.getESuperTypes().add(theCorePackage.getClass_()); fixedOffsetFieldEClass.getESuperTypes().add(this.getField()); recordFileEClass.getESuperTypes().add(theCorePackage.getPackage()); fieldValueEClass.getESuperTypes().add(theInstancePackage.getDataValue()); recordEClass.getESuperTypes().add(theInstancePackage.getObject()); recordSetEClass.getESuperTypes().add(theInstancePackage.getExtent()); groupEClass.getESuperTypes().add(theCorePackage.getClassifier()); // Initialize classes and features; add operations and parameters initEClass(fieldEClass, Field.class, "Field", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getField_Length(), theCorePackage.getInteger(), "length", null, 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getField_Precision(), theCorePackage.getInteger(), "precision", null, 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getField_Scale(), theCorePackage.getInteger(), "scale", null, 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(recordDefEClass, RecordDef.class, "RecordDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getRecordDef_FieldDelimiter(), theCorePackage.getString(), "fieldDelimiter", null, 0, 1, RecordDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getRecordDef_IsFixedWidth(), theCorePackage.getBoolean(), "isFixedWidth", null, 0, 1, RecordDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getRecordDef_TextDelimiter(), theCorePackage.getString(), "textDelimiter", null, 0, 1, RecordDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getRecordDef_File(), this.getRecordFile(), this.getRecordFile_Record(), "file", null, 0, -1, RecordDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(fixedOffsetFieldEClass, FixedOffsetField.class, "FixedOffsetField", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getFixedOffsetField_Offset(), theCorePackage.getInteger(), "offset", null, 0, 1, FixedOffsetField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getFixedOffsetField_OffsetUnitBits(), theCorePackage.getInteger(), "offsetUnitBits", null, 0, 1, FixedOffsetField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(recordFileEClass, RecordFile.class, "RecordFile", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getRecordFile_IsSelfDescribing(), theCorePackage.getBoolean(), "isSelfDescribing", null, 0, 1, RecordFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getRecordFile_RecordDelimiter(), theCorePackage.getInteger(), "recordDelimiter", null, 0, 1, RecordFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getRecordFile_SkipRecords(), theCorePackage.getInteger(), "skipRecords", null, 0, 1, RecordFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getRecordFile_Record(), this.getRecordDef(), this.getRecordDef_File(), "record", null, 0, -1, RecordFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(fieldValueEClass, FieldValue.class, "FieldValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(recordEClass, Record.class, "Record", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(recordSetEClass, RecordSet.class, "RecordSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(groupEClass, Group.class, "Group", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); // Create resource createResource(eNS_URI); } } //RecordPackageImpl