Package net.cis.common.model.base.impl

Source Code of net.cis.common.model.base.impl.BasePackageImpl

/**
*/
package net.cis.common.model.base.impl;

import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;

import java.util.Map;

import net.cis.common.model.base.AbstractEntity;
import net.cis.common.model.base.AbstractNamedEntity;
import net.cis.common.model.base.AbstractVisual;
import net.cis.common.model.base.BaseFactory;
import net.cis.common.model.base.BasePackage;
import net.cis.common.model.base.CameraDefinition;
import net.cis.common.model.base.SkyBox;
import net.cis.common.model.base.VisualDefinition;

import net.cis.common.model.descriptor.DescriptorPackage;

import net.cis.common.model.descriptor.impl.DescriptorPackageImpl;

import net.cis.common.model.modeler.ModelerPackage;

import net.cis.common.model.modeler.impl.ModelerPackageImpl;

import net.cis.common.model.sector.SectorPackage;

import net.cis.common.model.sector.impl.SectorPackageImpl;

import net.cis.common.model.shipdevice.ShipdevicePackage;

import net.cis.common.model.shipdevice.impl.ShipdevicePackageImpl;

import net.cis.common.model.spaceobject.SpaceobjectPackage;

import net.cis.common.model.spaceobject.impl.SpaceobjectPackageImpl;

import net.cis.common.model.structure.StructurePackage;

import net.cis.common.model.structure.impl.StructurePackageImpl;

import net.cis.common.model.universe.UniversePackage;

import net.cis.common.model.universe.impl.UniversePackageImpl;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
* @generated
*/
public class BasePackageImpl extends EPackageImpl implements BasePackage {
  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private EClass abstractNamedEntityEClass = null;

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private EClass abstractEntityEClass = null;

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private EClass visualDefinitionEClass = null;

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private EClass cameraDefinitionEClass = null;

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private EClass stringToObjectMapEClass = null;

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private EClass abstractVisualEClass = null;

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private EClass skyBoxEClass = null;

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private EDataType vector3fEDataType = null;

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private EDataType quaternionEDataType = 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 net.cis.common.model.base.BasePackage#eNS_URI
   * @see #init()
   * @generated
   */
  private BasePackageImpl() {
    super(eNS_URI, BaseFactory.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 BasePackage#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 BasePackage init() {
    if (isInited) return (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI);

    // Obtain or create and register package
    BasePackageImpl theBasePackage = (BasePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof BasePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new BasePackageImpl());

    isInited = true;

    // Obtain or create and register interdependencies
    ShipdevicePackageImpl theShipdevicePackage = (ShipdevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ShipdevicePackage.eNS_URI) instanceof ShipdevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ShipdevicePackage.eNS_URI) : ShipdevicePackage.eINSTANCE);
    ModelerPackageImpl theModelerPackage = (ModelerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelerPackage.eNS_URI) instanceof ModelerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelerPackage.eNS_URI) : ModelerPackage.eINSTANCE);
    StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
    DescriptorPackageImpl theDescriptorPackage = (DescriptorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DescriptorPackage.eNS_URI) instanceof DescriptorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DescriptorPackage.eNS_URI) : DescriptorPackage.eINSTANCE);
    SectorPackageImpl theSectorPackage = (SectorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SectorPackage.eNS_URI) instanceof SectorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SectorPackage.eNS_URI) : SectorPackage.eINSTANCE);
    SpaceobjectPackageImpl theSpaceobjectPackage = (SpaceobjectPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SpaceobjectPackage.eNS_URI) instanceof SpaceobjectPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SpaceobjectPackage.eNS_URI) : SpaceobjectPackage.eINSTANCE);
    UniversePackageImpl theUniversePackage = (UniversePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UniversePackage.eNS_URI) instanceof UniversePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UniversePackage.eNS_URI) : UniversePackage.eINSTANCE);

    // Create package meta-data objects
    theBasePackage.createPackageContents();
    theShipdevicePackage.createPackageContents();
    theModelerPackage.createPackageContents();
    theStructurePackage.createPackageContents();
    theDescriptorPackage.createPackageContents();
    theSectorPackage.createPackageContents();
    theSpaceobjectPackage.createPackageContents();
    theUniversePackage.createPackageContents();

    // Initialize created meta-data
    theBasePackage.initializePackageContents();
    theShipdevicePackage.initializePackageContents();
    theModelerPackage.initializePackageContents();
    theStructurePackage.initializePackageContents();
    theDescriptorPackage.initializePackageContents();
    theSectorPackage.initializePackageContents();
    theSpaceobjectPackage.initializePackageContents();
    theUniversePackage.initializePackageContents();

    // Mark meta-data to indicate it can't be changed
    theBasePackage.freeze();

 
    // Update the registry and return the package
    EPackage.Registry.INSTANCE.put(BasePackage.eNS_URI, theBasePackage);
    return theBasePackage;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EClass getAbstractNamedEntity() {
    return abstractNamedEntityEClass;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getAbstractNamedEntity_Name() {
    return (EAttribute)abstractNamedEntityEClass.getEStructuralFeatures().get(0);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getAbstractNamedEntity_Location() {
    return (EAttribute)abstractNamedEntityEClass.getEStructuralFeatures().get(1);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getAbstractNamedEntity_Rotation() {
    return (EAttribute)abstractNamedEntityEClass.getEStructuralFeatures().get(2);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getAbstractNamedEntity_LinearVelocity() {
    return (EAttribute)abstractNamedEntityEClass.getEStructuralFeatures().get(3);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getAbstractNamedEntity_AngularVelocity() {
    return (EAttribute)abstractNamedEntityEClass.getEStructuralFeatures().get(4);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EReference getAbstractNamedEntity_Visual() {
    return (EReference)abstractNamedEntityEClass.getEStructuralFeatures().get(5);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EClass getAbstractEntity() {
    return abstractEntityEClass;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getAbstractEntity_Id() {
    return (EAttribute)abstractEntityEClass.getEStructuralFeatures().get(0);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EClass getVisualDefinition() {
    return visualDefinitionEClass;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getVisualDefinition_MeshFile() {
    return (EAttribute)visualDefinitionEClass.getEStructuralFeatures().get(0);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getVisualDefinition_MaterialDef() {
    return (EAttribute)visualDefinitionEClass.getEStructuralFeatures().get(1);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EReference getVisualDefinition_MaterialParams() {
    return (EReference)visualDefinitionEClass.getEStructuralFeatures().get(2);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EClass getCameraDefinition() {
    return cameraDefinitionEClass;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EClass getStringToObjectMap() {
    return stringToObjectMapEClass;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getStringToObjectMap_Key() {
    return (EAttribute)stringToObjectMapEClass.getEStructuralFeatures().get(0);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getStringToObjectMap_Value() {
    return (EAttribute)stringToObjectMapEClass.getEStructuralFeatures().get(1);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EClass getAbstractVisual() {
    return abstractVisualEClass;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EClass getSkyBox() {
    return skyBoxEClass;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getSkyBox_Bottom() {
    return (EAttribute)skyBoxEClass.getEStructuralFeatures().get(0);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getSkyBox_South() {
    return (EAttribute)skyBoxEClass.getEStructuralFeatures().get(1);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getSkyBox_West() {
    return (EAttribute)skyBoxEClass.getEStructuralFeatures().get(2);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getSkyBox_Top() {
    return (EAttribute)skyBoxEClass.getEStructuralFeatures().get(3);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getSkyBox_East() {
    return (EAttribute)skyBoxEClass.getEStructuralFeatures().get(4);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EAttribute getSkyBox_North() {
    return (EAttribute)skyBoxEClass.getEStructuralFeatures().get(5);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EDataType getVector3f() {
    return vector3fEDataType;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public EDataType getQuaternion() {
    return quaternionEDataType;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public BaseFactory getBaseFactory() {
    return (BaseFactory)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
    abstractNamedEntityEClass = createEClass(ABSTRACT_NAMED_ENTITY);
    createEAttribute(abstractNamedEntityEClass, ABSTRACT_NAMED_ENTITY__NAME);
    createEAttribute(abstractNamedEntityEClass, ABSTRACT_NAMED_ENTITY__LOCATION);
    createEAttribute(abstractNamedEntityEClass, ABSTRACT_NAMED_ENTITY__ROTATION);
    createEAttribute(abstractNamedEntityEClass, ABSTRACT_NAMED_ENTITY__LINEAR_VELOCITY);
    createEAttribute(abstractNamedEntityEClass, ABSTRACT_NAMED_ENTITY__ANGULAR_VELOCITY);
    createEReference(abstractNamedEntityEClass, ABSTRACT_NAMED_ENTITY__VISUAL);

    abstractEntityEClass = createEClass(ABSTRACT_ENTITY);
    createEAttribute(abstractEntityEClass, ABSTRACT_ENTITY__ID);

    visualDefinitionEClass = createEClass(VISUAL_DEFINITION);
    createEAttribute(visualDefinitionEClass, VISUAL_DEFINITION__MESH_FILE);
    createEAttribute(visualDefinitionEClass, VISUAL_DEFINITION__MATERIAL_DEF);
    createEReference(visualDefinitionEClass, VISUAL_DEFINITION__MATERIAL_PARAMS);

    cameraDefinitionEClass = createEClass(CAMERA_DEFINITION);

    stringToObjectMapEClass = createEClass(STRING_TO_OBJECT_MAP);
    createEAttribute(stringToObjectMapEClass, STRING_TO_OBJECT_MAP__KEY);
    createEAttribute(stringToObjectMapEClass, STRING_TO_OBJECT_MAP__VALUE);

    abstractVisualEClass = createEClass(ABSTRACT_VISUAL);

    skyBoxEClass = createEClass(SKY_BOX);
    createEAttribute(skyBoxEClass, SKY_BOX__BOTTOM);
    createEAttribute(skyBoxEClass, SKY_BOX__SOUTH);
    createEAttribute(skyBoxEClass, SKY_BOX__WEST);
    createEAttribute(skyBoxEClass, SKY_BOX__TOP);
    createEAttribute(skyBoxEClass, SKY_BOX__EAST);
    createEAttribute(skyBoxEClass, SKY_BOX__NORTH);

    // Create data types
    vector3fEDataType = createEDataType(VECTOR3F);
    quaternionEDataType = createEDataType(QUATERNION);
  }

  /**
   * <!-- 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);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    abstractNamedEntityEClass.getESuperTypes().add(this.getAbstractEntity());
    visualDefinitionEClass.getESuperTypes().add(this.getAbstractVisual());
    cameraDefinitionEClass.getESuperTypes().add(this.getAbstractNamedEntity());
    abstractVisualEClass.getESuperTypes().add(this.getAbstractEntity());
    skyBoxEClass.getESuperTypes().add(this.getAbstractVisual());

    // Initialize classes and features; add operations and parameters
    initEClass(abstractNamedEntityEClass, AbstractNamedEntity.class, "AbstractNamedEntity", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getAbstractNamedEntity_Name(), ecorePackage.getEString(), "name", null, 1, 1, AbstractNamedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getAbstractNamedEntity_Location(), this.getVector3f(), "location", null, 1, 1, AbstractNamedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getAbstractNamedEntity_Rotation(), this.getQuaternion(), "rotation", null, 1, 1, AbstractNamedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getAbstractNamedEntity_LinearVelocity(), this.getVector3f(), "linearVelocity", null, 0, 1, AbstractNamedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getAbstractNamedEntity_AngularVelocity(), this.getQuaternion(), "angularVelocity", null, 0, 1, AbstractNamedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getAbstractNamedEntity_Visual(), this.getAbstractVisual(), null, "visual", null, 1, 1, AbstractNamedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(abstractEntityEClass, AbstractEntity.class, "AbstractEntity", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getAbstractEntity_Id(), ecorePackage.getEInt(), "id", null, 1, 1, AbstractEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(visualDefinitionEClass, VisualDefinition.class, "VisualDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getVisualDefinition_MeshFile(), ecorePackage.getEString(), "meshFile", null, 0, 1, VisualDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getVisualDefinition_MaterialDef(), ecorePackage.getEString(), "materialDef", null, 1, 1, VisualDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getVisualDefinition_MaterialParams(), this.getStringToObjectMap(), null, "materialParams", null, 1, -1, VisualDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(cameraDefinitionEClass, CameraDefinition.class, "CameraDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(stringToObjectMapEClass, Map.Entry.class, "StringToObjectMap", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getStringToObjectMap_Key(), ecorePackage.getEString(), "key", null, 1, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getStringToObjectMap_Value(), ecorePackage.getEJavaObject(), "value", null, 1, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(abstractVisualEClass, AbstractVisual.class, "AbstractVisual", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(skyBoxEClass, SkyBox.class, "SkyBox", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getSkyBox_Bottom(), ecorePackage.getEString(), "bottom", null, 1, 1, SkyBox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getSkyBox_South(), ecorePackage.getEString(), "south", null, 1, 1, SkyBox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getSkyBox_West(), ecorePackage.getEString(), "west", null, 1, 1, SkyBox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getSkyBox_Top(), ecorePackage.getEString(), "top", null, 1, 1, SkyBox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getSkyBox_East(), ecorePackage.getEString(), "east", null, 1, 1, SkyBox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getSkyBox_North(), ecorePackage.getEString(), "north", null, 1, 1, SkyBox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    // Initialize data types
    initEDataType(vector3fEDataType, Vector3f.class, "Vector3f", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
    initEDataType(quaternionEDataType, Quaternion.class, "Quaternion", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);

    // Create resource
    createResource(eNS_URI);

    // Create annotations
    // http://net.cis.common.model/serializable
    createSerializableAnnotations();
  }

  /**
   * Initializes the annotations for <b>http://net.cis.common.model/serializable</b>.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected void createSerializableAnnotations() {
    String source = "http://net.cis.common.model/serializable";   
    addAnnotation
      (this,
       source,
       new String[] {
       });
  }

} //BasePackageImpl
TOP

Related Classes of net.cis.common.model.base.impl.BasePackageImpl

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.