0001: /**
0002: * <copyright>
0003: * </copyright>
0004: *
0005: * $Id$
0006: */package newprocess.impl;
0007:
0008: import newprocess.Actor;
0009: import newprocess.AndOperator;
0010: import newprocess.AsyncActivity;
0011: import newprocess.Conclusion;
0012: import newprocess.Condition;
0013: import newprocess.ConditionProxy;
0014: import newprocess.ConditionTerm;
0015: import newprocess.Direction;
0016: import newprocess.Element;
0017: import newprocess.EnvEntry;
0018: import newprocess.Event;
0019: import newprocess.Expansion;
0020: import newprocess.Expression;
0021: import newprocess.Globals;
0022: import newprocess.Listener;
0023: import newprocess.Loader;
0024: import newprocess.Message;
0025: import newprocess.NewprocessFactory;
0026: import newprocess.NewprocessPackage;
0027: import newprocess.OperatorTerm;
0028: import newprocess.OrOperator;
0029: import newprocess.Root;
0030: import newprocess.SyncActivity;
0031: import newprocess.Term;
0032:
0033: import org.eclipse.emf.ecore.EAttribute;
0034: import org.eclipse.emf.ecore.EClass;
0035: import org.eclipse.emf.ecore.EEnum;
0036: import org.eclipse.emf.ecore.EOperation;
0037: import org.eclipse.emf.ecore.EPackage;
0038: import org.eclipse.emf.ecore.EReference;
0039:
0040: import org.eclipse.emf.ecore.impl.EPackageImpl;
0041:
0042: /**
0043: * <!-- begin-user-doc -->
0044: * An implementation of the model <b>Package</b>.
0045: * <!-- end-user-doc -->
0046: * @generated
0047: */
0048: public class NewprocessPackageImpl extends EPackageImpl implements
0049: NewprocessPackage {
0050: /**
0051: * <!-- begin-user-doc -->
0052: * <!-- end-user-doc -->
0053: * @generated
0054: */
0055: private EClass processEClass = null;
0056:
0057: /**
0058: * <!-- begin-user-doc -->
0059: * <!-- end-user-doc -->
0060: * @generated
0061: */
0062: private EClass conditionEClass = null;
0063:
0064: /**
0065: * <!-- begin-user-doc -->
0066: * <!-- end-user-doc -->
0067: * @generated
0068: */
0069: private EClass elementEClass = null;
0070:
0071: /**
0072: * <!-- begin-user-doc -->
0073: * <!-- end-user-doc -->
0074: * @generated
0075: */
0076: private EClass syncActivityEClass = null;
0077:
0078: /**
0079: * <!-- begin-user-doc -->
0080: * <!-- end-user-doc -->
0081: * @generated
0082: */
0083: private EClass loaderEClass = null;
0084:
0085: /**
0086: * <!-- begin-user-doc -->
0087: * <!-- end-user-doc -->
0088: * @generated
0089: */
0090: private EClass asyncActivityEClass = null;
0091:
0092: /**
0093: * <!-- begin-user-doc -->
0094: * <!-- end-user-doc -->
0095: * @generated
0096: */
0097: private EClass eventEClass = null;
0098:
0099: /**
0100: * <!-- begin-user-doc -->
0101: * <!-- end-user-doc -->
0102: * @generated
0103: */
0104: private EClass actorEClass = null;
0105:
0106: /**
0107: * <!-- begin-user-doc -->
0108: * <!-- end-user-doc -->
0109: * @generated
0110: */
0111: private EClass listenerEClass = null;
0112:
0113: /**
0114: * <!-- begin-user-doc -->
0115: * <!-- end-user-doc -->
0116: * @generated
0117: */
0118: private EClass envEntryEClass = null;
0119:
0120: /**
0121: * <!-- begin-user-doc -->
0122: * <!-- end-user-doc -->
0123: * @generated
0124: */
0125: private EClass messageEClass = null;
0126:
0127: /**
0128: * <!-- begin-user-doc -->
0129: * <!-- end-user-doc -->
0130: * @generated
0131: */
0132: private EClass conditionProxyEClass = null;
0133:
0134: /**
0135: * <!-- begin-user-doc -->
0136: * <!-- end-user-doc -->
0137: * @generated
0138: */
0139: private EClass conclusionEClass = null;
0140:
0141: /**
0142: * <!-- begin-user-doc -->
0143: * <!-- end-user-doc -->
0144: * @generated
0145: */
0146: private EClass expansionEClass = null;
0147:
0148: /**
0149: * <!-- begin-user-doc -->
0150: * <!-- end-user-doc -->
0151: * @generated
0152: */
0153: private EClass expressionEClass = null;
0154:
0155: /**
0156: * <!-- begin-user-doc -->
0157: * <!-- end-user-doc -->
0158: * @generated
0159: */
0160: private EClass termEClass = null;
0161:
0162: /**
0163: * <!-- begin-user-doc -->
0164: * <!-- end-user-doc -->
0165: * @generated
0166: */
0167: private EClass conditionTermEClass = null;
0168:
0169: /**
0170: * <!-- begin-user-doc -->
0171: * <!-- end-user-doc -->
0172: * @generated
0173: */
0174: private EClass operatorTermEClass = null;
0175:
0176: /**
0177: * <!-- begin-user-doc -->
0178: * <!-- end-user-doc -->
0179: * @generated
0180: */
0181: private EClass orOperatorEClass = null;
0182:
0183: /**
0184: * <!-- begin-user-doc -->
0185: * <!-- end-user-doc -->
0186: * @generated
0187: */
0188: private EClass andOperatorEClass = null;
0189:
0190: /**
0191: * <!-- begin-user-doc -->
0192: * <!-- end-user-doc -->
0193: * @generated
0194: */
0195: private EClass rootEClass = null;
0196:
0197: /**
0198: * <!-- begin-user-doc -->
0199: * <!-- end-user-doc -->
0200: * @generated
0201: */
0202: private EClass globalsEClass = null;
0203:
0204: /**
0205: * <!-- begin-user-doc -->
0206: * <!-- end-user-doc -->
0207: * @generated
0208: */
0209: private EEnum directionEEnum = null;
0210:
0211: /**
0212: * Creates an instance of the model <b>Package</b>, registered with
0213: * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
0214: * package URI value.
0215: * <p>Note: the correct way to create the package is via the static
0216: * factory method {@link #init init()}, which also performs
0217: * initialization of the package, or returns the registered package,
0218: * if one already exists.
0219: * <!-- begin-user-doc -->
0220: * <!-- end-user-doc -->
0221: * @see org.eclipse.emf.ecore.EPackage.Registry
0222: * @see newprocess.NewprocessPackage#eNS_URI
0223: * @see #init()
0224: * @generated
0225: */
0226: private NewprocessPackageImpl() {
0227: super (eNS_URI, NewprocessFactory.eINSTANCE);
0228: }
0229:
0230: /**
0231: * <!-- begin-user-doc -->
0232: * <!-- end-user-doc -->
0233: * @generated
0234: */
0235: private static boolean isInited = false;
0236:
0237: /**
0238: * Creates, registers, and initializes the <b>Package</b> for this
0239: * model, and for any others upon which it depends. Simple
0240: * dependencies are satisfied by calling this method on all
0241: * dependent packages before doing anything else. This method drives
0242: * initialization for interdependent packages directly, in parallel
0243: * with this package, itself.
0244: * <p>Of this package and its interdependencies, all packages which
0245: * have not yet been registered by their URI values are first created
0246: * and registered. The packages are then initialized in two steps:
0247: * meta-model objects for all of the packages are created before any
0248: * are initialized, since one package's meta-model objects may refer to
0249: * those of another.
0250: * <p>Invocation of this method will not affect any packages that have
0251: * already been initialized.
0252: * <!-- begin-user-doc -->
0253: * <!-- end-user-doc -->
0254: * @see #eNS_URI
0255: * @see #createPackageContents()
0256: * @see #initializePackageContents()
0257: * @generated
0258: */
0259: public static NewprocessPackage init() {
0260: if (isInited)
0261: return (NewprocessPackage) EPackage.Registry.INSTANCE
0262: .getEPackage(NewprocessPackage.eNS_URI);
0263:
0264: // Obtain or create and register package
0265: NewprocessPackageImpl theNewprocessPackage = (NewprocessPackageImpl) (EPackage.Registry.INSTANCE
0266: .getEPackage(eNS_URI) instanceof NewprocessPackageImpl ? EPackage.Registry.INSTANCE
0267: .getEPackage(eNS_URI)
0268: : new NewprocessPackageImpl());
0269:
0270: isInited = true;
0271:
0272: // Create package meta-data objects
0273: theNewprocessPackage.createPackageContents();
0274:
0275: // Initialize created meta-data
0276: theNewprocessPackage.initializePackageContents();
0277:
0278: // Mark meta-data to indicate it can't be changed
0279: theNewprocessPackage.freeze();
0280:
0281: return theNewprocessPackage;
0282: }
0283:
0284: /**
0285: * <!-- begin-user-doc -->
0286: * <!-- end-user-doc -->
0287: * @generated
0288: */
0289: public EClass getProcess() {
0290: return processEClass;
0291: }
0292:
0293: /**
0294: * <!-- begin-user-doc -->
0295: * <!-- end-user-doc -->
0296: * @generated
0297: */
0298: public EAttribute getProcess_Subject() {
0299: return (EAttribute) processEClass.getEStructuralFeatures().get(
0300: 0);
0301: }
0302:
0303: /**
0304: * <!-- begin-user-doc -->
0305: * <!-- end-user-doc -->
0306: * @generated
0307: */
0308: public EReference getProcess_HasSyncActivities() {
0309: return (EReference) processEClass.getEStructuralFeatures().get(
0310: 1);
0311: }
0312:
0313: /**
0314: * <!-- begin-user-doc -->
0315: * <!-- end-user-doc -->
0316: * @generated
0317: */
0318: public EReference getProcess_HasAsyncActivities() {
0319: return (EReference) processEClass.getEStructuralFeatures().get(
0320: 2);
0321: }
0322:
0323: /**
0324: * <!-- begin-user-doc -->
0325: * <!-- end-user-doc -->
0326: * @generated
0327: */
0328: public EReference getProcess_HasEvents() {
0329: return (EReference) processEClass.getEStructuralFeatures().get(
0330: 3);
0331: }
0332:
0333: /**
0334: * <!-- begin-user-doc -->
0335: * <!-- end-user-doc -->
0336: * @generated
0337: */
0338: public EReference getProcess_HasListeners() {
0339: return (EReference) processEClass.getEStructuralFeatures().get(
0340: 4);
0341: }
0342:
0343: /**
0344: * <!-- begin-user-doc -->
0345: * <!-- end-user-doc -->
0346: * @generated
0347: */
0348: public EReference getProcess_HasActors() {
0349: return (EReference) processEClass.getEStructuralFeatures().get(
0350: 5);
0351: }
0352:
0353: /**
0354: * <!-- begin-user-doc -->
0355: * <!-- end-user-doc -->
0356: * @generated
0357: */
0358: public EReference getProcess_HasMessages() {
0359: return (EReference) processEClass.getEStructuralFeatures().get(
0360: 6);
0361: }
0362:
0363: /**
0364: * <!-- begin-user-doc -->
0365: * <!-- end-user-doc -->
0366: * @generated
0367: */
0368: public EReference getProcess_HasConclusions() {
0369: return (EReference) processEClass.getEStructuralFeatures().get(
0370: 7);
0371: }
0372:
0373: /**
0374: * <!-- begin-user-doc -->
0375: * <!-- end-user-doc -->
0376: * @generated
0377: */
0378: public EReference getProcess_HasExpansions() {
0379: return (EReference) processEClass.getEStructuralFeatures().get(
0380: 8);
0381: }
0382:
0383: /**
0384: * <!-- begin-user-doc -->
0385: * <!-- end-user-doc -->
0386: * @generated
0387: */
0388: public EReference getProcess_HasConditionProxy() {
0389: return (EReference) processEClass.getEStructuralFeatures().get(
0390: 9);
0391: }
0392:
0393: /**
0394: * <!-- begin-user-doc -->
0395: * <!-- end-user-doc -->
0396: * @generated
0397: */
0398: public EReference getProcess_HasGlobals() {
0399: return (EReference) processEClass.getEStructuralFeatures().get(
0400: 10);
0401: }
0402:
0403: /**
0404: * <!-- begin-user-doc -->
0405: * <!-- end-user-doc -->
0406: * @generated
0407: */
0408: public EAttribute getProcess_Namespace() {
0409: return (EAttribute) processEClass.getEStructuralFeatures().get(
0410: 11);
0411: }
0412:
0413: /**
0414: * <!-- begin-user-doc -->
0415: * <!-- end-user-doc -->
0416: * @generated
0417: */
0418: public EClass getCondition() {
0419: return conditionEClass;
0420: }
0421:
0422: /**
0423: * <!-- begin-user-doc -->
0424: * <!-- end-user-doc -->
0425: * @generated
0426: */
0427: public EAttribute getCondition_Temporal() {
0428: return (EAttribute) conditionEClass.getEStructuralFeatures()
0429: .get(0);
0430: }
0431:
0432: /**
0433: * <!-- begin-user-doc -->
0434: * <!-- end-user-doc -->
0435: * @generated
0436: */
0437: public EAttribute getCondition_Tagged() {
0438: return (EAttribute) conditionEClass.getEStructuralFeatures()
0439: .get(1);
0440: }
0441:
0442: /**
0443: * <!-- begin-user-doc -->
0444: * <!-- end-user-doc -->
0445: * @generated
0446: */
0447: public EClass getElement() {
0448: return elementEClass;
0449: }
0450:
0451: /**
0452: * <!-- begin-user-doc -->
0453: * <!-- end-user-doc -->
0454: * @generated
0455: */
0456: public EAttribute getElement_Name() {
0457: return (EAttribute) elementEClass.getEStructuralFeatures().get(
0458: 0);
0459: }
0460:
0461: /**
0462: * <!-- begin-user-doc -->
0463: * <!-- end-user-doc -->
0464: * @generated
0465: */
0466: public EAttribute getElement_Description() {
0467: return (EAttribute) elementEClass.getEStructuralFeatures().get(
0468: 1);
0469: }
0470:
0471: /**
0472: * <!-- begin-user-doc -->
0473: * <!-- end-user-doc -->
0474: * @generated
0475: */
0476: public EAttribute getElement_Implementation() {
0477: return (EAttribute) elementEClass.getEStructuralFeatures().get(
0478: 2);
0479: }
0480:
0481: /**
0482: * <!-- begin-user-doc -->
0483: * <!-- end-user-doc -->
0484: * @generated
0485: */
0486: public EAttribute getElement_Url() {
0487: return (EAttribute) elementEClass.getEStructuralFeatures().get(
0488: 3);
0489: }
0490:
0491: /**
0492: * <!-- begin-user-doc -->
0493: * <!-- end-user-doc -->
0494: * @generated
0495: */
0496: public EAttribute getElement_Id() {
0497: return (EAttribute) elementEClass.getEStructuralFeatures().get(
0498: 4);
0499: }
0500:
0501: /**
0502: * <!-- begin-user-doc -->
0503: * <!-- end-user-doc -->
0504: * @generated
0505: */
0506: public EReference getElement_HasEnvEntries() {
0507: return (EReference) elementEClass.getEStructuralFeatures().get(
0508: 5);
0509: }
0510:
0511: /**
0512: * <!-- begin-user-doc -->
0513: * <!-- end-user-doc -->
0514: * @generated
0515: */
0516: public EClass getSyncActivity() {
0517: return syncActivityEClass;
0518: }
0519:
0520: /**
0521: * <!-- begin-user-doc -->
0522: * <!-- end-user-doc -->
0523: * @generated
0524: */
0525: public EAttribute getSyncActivity_Trials() {
0526: return (EAttribute) syncActivityEClass.getEStructuralFeatures()
0527: .get(0);
0528: }
0529:
0530: /**
0531: * <!-- begin-user-doc -->
0532: * <!-- end-user-doc -->
0533: * @generated
0534: */
0535: public EAttribute getSyncActivity_RetryDelay() {
0536: return (EAttribute) syncActivityEClass.getEStructuralFeatures()
0537: .get(1);
0538: }
0539:
0540: /**
0541: * <!-- begin-user-doc -->
0542: * <!-- end-user-doc -->
0543: * @generated
0544: */
0545: public EReference getSyncActivity_HasPostcondition() {
0546: return (EReference) syncActivityEClass.getEStructuralFeatures()
0547: .get(2);
0548: }
0549:
0550: /**
0551: * <!-- begin-user-doc -->
0552: * <!-- end-user-doc -->
0553: * @generated
0554: */
0555: public EReference getSyncActivity_HasPrecondition() {
0556: return (EReference) syncActivityEClass.getEStructuralFeatures()
0557: .get(3);
0558: }
0559:
0560: /**
0561: * <!-- begin-user-doc -->
0562: * <!-- end-user-doc -->
0563: * @generated
0564: */
0565: public EAttribute getSyncActivity_Reentrant() {
0566: return (EAttribute) syncActivityEClass.getEStructuralFeatures()
0567: .get(4);
0568: }
0569:
0570: /**
0571: * <!-- begin-user-doc -->
0572: * <!-- end-user-doc -->
0573: * @generated
0574: */
0575: public EClass getLoader() {
0576: return loaderEClass;
0577: }
0578:
0579: /**
0580: * <!-- begin-user-doc -->
0581: * <!-- end-user-doc -->
0582: * @generated
0583: */
0584: public EClass getAsyncActivity() {
0585: return asyncActivityEClass;
0586: }
0587:
0588: /**
0589: * <!-- begin-user-doc -->
0590: * <!-- end-user-doc -->
0591: * @generated
0592: */
0593: public EAttribute getAsyncActivity_Optional() {
0594: return (EAttribute) asyncActivityEClass
0595: .getEStructuralFeatures().get(0);
0596: }
0597:
0598: /**
0599: * <!-- begin-user-doc -->
0600: * <!-- end-user-doc -->
0601: * @generated
0602: */
0603: public EAttribute getAsyncActivity_Timeout() {
0604: return (EAttribute) asyncActivityEClass
0605: .getEStructuralFeatures().get(1);
0606: }
0607:
0608: /**
0609: * <!-- begin-user-doc -->
0610: * <!-- end-user-doc -->
0611: * @generated
0612: */
0613: public EReference getAsyncActivity_Actor() {
0614: return (EReference) asyncActivityEClass
0615: .getEStructuralFeatures().get(2);
0616: }
0617:
0618: /**
0619: * <!-- begin-user-doc -->
0620: * <!-- end-user-doc -->
0621: * @generated
0622: */
0623: public EReference getAsyncActivity_HasPostcondition() {
0624: return (EReference) asyncActivityEClass
0625: .getEStructuralFeatures().get(3);
0626: }
0627:
0628: /**
0629: * <!-- begin-user-doc -->
0630: * <!-- end-user-doc -->
0631: * @generated
0632: */
0633: public EReference getAsyncActivity_HasPrecondition() {
0634: return (EReference) asyncActivityEClass
0635: .getEStructuralFeatures().get(4);
0636: }
0637:
0638: /**
0639: * <!-- begin-user-doc -->
0640: * <!-- end-user-doc -->
0641: * @generated
0642: */
0643: public EAttribute getAsyncActivity_Reentrant() {
0644: return (EAttribute) asyncActivityEClass
0645: .getEStructuralFeatures().get(5);
0646: }
0647:
0648: /**
0649: * <!-- begin-user-doc -->
0650: * <!-- end-user-doc -->
0651: * @generated
0652: */
0653: public EClass getEvent() {
0654: return eventEClass;
0655: }
0656:
0657: /**
0658: * <!-- begin-user-doc -->
0659: * <!-- end-user-doc -->
0660: * @generated
0661: */
0662: public EReference getEvent_HasPostcondition() {
0663: return (EReference) eventEClass.getEStructuralFeatures().get(0);
0664: }
0665:
0666: /**
0667: * <!-- begin-user-doc -->
0668: * <!-- end-user-doc -->
0669: * @generated
0670: */
0671: public EAttribute getEvent_Reentrant() {
0672: return (EAttribute) eventEClass.getEStructuralFeatures().get(1);
0673: }
0674:
0675: /**
0676: * <!-- begin-user-doc -->
0677: * <!-- end-user-doc -->
0678: * @generated
0679: */
0680: public EClass getActor() {
0681: return actorEClass;
0682: }
0683:
0684: /**
0685: * <!-- begin-user-doc -->
0686: * <!-- end-user-doc -->
0687: * @generated
0688: */
0689: public EClass getListener() {
0690: return listenerEClass;
0691: }
0692:
0693: /**
0694: * <!-- begin-user-doc -->
0695: * <!-- end-user-doc -->
0696: * @generated
0697: */
0698: public EReference getListener_HasPrecondition() {
0699: return (EReference) listenerEClass.getEStructuralFeatures()
0700: .get(0);
0701: }
0702:
0703: /**
0704: * <!-- begin-user-doc -->
0705: * <!-- end-user-doc -->
0706: * @generated
0707: */
0708: public EAttribute getListener_Reentrant() {
0709: return (EAttribute) listenerEClass.getEStructuralFeatures()
0710: .get(1);
0711: }
0712:
0713: /**
0714: * <!-- begin-user-doc -->
0715: * <!-- end-user-doc -->
0716: * @generated
0717: */
0718: public EClass getEnvEntry() {
0719: return envEntryEClass;
0720: }
0721:
0722: /**
0723: * <!-- begin-user-doc -->
0724: * <!-- end-user-doc -->
0725: * @generated
0726: */
0727: public EAttribute getEnvEntry_Name() {
0728: return (EAttribute) envEntryEClass.getEStructuralFeatures()
0729: .get(0);
0730: }
0731:
0732: /**
0733: * <!-- begin-user-doc -->
0734: * <!-- end-user-doc -->
0735: * @generated
0736: */
0737: public EAttribute getEnvEntry_Type() {
0738: return (EAttribute) envEntryEClass.getEStructuralFeatures()
0739: .get(1);
0740: }
0741:
0742: /**
0743: * <!-- begin-user-doc -->
0744: * <!-- end-user-doc -->
0745: * @generated
0746: */
0747: public EAttribute getEnvEntry_Value() {
0748: return (EAttribute) envEntryEClass.getEStructuralFeatures()
0749: .get(2);
0750: }
0751:
0752: /**
0753: * <!-- begin-user-doc -->
0754: * <!-- end-user-doc -->
0755: * @generated
0756: */
0757: public EClass getMessage() {
0758: return messageEClass;
0759: }
0760:
0761: /**
0762: * <!-- begin-user-doc -->
0763: * <!-- end-user-doc -->
0764: * @generated
0765: */
0766: public EAttribute getMessage_Direction() {
0767: return (EAttribute) messageEClass.getEStructuralFeatures().get(
0768: 0);
0769: }
0770:
0771: /**
0772: * <!-- begin-user-doc -->
0773: * <!-- end-user-doc -->
0774: * @generated
0775: */
0776: public EClass getConditionProxy() {
0777: return conditionProxyEClass;
0778: }
0779:
0780: /**
0781: * <!-- begin-user-doc -->
0782: * <!-- end-user-doc -->
0783: * @generated
0784: */
0785: public EReference getConditionProxy_Condition() {
0786: return (EReference) conditionProxyEClass
0787: .getEStructuralFeatures().get(0);
0788: }
0789:
0790: /**
0791: * <!-- begin-user-doc -->
0792: * <!-- end-user-doc -->
0793: * @generated
0794: */
0795: public EAttribute getConditionProxy_Inverted() {
0796: return (EAttribute) conditionProxyEClass
0797: .getEStructuralFeatures().get(1);
0798: }
0799:
0800: /**
0801: * <!-- begin-user-doc -->
0802: * <!-- end-user-doc -->
0803: * @generated
0804: */
0805: public EAttribute getConditionProxy_ProxyName() {
0806: return (EAttribute) conditionProxyEClass
0807: .getEStructuralFeatures().get(2);
0808: }
0809:
0810: /**
0811: * <!-- begin-user-doc -->
0812: * <!-- end-user-doc -->
0813: * @generated
0814: */
0815: public EReference getConditionProxy_ConditionTerm() {
0816: return (EReference) conditionProxyEClass
0817: .getEStructuralFeatures().get(3);
0818: }
0819:
0820: /**
0821: * <!-- begin-user-doc -->
0822: * <!-- end-user-doc -->
0823: * @generated
0824: */
0825: public EClass getConclusion() {
0826: return conclusionEClass;
0827: }
0828:
0829: /**
0830: * <!-- begin-user-doc -->
0831: * <!-- end-user-doc -->
0832: * @generated
0833: */
0834: public EReference getConclusion_HasPrecondition() {
0835: return (EReference) conclusionEClass.getEStructuralFeatures()
0836: .get(0);
0837: }
0838:
0839: /**
0840: * <!-- begin-user-doc -->
0841: * <!-- end-user-doc -->
0842: * @generated
0843: */
0844: public EReference getConclusion_ConclusionProxy() {
0845: return (EReference) conclusionEClass.getEStructuralFeatures()
0846: .get(1);
0847: }
0848:
0849: /**
0850: * <!-- begin-user-doc -->
0851: * <!-- end-user-doc -->
0852: * @generated
0853: */
0854: public EClass getExpansion() {
0855: return expansionEClass;
0856: }
0857:
0858: /**
0859: * <!-- begin-user-doc -->
0860: * <!-- end-user-doc -->
0861: * @generated
0862: */
0863: public EReference getExpansion_HasPostcondition() {
0864: return (EReference) expansionEClass.getEStructuralFeatures()
0865: .get(0);
0866: }
0867:
0868: /**
0869: * <!-- begin-user-doc -->
0870: * <!-- end-user-doc -->
0871: * @generated
0872: */
0873: public EReference getExpansion_ExpansionProxy() {
0874: return (EReference) expansionEClass.getEStructuralFeatures()
0875: .get(1);
0876: }
0877:
0878: /**
0879: * <!-- begin-user-doc -->
0880: * <!-- end-user-doc -->
0881: * @generated
0882: */
0883: public EClass getExpression() {
0884: return expressionEClass;
0885: }
0886:
0887: /**
0888: * <!-- begin-user-doc -->
0889: * <!-- end-user-doc -->
0890: * @generated
0891: */
0892: public EAttribute getExpression_Expression() {
0893: return (EAttribute) expressionEClass.getEStructuralFeatures()
0894: .get(0);
0895: }
0896:
0897: /**
0898: * <!-- begin-user-doc -->
0899: * <!-- end-user-doc -->
0900: * @generated
0901: */
0902: public EReference getExpression_HasTerms() {
0903: return (EReference) expressionEClass.getEStructuralFeatures()
0904: .get(1);
0905: }
0906:
0907: /**
0908: * <!-- begin-user-doc -->
0909: * <!-- end-user-doc -->
0910: * @generated
0911: */
0912: public EReference getExpression_HasRoot() {
0913: return (EReference) expressionEClass.getEStructuralFeatures()
0914: .get(2);
0915: }
0916:
0917: /**
0918: * <!-- begin-user-doc -->
0919: * <!-- end-user-doc -->
0920: * @generated
0921: */
0922: public EClass getTerm() {
0923: return termEClass;
0924: }
0925:
0926: /**
0927: * <!-- begin-user-doc -->
0928: * <!-- end-user-doc -->
0929: * @generated
0930: */
0931: public EClass getConditionTerm() {
0932: return conditionTermEClass;
0933: }
0934:
0935: /**
0936: * <!-- begin-user-doc -->
0937: * <!-- end-user-doc -->
0938: * @generated
0939: */
0940: public EReference getConditionTerm_ConditionProxy() {
0941: return (EReference) conditionTermEClass
0942: .getEStructuralFeatures().get(0);
0943: }
0944:
0945: /**
0946: * <!-- begin-user-doc -->
0947: * <!-- end-user-doc -->
0948: * @generated
0949: */
0950: public EClass getOperatorTerm() {
0951: return operatorTermEClass;
0952: }
0953:
0954: /**
0955: * <!-- begin-user-doc -->
0956: * <!-- end-user-doc -->
0957: * @generated
0958: */
0959: public EReference getOperatorTerm_SubTerm() {
0960: return (EReference) operatorTermEClass.getEStructuralFeatures()
0961: .get(0);
0962: }
0963:
0964: /**
0965: * <!-- begin-user-doc -->
0966: * <!-- end-user-doc -->
0967: * @generated
0968: */
0969: public EClass getOrOperator() {
0970: return orOperatorEClass;
0971: }
0972:
0973: /**
0974: * <!-- begin-user-doc -->
0975: * <!-- end-user-doc -->
0976: * @generated
0977: */
0978: public EClass getAndOperator() {
0979: return andOperatorEClass;
0980: }
0981:
0982: /**
0983: * <!-- begin-user-doc -->
0984: * <!-- end-user-doc -->
0985: * @generated
0986: */
0987: public EClass getRoot() {
0988: return rootEClass;
0989: }
0990:
0991: /**
0992: * <!-- begin-user-doc -->
0993: * <!-- end-user-doc -->
0994: * @generated
0995: */
0996: public EReference getRoot_Term() {
0997: return (EReference) rootEClass.getEStructuralFeatures().get(0);
0998: }
0999:
1000: /**
1001: * <!-- begin-user-doc -->
1002: * <!-- end-user-doc -->
1003: * @generated
1004: */
1005: public EClass getGlobals() {
1006: return globalsEClass;
1007: }
1008:
1009: /**
1010: * <!-- begin-user-doc -->
1011: * <!-- end-user-doc -->
1012: * @generated
1013: */
1014: public EReference getGlobals_HasCondition() {
1015: return (EReference) globalsEClass.getEStructuralFeatures().get(
1016: 0);
1017: }
1018:
1019: /**
1020: * <!-- begin-user-doc -->
1021: * <!-- end-user-doc -->
1022: * @generated
1023: */
1024: public EReference getGlobals_HasLoader() {
1025: return (EReference) globalsEClass.getEStructuralFeatures().get(
1026: 1);
1027: }
1028:
1029: /**
1030: * <!-- begin-user-doc -->
1031: * <!-- end-user-doc -->
1032: * @generated
1033: */
1034: public EEnum getDirection() {
1035: return directionEEnum;
1036: }
1037:
1038: /**
1039: * <!-- begin-user-doc -->
1040: * <!-- end-user-doc -->
1041: * @generated
1042: */
1043: public NewprocessFactory getNewprocessFactory() {
1044: return (NewprocessFactory) getEFactoryInstance();
1045: }
1046:
1047: /**
1048: * <!-- begin-user-doc -->
1049: * <!-- end-user-doc -->
1050: * @generated
1051: */
1052: private boolean isCreated = false;
1053:
1054: /**
1055: * Creates the meta-model objects for the package. This method is
1056: * guarded to have no affect on any invocation but its first.
1057: * <!-- begin-user-doc -->
1058: * <!-- end-user-doc -->
1059: * @generated
1060: */
1061: public void createPackageContents() {
1062: if (isCreated)
1063: return;
1064: isCreated = true;
1065:
1066: // Create classes and their features
1067: processEClass = createEClass(PROCESS);
1068: createEAttribute(processEClass, PROCESS__SUBJECT);
1069: createEReference(processEClass, PROCESS__HAS_SYNC_ACTIVITIES);
1070: createEReference(processEClass, PROCESS__HAS_ASYNC_ACTIVITIES);
1071: createEReference(processEClass, PROCESS__HAS_EVENTS);
1072: createEReference(processEClass, PROCESS__HAS_LISTENERS);
1073: createEReference(processEClass, PROCESS__HAS_ACTORS);
1074: createEReference(processEClass, PROCESS__HAS_MESSAGES);
1075: createEReference(processEClass, PROCESS__HAS_CONCLUSIONS);
1076: createEReference(processEClass, PROCESS__HAS_EXPANSIONS);
1077: createEReference(processEClass, PROCESS__HAS_CONDITION_PROXY);
1078: createEReference(processEClass, PROCESS__HAS_GLOBALS);
1079: createEAttribute(processEClass, PROCESS__NAMESPACE);
1080:
1081: conditionEClass = createEClass(CONDITION);
1082: createEAttribute(conditionEClass, CONDITION__TEMPORAL);
1083: createEAttribute(conditionEClass, CONDITION__TAGGED);
1084:
1085: elementEClass = createEClass(ELEMENT);
1086: createEAttribute(elementEClass, ELEMENT__NAME);
1087: createEAttribute(elementEClass, ELEMENT__DESCRIPTION);
1088: createEAttribute(elementEClass, ELEMENT__IMPLEMENTATION);
1089: createEAttribute(elementEClass, ELEMENT__URL);
1090: createEAttribute(elementEClass, ELEMENT__ID);
1091: createEReference(elementEClass, ELEMENT__HAS_ENV_ENTRIES);
1092:
1093: syncActivityEClass = createEClass(SYNC_ACTIVITY);
1094: createEAttribute(syncActivityEClass, SYNC_ACTIVITY__TRIALS);
1095: createEAttribute(syncActivityEClass, SYNC_ACTIVITY__RETRY_DELAY);
1096: createEReference(syncActivityEClass,
1097: SYNC_ACTIVITY__HAS_POSTCONDITION);
1098: createEReference(syncActivityEClass,
1099: SYNC_ACTIVITY__HAS_PRECONDITION);
1100: createEAttribute(syncActivityEClass, SYNC_ACTIVITY__REENTRANT);
1101:
1102: loaderEClass = createEClass(LOADER);
1103:
1104: asyncActivityEClass = createEClass(ASYNC_ACTIVITY);
1105: createEAttribute(asyncActivityEClass, ASYNC_ACTIVITY__OPTIONAL);
1106: createEAttribute(asyncActivityEClass, ASYNC_ACTIVITY__TIMEOUT);
1107: createEReference(asyncActivityEClass, ASYNC_ACTIVITY__ACTOR);
1108: createEReference(asyncActivityEClass,
1109: ASYNC_ACTIVITY__HAS_POSTCONDITION);
1110: createEReference(asyncActivityEClass,
1111: ASYNC_ACTIVITY__HAS_PRECONDITION);
1112: createEAttribute(asyncActivityEClass, ASYNC_ACTIVITY__REENTRANT);
1113:
1114: eventEClass = createEClass(EVENT);
1115: createEReference(eventEClass, EVENT__HAS_POSTCONDITION);
1116: createEAttribute(eventEClass, EVENT__REENTRANT);
1117:
1118: actorEClass = createEClass(ACTOR);
1119:
1120: listenerEClass = createEClass(LISTENER);
1121: createEReference(listenerEClass, LISTENER__HAS_PRECONDITION);
1122: createEAttribute(listenerEClass, LISTENER__REENTRANT);
1123:
1124: envEntryEClass = createEClass(ENV_ENTRY);
1125: createEAttribute(envEntryEClass, ENV_ENTRY__NAME);
1126: createEAttribute(envEntryEClass, ENV_ENTRY__TYPE);
1127: createEAttribute(envEntryEClass, ENV_ENTRY__VALUE);
1128:
1129: messageEClass = createEClass(MESSAGE);
1130: createEAttribute(messageEClass, MESSAGE__DIRECTION);
1131:
1132: conditionProxyEClass = createEClass(CONDITION_PROXY);
1133: createEReference(conditionProxyEClass,
1134: CONDITION_PROXY__CONDITION);
1135: createEAttribute(conditionProxyEClass,
1136: CONDITION_PROXY__INVERTED);
1137: createEAttribute(conditionProxyEClass,
1138: CONDITION_PROXY__PROXY_NAME);
1139: createEReference(conditionProxyEClass,
1140: CONDITION_PROXY__CONDITION_TERM);
1141:
1142: conclusionEClass = createEClass(CONCLUSION);
1143: createEReference(conclusionEClass, CONCLUSION__HAS_PRECONDITION);
1144: createEReference(conclusionEClass, CONCLUSION__CONCLUSION_PROXY);
1145:
1146: expansionEClass = createEClass(EXPANSION);
1147: createEReference(expansionEClass, EXPANSION__HAS_POSTCONDITION);
1148: createEReference(expansionEClass, EXPANSION__EXPANSION_PROXY);
1149:
1150: expressionEClass = createEClass(EXPRESSION);
1151: createEAttribute(expressionEClass, EXPRESSION__EXPRESSION);
1152: createEReference(expressionEClass, EXPRESSION__HAS_TERMS);
1153: createEReference(expressionEClass, EXPRESSION__HAS_ROOT);
1154:
1155: termEClass = createEClass(TERM);
1156:
1157: conditionTermEClass = createEClass(CONDITION_TERM);
1158: createEReference(conditionTermEClass,
1159: CONDITION_TERM__CONDITION_PROXY);
1160:
1161: operatorTermEClass = createEClass(OPERATOR_TERM);
1162: createEReference(operatorTermEClass, OPERATOR_TERM__SUB_TERM);
1163:
1164: orOperatorEClass = createEClass(OR_OPERATOR);
1165:
1166: andOperatorEClass = createEClass(AND_OPERATOR);
1167:
1168: rootEClass = createEClass(ROOT);
1169: createEReference(rootEClass, ROOT__TERM);
1170:
1171: globalsEClass = createEClass(GLOBALS);
1172: createEReference(globalsEClass, GLOBALS__HAS_CONDITION);
1173: createEReference(globalsEClass, GLOBALS__HAS_LOADER);
1174:
1175: // Create enums
1176: directionEEnum = createEEnum(DIRECTION);
1177: }
1178:
1179: /**
1180: * <!-- begin-user-doc -->
1181: * <!-- end-user-doc -->
1182: * @generated
1183: */
1184: private boolean isInitialized = false;
1185:
1186: /**
1187: * Complete the initialization of the package and its meta-model. This
1188: * method is guarded to have no affect on any invocation but its first.
1189: * <!-- begin-user-doc -->
1190: * <!-- end-user-doc -->
1191: * @generated
1192: */
1193: public void initializePackageContents() {
1194: if (isInitialized)
1195: return;
1196: isInitialized = true;
1197:
1198: // Initialize package
1199: setName(eNAME);
1200: setNsPrefix(eNS_PREFIX);
1201: setNsURI(eNS_URI);
1202:
1203: // Create type parameters
1204:
1205: // Set bounds for type parameters
1206:
1207: // Add supertypes to classes
1208: processEClass.getESuperTypes().add(this .getElement());
1209: conditionEClass.getESuperTypes().add(this .getElement());
1210: syncActivityEClass.getESuperTypes().add(this .getElement());
1211: loaderEClass.getESuperTypes().add(this .getElement());
1212: asyncActivityEClass.getESuperTypes().add(this .getElement());
1213: eventEClass.getESuperTypes().add(this .getElement());
1214: actorEClass.getESuperTypes().add(this .getElement());
1215: listenerEClass.getESuperTypes().add(this .getElement());
1216: messageEClass.getESuperTypes().add(this .getElement());
1217: conclusionEClass.getESuperTypes().add(this .getElement());
1218: expansionEClass.getESuperTypes().add(this .getElement());
1219: conditionTermEClass.getESuperTypes().add(this .getTerm());
1220: operatorTermEClass.getESuperTypes().add(this .getTerm());
1221: orOperatorEClass.getESuperTypes().add(this .getOperatorTerm());
1222: andOperatorEClass.getESuperTypes().add(this .getOperatorTerm());
1223:
1224: // Initialize classes and features; add operations and parameters
1225: initEClass(processEClass, newprocess.Process.class, "Process",
1226: !IS_ABSTRACT, !IS_INTERFACE,
1227: IS_GENERATED_INSTANCE_CLASS);
1228: initEAttribute(getProcess_Subject(), ecorePackage.getEString(),
1229: "subject", null, 0, 1, newprocess.Process.class,
1230: !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
1231: !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
1232: IS_ORDERED);
1233: initEReference(getProcess_HasSyncActivities(), this
1234: .getSyncActivity(), null, "hasSyncActivities", null, 0,
1235: -1, newprocess.Process.class, !IS_TRANSIENT,
1236: !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
1237: !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
1238: !IS_DERIVED, IS_ORDERED);
1239: initEReference(getProcess_HasAsyncActivities(), this
1240: .getAsyncActivity(), null, "hasAsyncActivities", null,
1241: 0, -1, newprocess.Process.class, !IS_TRANSIENT,
1242: !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
1243: !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
1244: !IS_DERIVED, IS_ORDERED);
1245: initEReference(getProcess_HasEvents(), this .getEvent(), null,
1246: "hasEvents", null, 0, -1, newprocess.Process.class,
1247: !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
1248: IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
1249: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1250: initEReference(getProcess_HasListeners(), this .getListener(),
1251: null, "hasListeners", null, 0, -1,
1252: newprocess.Process.class, !IS_TRANSIENT, !IS_VOLATILE,
1253: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1254: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1255: initEReference(getProcess_HasActors(), this .getActor(), null,
1256: "hasActors", null, 0, -1, newprocess.Process.class,
1257: !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
1258: IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
1259: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1260: initEReference(getProcess_HasMessages(), this .getMessage(),
1261: null, "hasMessages", null, 0, -1,
1262: newprocess.Process.class, !IS_TRANSIENT, !IS_VOLATILE,
1263: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1264: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1265: initEReference(getProcess_HasConclusions(), this
1266: .getConclusion(), null, "hasConclusions", null, 0, -1,
1267: newprocess.Process.class, !IS_TRANSIENT, !IS_VOLATILE,
1268: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1269: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1270: initEReference(getProcess_HasExpansions(), this .getExpansion(),
1271: null, "hasExpansions", null, 0, -1,
1272: newprocess.Process.class, !IS_TRANSIENT, !IS_VOLATILE,
1273: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1274: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1275: initEReference(getProcess_HasConditionProxy(), this
1276: .getConditionProxy(), null, "hasConditionProxy", null,
1277: 0, -1, newprocess.Process.class, !IS_TRANSIENT,
1278: !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
1279: !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
1280: !IS_DERIVED, IS_ORDERED);
1281: initEReference(getProcess_HasGlobals(), this .getGlobals(),
1282: null, "hasGlobals", null, 0, 1,
1283: newprocess.Process.class, !IS_TRANSIENT, !IS_VOLATILE,
1284: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1285: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1286: initEAttribute(getProcess_Namespace(), ecorePackage
1287: .getEString(), "namespace", null, 0, 1,
1288: newprocess.Process.class, !IS_TRANSIENT, !IS_VOLATILE,
1289: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1290: !IS_DERIVED, IS_ORDERED);
1291:
1292: initEClass(conditionEClass, Condition.class, "Condition",
1293: !IS_ABSTRACT, !IS_INTERFACE,
1294: IS_GENERATED_INSTANCE_CLASS);
1295: initEAttribute(getCondition_Temporal(), ecorePackage
1296: .getEBoolean(), "temporal", null, 0, 1,
1297: Condition.class, !IS_TRANSIENT, !IS_VOLATILE,
1298: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1299: !IS_DERIVED, IS_ORDERED);
1300: initEAttribute(getCondition_Tagged(), ecorePackage
1301: .getEBoolean(), "tagged", null, 0, 1, Condition.class,
1302: !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
1303: !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
1304: IS_ORDERED);
1305:
1306: addEOperation(conditionEClass, null, "performUpdate");
1307:
1308: initEClass(elementEClass, Element.class, "Element",
1309: !IS_ABSTRACT, !IS_INTERFACE,
1310: IS_GENERATED_INSTANCE_CLASS);
1311: initEAttribute(getElement_Name(), ecorePackage.getEString(),
1312: "name", null, 0, 1, Element.class, !IS_TRANSIENT,
1313: !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
1314: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1315: initEAttribute(getElement_Description(), ecorePackage
1316: .getEString(), "description", null, 0, 1,
1317: Element.class, !IS_TRANSIENT, !IS_VOLATILE,
1318: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1319: !IS_DERIVED, IS_ORDERED);
1320: initEAttribute(getElement_Implementation(), ecorePackage
1321: .getEString(), "implementation", null, 0, 1,
1322: Element.class, !IS_TRANSIENT, !IS_VOLATILE,
1323: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1324: !IS_DERIVED, IS_ORDERED);
1325: initEAttribute(getElement_Url(), ecorePackage.getEString(),
1326: "url", null, 0, -1, Element.class, !IS_TRANSIENT,
1327: !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
1328: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1329: initEAttribute(getElement_Id(), ecorePackage.getEString(),
1330: "id", null, 0, 1, Element.class, !IS_TRANSIENT,
1331: !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
1332: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1333: initEReference(getElement_HasEnvEntries(), this .getEnvEntry(),
1334: null, "hasEnvEntries", null, 0, -1, Element.class,
1335: !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
1336: IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
1337: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1338:
1339: initEClass(syncActivityEClass, SyncActivity.class,
1340: "SyncActivity", !IS_ABSTRACT, !IS_INTERFACE,
1341: IS_GENERATED_INSTANCE_CLASS);
1342: initEAttribute(getSyncActivity_Trials(),
1343: ecorePackage.getEInt(), "trials", "3", 0, 1,
1344: SyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1345: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1346: !IS_DERIVED, IS_ORDERED);
1347: initEAttribute(getSyncActivity_RetryDelay(), ecorePackage
1348: .getEInt(), "retryDelay", "3600", 0, 1,
1349: SyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1350: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1351: !IS_DERIVED, IS_ORDERED);
1352: initEReference(getSyncActivity_HasPostcondition(), this
1353: .getExpression(), null, "hasPostcondition", null, 0, 1,
1354: SyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1355: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1356: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1357: initEReference(getSyncActivity_HasPrecondition(), this
1358: .getExpression(), null, "hasPrecondition", null, 0, 1,
1359: SyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1360: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1361: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1362: initEAttribute(getSyncActivity_Reentrant(), ecorePackage
1363: .getEBoolean(), "reentrant", null, 0, 1,
1364: SyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1365: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1366: !IS_DERIVED, IS_ORDERED);
1367:
1368: addEOperation(syncActivityEClass, null, "performUpdate");
1369:
1370: initEClass(loaderEClass, Loader.class, "Loader", !IS_ABSTRACT,
1371: !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1372:
1373: initEClass(asyncActivityEClass, AsyncActivity.class,
1374: "AsyncActivity", !IS_ABSTRACT, !IS_INTERFACE,
1375: IS_GENERATED_INSTANCE_CLASS);
1376: initEAttribute(getAsyncActivity_Optional(), ecorePackage
1377: .getEBoolean(), "optional", null, 0, 1,
1378: AsyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1379: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1380: !IS_DERIVED, IS_ORDERED);
1381: initEAttribute(getAsyncActivity_Timeout(), ecorePackage
1382: .getEInt(), "timeout", "86400", 0, 1,
1383: AsyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1384: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1385: !IS_DERIVED, IS_ORDERED);
1386: initEReference(getAsyncActivity_Actor(), this .getActor(), null,
1387: "actor", null, 0, 1, AsyncActivity.class,
1388: !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
1389: !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
1390: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1391: initEReference(getAsyncActivity_HasPostcondition(), this
1392: .getExpression(), null, "hasPostcondition", null, 0, 1,
1393: AsyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1394: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1395: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1396: initEReference(getAsyncActivity_HasPrecondition(), this
1397: .getExpression(), null, "hasPrecondition", null, 0, 1,
1398: AsyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1399: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1400: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1401: initEAttribute(getAsyncActivity_Reentrant(), ecorePackage
1402: .getEBoolean(), "reentrant", null, 0, 1,
1403: AsyncActivity.class, !IS_TRANSIENT, !IS_VOLATILE,
1404: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1405: !IS_DERIVED, IS_ORDERED);
1406:
1407: addEOperation(asyncActivityEClass, null, "performUpdate");
1408:
1409: initEClass(eventEClass, Event.class, "Event", !IS_ABSTRACT,
1410: !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1411: initEReference(getEvent_HasPostcondition(), this
1412: .getExpression(), null, "hasPostcondition", null, 0, 1,
1413: Event.class, !IS_TRANSIENT, !IS_VOLATILE,
1414: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1415: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1416: initEAttribute(getEvent_Reentrant(),
1417: ecorePackage.getEBoolean(), "reentrant", null, 0, 1,
1418: Event.class, !IS_TRANSIENT, !IS_VOLATILE,
1419: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1420: !IS_DERIVED, IS_ORDERED);
1421:
1422: addEOperation(eventEClass, null, "performUpdate");
1423:
1424: initEClass(actorEClass, Actor.class, "Actor", !IS_ABSTRACT,
1425: !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1426:
1427: initEClass(listenerEClass, Listener.class, "Listener",
1428: !IS_ABSTRACT, !IS_INTERFACE,
1429: IS_GENERATED_INSTANCE_CLASS);
1430: initEReference(getListener_HasPrecondition(), this
1431: .getExpression(), null, "hasPrecondition", null, 0, 1,
1432: Listener.class, !IS_TRANSIENT, !IS_VOLATILE,
1433: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1434: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1435: initEAttribute(getListener_Reentrant(), ecorePackage
1436: .getEBoolean(), "reentrant", null, 0, 1,
1437: Listener.class, !IS_TRANSIENT, !IS_VOLATILE,
1438: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1439: !IS_DERIVED, IS_ORDERED);
1440:
1441: addEOperation(listenerEClass, null, "performUpdate");
1442:
1443: initEClass(envEntryEClass, EnvEntry.class, "EnvEntry",
1444: !IS_ABSTRACT, !IS_INTERFACE,
1445: IS_GENERATED_INSTANCE_CLASS);
1446: initEAttribute(getEnvEntry_Name(), ecorePackage.getEString(),
1447: "name", null, 0, 1, EnvEntry.class, !IS_TRANSIENT,
1448: !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
1449: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1450: initEAttribute(getEnvEntry_Type(), ecorePackage.getEString(),
1451: "type", null, 0, 1, EnvEntry.class, !IS_TRANSIENT,
1452: !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
1453: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1454: initEAttribute(getEnvEntry_Value(), ecorePackage.getEString(),
1455: "value", null, 0, 1, EnvEntry.class, !IS_TRANSIENT,
1456: !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
1457: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1458:
1459: initEClass(messageEClass, Message.class, "Message",
1460: !IS_ABSTRACT, !IS_INTERFACE,
1461: IS_GENERATED_INSTANCE_CLASS);
1462: initEAttribute(getMessage_Direction(), this .getDirection(),
1463: "direction", null, 0, 1, Message.class, !IS_TRANSIENT,
1464: !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
1465: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1466:
1467: initEClass(conditionProxyEClass, ConditionProxy.class,
1468: "ConditionProxy", !IS_ABSTRACT, !IS_INTERFACE,
1469: IS_GENERATED_INSTANCE_CLASS);
1470: initEReference(getConditionProxy_Condition(), this
1471: .getCondition(), null, "condition", null, 0, 1,
1472: ConditionProxy.class, !IS_TRANSIENT, !IS_VOLATILE,
1473: IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
1474: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1475: initEAttribute(getConditionProxy_Inverted(), ecorePackage
1476: .getEBoolean(), "inverted", null, 0, 1,
1477: ConditionProxy.class, !IS_TRANSIENT, !IS_VOLATILE,
1478: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1479: !IS_DERIVED, IS_ORDERED);
1480: initEAttribute(getConditionProxy_ProxyName(), ecorePackage
1481: .getEString(), "proxyName", null, 0, 1,
1482: ConditionProxy.class, !IS_TRANSIENT, !IS_VOLATILE,
1483: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1484: !IS_DERIVED, IS_ORDERED);
1485: initEReference(getConditionProxy_ConditionTerm(), this
1486: .getConditionTerm(), this
1487: .getConditionTerm_ConditionProxy(), "conditionTerm",
1488: null, 0, -1, ConditionProxy.class, !IS_TRANSIENT,
1489: !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
1490: IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
1491: !IS_DERIVED, IS_ORDERED);
1492:
1493: addEOperation(conditionProxyEClass, null, "performUpdate");
1494:
1495: addEOperation(conditionProxyEClass, null, "updateName");
1496:
1497: initEClass(conclusionEClass, Conclusion.class, "Conclusion",
1498: !IS_ABSTRACT, !IS_INTERFACE,
1499: IS_GENERATED_INSTANCE_CLASS);
1500: initEReference(getConclusion_HasPrecondition(), this
1501: .getExpression(), null, "hasPrecondition", null, 0, 1,
1502: Conclusion.class, !IS_TRANSIENT, !IS_VOLATILE,
1503: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1504: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1505: initEReference(getConclusion_ConclusionProxy(), this
1506: .getConditionProxy(), null, "conclusionProxy", null, 0,
1507: 1, Conclusion.class, !IS_TRANSIENT, !IS_VOLATILE,
1508: IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
1509: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1510:
1511: addEOperation(conclusionEClass, null, "performUpdate");
1512:
1513: initEClass(expansionEClass, Expansion.class, "Expansion",
1514: !IS_ABSTRACT, !IS_INTERFACE,
1515: IS_GENERATED_INSTANCE_CLASS);
1516: initEReference(getExpansion_HasPostcondition(), this
1517: .getExpression(), null, "hasPostcondition", null, 0, 1,
1518: Expansion.class, !IS_TRANSIENT, !IS_VOLATILE,
1519: IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
1520: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1521: initEReference(getExpansion_ExpansionProxy(), this
1522: .getConditionProxy(), null, "expansionProxy", null, 0,
1523: 1, Expansion.class, !IS_TRANSIENT, !IS_VOLATILE,
1524: IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
1525: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1526:
1527: addEOperation(expansionEClass, null, "performUpdate");
1528:
1529: initEClass(expressionEClass, Expression.class, "Expression",
1530: !IS_ABSTRACT, !IS_INTERFACE,
1531: IS_GENERATED_INSTANCE_CLASS);
1532: initEAttribute(getExpression_Expression(), ecorePackage
1533: .getEString(), "expression", null, 0, 1,
1534: Expression.class, !IS_TRANSIENT, !IS_VOLATILE,
1535: IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
1536: !IS_DERIVED, IS_ORDERED);
1537: initEReference(getExpression_HasTerms(), this .getTerm(), null,
1538: "hasTerms", null, 0, -1, Expression.class,
1539: !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
1540: IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
1541: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1542: initEReference(getExpression_HasRoot(), this .getRoot(), null,
1543: "hasRoot", null, 0, 1, Expression.class, !IS_TRANSIENT,
1544: !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
1545: !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
1546: !IS_DERIVED, IS_ORDERED);
1547:
1548: addEOperation(expressionEClass, null, "updateExpression");
1549:
1550: addEOperation(expressionEClass, null, "updateName");
1551:
1552: EOperation op = addEOperation(expressionEClass, ecorePackage
1553: .getEBoolean(), "acceptOperator", 0, 1);
1554:
1555: op = addEOperation(expressionEClass, ecorePackage.getEInt(),
1556: "decorateLink", 0, 1);
1557:
1558: initEClass(termEClass, Term.class, "Term", !IS_ABSTRACT,
1559: !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1560:
1561: op = addEOperation(termEClass, ecorePackage.getEString(),
1562: "getExpression", 0, 1);
1563:
1564: addEOperation(termEClass, null, "performUpdate");
1565:
1566: op = addEOperation(termEClass, ecorePackage.getEInt(),
1567: "decorateLink", 0, 1);
1568:
1569: initEClass(conditionTermEClass, ConditionTerm.class,
1570: "ConditionTerm", !IS_ABSTRACT, !IS_INTERFACE,
1571: IS_GENERATED_INSTANCE_CLASS);
1572: initEReference(getConditionTerm_ConditionProxy(), this
1573: .getConditionProxy(), this
1574: .getConditionProxy_ConditionTerm(), "conditionProxy",
1575: null, 0, 1, ConditionTerm.class, !IS_TRANSIENT,
1576: !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
1577: IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
1578: !IS_DERIVED, IS_ORDERED);
1579:
1580: initEClass(operatorTermEClass, OperatorTerm.class,
1581: "OperatorTerm", !IS_ABSTRACT, !IS_INTERFACE,
1582: IS_GENERATED_INSTANCE_CLASS);
1583: initEReference(getOperatorTerm_SubTerm(), this .getTerm(), null,
1584: "subTerm", null, 0, -1, OperatorTerm.class,
1585: !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
1586: !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
1587: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1588:
1589: op = addEOperation(operatorTermEClass, ecorePackage.getEInt(),
1590: "getLevel", 0, 1);
1591:
1592: op = addEOperation(operatorTermEClass, ecorePackage
1593: .getEBoolean(), "acceptIncomingLink", 0, 1);
1594:
1595: initEClass(orOperatorEClass, OrOperator.class, "OrOperator",
1596: !IS_ABSTRACT, !IS_INTERFACE,
1597: IS_GENERATED_INSTANCE_CLASS);
1598:
1599: initEClass(andOperatorEClass, AndOperator.class, "AndOperator",
1600: !IS_ABSTRACT, !IS_INTERFACE,
1601: IS_GENERATED_INSTANCE_CLASS);
1602:
1603: initEClass(rootEClass, Root.class, "Root", !IS_ABSTRACT,
1604: !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1605: initEReference(getRoot_Term(), this .getTerm(), null, "term",
1606: null, 0, 1, Root.class, !IS_TRANSIENT, !IS_VOLATILE,
1607: IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
1608: !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1609:
1610: op = addEOperation(rootEClass, ecorePackage.getEBoolean(),
1611: "acceptOutgoingLink", 0, 1);
1612: addEParameter(op, ecorePackage.getEInt(), "type", 0, 1);
1613:
1614: op = addEOperation(rootEClass, ecorePackage.getEString(),
1615: "getExpression", 0, 1);
1616:
1617: op = addEOperation(rootEClass, ecorePackage.getEBoolean(),
1618: "acceptOperator", 0, 1);
1619:
1620: initEClass(globalsEClass, Globals.class, "Globals",
1621: !IS_ABSTRACT, !IS_INTERFACE,
1622: IS_GENERATED_INSTANCE_CLASS);
1623: initEReference(getGlobals_HasCondition(), this .getCondition(),
1624: null, "hasCondition", null, 0, -1, Globals.class,
1625: !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
1626: IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
1627: IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1628: initEReference(getGlobals_HasLoader(), this .getLoader(), null,
1629: "hasLoader", null, 0, 1, Globals.class, !IS_TRANSIENT,
1630: !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
1631: !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
1632: !IS_DERIVED, IS_ORDERED);
1633:
1634: // Initialize enums and add enum literals
1635: initEEnum(directionEEnum, Direction.class, "Direction");
1636: addEEnumLiteral(directionEEnum, Direction.INCOMING);
1637: addEEnumLiteral(directionEEnum, Direction.OUTGOING);
1638:
1639: // Create resource
1640: createResource(eNS_URI);
1641: }
1642:
1643: } //NewprocessPackageImpl
|