Examples of BasePackage


Examples of net.cis.common.model.base.BasePackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    BasePackage theBasePackage = (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI);
    UniversePackage theUniversePackage = (UniversePackage)EPackage.Registry.INSTANCE.getEPackage(UniversePackage.eNS_URI);
    StructurePackage theStructurePackage = (StructurePackage)EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI);
    SpaceobjectPackage theSpaceobjectPackage = (SpaceobjectPackage)EPackage.Registry.INSTANCE.getEPackage(SpaceobjectPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    sectorEClass.getESuperTypes().add(theBasePackage.getAbstractNamedEntity());

    // Initialize classes and features; add operations and parameters
    initEClass(sectorEClass, Sector.class, "Sector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getSector_ParentCelestialBody(), theUniversePackage.getCelestialBody(), null, "parentCelestialBody", null, 1, 1, Sector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getSector_Jumpgates(), theStructurePackage.getJumpgate(), null, "jumpgates", null, 1, -1, Sector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
View Full Code Here

Examples of net.cis.common.model.base.BasePackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    BasePackage theBasePackage = (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI);
    ShipdevicePackage theShipdevicePackage = (ShipdevicePackage)EPackage.Registry.INSTANCE.getEPackage(ShipdevicePackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    abstractDeviceDescriptorEClass.getESuperTypes().add(theBasePackage.getAbstractEntity());
    shieldDeviceDescriptorEClass.getESuperTypes().add(this.getAbstractDeviceDescriptor());
    weaponDeviceDescriptorEClass.getESuperTypes().add(this.getAbstractDeviceDescriptor());
    engineDeviceDescriptorEClass.getESuperTypes().add(this.getAbstractDeviceDescriptor());

    // Initialize classes and features; add operations and parameters
View Full Code Here

Examples of net.cis.common.model.base.BasePackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    BasePackage theBasePackage = (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI);
    SectorPackage theSectorPackage = (SectorPackage)EPackage.Registry.INSTANCE.getEPackage(SectorPackage.eNS_URI);
    ShipdevicePackage theShipdevicePackage = (ShipdevicePackage)EPackage.Registry.INSTANCE.getEPackage(ShipdevicePackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    abstractStructureEClass.getESuperTypes().add(theBasePackage.getAbstractNamedEntity());
    stationEClass.getESuperTypes().add(this.getAbstractStructure());
    satelliteEClass.getESuperTypes().add(this.getAbstractStructure());
    jumpgateEClass.getESuperTypes().add(this.getAbstractStructure());
    shipEClass.getESuperTypes().add(this.getAbstractStructure());
View Full Code Here

Examples of net.cis.common.model.base.BasePackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    BasePackage theBasePackage = (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    abstractShipDeviceEClass.getESuperTypes().add(theBasePackage.getAbstractNamedEntity());
    engineDeviceEClass.getESuperTypes().add(this.getAbstractShipDevice());
    abstractWeaponEClass.getESuperTypes().add(this.getAbstractShipDevice());
    shieldDeviceEClass.getESuperTypes().add(this.getAbstractShipDevice());
    beamEClass.getESuperTypes().add(this.getAbstractEnergyWeapon());
    massDriverEClass.getESuperTypes().add(this.getAbstractWeapon());
View Full Code Here

Examples of net.cis.common.model.base.BasePackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    BasePackage theBasePackage = (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    spaceObjectEClass.getESuperTypes().add(theBasePackage.getAbstractNamedEntity());
    asteroidEClass.getESuperTypes().add(this.getSpaceObject());
    cometEClass.getESuperTypes().add(this.getSpaceObject());
    cloudEClass.getESuperTypes().add(this.getSpaceObject());
    debriesEClass.getESuperTypes().add(this.getSpaceObject());
View Full Code Here

Examples of net.cis.common.model.base.BasePackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    BasePackage theBasePackage = (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI);
    SectorPackage theSectorPackage = (SectorPackage)EPackage.Registry.INSTANCE.getEPackage(SectorPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    planetEClass.getESuperTypes().add(this.getCelestialBody());
    planetarySystemEClass.getESuperTypes().add(this.getCelestialBody());
    starEClass.getESuperTypes().add(this.getCelestialBody());
    celestialBodyEClass.getESuperTypes().add(theBasePackage.getAbstractNamedEntity());
    asteroidBeltEClass.getESuperTypes().add(this.getCelestialBody());
    moonEClass.getESuperTypes().add(this.getCelestialBody());
    nebulaEClass.getESuperTypes().add(theBasePackage.getAbstractNamedEntity());

    // Initialize classes and features; add operations and parameters
    initEClass(planetEClass, Planet.class, "Planet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getPlanet_Moons(), this.getMoon(), null, "moons", null, 0, -1, Planet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
View Full Code Here
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.