Examples of DescriptorPackage


Examples of net.cis.common.model.descriptor.DescriptorPackage

    setNsURI(eNS_URI);

    // Obtain other dependent packages
    ShipdevicePackage theShipdevicePackage = (ShipdevicePackage)EPackage.Registry.INSTANCE.getEPackage(ShipdevicePackage.eNS_URI);
    StructurePackage theStructurePackage = (StructurePackage)EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI);
    DescriptorPackage theDescriptorPackage = (DescriptorPackage)EPackage.Registry.INSTANCE.getEPackage(DescriptorPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes

    // Initialize classes and features; add operations and parameters
    initEClass(modelerEClass, Modeler.class, "Modeler", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getModeler_WeaponDevices(), theShipdevicePackage.getAbstractWeapon(), null, "weaponDevices", null, 0, -1, Modeler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getModeler_ShieldDevices(), theShipdevicePackage.getShieldDevice(), null, "shieldDevices", null, 0, -1, Modeler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getModeler_EngineDevices(), theShipdevicePackage.getEngineDevice(), null, "engineDevices", null, 0, -1, Modeler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getModeler_Ships(), theStructurePackage.getShip(), null, "ships", null, 0, -1, Modeler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getModeler_DeviceDescriptors(), theDescriptorPackage.getAbstractDeviceDescriptor(), null, "deviceDescriptors", null, 0, -1, Modeler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    // Create resource
    createResource(eNS_URI);
  }
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.