| 1 | /** |
| 2 | * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany |
| 3 | * |
| 4 | * $Id$ |
| 5 | */ |
| 6 | package de.uka.ipd.sdq.pcm.seff.impl; |
| 7 | |
| 8 | import org.eclipse.emf.ecore.EAttribute; |
| 9 | import org.eclipse.emf.ecore.EClass; |
| 10 | import org.eclipse.emf.ecore.EGenericType; |
| 11 | import org.eclipse.emf.ecore.EOperation; |
| 12 | import org.eclipse.emf.ecore.EPackage; |
| 13 | import org.eclipse.emf.ecore.EReference; |
| 14 | import org.eclipse.emf.ecore.EValidator; |
| 15 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
| 16 | |
| 17 | import de.uka.ipd.sdq.identifier.IdentifierPackage; |
| 18 | import de.uka.ipd.sdq.pcm.PcmPackage; |
| 19 | import de.uka.ipd.sdq.pcm.allocation.AllocationPackage; |
| 20 | import de.uka.ipd.sdq.pcm.allocation.impl.AllocationPackageImpl; |
| 21 | import de.uka.ipd.sdq.pcm.core.CorePackage; |
| 22 | import de.uka.ipd.sdq.pcm.core.composition.CompositionPackage; |
| 23 | import de.uka.ipd.sdq.pcm.core.composition.impl.CompositionPackageImpl; |
| 24 | import de.uka.ipd.sdq.pcm.core.entity.EntityPackage; |
| 25 | import de.uka.ipd.sdq.pcm.core.entity.impl.EntityPackageImpl; |
| 26 | import de.uka.ipd.sdq.pcm.core.impl.CorePackageImpl; |
| 27 | import de.uka.ipd.sdq.pcm.impl.PcmPackageImpl; |
| 28 | import de.uka.ipd.sdq.pcm.parameter.ParameterPackage; |
| 29 | import de.uka.ipd.sdq.pcm.parameter.impl.ParameterPackageImpl; |
| 30 | import de.uka.ipd.sdq.pcm.protocol.ProtocolPackage; |
| 31 | import de.uka.ipd.sdq.pcm.protocol.impl.ProtocolPackageImpl; |
| 32 | import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage; |
| 33 | import de.uka.ipd.sdq.pcm.qosannotations.impl.QosannotationsPackageImpl; |
| 34 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performancePackage; |
| 35 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.impl.Qos_performancePackageImpl; |
| 36 | import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.Qos_reliabilityPackage; |
| 37 | import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.impl.Qos_reliabilityPackageImpl; |
| 38 | import de.uka.ipd.sdq.pcm.reliability.ReliabilityPackage; |
| 39 | import de.uka.ipd.sdq.pcm.reliability.impl.ReliabilityPackageImpl; |
| 40 | import de.uka.ipd.sdq.pcm.repository.RepositoryPackage; |
| 41 | import de.uka.ipd.sdq.pcm.repository.impl.RepositoryPackageImpl; |
| 42 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage; |
| 43 | import de.uka.ipd.sdq.pcm.resourceenvironment.impl.ResourceenvironmentPackageImpl; |
| 44 | import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage; |
| 45 | import de.uka.ipd.sdq.pcm.resourcetype.impl.ResourcetypePackageImpl; |
| 46 | import de.uka.ipd.sdq.pcm.seff.AbstractAction; |
| 47 | import de.uka.ipd.sdq.pcm.seff.AbstractBranchTransition; |
| 48 | import de.uka.ipd.sdq.pcm.seff.AbstractInternalControlFlowAction; |
| 49 | import de.uka.ipd.sdq.pcm.seff.AbstractLoopAction; |
| 50 | import de.uka.ipd.sdq.pcm.seff.AcquireAction; |
| 51 | import de.uka.ipd.sdq.pcm.seff.BranchAction; |
| 52 | import de.uka.ipd.sdq.pcm.seff.CallAction; |
| 53 | import de.uka.ipd.sdq.pcm.seff.CallReturnAction; |
| 54 | import de.uka.ipd.sdq.pcm.seff.CollectionIteratorAction; |
| 55 | import de.uka.ipd.sdq.pcm.seff.EmitEventAction; |
| 56 | import de.uka.ipd.sdq.pcm.seff.ExternalCallAction; |
| 57 | import de.uka.ipd.sdq.pcm.seff.ForkAction; |
| 58 | import de.uka.ipd.sdq.pcm.seff.ForkedBehaviour; |
| 59 | import de.uka.ipd.sdq.pcm.seff.GuardedBranchTransition; |
| 60 | import de.uka.ipd.sdq.pcm.seff.InternalAction; |
| 61 | import de.uka.ipd.sdq.pcm.seff.InternalCallAction; |
| 62 | import de.uka.ipd.sdq.pcm.seff.LoopAction; |
| 63 | import de.uka.ipd.sdq.pcm.seff.ProbabilisticBranchTransition; |
| 64 | import de.uka.ipd.sdq.pcm.seff.ReleaseAction; |
| 65 | import de.uka.ipd.sdq.pcm.seff.ResourceDemandingBehaviour; |
| 66 | import de.uka.ipd.sdq.pcm.seff.ResourceDemandingInternalBehaviour; |
| 67 | import de.uka.ipd.sdq.pcm.seff.ResourceDemandingSEFF; |
| 68 | import de.uka.ipd.sdq.pcm.seff.SeffFactory; |
| 69 | import de.uka.ipd.sdq.pcm.seff.SeffPackage; |
| 70 | import de.uka.ipd.sdq.pcm.seff.ServiceEffectSpecification; |
| 71 | import de.uka.ipd.sdq.pcm.seff.SetVariableAction; |
| 72 | import de.uka.ipd.sdq.pcm.seff.StartAction; |
| 73 | import de.uka.ipd.sdq.pcm.seff.StopAction; |
| 74 | import de.uka.ipd.sdq.pcm.seff.SynchronisationPoint; |
| 75 | import de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage; |
| 76 | import de.uka.ipd.sdq.pcm.seff.seff_performance.impl.Seff_performancePackageImpl; |
| 77 | import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage; |
| 78 | import de.uka.ipd.sdq.pcm.seff.seff_reliability.impl.Seff_reliabilityPackageImpl; |
| 79 | import de.uka.ipd.sdq.pcm.seff.util.SeffValidator; |
| 80 | import de.uka.ipd.sdq.pcm.subsystem.SubsystemPackage; |
| 81 | import de.uka.ipd.sdq.pcm.subsystem.impl.SubsystemPackageImpl; |
| 82 | import de.uka.ipd.sdq.pcm.system.SystemPackage; |
| 83 | import de.uka.ipd.sdq.pcm.system.impl.SystemPackageImpl; |
| 84 | import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage; |
| 85 | import de.uka.ipd.sdq.pcm.usagemodel.impl.UsagemodelPackageImpl; |
| 86 | import de.uka.ipd.sdq.stoex.StoexPackage; |
| 87 | |
| 88 | /** |
| 89 | * <!-- begin-user-doc --> |
| 90 | * An implementation of the model <b>Package</b>. |
| 91 | * <!-- end-user-doc --> |
| 92 | * @generated |
| 93 | */ |
| 94 | public class SeffPackageImpl extends EPackageImpl implements SeffPackage { |
| 95 | /** |
| 96 | * <!-- begin-user-doc --> |
| 97 | * <!-- end-user-doc --> |
| 98 | * @generated |
| 99 | */ |
| 100 | public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany"; |
| 101 | |
| 102 | /** |
| 103 | * <!-- begin-user-doc --> |
| 104 | * <!-- end-user-doc --> |
| 105 | * @generated |
| 106 | */ |
| 107 | private EClass stopActionEClass = null; |
| 108 | |
| 109 | /** |
| 110 | * <!-- begin-user-doc --> |
| 111 | * <!-- end-user-doc --> |
| 112 | * @generated |
| 113 | */ |
| 114 | private EClass abstractInternalControlFlowActionEClass = null; |
| 115 | |
| 116 | /** |
| 117 | * <!-- begin-user-doc --> |
| 118 | * <!-- end-user-doc --> |
| 119 | * @generated |
| 120 | */ |
| 121 | private EClass abstractActionEClass = null; |
| 122 | |
| 123 | /** |
| 124 | * <!-- begin-user-doc --> |
| 125 | * <!-- end-user-doc --> |
| 126 | * @generated |
| 127 | */ |
| 128 | private EClass resourceDemandingBehaviourEClass = null; |
| 129 | |
| 130 | /** |
| 131 | * <!-- begin-user-doc --> |
| 132 | * <!-- end-user-doc --> |
| 133 | * @generated |
| 134 | */ |
| 135 | private EClass abstractLoopActionEClass = null; |
| 136 | |
| 137 | /** |
| 138 | * <!-- begin-user-doc --> |
| 139 | * <!-- end-user-doc --> |
| 140 | * @generated |
| 141 | */ |
| 142 | private EClass abstractBranchTransitionEClass = null; |
| 143 | |
| 144 | /** |
| 145 | * <!-- begin-user-doc --> |
| 146 | * <!-- end-user-doc --> |
| 147 | * @generated |
| 148 | */ |
| 149 | private EClass branchActionEClass = null; |
| 150 | |
| 151 | /** |
| 152 | * <!-- begin-user-doc --> |
| 153 | * <!-- end-user-doc --> |
| 154 | * @generated |
| 155 | */ |
| 156 | private EClass callActionEClass = null; |
| 157 | |
| 158 | /** |
| 159 | * <!-- begin-user-doc --> |
| 160 | * <!-- end-user-doc --> |
| 161 | * @generated |
| 162 | */ |
| 163 | private EClass startActionEClass = null; |
| 164 | |
| 165 | /** |
| 166 | * <!-- begin-user-doc --> |
| 167 | * <!-- end-user-doc --> |
| 168 | * @generated |
| 169 | */ |
| 170 | private EClass serviceEffectSpecificationEClass = null; |
| 171 | |
| 172 | /** |
| 173 | * <!-- begin-user-doc --> |
| 174 | * <!-- end-user-doc --> |
| 175 | * @generated |
| 176 | */ |
| 177 | private EClass resourceDemandingSEFFEClass = null; |
| 178 | |
| 179 | /** |
| 180 | * <!-- begin-user-doc --> |
| 181 | * <!-- end-user-doc --> |
| 182 | * @generated |
| 183 | */ |
| 184 | private EClass resourceDemandingInternalBehaviourEClass = null; |
| 185 | |
| 186 | /** |
| 187 | * <!-- begin-user-doc --> |
| 188 | * <!-- end-user-doc --> |
| 189 | * @generated |
| 190 | */ |
| 191 | private EClass releaseActionEClass = null; |
| 192 | |
| 193 | /** |
| 194 | * <!-- begin-user-doc --> |
| 195 | * <!-- end-user-doc --> |
| 196 | * @generated |
| 197 | */ |
| 198 | private EClass loopActionEClass = null; |
| 199 | |
| 200 | /** |
| 201 | * <!-- begin-user-doc --> |
| 202 | * <!-- end-user-doc --> |
| 203 | * @generated |
| 204 | */ |
| 205 | private EClass forkActionEClass = null; |
| 206 | |
| 207 | /** |
| 208 | * <!-- begin-user-doc --> |
| 209 | * <!-- end-user-doc --> |
| 210 | * @generated |
| 211 | */ |
| 212 | private EClass forkedBehaviourEClass = null; |
| 213 | |
| 214 | /** |
| 215 | * <!-- begin-user-doc --> |
| 216 | * <!-- end-user-doc --> |
| 217 | * @generated |
| 218 | */ |
| 219 | private EClass synchronisationPointEClass = null; |
| 220 | |
| 221 | /** |
| 222 | * <!-- begin-user-doc --> |
| 223 | * <!-- end-user-doc --> |
| 224 | * @generated |
| 225 | */ |
| 226 | private EClass externalCallActionEClass = null; |
| 227 | |
| 228 | /** |
| 229 | * <!-- begin-user-doc --> |
| 230 | * <!-- end-user-doc --> |
| 231 | * @generated |
| 232 | */ |
| 233 | private EClass callReturnActionEClass = null; |
| 234 | |
| 235 | /** |
| 236 | * <!-- begin-user-doc --> |
| 237 | * <!-- end-user-doc --> |
| 238 | * @generated |
| 239 | */ |
| 240 | private EClass probabilisticBranchTransitionEClass = null; |
| 241 | |
| 242 | /** |
| 243 | * <!-- begin-user-doc --> |
| 244 | * <!-- end-user-doc --> |
| 245 | * @generated |
| 246 | */ |
| 247 | private EClass acquireActionEClass = null; |
| 248 | |
| 249 | /** |
| 250 | * <!-- begin-user-doc --> |
| 251 | * <!-- end-user-doc --> |
| 252 | * @generated |
| 253 | */ |
| 254 | private EClass collectionIteratorActionEClass = null; |
| 255 | |
| 256 | /** |
| 257 | * <!-- begin-user-doc --> |
| 258 | * <!-- end-user-doc --> |
| 259 | * @generated |
| 260 | */ |
| 261 | private EClass guardedBranchTransitionEClass = null; |
| 262 | |
| 263 | /** |
| 264 | * <!-- begin-user-doc --> |
| 265 | * <!-- end-user-doc --> |
| 266 | * @generated |
| 267 | */ |
| 268 | private EClass setVariableActionEClass = null; |
| 269 | |
| 270 | /** |
| 271 | * <!-- begin-user-doc --> |
| 272 | * <!-- end-user-doc --> |
| 273 | * @generated |
| 274 | */ |
| 275 | private EClass internalCallActionEClass = null; |
| 276 | |
| 277 | /** |
| 278 | * <!-- begin-user-doc --> |
| 279 | * <!-- end-user-doc --> |
| 280 | * @generated |
| 281 | */ |
| 282 | private EClass emitEventActionEClass = null; |
| 283 | |
| 284 | /** |
| 285 | * <!-- begin-user-doc --> |
| 286 | * <!-- end-user-doc --> |
| 287 | * @generated |
| 288 | */ |
| 289 | private EClass internalActionEClass = null; |
| 290 | |
| 291 | /** |
| 292 | * Creates an instance of the model <b>Package</b>, registered with |
| 293 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| 294 | * package URI value. |
| 295 | * <p>Note: the correct way to create the package is via the static |
| 296 | * factory method {@link #init init()}, which also performs |
| 297 | * initialization of the package, or returns the registered package, |
| 298 | * if one already exists. |
| 299 | * <!-- begin-user-doc --> |
| 300 | * <!-- end-user-doc --> |
| 301 | * @see org.eclipse.emf.ecore.EPackage.Registry |
| 302 | * @see de.uka.ipd.sdq.pcm.seff.SeffPackage#eNS_URI |
| 303 | * @see #init() |
| 304 | * @generated |
| 305 | */ |
| 306 | private SeffPackageImpl() { |
| 307 | super(eNS_URI, SeffFactory.eINSTANCE); |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * <!-- begin-user-doc --> |
| 312 | * <!-- end-user-doc --> |
| 313 | * @generated |
| 314 | */ |
| 315 | private static boolean isInited = false; |
| 316 | |
| 317 | /** |
| 318 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| 319 | * |
| 320 | * <p>This method is used to initialize {@link SeffPackage#eINSTANCE} when that field is accessed. |
| 321 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| 322 | * <!-- begin-user-doc --> |
| 323 | * <!-- end-user-doc --> |
| 324 | * @see #eNS_URI |
| 325 | * @see #createPackageContents() |
| 326 | * @see #initializePackageContents() |
| 327 | * @generated |
| 328 | */ |
| 329 | public static SeffPackage init() { |
| 330 | if (isInited) return (SeffPackage)EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI); |
| 331 | |
| 332 | // Obtain or create and register package |
| 333 | SeffPackageImpl theSeffPackage = (SeffPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SeffPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SeffPackageImpl()); |
| 334 | |
| 335 | isInited = true; |
| 336 | |
| 337 | // Initialize simple dependencies |
| 338 | IdentifierPackage.eINSTANCE.eClass(); |
| 339 | StoexPackage.eINSTANCE.eClass(); |
| 340 | |
| 341 | // Obtain or create and register interdependencies |
| 342 | PcmPackageImpl thePcmPackage = (PcmPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) instanceof PcmPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) : PcmPackage.eINSTANCE); |
| 343 | CorePackageImpl theCorePackage = (CorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) instanceof CorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) : CorePackage.eINSTANCE); |
| 344 | EntityPackageImpl theEntityPackage = (EntityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) instanceof EntityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) : EntityPackage.eINSTANCE); |
| 345 | CompositionPackageImpl theCompositionPackage = (CompositionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) instanceof CompositionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) : CompositionPackage.eINSTANCE); |
| 346 | UsagemodelPackageImpl theUsagemodelPackage = (UsagemodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) instanceof UsagemodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) : UsagemodelPackage.eINSTANCE); |
| 347 | RepositoryPackageImpl theRepositoryPackage = (RepositoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI) instanceof RepositoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI) : RepositoryPackage.eINSTANCE); |
| 348 | ResourcetypePackageImpl theResourcetypePackage = (ResourcetypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) instanceof ResourcetypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) : ResourcetypePackage.eINSTANCE); |
| 349 | ProtocolPackageImpl theProtocolPackage = (ProtocolPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) instanceof ProtocolPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) : ProtocolPackage.eINSTANCE); |
| 350 | ParameterPackageImpl theParameterPackage = (ParameterPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) instanceof ParameterPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) : ParameterPackage.eINSTANCE); |
| 351 | ReliabilityPackageImpl theReliabilityPackage = (ReliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) instanceof ReliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) : ReliabilityPackage.eINSTANCE); |
| 352 | Seff_performancePackageImpl theSeff_performancePackage = (Seff_performancePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Seff_performancePackage.eNS_URI) instanceof Seff_performancePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Seff_performancePackage.eNS_URI) : Seff_performancePackage.eINSTANCE); |
| 353 | Seff_reliabilityPackageImpl theSeff_reliabilityPackage = (Seff_reliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Seff_reliabilityPackage.eNS_URI) instanceof Seff_reliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Seff_reliabilityPackage.eNS_URI) : Seff_reliabilityPackage.eINSTANCE); |
| 354 | QosannotationsPackageImpl theQosannotationsPackage = (QosannotationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) instanceof QosannotationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) : QosannotationsPackage.eINSTANCE); |
| 355 | Qos_performancePackageImpl theQos_performancePackage = (Qos_performancePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Qos_performancePackage.eNS_URI) instanceof Qos_performancePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Qos_performancePackage.eNS_URI) : Qos_performancePackage.eINSTANCE); |
| 356 | Qos_reliabilityPackageImpl theQos_reliabilityPackage = (Qos_reliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Qos_reliabilityPackage.eNS_URI) instanceof Qos_reliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Qos_reliabilityPackage.eNS_URI) : Qos_reliabilityPackage.eINSTANCE); |
| 357 | SystemPackageImpl theSystemPackage = (SystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) instanceof SystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) : SystemPackage.eINSTANCE); |
| 358 | ResourceenvironmentPackageImpl theResourceenvironmentPackage = (ResourceenvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI) instanceof ResourceenvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI) : ResourceenvironmentPackage.eINSTANCE); |
| 359 | AllocationPackageImpl theAllocationPackage = (AllocationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) instanceof AllocationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) : AllocationPackage.eINSTANCE); |
| 360 | SubsystemPackageImpl theSubsystemPackage = (SubsystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) instanceof SubsystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) : SubsystemPackage.eINSTANCE); |
| 361 | |
| 362 | // Create package meta-data objects |
| 363 | theSeffPackage.createPackageContents(); |
| 364 | thePcmPackage.createPackageContents(); |
| 365 | theCorePackage.createPackageContents(); |
| 366 | theEntityPackage.createPackageContents(); |
| 367 | theCompositionPackage.createPackageContents(); |
| 368 | theUsagemodelPackage.createPackageContents(); |
| 369 | theRepositoryPackage.createPackageContents(); |
| 370 | theResourcetypePackage.createPackageContents(); |
| 371 | theProtocolPackage.createPackageContents(); |
| 372 | theParameterPackage.createPackageContents(); |
| 373 | theReliabilityPackage.createPackageContents(); |
| 374 | theSeff_performancePackage.createPackageContents(); |
| 375 | theSeff_reliabilityPackage.createPackageContents(); |
| 376 | theQosannotationsPackage.createPackageContents(); |
| 377 | theQos_performancePackage.createPackageContents(); |
| 378 | theQos_reliabilityPackage.createPackageContents(); |
| 379 | theSystemPackage.createPackageContents(); |
| 380 | theResourceenvironmentPackage.createPackageContents(); |
| 381 | theAllocationPackage.createPackageContents(); |
| 382 | theSubsystemPackage.createPackageContents(); |
| 383 | |
| 384 | // Initialize created meta-data |
| 385 | theSeffPackage.initializePackageContents(); |
| 386 | thePcmPackage.initializePackageContents(); |
| 387 | theCorePackage.initializePackageContents(); |
| 388 | theEntityPackage.initializePackageContents(); |
| 389 | theCompositionPackage.initializePackageContents(); |
| 390 | theUsagemodelPackage.initializePackageContents(); |
| 391 | theRepositoryPackage.initializePackageContents(); |
| 392 | theResourcetypePackage.initializePackageContents(); |
| 393 | theProtocolPackage.initializePackageContents(); |
| 394 | theParameterPackage.initializePackageContents(); |
| 395 | theReliabilityPackage.initializePackageContents(); |
| 396 | theSeff_performancePackage.initializePackageContents(); |
| 397 | theSeff_reliabilityPackage.initializePackageContents(); |
| 398 | theQosannotationsPackage.initializePackageContents(); |
| 399 | theQos_performancePackage.initializePackageContents(); |
| 400 | theQos_reliabilityPackage.initializePackageContents(); |
| 401 | theSystemPackage.initializePackageContents(); |
| 402 | theResourceenvironmentPackage.initializePackageContents(); |
| 403 | theAllocationPackage.initializePackageContents(); |
| 404 | theSubsystemPackage.initializePackageContents(); |
| 405 | |
| 406 | // Register package validator |
| 407 | EValidator.Registry.INSTANCE.put |
| 408 | (theSeffPackage, |
| 409 | new EValidator.Descriptor() { |
| 410 | public EValidator getEValidator() { |
| 411 | return SeffValidator.INSTANCE; |
| 412 | } |
| 413 | }); |
| 414 | |
| 415 | // Mark meta-data to indicate it can't be changed |
| 416 | theSeffPackage.freeze(); |
| 417 | |
| 418 | |
| 419 | // Update the registry and return the package |
| 420 | EPackage.Registry.INSTANCE.put(SeffPackage.eNS_URI, theSeffPackage); |
| 421 | return theSeffPackage; |
| 422 | } |
| 423 | |
| 424 | /** |
| 425 | * <!-- begin-user-doc --> |
| 426 | * <!-- end-user-doc --> |
| 427 | * @generated |
| 428 | */ |
| 429 | public EClass getStopAction() { |
| 430 | return stopActionEClass; |
| 431 | } |
| 432 | |
| 433 | /** |
| 434 | * <!-- begin-user-doc --> |
| 435 | * <!-- end-user-doc --> |
| 436 | * @generated |
| 437 | */ |
| 438 | public EClass getAbstractInternalControlFlowAction() { |
| 439 | return abstractInternalControlFlowActionEClass; |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * <!-- begin-user-doc --> |
| 444 | * <!-- end-user-doc --> |
| 445 | * @generated |
| 446 | */ |
| 447 | public EReference getAbstractInternalControlFlowAction_ResourceDemand_Action() { |
| 448 | return (EReference)abstractInternalControlFlowActionEClass.getEStructuralFeatures().get(0); |
| 449 | } |
| 450 | |
| 451 | /** |
| 452 | * <!-- begin-user-doc --> |
| 453 | * <!-- end-user-doc --> |
| 454 | * @generated |
| 455 | */ |
| 456 | public EReference getAbstractInternalControlFlowAction_InfrastructureCall__Action() { |
| 457 | return (EReference)abstractInternalControlFlowActionEClass.getEStructuralFeatures().get(1); |
| 458 | } |
| 459 | |
| 460 | /** |
| 461 | * <!-- begin-user-doc --> |
| 462 | * <!-- end-user-doc --> |
| 463 | * @generated |
| 464 | */ |
| 465 | public EReference getAbstractInternalControlFlowAction_ResourceCall__Action() { |
| 466 | return (EReference)abstractInternalControlFlowActionEClass.getEStructuralFeatures().get(2); |
| 467 | } |
| 468 | |
| 469 | /** |
| 470 | * <!-- begin-user-doc --> |
| 471 | * <!-- end-user-doc --> |
| 472 | * @generated |
| 473 | */ |
| 474 | public EClass getAbstractAction() { |
| 475 | return abstractActionEClass; |
| 476 | } |
| 477 | |
| 478 | /** |
| 479 | * <!-- begin-user-doc --> |
| 480 | * <!-- end-user-doc --> |
| 481 | * @generated |
| 482 | */ |
| 483 | public EReference getAbstractAction_Predecessor_AbstractAction() { |
| 484 | return (EReference)abstractActionEClass.getEStructuralFeatures().get(0); |
| 485 | } |
| 486 | |
| 487 | /** |
| 488 | * <!-- begin-user-doc --> |
| 489 | * <!-- end-user-doc --> |
| 490 | * @generated |
| 491 | */ |
| 492 | public EReference getAbstractAction_Successor_AbstractAction() { |
| 493 | return (EReference)abstractActionEClass.getEStructuralFeatures().get(1); |
| 494 | } |
| 495 | |
| 496 | /** |
| 497 | * <!-- begin-user-doc --> |
| 498 | * <!-- end-user-doc --> |
| 499 | * @generated |
| 500 | */ |
| 501 | public EReference getAbstractAction_ResourceDemandingBehaviour_AbstractAction() { |
| 502 | return (EReference)abstractActionEClass.getEStructuralFeatures().get(2); |
| 503 | } |
| 504 | |
| 505 | /** |
| 506 | * <!-- begin-user-doc --> |
| 507 | * <!-- end-user-doc --> |
| 508 | * @generated |
| 509 | */ |
| 510 | public EClass getResourceDemandingBehaviour() { |
| 511 | return resourceDemandingBehaviourEClass; |
| 512 | } |
| 513 | |
| 514 | /** |
| 515 | * <!-- begin-user-doc --> |
| 516 | * <!-- end-user-doc --> |
| 517 | * @generated |
| 518 | */ |
| 519 | public EReference getResourceDemandingBehaviour_AbstractLoopAction_ResourceDemandingBehaviour() { |
| 520 | return (EReference)resourceDemandingBehaviourEClass.getEStructuralFeatures().get(0); |
| 521 | } |
| 522 | |
| 523 | /** |
| 524 | * <!-- begin-user-doc --> |
| 525 | * <!-- end-user-doc --> |
| 526 | * @generated |
| 527 | */ |
| 528 | public EReference getResourceDemandingBehaviour_AbstractBranchTransition_ResourceDemandingBehaviour() { |
| 529 | return (EReference)resourceDemandingBehaviourEClass.getEStructuralFeatures().get(1); |
| 530 | } |
| 531 | |
| 532 | /** |
| 533 | * <!-- begin-user-doc --> |
| 534 | * <!-- end-user-doc --> |
| 535 | * @generated |
| 536 | */ |
| 537 | public EReference getResourceDemandingBehaviour_Steps_Behaviour() { |
| 538 | return (EReference)resourceDemandingBehaviourEClass.getEStructuralFeatures().get(2); |
| 539 | } |
| 540 | |
| 541 | /** |
| 542 | * <!-- begin-user-doc --> |
| 543 | * <!-- end-user-doc --> |
| 544 | * @generated |
| 545 | */ |
| 546 | public EClass getAbstractLoopAction() { |
| 547 | return abstractLoopActionEClass; |
| 548 | } |
| 549 | |
| 550 | /** |
| 551 | * <!-- begin-user-doc --> |
| 552 | * <!-- end-user-doc --> |
| 553 | * @generated |
| 554 | */ |
| 555 | public EReference getAbstractLoopAction_BodyBehaviour_Loop() { |
| 556 | return (EReference)abstractLoopActionEClass.getEStructuralFeatures().get(0); |
| 557 | } |
| 558 | |
| 559 | /** |
| 560 | * <!-- begin-user-doc --> |
| 561 | * <!-- end-user-doc --> |
| 562 | * @generated |
| 563 | */ |
| 564 | public EClass getAbstractBranchTransition() { |
| 565 | return abstractBranchTransitionEClass; |
| 566 | } |
| 567 | |
| 568 | /** |
| 569 | * <!-- begin-user-doc --> |
| 570 | * <!-- end-user-doc --> |
| 571 | * @generated |
| 572 | */ |
| 573 | public EReference getAbstractBranchTransition_BranchAction_AbstractBranchTransition() { |
| 574 | return (EReference)abstractBranchTransitionEClass.getEStructuralFeatures().get(0); |
| 575 | } |
| 576 | |
| 577 | /** |
| 578 | * <!-- begin-user-doc --> |
| 579 | * <!-- end-user-doc --> |
| 580 | * @generated |
| 581 | */ |
| 582 | public EReference getAbstractBranchTransition_BranchBehaviour_BranchTransition() { |
| 583 | return (EReference)abstractBranchTransitionEClass.getEStructuralFeatures().get(1); |
| 584 | } |
| 585 | |
| 586 | /** |
| 587 | * <!-- begin-user-doc --> |
| 588 | * <!-- end-user-doc --> |
| 589 | * @generated |
| 590 | */ |
| 591 | public EClass getBranchAction() { |
| 592 | return branchActionEClass; |
| 593 | } |
| 594 | |
| 595 | /** |
| 596 | * <!-- begin-user-doc --> |
| 597 | * <!-- end-user-doc --> |
| 598 | * @generated |
| 599 | */ |
| 600 | public EReference getBranchAction_Branches_Branch() { |
| 601 | return (EReference)branchActionEClass.getEStructuralFeatures().get(0); |
| 602 | } |
| 603 | |
| 604 | /** |
| 605 | * <!-- begin-user-doc --> |
| 606 | * <!-- end-user-doc --> |
| 607 | * @generated |
| 608 | */ |
| 609 | public EClass getCallAction() { |
| 610 | return callActionEClass; |
| 611 | } |
| 612 | |
| 613 | /** |
| 614 | * <!-- begin-user-doc --> |
| 615 | * <!-- end-user-doc --> |
| 616 | * @generated |
| 617 | */ |
| 618 | public EReference getCallAction_InputVariableUsages__CallAction() { |
| 619 | return (EReference)callActionEClass.getEStructuralFeatures().get(0); |
| 620 | } |
| 621 | |
| 622 | /** |
| 623 | * <!-- begin-user-doc --> |
| 624 | * <!-- end-user-doc --> |
| 625 | * @generated |
| 626 | */ |
| 627 | public EClass getStartAction() { |
| 628 | return startActionEClass; |
| 629 | } |
| 630 | |
| 631 | /** |
| 632 | * <!-- begin-user-doc --> |
| 633 | * <!-- end-user-doc --> |
| 634 | * @generated |
| 635 | */ |
| 636 | public EClass getServiceEffectSpecification() { |
| 637 | return serviceEffectSpecificationEClass; |
| 638 | } |
| 639 | |
| 640 | /** |
| 641 | * <!-- begin-user-doc --> |
| 642 | * <!-- end-user-doc --> |
| 643 | * @generated |
| 644 | */ |
| 645 | public EAttribute getServiceEffectSpecification_SeffTypeID() { |
| 646 | return (EAttribute)serviceEffectSpecificationEClass.getEStructuralFeatures().get(0); |
| 647 | } |
| 648 | |
| 649 | /** |
| 650 | * <!-- begin-user-doc --> |
| 651 | * <!-- end-user-doc --> |
| 652 | * @generated |
| 653 | */ |
| 654 | public EReference getServiceEffectSpecification_DescribedService__SEFF() { |
| 655 | return (EReference)serviceEffectSpecificationEClass.getEStructuralFeatures().get(1); |
| 656 | } |
| 657 | |
| 658 | /** |
| 659 | * <!-- begin-user-doc --> |
| 660 | * <!-- end-user-doc --> |
| 661 | * @generated |
| 662 | */ |
| 663 | public EReference getServiceEffectSpecification_BasicComponent_ServiceEffectSpecification() { |
| 664 | return (EReference)serviceEffectSpecificationEClass.getEStructuralFeatures().get(2); |
| 665 | } |
| 666 | |
| 667 | /** |
| 668 | * <!-- begin-user-doc --> |
| 669 | * <!-- end-user-doc --> |
| 670 | * @generated |
| 671 | */ |
| 672 | public EClass getResourceDemandingSEFF() { |
| 673 | return resourceDemandingSEFFEClass; |
| 674 | } |
| 675 | |
| 676 | /** |
| 677 | * <!-- begin-user-doc --> |
| 678 | * <!-- end-user-doc --> |
| 679 | * @generated |
| 680 | */ |
| 681 | public EReference getResourceDemandingSEFF_ResourceDemandingInternalBehaviours() { |
| 682 | return (EReference)resourceDemandingSEFFEClass.getEStructuralFeatures().get(0); |
| 683 | } |
| 684 | |
| 685 | /** |
| 686 | * <!-- begin-user-doc --> |
| 687 | * <!-- end-user-doc --> |
| 688 | * @generated |
| 689 | */ |
| 690 | public EClass getResourceDemandingInternalBehaviour() { |
| 691 | return resourceDemandingInternalBehaviourEClass; |
| 692 | } |
| 693 | |
| 694 | /** |
| 695 | * <!-- begin-user-doc --> |
| 696 | * <!-- end-user-doc --> |
| 697 | * @generated |
| 698 | */ |
| 699 | public EReference getResourceDemandingInternalBehaviour_ResourceDemandingSEFF_ResourceDemandingInternalBehaviour() { |
| 700 | return (EReference)resourceDemandingInternalBehaviourEClass.getEStructuralFeatures().get(0); |
| 701 | } |
| 702 | |
| 703 | /** |
| 704 | * <!-- begin-user-doc --> |
| 705 | * <!-- end-user-doc --> |
| 706 | * @generated |
| 707 | */ |
| 708 | public EClass getReleaseAction() { |
| 709 | return releaseActionEClass; |
| 710 | } |
| 711 | |
| 712 | /** |
| 713 | * <!-- begin-user-doc --> |
| 714 | * <!-- end-user-doc --> |
| 715 | * @generated |
| 716 | */ |
| 717 | public EReference getReleaseAction_PassiveResource_ReleaseAction() { |
| 718 | return (EReference)releaseActionEClass.getEStructuralFeatures().get(0); |
| 719 | } |
| 720 | |
| 721 | /** |
| 722 | * <!-- begin-user-doc --> |
| 723 | * <!-- end-user-doc --> |
| 724 | * @generated |
| 725 | */ |
| 726 | public EClass getLoopAction() { |
| 727 | return loopActionEClass; |
| 728 | } |
| 729 | |
| 730 | /** |
| 731 | * <!-- begin-user-doc --> |
| 732 | * <!-- end-user-doc --> |
| 733 | * @generated |
| 734 | */ |
| 735 | public EReference getLoopAction_IterationCount_LoopAction() { |
| 736 | return (EReference)loopActionEClass.getEStructuralFeatures().get(0); |
| 737 | } |
| 738 | |
| 739 | /** |
| 740 | * <!-- begin-user-doc --> |
| 741 | * <!-- end-user-doc --> |
| 742 | * @generated |
| 743 | */ |
| 744 | public EClass getForkAction() { |
| 745 | return forkActionEClass; |
| 746 | } |
| 747 | |
| 748 | /** |
| 749 | * <!-- begin-user-doc --> |
| 750 | * <!-- end-user-doc --> |
| 751 | * @generated |
| 752 | */ |
| 753 | public EReference getForkAction_AsynchronousForkedBehaviours_ForkAction() { |
| 754 | return (EReference)forkActionEClass.getEStructuralFeatures().get(0); |
| 755 | } |
| 756 | |
| 757 | /** |
| 758 | * <!-- begin-user-doc --> |
| 759 | * <!-- end-user-doc --> |
| 760 | * @generated |
| 761 | */ |
| 762 | public EReference getForkAction_SynchronisingBehaviours_ForkAction() { |
| 763 | return (EReference)forkActionEClass.getEStructuralFeatures().get(1); |
| 764 | } |
| 765 | |
| 766 | /** |
| 767 | * <!-- begin-user-doc --> |
| 768 | * <!-- end-user-doc --> |
| 769 | * @generated |
| 770 | */ |
| 771 | public EClass getForkedBehaviour() { |
| 772 | return forkedBehaviourEClass; |
| 773 | } |
| 774 | |
| 775 | /** |
| 776 | * <!-- begin-user-doc --> |
| 777 | * <!-- end-user-doc --> |
| 778 | * @generated |
| 779 | */ |
| 780 | public EReference getForkedBehaviour_SynchronisationPoint_ForkedBehaviour() { |
| 781 | return (EReference)forkedBehaviourEClass.getEStructuralFeatures().get(0); |
| 782 | } |
| 783 | |
| 784 | /** |
| 785 | * <!-- begin-user-doc --> |
| 786 | * <!-- end-user-doc --> |
| 787 | * @generated |
| 788 | */ |
| 789 | public EReference getForkedBehaviour_ForkAction_ForkedBehaivour() { |
| 790 | return (EReference)forkedBehaviourEClass.getEStructuralFeatures().get(1); |
| 791 | } |
| 792 | |
| 793 | /** |
| 794 | * <!-- begin-user-doc --> |
| 795 | * <!-- end-user-doc --> |
| 796 | * @generated |
| 797 | */ |
| 798 | public EClass getSynchronisationPoint() { |
| 799 | return synchronisationPointEClass; |
| 800 | } |
| 801 | |
| 802 | /** |
| 803 | * <!-- begin-user-doc --> |
| 804 | * <!-- end-user-doc --> |
| 805 | * @generated |
| 806 | */ |
| 807 | public EReference getSynchronisationPoint_OutputParameterUsage_SynchronisationPoint() { |
| 808 | return (EReference)synchronisationPointEClass.getEStructuralFeatures().get(0); |
| 809 | } |
| 810 | |
| 811 | /** |
| 812 | * <!-- begin-user-doc --> |
| 813 | * <!-- end-user-doc --> |
| 814 | * @generated |
| 815 | */ |
| 816 | public EReference getSynchronisationPoint_ForkAction_SynchronisationPoint() { |
| 817 | return (EReference)synchronisationPointEClass.getEStructuralFeatures().get(1); |
| 818 | } |
| 819 | |
| 820 | /** |
| 821 | * <!-- begin-user-doc --> |
| 822 | * <!-- end-user-doc --> |
| 823 | * @generated |
| 824 | */ |
| 825 | public EReference getSynchronisationPoint_SynchronousForkedBehaviours_SynchronisationPoint() { |
| 826 | return (EReference)synchronisationPointEClass.getEStructuralFeatures().get(2); |
| 827 | } |
| 828 | |
| 829 | /** |
| 830 | * <!-- begin-user-doc --> |
| 831 | * <!-- end-user-doc --> |
| 832 | * @generated |
| 833 | */ |
| 834 | public EClass getExternalCallAction() { |
| 835 | return externalCallActionEClass; |
| 836 | } |
| 837 | |
| 838 | /** |
| 839 | * <!-- begin-user-doc --> |
| 840 | * <!-- end-user-doc --> |
| 841 | * @generated |
| 842 | */ |
| 843 | public EReference getExternalCallAction_CalledService_ExternalService() { |
| 844 | return (EReference)externalCallActionEClass.getEStructuralFeatures().get(0); |
| 845 | } |
| 846 | |
| 847 | /** |
| 848 | * <!-- begin-user-doc --> |
| 849 | * <!-- end-user-doc --> |
| 850 | * @generated |
| 851 | */ |
| 852 | public EReference getExternalCallAction_Role_ExternalService() { |
| 853 | return (EReference)externalCallActionEClass.getEStructuralFeatures().get(1); |
| 854 | } |
| 855 | |
| 856 | /** |
| 857 | * <!-- begin-user-doc --> |
| 858 | * <!-- end-user-doc --> |
| 859 | * @generated |
| 860 | */ |
| 861 | public EAttribute getExternalCallAction_RetryCount() { |
| 862 | return (EAttribute)externalCallActionEClass.getEStructuralFeatures().get(2); |
| 863 | } |
| 864 | |
| 865 | /** |
| 866 | * <!-- begin-user-doc --> |
| 867 | * <!-- end-user-doc --> |
| 868 | * @generated |
| 869 | */ |
| 870 | public EClass getCallReturnAction() { |
| 871 | return callReturnActionEClass; |
| 872 | } |
| 873 | |
| 874 | /** |
| 875 | * <!-- begin-user-doc --> |
| 876 | * <!-- end-user-doc --> |
| 877 | * @generated |
| 878 | */ |
| 879 | public EReference getCallReturnAction_ReturnVariableUsage__CallReturnAction() { |
| 880 | return (EReference)callReturnActionEClass.getEStructuralFeatures().get(0); |
| 881 | } |
| 882 | |
| 883 | /** |
| 884 | * <!-- begin-user-doc --> |
| 885 | * <!-- end-user-doc --> |
| 886 | * @generated |
| 887 | */ |
| 888 | public EClass getProbabilisticBranchTransition() { |
| 889 | return probabilisticBranchTransitionEClass; |
| 890 | } |
| 891 | |
| 892 | /** |
| 893 | * <!-- begin-user-doc --> |
| 894 | * <!-- end-user-doc --> |
| 895 | * @generated |
| 896 | */ |
| 897 | public EAttribute getProbabilisticBranchTransition_BranchProbability() { |
| 898 | return (EAttribute)probabilisticBranchTransitionEClass.getEStructuralFeatures().get(0); |
| 899 | } |
| 900 | |
| 901 | /** |
| 902 | * <!-- begin-user-doc --> |
| 903 | * <!-- end-user-doc --> |
| 904 | * @generated |
| 905 | */ |
| 906 | public EClass getAcquireAction() { |
| 907 | return acquireActionEClass; |
| 908 | } |
| 909 | |
| 910 | /** |
| 911 | * <!-- begin-user-doc --> |
| 912 | * <!-- end-user-doc --> |
| 913 | * @generated |
| 914 | */ |
| 915 | public EReference getAcquireAction_Passiveresource_AcquireAction() { |
| 916 | return (EReference)acquireActionEClass.getEStructuralFeatures().get(0); |
| 917 | } |
| 918 | |
| 919 | /** |
| 920 | * <!-- begin-user-doc --> |
| 921 | * <!-- end-user-doc --> |
| 922 | * @generated |
| 923 | */ |
| 924 | public EAttribute getAcquireAction_Timeout() { |
| 925 | return (EAttribute)acquireActionEClass.getEStructuralFeatures().get(1); |
| 926 | } |
| 927 | |
| 928 | /** |
| 929 | * <!-- begin-user-doc --> |
| 930 | * <!-- end-user-doc --> |
| 931 | * @generated |
| 932 | */ |
| 933 | public EAttribute getAcquireAction_TimeoutValue() { |
| 934 | return (EAttribute)acquireActionEClass.getEStructuralFeatures().get(2); |
| 935 | } |
| 936 | |
| 937 | /** |
| 938 | * <!-- begin-user-doc --> |
| 939 | * <!-- end-user-doc --> |
| 940 | * @generated |
| 941 | */ |
| 942 | public EClass getCollectionIteratorAction() { |
| 943 | return collectionIteratorActionEClass; |
| 944 | } |
| 945 | |
| 946 | /** |
| 947 | * <!-- begin-user-doc --> |
| 948 | * <!-- end-user-doc --> |
| 949 | * @generated |
| 950 | */ |
| 951 | public EReference getCollectionIteratorAction_Parameter_CollectionIteratorAction() { |
| 952 | return (EReference)collectionIteratorActionEClass.getEStructuralFeatures().get(0); |
| 953 | } |
| 954 | |
| 955 | /** |
| 956 | * <!-- begin-user-doc --> |
| 957 | * <!-- end-user-doc --> |
| 958 | * @generated |
| 959 | */ |
| 960 | public EClass getGuardedBranchTransition() { |
| 961 | return guardedBranchTransitionEClass; |
| 962 | } |
| 963 | |
| 964 | /** |
| 965 | * <!-- begin-user-doc --> |
| 966 | * <!-- end-user-doc --> |
| 967 | * @generated |
| 968 | */ |
| 969 | public EReference getGuardedBranchTransition_BranchCondition_GuardedBranchTransition() { |
| 970 | return (EReference)guardedBranchTransitionEClass.getEStructuralFeatures().get(0); |
| 971 | } |
| 972 | |
| 973 | /** |
| 974 | * <!-- begin-user-doc --> |
| 975 | * <!-- end-user-doc --> |
| 976 | * @generated |
| 977 | */ |
| 978 | public EClass getSetVariableAction() { |
| 979 | return setVariableActionEClass; |
| 980 | } |
| 981 | |
| 982 | /** |
| 983 | * <!-- begin-user-doc --> |
| 984 | * <!-- end-user-doc --> |
| 985 | * @generated |
| 986 | */ |
| 987 | public EReference getSetVariableAction_LocalVariableUsages_SetVariableAction() { |
| 988 | return (EReference)setVariableActionEClass.getEStructuralFeatures().get(0); |
| 989 | } |
| 990 | |
| 991 | /** |
| 992 | * <!-- begin-user-doc --> |
| 993 | * <!-- end-user-doc --> |
| 994 | * @generated |
| 995 | */ |
| 996 | public EClass getInternalCallAction() { |
| 997 | return internalCallActionEClass; |
| 998 | } |
| 999 | |
| 1000 | /** |
| 1001 | * <!-- begin-user-doc --> |
| 1002 | * <!-- end-user-doc --> |
| 1003 | * @generated |
| 1004 | */ |
| 1005 | public EReference getInternalCallAction_CalledResourceDemandingInternalBehaviour() { |
| 1006 | return (EReference)internalCallActionEClass.getEStructuralFeatures().get(0); |
| 1007 | } |
| 1008 | |
| 1009 | /** |
| 1010 | * <!-- begin-user-doc --> |
| 1011 | * <!-- end-user-doc --> |
| 1012 | * @generated |
| 1013 | */ |
| 1014 | public EClass getEmitEventAction() { |
| 1015 | return emitEventActionEClass; |
| 1016 | } |
| 1017 | |
| 1018 | /** |
| 1019 | * <!-- begin-user-doc --> |
| 1020 | * <!-- end-user-doc --> |
| 1021 | * @generated |
| 1022 | */ |
| 1023 | public EReference getEmitEventAction_EventType__EmitEventAction() { |
| 1024 | return (EReference)emitEventActionEClass.getEStructuralFeatures().get(0); |
| 1025 | } |
| 1026 | |
| 1027 | /** |
| 1028 | * <!-- begin-user-doc --> |
| 1029 | * <!-- end-user-doc --> |
| 1030 | * @generated |
| 1031 | */ |
| 1032 | public EReference getEmitEventAction_SourceRole__EmitEventAction() { |
| 1033 | return (EReference)emitEventActionEClass.getEStructuralFeatures().get(1); |
| 1034 | } |
| 1035 | |
| 1036 | /** |
| 1037 | * <!-- begin-user-doc --> |
| 1038 | * <!-- end-user-doc --> |
| 1039 | * @generated |
| 1040 | */ |
| 1041 | public EClass getInternalAction() { |
| 1042 | return internalActionEClass; |
| 1043 | } |
| 1044 | |
| 1045 | /** |
| 1046 | * <!-- begin-user-doc --> |
| 1047 | * <!-- end-user-doc --> |
| 1048 | * @generated |
| 1049 | */ |
| 1050 | public EReference getInternalAction_InternalFailureOccurrenceDescriptions__InternalAction() { |
| 1051 | return (EReference)internalActionEClass.getEStructuralFeatures().get(0); |
| 1052 | } |
| 1053 | |
| 1054 | /** |
| 1055 | * <!-- begin-user-doc --> |
| 1056 | * <!-- end-user-doc --> |
| 1057 | * @generated |
| 1058 | */ |
| 1059 | public SeffFactory getSeffFactory() { |
| 1060 | return (SeffFactory)getEFactoryInstance(); |
| 1061 | } |
| 1062 | |
| 1063 | /** |
| 1064 | * <!-- begin-user-doc --> |
| 1065 | * <!-- end-user-doc --> |
| 1066 | * @generated |
| 1067 | */ |
| 1068 | private boolean isCreated = false; |
| 1069 | |
| 1070 | /** |
| 1071 | * Creates the meta-model objects for the package. This method is |
| 1072 | * guarded to have no affect on any invocation but its first. |
| 1073 | * <!-- begin-user-doc --> |
| 1074 | * <!-- end-user-doc --> |
| 1075 | * @generated |
| 1076 | */ |
| 1077 | public void createPackageContents() { |
| 1078 | if (isCreated) return; |
| 1079 | isCreated = true; |
| 1080 | |
| 1081 | // Create classes and their features |
| 1082 | stopActionEClass = createEClass(STOP_ACTION); |
| 1083 | |
| 1084 | abstractInternalControlFlowActionEClass = createEClass(ABSTRACT_INTERNAL_CONTROL_FLOW_ACTION); |
| 1085 | createEReference(abstractInternalControlFlowActionEClass, ABSTRACT_INTERNAL_CONTROL_FLOW_ACTION__RESOURCE_DEMAND_ACTION); |
| 1086 | createEReference(abstractInternalControlFlowActionEClass, ABSTRACT_INTERNAL_CONTROL_FLOW_ACTION__INFRASTRUCTURE_CALL_ACTION); |
| 1087 | createEReference(abstractInternalControlFlowActionEClass, ABSTRACT_INTERNAL_CONTROL_FLOW_ACTION__RESOURCE_CALL_ACTION); |
| 1088 | |
| 1089 | abstractActionEClass = createEClass(ABSTRACT_ACTION); |
| 1090 | createEReference(abstractActionEClass, ABSTRACT_ACTION__PREDECESSOR_ABSTRACT_ACTION); |
| 1091 | createEReference(abstractActionEClass, ABSTRACT_ACTION__SUCCESSOR_ABSTRACT_ACTION); |
| 1092 | createEReference(abstractActionEClass, ABSTRACT_ACTION__RESOURCE_DEMANDING_BEHAVIOUR_ABSTRACT_ACTION); |
| 1093 | |
| 1094 | resourceDemandingBehaviourEClass = createEClass(RESOURCE_DEMANDING_BEHAVIOUR); |
| 1095 | createEReference(resourceDemandingBehaviourEClass, RESOURCE_DEMANDING_BEHAVIOUR__ABSTRACT_LOOP_ACTION_RESOURCE_DEMANDING_BEHAVIOUR); |
| 1096 | createEReference(resourceDemandingBehaviourEClass, RESOURCE_DEMANDING_BEHAVIOUR__ABSTRACT_BRANCH_TRANSITION_RESOURCE_DEMANDING_BEHAVIOUR); |
| 1097 | createEReference(resourceDemandingBehaviourEClass, RESOURCE_DEMANDING_BEHAVIOUR__STEPS_BEHAVIOUR); |
| 1098 | |
| 1099 | abstractLoopActionEClass = createEClass(ABSTRACT_LOOP_ACTION); |
| 1100 | createEReference(abstractLoopActionEClass, ABSTRACT_LOOP_ACTION__BODY_BEHAVIOUR_LOOP); |
| 1101 | |
| 1102 | abstractBranchTransitionEClass = createEClass(ABSTRACT_BRANCH_TRANSITION); |
| 1103 | createEReference(abstractBranchTransitionEClass, ABSTRACT_BRANCH_TRANSITION__BRANCH_ACTION_ABSTRACT_BRANCH_TRANSITION); |
| 1104 | createEReference(abstractBranchTransitionEClass, ABSTRACT_BRANCH_TRANSITION__BRANCH_BEHAVIOUR_BRANCH_TRANSITION); |
| 1105 | |
| 1106 | branchActionEClass = createEClass(BRANCH_ACTION); |
| 1107 | createEReference(branchActionEClass, BRANCH_ACTION__BRANCHES_BRANCH); |
| 1108 | |
| 1109 | callActionEClass = createEClass(CALL_ACTION); |
| 1110 | createEReference(callActionEClass, CALL_ACTION__INPUT_VARIABLE_USAGES_CALL_ACTION); |
| 1111 | |
| 1112 | startActionEClass = createEClass(START_ACTION); |
| 1113 | |
| 1114 | serviceEffectSpecificationEClass = createEClass(SERVICE_EFFECT_SPECIFICATION); |
| 1115 | createEAttribute(serviceEffectSpecificationEClass, SERVICE_EFFECT_SPECIFICATION__SEFF_TYPE_ID); |
| 1116 | createEReference(serviceEffectSpecificationEClass, SERVICE_EFFECT_SPECIFICATION__DESCRIBED_SERVICE_SEFF); |
| 1117 | createEReference(serviceEffectSpecificationEClass, SERVICE_EFFECT_SPECIFICATION__BASIC_COMPONENT_SERVICE_EFFECT_SPECIFICATION); |
| 1118 | |
| 1119 | resourceDemandingSEFFEClass = createEClass(RESOURCE_DEMANDING_SEFF); |
| 1120 | createEReference(resourceDemandingSEFFEClass, RESOURCE_DEMANDING_SEFF__RESOURCE_DEMANDING_INTERNAL_BEHAVIOURS); |
| 1121 | |
| 1122 | resourceDemandingInternalBehaviourEClass = createEClass(RESOURCE_DEMANDING_INTERNAL_BEHAVIOUR); |
| 1123 | createEReference(resourceDemandingInternalBehaviourEClass, RESOURCE_DEMANDING_INTERNAL_BEHAVIOUR__RESOURCE_DEMANDING_SEFF_RESOURCE_DEMANDING_INTERNAL_BEHAVIOUR); |
| 1124 | |
| 1125 | releaseActionEClass = createEClass(RELEASE_ACTION); |
| 1126 | createEReference(releaseActionEClass, RELEASE_ACTION__PASSIVE_RESOURCE_RELEASE_ACTION); |
| 1127 | |
| 1128 | loopActionEClass = createEClass(LOOP_ACTION); |
| 1129 | createEReference(loopActionEClass, LOOP_ACTION__ITERATION_COUNT_LOOP_ACTION); |
| 1130 | |
| 1131 | forkActionEClass = createEClass(FORK_ACTION); |
| 1132 | createEReference(forkActionEClass, FORK_ACTION__ASYNCHRONOUS_FORKED_BEHAVIOURS_FORK_ACTION); |
| 1133 | createEReference(forkActionEClass, FORK_ACTION__SYNCHRONISING_BEHAVIOURS_FORK_ACTION); |
| 1134 | |
| 1135 | forkedBehaviourEClass = createEClass(FORKED_BEHAVIOUR); |
| 1136 | createEReference(forkedBehaviourEClass, FORKED_BEHAVIOUR__SYNCHRONISATION_POINT_FORKED_BEHAVIOUR); |
| 1137 | createEReference(forkedBehaviourEClass, FORKED_BEHAVIOUR__FORK_ACTION_FORKED_BEHAIVOUR); |
| 1138 | |
| 1139 | synchronisationPointEClass = createEClass(SYNCHRONISATION_POINT); |
| 1140 | createEReference(synchronisationPointEClass, SYNCHRONISATION_POINT__OUTPUT_PARAMETER_USAGE_SYNCHRONISATION_POINT); |
| 1141 | createEReference(synchronisationPointEClass, SYNCHRONISATION_POINT__FORK_ACTION_SYNCHRONISATION_POINT); |
| 1142 | createEReference(synchronisationPointEClass, SYNCHRONISATION_POINT__SYNCHRONOUS_FORKED_BEHAVIOURS_SYNCHRONISATION_POINT); |
| 1143 | |
| 1144 | externalCallActionEClass = createEClass(EXTERNAL_CALL_ACTION); |
| 1145 | createEReference(externalCallActionEClass, EXTERNAL_CALL_ACTION__CALLED_SERVICE_EXTERNAL_SERVICE); |
| 1146 | createEReference(externalCallActionEClass, EXTERNAL_CALL_ACTION__ROLE_EXTERNAL_SERVICE); |
| 1147 | createEAttribute(externalCallActionEClass, EXTERNAL_CALL_ACTION__RETRY_COUNT); |
| 1148 | |
| 1149 | callReturnActionEClass = createEClass(CALL_RETURN_ACTION); |
| 1150 | createEReference(callReturnActionEClass, CALL_RETURN_ACTION__RETURN_VARIABLE_USAGE_CALL_RETURN_ACTION); |
| 1151 | |
| 1152 | probabilisticBranchTransitionEClass = createEClass(PROBABILISTIC_BRANCH_TRANSITION); |
| 1153 | createEAttribute(probabilisticBranchTransitionEClass, PROBABILISTIC_BRANCH_TRANSITION__BRANCH_PROBABILITY); |
| 1154 | |
| 1155 | acquireActionEClass = createEClass(ACQUIRE_ACTION); |
| 1156 | createEReference(acquireActionEClass, ACQUIRE_ACTION__PASSIVERESOURCE_ACQUIRE_ACTION); |
| 1157 | createEAttribute(acquireActionEClass, ACQUIRE_ACTION__TIMEOUT); |
| 1158 | createEAttribute(acquireActionEClass, ACQUIRE_ACTION__TIMEOUT_VALUE); |
| 1159 | |
| 1160 | collectionIteratorActionEClass = createEClass(COLLECTION_ITERATOR_ACTION); |
| 1161 | createEReference(collectionIteratorActionEClass, COLLECTION_ITERATOR_ACTION__PARAMETER_COLLECTION_ITERATOR_ACTION); |
| 1162 | |
| 1163 | guardedBranchTransitionEClass = createEClass(GUARDED_BRANCH_TRANSITION); |
| 1164 | createEReference(guardedBranchTransitionEClass, GUARDED_BRANCH_TRANSITION__BRANCH_CONDITION_GUARDED_BRANCH_TRANSITION); |
| 1165 | |
| 1166 | setVariableActionEClass = createEClass(SET_VARIABLE_ACTION); |
| 1167 | createEReference(setVariableActionEClass, SET_VARIABLE_ACTION__LOCAL_VARIABLE_USAGES_SET_VARIABLE_ACTION); |
| 1168 | |
| 1169 | internalCallActionEClass = createEClass(INTERNAL_CALL_ACTION); |
| 1170 | createEReference(internalCallActionEClass, INTERNAL_CALL_ACTION__CALLED_RESOURCE_DEMANDING_INTERNAL_BEHAVIOUR); |
| 1171 | |
| 1172 | emitEventActionEClass = createEClass(EMIT_EVENT_ACTION); |
| 1173 | createEReference(emitEventActionEClass, EMIT_EVENT_ACTION__EVENT_TYPE_EMIT_EVENT_ACTION); |
| 1174 | createEReference(emitEventActionEClass, EMIT_EVENT_ACTION__SOURCE_ROLE_EMIT_EVENT_ACTION); |
| 1175 | |
| 1176 | internalActionEClass = createEClass(INTERNAL_ACTION); |
| 1177 | createEReference(internalActionEClass, INTERNAL_ACTION__INTERNAL_FAILURE_OCCURRENCE_DESCRIPTIONS_INTERNAL_ACTION); |
| 1178 | } |
| 1179 | |
| 1180 | /** |
| 1181 | * <!-- begin-user-doc --> |
| 1182 | * <!-- end-user-doc --> |
| 1183 | * @generated |
| 1184 | */ |
| 1185 | private boolean isInitialized = false; |
| 1186 | |
| 1187 | /** |
| 1188 | * Complete the initialization of the package and its meta-model. This |
| 1189 | * method is guarded to have no affect on any invocation but its first. |
| 1190 | * <!-- begin-user-doc --> |
| 1191 | * <!-- end-user-doc --> |
| 1192 | * @generated |
| 1193 | */ |
| 1194 | public void initializePackageContents() { |
| 1195 | if (isInitialized) return; |
| 1196 | isInitialized = true; |
| 1197 | |
| 1198 | // Initialize package |
| 1199 | setName(eNAME); |
| 1200 | setNsPrefix(eNS_PREFIX); |
| 1201 | setNsURI(eNS_URI); |
| 1202 | |
| 1203 | // Obtain other dependent packages |
| 1204 | Seff_performancePackage theSeff_performancePackage = (Seff_performancePackage)EPackage.Registry.INSTANCE.getEPackage(Seff_performancePackage.eNS_URI); |
| 1205 | Seff_reliabilityPackage theSeff_reliabilityPackage = (Seff_reliabilityPackage)EPackage.Registry.INSTANCE.getEPackage(Seff_reliabilityPackage.eNS_URI); |
| 1206 | EntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI); |
| 1207 | IdentifierPackage theIdentifierPackage = (IdentifierPackage)EPackage.Registry.INSTANCE.getEPackage(IdentifierPackage.eNS_URI); |
| 1208 | ParameterPackage theParameterPackage = (ParameterPackage)EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI); |
| 1209 | RepositoryPackage theRepositoryPackage = (RepositoryPackage)EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI); |
| 1210 | CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI); |
| 1211 | ReliabilityPackage theReliabilityPackage = (ReliabilityPackage)EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI); |
| 1212 | |
| 1213 | // Add subpackages |
| 1214 | getESubpackages().add(theSeff_performancePackage); |
| 1215 | getESubpackages().add(theSeff_reliabilityPackage); |
| 1216 | |
| 1217 | // Create type parameters |
| 1218 | |
| 1219 | // Set bounds for type parameters |
| 1220 | |
| 1221 | // Add supertypes to classes |
| 1222 | stopActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1223 | abstractInternalControlFlowActionEClass.getESuperTypes().add(this.getAbstractAction()); |
| 1224 | abstractActionEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1225 | resourceDemandingBehaviourEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1226 | abstractLoopActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1227 | abstractBranchTransitionEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1228 | branchActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1229 | startActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1230 | resourceDemandingSEFFEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1231 | resourceDemandingSEFFEClass.getESuperTypes().add(this.getServiceEffectSpecification()); |
| 1232 | resourceDemandingSEFFEClass.getESuperTypes().add(this.getResourceDemandingBehaviour()); |
| 1233 | resourceDemandingInternalBehaviourEClass.getESuperTypes().add(this.getResourceDemandingBehaviour()); |
| 1234 | releaseActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1235 | loopActionEClass.getESuperTypes().add(this.getAbstractLoopAction()); |
| 1236 | forkActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1237 | forkedBehaviourEClass.getESuperTypes().add(this.getResourceDemandingBehaviour()); |
| 1238 | externalCallActionEClass.getESuperTypes().add(this.getAbstractAction()); |
| 1239 | externalCallActionEClass.getESuperTypes().add(this.getCallReturnAction()); |
| 1240 | externalCallActionEClass.getESuperTypes().add(theSeff_reliabilityPackage.getFailureHandlingEntity()); |
| 1241 | callReturnActionEClass.getESuperTypes().add(this.getCallAction()); |
| 1242 | probabilisticBranchTransitionEClass.getESuperTypes().add(this.getAbstractBranchTransition()); |
| 1243 | acquireActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1244 | collectionIteratorActionEClass.getESuperTypes().add(this.getAbstractLoopAction()); |
| 1245 | guardedBranchTransitionEClass.getESuperTypes().add(this.getAbstractBranchTransition()); |
| 1246 | setVariableActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1247 | internalCallActionEClass.getESuperTypes().add(this.getCallAction()); |
| 1248 | internalCallActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1249 | emitEventActionEClass.getESuperTypes().add(this.getAbstractAction()); |
| 1250 | emitEventActionEClass.getESuperTypes().add(this.getCallAction()); |
| 1251 | internalActionEClass.getESuperTypes().add(this.getAbstractInternalControlFlowAction()); |
| 1252 | |
| 1253 | // Initialize classes and features; add operations and parameters |
| 1254 | initEClass(stopActionEClass, StopAction.class, "StopAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1255 | |
| 1256 | EOperation op = addEOperation(stopActionEClass, ecorePackage.getEBoolean(), "StopActionSuccessorMustNotBeDefined", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1257 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1258 | EGenericType g1 = createEGenericType(ecorePackage.getEMap()); |
| 1259 | EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1260 | g1.getETypeArguments().add(g2); |
| 1261 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1262 | g1.getETypeArguments().add(g2); |
| 1263 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1264 | |
| 1265 | initEClass(abstractInternalControlFlowActionEClass, AbstractInternalControlFlowAction.class, "AbstractInternalControlFlowAction", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1266 | initEReference(getAbstractInternalControlFlowAction_ResourceDemand_Action(), theSeff_performancePackage.getParametricResourceDemand(), theSeff_performancePackage.getParametricResourceDemand_Action_ParametricResourceDemand(), "resourceDemand_Action", null, 0, -1, AbstractInternalControlFlowAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1267 | initEReference(getAbstractInternalControlFlowAction_InfrastructureCall__Action(), theSeff_performancePackage.getInfrastructureCall(), theSeff_performancePackage.getInfrastructureCall_Action__InfrastructureCall(), "infrastructureCall__Action", null, 0, -1, AbstractInternalControlFlowAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1268 | initEReference(getAbstractInternalControlFlowAction_ResourceCall__Action(), theSeff_performancePackage.getResourceCall(), theSeff_performancePackage.getResourceCall_Action__ResourceCall(), "resourceCall__Action", null, 0, -1, AbstractInternalControlFlowAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1269 | |
| 1270 | initEClass(abstractActionEClass, AbstractAction.class, "AbstractAction", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1271 | initEReference(getAbstractAction_Predecessor_AbstractAction(), this.getAbstractAction(), this.getAbstractAction_Successor_AbstractAction(), "predecessor_AbstractAction", null, 0, 1, AbstractAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1272 | initEReference(getAbstractAction_Successor_AbstractAction(), this.getAbstractAction(), this.getAbstractAction_Predecessor_AbstractAction(), "successor_AbstractAction", null, 0, 1, AbstractAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1273 | initEReference(getAbstractAction_ResourceDemandingBehaviour_AbstractAction(), this.getResourceDemandingBehaviour(), this.getResourceDemandingBehaviour_Steps_Behaviour(), "resourceDemandingBehaviour_AbstractAction", null, 0, 1, AbstractAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1274 | |
| 1275 | initEClass(resourceDemandingBehaviourEClass, ResourceDemandingBehaviour.class, "ResourceDemandingBehaviour", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1276 | initEReference(getResourceDemandingBehaviour_AbstractLoopAction_ResourceDemandingBehaviour(), this.getAbstractLoopAction(), this.getAbstractLoopAction_BodyBehaviour_Loop(), "abstractLoopAction_ResourceDemandingBehaviour", null, 0, 1, ResourceDemandingBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1277 | initEReference(getResourceDemandingBehaviour_AbstractBranchTransition_ResourceDemandingBehaviour(), this.getAbstractBranchTransition(), this.getAbstractBranchTransition_BranchBehaviour_BranchTransition(), "abstractBranchTransition_ResourceDemandingBehaviour", null, 0, 1, ResourceDemandingBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1278 | initEReference(getResourceDemandingBehaviour_Steps_Behaviour(), this.getAbstractAction(), this.getAbstractAction_ResourceDemandingBehaviour_AbstractAction(), "steps_Behaviour", null, 0, -1, ResourceDemandingBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1279 | |
| 1280 | op = addEOperation(resourceDemandingBehaviourEClass, ecorePackage.getEBoolean(), "ExactlyOneStopAction", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1281 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1282 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1283 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1284 | g1.getETypeArguments().add(g2); |
| 1285 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1286 | g1.getETypeArguments().add(g2); |
| 1287 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1288 | |
| 1289 | op = addEOperation(resourceDemandingBehaviourEClass, ecorePackage.getEBoolean(), "ExactlyOneStartAction", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1290 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1291 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1292 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1293 | g1.getETypeArguments().add(g2); |
| 1294 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1295 | g1.getETypeArguments().add(g2); |
| 1296 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1297 | |
| 1298 | op = addEOperation(resourceDemandingBehaviourEClass, ecorePackage.getEBoolean(), "EachActionExceptStartActionandStopActionMustHhaveAPredecessorAndSuccessor", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1299 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1300 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1301 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1302 | g1.getETypeArguments().add(g2); |
| 1303 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1304 | g1.getETypeArguments().add(g2); |
| 1305 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1306 | |
| 1307 | initEClass(abstractLoopActionEClass, AbstractLoopAction.class, "AbstractLoopAction", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1308 | initEReference(getAbstractLoopAction_BodyBehaviour_Loop(), this.getResourceDemandingBehaviour(), this.getResourceDemandingBehaviour_AbstractLoopAction_ResourceDemandingBehaviour(), "bodyBehaviour_Loop", null, 1, 1, AbstractLoopAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1309 | |
| 1310 | initEClass(abstractBranchTransitionEClass, AbstractBranchTransition.class, "AbstractBranchTransition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1311 | initEReference(getAbstractBranchTransition_BranchAction_AbstractBranchTransition(), this.getBranchAction(), this.getBranchAction_Branches_Branch(), "branchAction_AbstractBranchTransition", null, 1, 1, AbstractBranchTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1312 | initEReference(getAbstractBranchTransition_BranchBehaviour_BranchTransition(), this.getResourceDemandingBehaviour(), this.getResourceDemandingBehaviour_AbstractBranchTransition_ResourceDemandingBehaviour(), "branchBehaviour_BranchTransition", null, 1, 1, AbstractBranchTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1313 | |
| 1314 | initEClass(branchActionEClass, BranchAction.class, "BranchAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1315 | initEReference(getBranchAction_Branches_Branch(), this.getAbstractBranchTransition(), this.getAbstractBranchTransition_BranchAction_AbstractBranchTransition(), "branches_Branch", null, 0, -1, BranchAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1316 | |
| 1317 | op = addEOperation(branchActionEClass, ecorePackage.getEBoolean(), "EitherGuardedBranchesOrProbabilisiticBranchTransitions", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1318 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1319 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1320 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1321 | g1.getETypeArguments().add(g2); |
| 1322 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1323 | g1.getETypeArguments().add(g2); |
| 1324 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1325 | |
| 1326 | op = addEOperation(branchActionEClass, ecorePackage.getEBoolean(), "AllProbabilisticBranchProbabilitiesMustSumUpTo1", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1327 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1328 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1329 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1330 | g1.getETypeArguments().add(g2); |
| 1331 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1332 | g1.getETypeArguments().add(g2); |
| 1333 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1334 | |
| 1335 | initEClass(callActionEClass, CallAction.class, "CallAction", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1336 | initEReference(getCallAction_InputVariableUsages__CallAction(), theParameterPackage.getVariableUsage(), theParameterPackage.getVariableUsage_CallAction__VariableUsage(), "inputVariableUsages__CallAction", null, 0, -1, CallAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1337 | |
| 1338 | initEClass(startActionEClass, StartAction.class, "StartAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1339 | |
| 1340 | op = addEOperation(startActionEClass, ecorePackage.getEBoolean(), "StartActionPredecessorMustNotBeDefined", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1341 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1342 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1343 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1344 | g1.getETypeArguments().add(g2); |
| 1345 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1346 | g1.getETypeArguments().add(g2); |
| 1347 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1348 | |
| 1349 | initEClass(serviceEffectSpecificationEClass, ServiceEffectSpecification.class, "ServiceEffectSpecification", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1350 | initEAttribute(getServiceEffectSpecification_SeffTypeID(), ecorePackage.getEString(), "seffTypeID", "1", 1, 1, ServiceEffectSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1351 | initEReference(getServiceEffectSpecification_DescribedService__SEFF(), theRepositoryPackage.getSignature(), null, "describedService__SEFF", null, 1, 1, ServiceEffectSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1352 | initEReference(getServiceEffectSpecification_BasicComponent_ServiceEffectSpecification(), theRepositoryPackage.getBasicComponent(), theRepositoryPackage.getBasicComponent_ServiceEffectSpecifications__BasicComponent(), "basicComponent_ServiceEffectSpecification", null, 1, 1, ServiceEffectSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1353 | |
| 1354 | op = addEOperation(serviceEffectSpecificationEClass, ecorePackage.getEBoolean(), "ReferencedSignatureMustBelongToInterfaceReferencedByProvidedRole", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1355 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1356 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1357 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1358 | g1.getETypeArguments().add(g2); |
| 1359 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1360 | g1.getETypeArguments().add(g2); |
| 1361 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1362 | |
| 1363 | initEClass(resourceDemandingSEFFEClass, ResourceDemandingSEFF.class, "ResourceDemandingSEFF", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1364 | initEReference(getResourceDemandingSEFF_ResourceDemandingInternalBehaviours(), this.getResourceDemandingInternalBehaviour(), this.getResourceDemandingInternalBehaviour_ResourceDemandingSEFF_ResourceDemandingInternalBehaviour(), "resourceDemandingInternalBehaviours", null, 0, -1, ResourceDemandingSEFF.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1365 | |
| 1366 | initEClass(resourceDemandingInternalBehaviourEClass, ResourceDemandingInternalBehaviour.class, "ResourceDemandingInternalBehaviour", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1367 | initEReference(getResourceDemandingInternalBehaviour_ResourceDemandingSEFF_ResourceDemandingInternalBehaviour(), this.getResourceDemandingSEFF(), this.getResourceDemandingSEFF_ResourceDemandingInternalBehaviours(), "resourceDemandingSEFF_ResourceDemandingInternalBehaviour", null, 1, 1, ResourceDemandingInternalBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1368 | |
| 1369 | initEClass(releaseActionEClass, ReleaseAction.class, "ReleaseAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1370 | initEReference(getReleaseAction_PassiveResource_ReleaseAction(), theRepositoryPackage.getPassiveResource(), null, "passiveResource_ReleaseAction", null, 1, 1, ReleaseAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1371 | |
| 1372 | initEClass(loopActionEClass, LoopAction.class, "LoopAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1373 | initEReference(getLoopAction_IterationCount_LoopAction(), theCorePackage.getPCMRandomVariable(), theCorePackage.getPCMRandomVariable_LoopAction_PCMRandomVariable(), "iterationCount_LoopAction", null, 1, 1, LoopAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1374 | |
| 1375 | initEClass(forkActionEClass, ForkAction.class, "ForkAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1376 | initEReference(getForkAction_AsynchronousForkedBehaviours_ForkAction(), this.getForkedBehaviour(), this.getForkedBehaviour_ForkAction_ForkedBehaivour(), "asynchronousForkedBehaviours_ForkAction", null, 0, -1, ForkAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1377 | initEReference(getForkAction_SynchronisingBehaviours_ForkAction(), this.getSynchronisationPoint(), this.getSynchronisationPoint_ForkAction_SynchronisationPoint(), "synchronisingBehaviours_ForkAction", null, 0, 1, ForkAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1378 | |
| 1379 | initEClass(forkedBehaviourEClass, ForkedBehaviour.class, "ForkedBehaviour", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1380 | initEReference(getForkedBehaviour_SynchronisationPoint_ForkedBehaviour(), this.getSynchronisationPoint(), this.getSynchronisationPoint_SynchronousForkedBehaviours_SynchronisationPoint(), "synchronisationPoint_ForkedBehaviour", null, 0, 1, ForkedBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1381 | initEReference(getForkedBehaviour_ForkAction_ForkedBehaivour(), this.getForkAction(), this.getForkAction_AsynchronousForkedBehaviours_ForkAction(), "forkAction_ForkedBehaivour", null, 0, 1, ForkedBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1382 | |
| 1383 | initEClass(synchronisationPointEClass, SynchronisationPoint.class, "SynchronisationPoint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1384 | initEReference(getSynchronisationPoint_OutputParameterUsage_SynchronisationPoint(), theParameterPackage.getVariableUsage(), theParameterPackage.getVariableUsage_SynchronisationPoint_VariableUsage(), "outputParameterUsage_SynchronisationPoint", null, 0, -1, SynchronisationPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1385 | initEReference(getSynchronisationPoint_ForkAction_SynchronisationPoint(), this.getForkAction(), this.getForkAction_SynchronisingBehaviours_ForkAction(), "forkAction_SynchronisationPoint", null, 1, 1, SynchronisationPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1386 | initEReference(getSynchronisationPoint_SynchronousForkedBehaviours_SynchronisationPoint(), this.getForkedBehaviour(), this.getForkedBehaviour_SynchronisationPoint_ForkedBehaviour(), "synchronousForkedBehaviours_SynchronisationPoint", null, 1, -1, SynchronisationPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1387 | |
| 1388 | initEClass(externalCallActionEClass, ExternalCallAction.class, "ExternalCallAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1389 | initEReference(getExternalCallAction_CalledService_ExternalService(), theRepositoryPackage.getOperationSignature(), null, "calledService_ExternalService", null, 1, 1, ExternalCallAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1390 | initEReference(getExternalCallAction_Role_ExternalService(), theRepositoryPackage.getOperationRequiredRole(), null, "role_ExternalService", null, 1, 1, ExternalCallAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1391 | initEAttribute(getExternalCallAction_RetryCount(), ecorePackage.getEInt(), "retryCount", "0", 1, 1, ExternalCallAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1392 | |
| 1393 | op = addEOperation(externalCallActionEClass, ecorePackage.getEBoolean(), "SignatureBelongsToRole", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1394 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1395 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1396 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1397 | g1.getETypeArguments().add(g2); |
| 1398 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1399 | g1.getETypeArguments().add(g2); |
| 1400 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1401 | |
| 1402 | initEClass(callReturnActionEClass, CallReturnAction.class, "CallReturnAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1403 | initEReference(getCallReturnAction_ReturnVariableUsage__CallReturnAction(), theParameterPackage.getVariableUsage(), theParameterPackage.getVariableUsage_CallReturnAction__VariableUsage(), "returnVariableUsage__CallReturnAction", null, 0, -1, CallReturnAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1404 | |
| 1405 | initEClass(probabilisticBranchTransitionEClass, ProbabilisticBranchTransition.class, "ProbabilisticBranchTransition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1406 | initEAttribute(getProbabilisticBranchTransition_BranchProbability(), ecorePackage.getEDouble(), "branchProbability", null, 1, 1, ProbabilisticBranchTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1407 | |
| 1408 | initEClass(acquireActionEClass, AcquireAction.class, "AcquireAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1409 | initEReference(getAcquireAction_Passiveresource_AcquireAction(), theRepositoryPackage.getPassiveResource(), null, "passiveresource_AcquireAction", null, 1, 1, AcquireAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1410 | initEAttribute(getAcquireAction_Timeout(), ecorePackage.getEBoolean(), "timeout", null, 1, 1, AcquireAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1411 | initEAttribute(getAcquireAction_TimeoutValue(), ecorePackage.getEDouble(), "timeoutValue", null, 1, 1, AcquireAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1412 | |
| 1413 | op = addEOperation(acquireActionEClass, ecorePackage.getEBoolean(), "TimeoutValueOfAcquireActionMustNotBeNegative", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1414 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1415 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1416 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1417 | g1.getETypeArguments().add(g2); |
| 1418 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1419 | g1.getETypeArguments().add(g2); |
| 1420 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1421 | |
| 1422 | initEClass(collectionIteratorActionEClass, CollectionIteratorAction.class, "CollectionIteratorAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1423 | initEReference(getCollectionIteratorAction_Parameter_CollectionIteratorAction(), theRepositoryPackage.getParameter(), null, "parameter_CollectionIteratorAction", null, 1, 1, CollectionIteratorAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1424 | |
| 1425 | initEClass(guardedBranchTransitionEClass, GuardedBranchTransition.class, "GuardedBranchTransition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1426 | initEReference(getGuardedBranchTransition_BranchCondition_GuardedBranchTransition(), theCorePackage.getPCMRandomVariable(), theCorePackage.getPCMRandomVariable_GuardedBranchTransition_PCMRandomVariable(), "branchCondition_GuardedBranchTransition", null, 1, 1, GuardedBranchTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1427 | |
| 1428 | initEClass(setVariableActionEClass, SetVariableAction.class, "SetVariableAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1429 | initEReference(getSetVariableAction_LocalVariableUsages_SetVariableAction(), theParameterPackage.getVariableUsage(), theParameterPackage.getVariableUsage_SetVariableAction_VariableUsage(), "localVariableUsages_SetVariableAction", null, 0, -1, SetVariableAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1430 | |
| 1431 | initEClass(internalCallActionEClass, InternalCallAction.class, "InternalCallAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1432 | initEReference(getInternalCallAction_CalledResourceDemandingInternalBehaviour(), this.getResourceDemandingInternalBehaviour(), null, "calledResourceDemandingInternalBehaviour", null, 1, 1, InternalCallAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1433 | |
| 1434 | initEClass(emitEventActionEClass, EmitEventAction.class, "EmitEventAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1435 | initEReference(getEmitEventAction_EventType__EmitEventAction(), theRepositoryPackage.getEventType(), null, "eventType__EmitEventAction", null, 1, 1, EmitEventAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1436 | initEReference(getEmitEventAction_SourceRole__EmitEventAction(), theRepositoryPackage.getSourceRole(), null, "sourceRole__EmitEventAction", null, 1, 1, EmitEventAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1437 | |
| 1438 | initEClass(internalActionEClass, InternalAction.class, "InternalAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1439 | initEReference(getInternalAction_InternalFailureOccurrenceDescriptions__InternalAction(), theReliabilityPackage.getInternalFailureOccurrenceDescription(), theReliabilityPackage.getInternalFailureOccurrenceDescription_InternalAction__InternalFailureOccurrenceDescription(), "internalFailureOccurrenceDescriptions__InternalAction", null, 0, -1, InternalAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1440 | |
| 1441 | op = addEOperation(internalActionEClass, ecorePackage.getEBoolean(), "MultipleInternalOccurrenceDescriptionsPerFailureTypeNotAllowed", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1442 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1443 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1444 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1445 | g1.getETypeArguments().add(g2); |
| 1446 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1447 | g1.getETypeArguments().add(g2); |
| 1448 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1449 | |
| 1450 | op = addEOperation(internalActionEClass, ecorePackage.getEBoolean(), "SumOfInternalActionFailureProbabilitiesMustNotExceed1", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1451 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1452 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1453 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1454 | g1.getETypeArguments().add(g2); |
| 1455 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1456 | g1.getETypeArguments().add(g2); |
| 1457 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1458 | } |
| 1459 | |
| 1460 | } //SeffPackageImpl |