| 1 | /** |
| 2 | * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany |
| 3 | * |
| 4 | * $Id$ |
| 5 | */ |
| 6 | package de.uka.ipd.sdq.pcm.repository.impl; |
| 7 | |
| 8 | import org.eclipse.emf.ecore.EAttribute; |
| 9 | import org.eclipse.emf.ecore.EClass; |
| 10 | import org.eclipse.emf.ecore.EEnum; |
| 11 | import org.eclipse.emf.ecore.EGenericType; |
| 12 | import org.eclipse.emf.ecore.EOperation; |
| 13 | import org.eclipse.emf.ecore.EPackage; |
| 14 | import org.eclipse.emf.ecore.EReference; |
| 15 | import org.eclipse.emf.ecore.EValidator; |
| 16 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
| 17 | |
| 18 | import de.uka.ipd.sdq.identifier.IdentifierPackage; |
| 19 | import de.uka.ipd.sdq.pcm.PcmPackage; |
| 20 | import de.uka.ipd.sdq.pcm.allocation.AllocationPackage; |
| 21 | import de.uka.ipd.sdq.pcm.allocation.impl.AllocationPackageImpl; |
| 22 | import de.uka.ipd.sdq.pcm.core.CorePackage; |
| 23 | import de.uka.ipd.sdq.pcm.core.composition.CompositionPackage; |
| 24 | import de.uka.ipd.sdq.pcm.core.composition.impl.CompositionPackageImpl; |
| 25 | import de.uka.ipd.sdq.pcm.core.entity.EntityPackage; |
| 26 | import de.uka.ipd.sdq.pcm.core.entity.impl.EntityPackageImpl; |
| 27 | import de.uka.ipd.sdq.pcm.core.impl.CorePackageImpl; |
| 28 | import de.uka.ipd.sdq.pcm.impl.PcmPackageImpl; |
| 29 | import de.uka.ipd.sdq.pcm.parameter.ParameterPackage; |
| 30 | import de.uka.ipd.sdq.pcm.parameter.impl.ParameterPackageImpl; |
| 31 | import de.uka.ipd.sdq.pcm.protocol.ProtocolPackage; |
| 32 | import de.uka.ipd.sdq.pcm.protocol.impl.ProtocolPackageImpl; |
| 33 | import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage; |
| 34 | import de.uka.ipd.sdq.pcm.qosannotations.impl.QosannotationsPackageImpl; |
| 35 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performancePackage; |
| 36 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.impl.Qos_performancePackageImpl; |
| 37 | import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.Qos_reliabilityPackage; |
| 38 | import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.impl.Qos_reliabilityPackageImpl; |
| 39 | import de.uka.ipd.sdq.pcm.reliability.ReliabilityPackage; |
| 40 | import de.uka.ipd.sdq.pcm.reliability.impl.ReliabilityPackageImpl; |
| 41 | import de.uka.ipd.sdq.pcm.repository.BasicComponent; |
| 42 | import de.uka.ipd.sdq.pcm.repository.CollectionDataType; |
| 43 | import de.uka.ipd.sdq.pcm.repository.CompleteComponentType; |
| 44 | import de.uka.ipd.sdq.pcm.repository.ComponentType; |
| 45 | import de.uka.ipd.sdq.pcm.repository.CompositeComponent; |
| 46 | import de.uka.ipd.sdq.pcm.repository.CompositeDataType; |
| 47 | import de.uka.ipd.sdq.pcm.repository.DataType; |
| 48 | import de.uka.ipd.sdq.pcm.repository.EventGroup; |
| 49 | import de.uka.ipd.sdq.pcm.repository.EventType; |
| 50 | import de.uka.ipd.sdq.pcm.repository.ExceptionType; |
| 51 | import de.uka.ipd.sdq.pcm.repository.ImplementationComponentType; |
| 52 | import de.uka.ipd.sdq.pcm.repository.InfrastructureInterface; |
| 53 | import de.uka.ipd.sdq.pcm.repository.InfrastructureProvidedRole; |
| 54 | import de.uka.ipd.sdq.pcm.repository.InfrastructureRequiredRole; |
| 55 | import de.uka.ipd.sdq.pcm.repository.InfrastructureSignature; |
| 56 | import de.uka.ipd.sdq.pcm.repository.InnerDeclaration; |
| 57 | import de.uka.ipd.sdq.pcm.repository.Interface; |
| 58 | import de.uka.ipd.sdq.pcm.repository.OperationInterface; |
| 59 | import de.uka.ipd.sdq.pcm.repository.OperationProvidedRole; |
| 60 | import de.uka.ipd.sdq.pcm.repository.OperationRequiredRole; |
| 61 | import de.uka.ipd.sdq.pcm.repository.OperationSignature; |
| 62 | import de.uka.ipd.sdq.pcm.repository.Parameter; |
| 63 | import de.uka.ipd.sdq.pcm.repository.ParameterModifier; |
| 64 | import de.uka.ipd.sdq.pcm.repository.PassiveResource; |
| 65 | import de.uka.ipd.sdq.pcm.repository.PrimitiveDataType; |
| 66 | import de.uka.ipd.sdq.pcm.repository.PrimitiveTypeEnum; |
| 67 | import de.uka.ipd.sdq.pcm.repository.ProvidedRole; |
| 68 | import de.uka.ipd.sdq.pcm.repository.ProvidesComponentType; |
| 69 | import de.uka.ipd.sdq.pcm.repository.Repository; |
| 70 | import de.uka.ipd.sdq.pcm.repository.RepositoryComponent; |
| 71 | import de.uka.ipd.sdq.pcm.repository.RepositoryFactory; |
| 72 | import de.uka.ipd.sdq.pcm.repository.RepositoryPackage; |
| 73 | import de.uka.ipd.sdq.pcm.repository.RequiredCharacterisation; |
| 74 | import de.uka.ipd.sdq.pcm.repository.RequiredRole; |
| 75 | import de.uka.ipd.sdq.pcm.repository.Role; |
| 76 | import de.uka.ipd.sdq.pcm.repository.Signature; |
| 77 | import de.uka.ipd.sdq.pcm.repository.SinkRole; |
| 78 | import de.uka.ipd.sdq.pcm.repository.SourceRole; |
| 79 | import de.uka.ipd.sdq.pcm.repository.util.RepositoryValidator; |
| 80 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage; |
| 81 | import de.uka.ipd.sdq.pcm.resourceenvironment.impl.ResourceenvironmentPackageImpl; |
| 82 | import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage; |
| 83 | import de.uka.ipd.sdq.pcm.resourcetype.impl.ResourcetypePackageImpl; |
| 84 | import de.uka.ipd.sdq.pcm.seff.SeffPackage; |
| 85 | import de.uka.ipd.sdq.pcm.seff.impl.SeffPackageImpl; |
| 86 | import de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage; |
| 87 | import de.uka.ipd.sdq.pcm.seff.seff_performance.impl.Seff_performancePackageImpl; |
| 88 | import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage; |
| 89 | import de.uka.ipd.sdq.pcm.seff.seff_reliability.impl.Seff_reliabilityPackageImpl; |
| 90 | import de.uka.ipd.sdq.pcm.subsystem.SubsystemPackage; |
| 91 | import de.uka.ipd.sdq.pcm.subsystem.impl.SubsystemPackageImpl; |
| 92 | import de.uka.ipd.sdq.pcm.system.SystemPackage; |
| 93 | import de.uka.ipd.sdq.pcm.system.impl.SystemPackageImpl; |
| 94 | import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage; |
| 95 | import de.uka.ipd.sdq.pcm.usagemodel.impl.UsagemodelPackageImpl; |
| 96 | import de.uka.ipd.sdq.stoex.StoexPackage; |
| 97 | |
| 98 | /** |
| 99 | * <!-- begin-user-doc --> |
| 100 | * An implementation of the model <b>Package</b>. |
| 101 | * <!-- end-user-doc --> |
| 102 | * @generated |
| 103 | */ |
| 104 | public class RepositoryPackageImpl extends EPackageImpl implements RepositoryPackage { |
| 105 | /** |
| 106 | * <!-- begin-user-doc --> |
| 107 | * <!-- end-user-doc --> |
| 108 | * @generated |
| 109 | */ |
| 110 | public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany"; |
| 111 | |
| 112 | /** |
| 113 | * <!-- begin-user-doc --> |
| 114 | * <!-- end-user-doc --> |
| 115 | * @generated |
| 116 | */ |
| 117 | private EClass passiveResourceEClass = null; |
| 118 | |
| 119 | /** |
| 120 | * <!-- begin-user-doc --> |
| 121 | * <!-- end-user-doc --> |
| 122 | * @generated |
| 123 | */ |
| 124 | private EClass basicComponentEClass = null; |
| 125 | |
| 126 | /** |
| 127 | * <!-- begin-user-doc --> |
| 128 | * <!-- end-user-doc --> |
| 129 | * @generated |
| 130 | */ |
| 131 | private EClass implementationComponentTypeEClass = null; |
| 132 | |
| 133 | /** |
| 134 | * <!-- begin-user-doc --> |
| 135 | * <!-- end-user-doc --> |
| 136 | * @generated |
| 137 | */ |
| 138 | private EClass repositoryComponentEClass = null; |
| 139 | |
| 140 | /** |
| 141 | * <!-- begin-user-doc --> |
| 142 | * <!-- end-user-doc --> |
| 143 | * @generated |
| 144 | */ |
| 145 | private EClass providedRoleEClass = null; |
| 146 | |
| 147 | /** |
| 148 | * <!-- begin-user-doc --> |
| 149 | * <!-- end-user-doc --> |
| 150 | * @generated |
| 151 | */ |
| 152 | private EClass roleEClass = null; |
| 153 | |
| 154 | /** |
| 155 | * <!-- begin-user-doc --> |
| 156 | * <!-- end-user-doc --> |
| 157 | * @generated |
| 158 | */ |
| 159 | private EClass requiredRoleEClass = null; |
| 160 | |
| 161 | /** |
| 162 | * <!-- begin-user-doc --> |
| 163 | * <!-- end-user-doc --> |
| 164 | * @generated |
| 165 | */ |
| 166 | private EClass repositoryEClass = null; |
| 167 | |
| 168 | /** |
| 169 | * <!-- begin-user-doc --> |
| 170 | * <!-- end-user-doc --> |
| 171 | * @generated |
| 172 | */ |
| 173 | private EClass interfaceEClass = null; |
| 174 | |
| 175 | /** |
| 176 | * <!-- begin-user-doc --> |
| 177 | * <!-- end-user-doc --> |
| 178 | * @generated |
| 179 | */ |
| 180 | private EClass requiredCharacterisationEClass = null; |
| 181 | |
| 182 | /** |
| 183 | * <!-- begin-user-doc --> |
| 184 | * <!-- end-user-doc --> |
| 185 | * @generated |
| 186 | */ |
| 187 | private EClass operationProvidedRoleEClass = null; |
| 188 | |
| 189 | /** |
| 190 | * <!-- begin-user-doc --> |
| 191 | * <!-- end-user-doc --> |
| 192 | * @generated |
| 193 | */ |
| 194 | private EClass operationInterfaceEClass = null; |
| 195 | |
| 196 | /** |
| 197 | * <!-- begin-user-doc --> |
| 198 | * <!-- end-user-doc --> |
| 199 | * @generated |
| 200 | */ |
| 201 | private EClass operationSignatureEClass = null; |
| 202 | |
| 203 | /** |
| 204 | * <!-- begin-user-doc --> |
| 205 | * <!-- end-user-doc --> |
| 206 | * @generated |
| 207 | */ |
| 208 | private EClass signatureEClass = null; |
| 209 | |
| 210 | /** |
| 211 | * <!-- begin-user-doc --> |
| 212 | * <!-- end-user-doc --> |
| 213 | * @generated |
| 214 | */ |
| 215 | private EClass exceptionTypeEClass = null; |
| 216 | |
| 217 | /** |
| 218 | * <!-- begin-user-doc --> |
| 219 | * <!-- end-user-doc --> |
| 220 | * @generated |
| 221 | */ |
| 222 | private EClass infrastructureProvidedRoleEClass = null; |
| 223 | |
| 224 | /** |
| 225 | * <!-- begin-user-doc --> |
| 226 | * <!-- end-user-doc --> |
| 227 | * @generated |
| 228 | */ |
| 229 | private EClass infrastructureInterfaceEClass = null; |
| 230 | |
| 231 | /** |
| 232 | * <!-- begin-user-doc --> |
| 233 | * <!-- end-user-doc --> |
| 234 | * @generated |
| 235 | */ |
| 236 | private EClass infrastructureSignatureEClass = null; |
| 237 | |
| 238 | /** |
| 239 | * <!-- begin-user-doc --> |
| 240 | * <!-- end-user-doc --> |
| 241 | * @generated |
| 242 | */ |
| 243 | private EClass operationRequiredRoleEClass = null; |
| 244 | |
| 245 | /** |
| 246 | * <!-- begin-user-doc --> |
| 247 | * <!-- end-user-doc --> |
| 248 | * @generated |
| 249 | */ |
| 250 | private EClass eventTypeEClass = null; |
| 251 | |
| 252 | /** |
| 253 | * <!-- begin-user-doc --> |
| 254 | * <!-- end-user-doc --> |
| 255 | * @generated |
| 256 | */ |
| 257 | private EClass eventGroupEClass = null; |
| 258 | |
| 259 | /** |
| 260 | * <!-- begin-user-doc --> |
| 261 | * <!-- end-user-doc --> |
| 262 | * @generated |
| 263 | */ |
| 264 | private EClass sourceRoleEClass = null; |
| 265 | |
| 266 | /** |
| 267 | * <!-- begin-user-doc --> |
| 268 | * <!-- end-user-doc --> |
| 269 | * @generated |
| 270 | */ |
| 271 | private EClass sinkRoleEClass = null; |
| 272 | |
| 273 | /** |
| 274 | * <!-- begin-user-doc --> |
| 275 | * <!-- end-user-doc --> |
| 276 | * @generated |
| 277 | */ |
| 278 | private EClass infrastructureRequiredRoleEClass = null; |
| 279 | |
| 280 | /** |
| 281 | * <!-- begin-user-doc --> |
| 282 | * <!-- end-user-doc --> |
| 283 | * @generated |
| 284 | */ |
| 285 | private EClass dataTypeEClass = null; |
| 286 | |
| 287 | /** |
| 288 | * <!-- begin-user-doc --> |
| 289 | * <!-- end-user-doc --> |
| 290 | * @generated |
| 291 | */ |
| 292 | private EClass completeComponentTypeEClass = null; |
| 293 | |
| 294 | /** |
| 295 | * <!-- begin-user-doc --> |
| 296 | * <!-- end-user-doc --> |
| 297 | * @generated |
| 298 | */ |
| 299 | private EClass providesComponentTypeEClass = null; |
| 300 | |
| 301 | /** |
| 302 | * <!-- begin-user-doc --> |
| 303 | * <!-- end-user-doc --> |
| 304 | * @generated |
| 305 | */ |
| 306 | private EClass compositeComponentEClass = null; |
| 307 | |
| 308 | /** |
| 309 | * <!-- begin-user-doc --> |
| 310 | * <!-- end-user-doc --> |
| 311 | * @generated |
| 312 | */ |
| 313 | private EClass primitiveDataTypeEClass = null; |
| 314 | |
| 315 | /** |
| 316 | * <!-- begin-user-doc --> |
| 317 | * <!-- end-user-doc --> |
| 318 | * @generated |
| 319 | */ |
| 320 | private EClass collectionDataTypeEClass = null; |
| 321 | |
| 322 | /** |
| 323 | * <!-- begin-user-doc --> |
| 324 | * <!-- end-user-doc --> |
| 325 | * @generated |
| 326 | */ |
| 327 | private EClass compositeDataTypeEClass = null; |
| 328 | |
| 329 | /** |
| 330 | * <!-- begin-user-doc --> |
| 331 | * <!-- end-user-doc --> |
| 332 | * @generated |
| 333 | */ |
| 334 | private EClass innerDeclarationEClass = null; |
| 335 | |
| 336 | /** |
| 337 | * <!-- begin-user-doc --> |
| 338 | * <!-- end-user-doc --> |
| 339 | * @generated |
| 340 | */ |
| 341 | private EClass parameterEClass = null; |
| 342 | |
| 343 | /** |
| 344 | * <!-- begin-user-doc --> |
| 345 | * <!-- end-user-doc --> |
| 346 | * @generated |
| 347 | */ |
| 348 | private EEnum componentTypeEEnum = null; |
| 349 | |
| 350 | /** |
| 351 | * <!-- begin-user-doc --> |
| 352 | * <!-- end-user-doc --> |
| 353 | * @generated |
| 354 | */ |
| 355 | private EEnum parameterModifierEEnum = null; |
| 356 | |
| 357 | /** |
| 358 | * <!-- begin-user-doc --> |
| 359 | * <!-- end-user-doc --> |
| 360 | * @generated |
| 361 | */ |
| 362 | private EEnum primitiveTypeEnumEEnum = null; |
| 363 | |
| 364 | /** |
| 365 | * Creates an instance of the model <b>Package</b>, registered with |
| 366 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| 367 | * package URI value. |
| 368 | * <p>Note: the correct way to create the package is via the static |
| 369 | * factory method {@link #init init()}, which also performs |
| 370 | * initialization of the package, or returns the registered package, |
| 371 | * if one already exists. |
| 372 | * <!-- begin-user-doc --> |
| 373 | * <!-- end-user-doc --> |
| 374 | * @see org.eclipse.emf.ecore.EPackage.Registry |
| 375 | * @see de.uka.ipd.sdq.pcm.repository.RepositoryPackage#eNS_URI |
| 376 | * @see #init() |
| 377 | * @generated |
| 378 | */ |
| 379 | private RepositoryPackageImpl() { |
| 380 | super(eNS_URI, RepositoryFactory.eINSTANCE); |
| 381 | } |
| 382 | |
| 383 | /** |
| 384 | * <!-- begin-user-doc --> |
| 385 | * <!-- end-user-doc --> |
| 386 | * @generated |
| 387 | */ |
| 388 | private static boolean isInited = false; |
| 389 | |
| 390 | /** |
| 391 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| 392 | * |
| 393 | * <p>This method is used to initialize {@link RepositoryPackage#eINSTANCE} when that field is accessed. |
| 394 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| 395 | * <!-- begin-user-doc --> |
| 396 | * <!-- end-user-doc --> |
| 397 | * @see #eNS_URI |
| 398 | * @see #createPackageContents() |
| 399 | * @see #initializePackageContents() |
| 400 | * @generated |
| 401 | */ |
| 402 | public static RepositoryPackage init() { |
| 403 | if (isInited) return (RepositoryPackage)EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI); |
| 404 | |
| 405 | // Obtain or create and register package |
| 406 | RepositoryPackageImpl theRepositoryPackage = (RepositoryPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RepositoryPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RepositoryPackageImpl()); |
| 407 | |
| 408 | isInited = true; |
| 409 | |
| 410 | // Initialize simple dependencies |
| 411 | IdentifierPackage.eINSTANCE.eClass(); |
| 412 | StoexPackage.eINSTANCE.eClass(); |
| 413 | |
| 414 | // Obtain or create and register interdependencies |
| 415 | PcmPackageImpl thePcmPackage = (PcmPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) instanceof PcmPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) : PcmPackage.eINSTANCE); |
| 416 | CorePackageImpl theCorePackage = (CorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) instanceof CorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) : CorePackage.eINSTANCE); |
| 417 | EntityPackageImpl theEntityPackage = (EntityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) instanceof EntityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) : EntityPackage.eINSTANCE); |
| 418 | CompositionPackageImpl theCompositionPackage = (CompositionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) instanceof CompositionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) : CompositionPackage.eINSTANCE); |
| 419 | UsagemodelPackageImpl theUsagemodelPackage = (UsagemodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) instanceof UsagemodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) : UsagemodelPackage.eINSTANCE); |
| 420 | ResourcetypePackageImpl theResourcetypePackage = (ResourcetypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) instanceof ResourcetypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) : ResourcetypePackage.eINSTANCE); |
| 421 | ProtocolPackageImpl theProtocolPackage = (ProtocolPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) instanceof ProtocolPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) : ProtocolPackage.eINSTANCE); |
| 422 | ParameterPackageImpl theParameterPackage = (ParameterPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) instanceof ParameterPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) : ParameterPackage.eINSTANCE); |
| 423 | ReliabilityPackageImpl theReliabilityPackage = (ReliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) instanceof ReliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) : ReliabilityPackage.eINSTANCE); |
| 424 | SeffPackageImpl theSeffPackage = (SeffPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI) instanceof SeffPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI) : SeffPackage.eINSTANCE); |
| 425 | 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); |
| 426 | 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); |
| 427 | QosannotationsPackageImpl theQosannotationsPackage = (QosannotationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) instanceof QosannotationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) : QosannotationsPackage.eINSTANCE); |
| 428 | 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); |
| 429 | 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); |
| 430 | SystemPackageImpl theSystemPackage = (SystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) instanceof SystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) : SystemPackage.eINSTANCE); |
| 431 | ResourceenvironmentPackageImpl theResourceenvironmentPackage = (ResourceenvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI) instanceof ResourceenvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI) : ResourceenvironmentPackage.eINSTANCE); |
| 432 | AllocationPackageImpl theAllocationPackage = (AllocationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) instanceof AllocationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) : AllocationPackage.eINSTANCE); |
| 433 | SubsystemPackageImpl theSubsystemPackage = (SubsystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) instanceof SubsystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) : SubsystemPackage.eINSTANCE); |
| 434 | |
| 435 | // Create package meta-data objects |
| 436 | theRepositoryPackage.createPackageContents(); |
| 437 | thePcmPackage.createPackageContents(); |
| 438 | theCorePackage.createPackageContents(); |
| 439 | theEntityPackage.createPackageContents(); |
| 440 | theCompositionPackage.createPackageContents(); |
| 441 | theUsagemodelPackage.createPackageContents(); |
| 442 | theResourcetypePackage.createPackageContents(); |
| 443 | theProtocolPackage.createPackageContents(); |
| 444 | theParameterPackage.createPackageContents(); |
| 445 | theReliabilityPackage.createPackageContents(); |
| 446 | theSeffPackage.createPackageContents(); |
| 447 | theSeff_performancePackage.createPackageContents(); |
| 448 | theSeff_reliabilityPackage.createPackageContents(); |
| 449 | theQosannotationsPackage.createPackageContents(); |
| 450 | theQos_performancePackage.createPackageContents(); |
| 451 | theQos_reliabilityPackage.createPackageContents(); |
| 452 | theSystemPackage.createPackageContents(); |
| 453 | theResourceenvironmentPackage.createPackageContents(); |
| 454 | theAllocationPackage.createPackageContents(); |
| 455 | theSubsystemPackage.createPackageContents(); |
| 456 | |
| 457 | // Initialize created meta-data |
| 458 | theRepositoryPackage.initializePackageContents(); |
| 459 | thePcmPackage.initializePackageContents(); |
| 460 | theCorePackage.initializePackageContents(); |
| 461 | theEntityPackage.initializePackageContents(); |
| 462 | theCompositionPackage.initializePackageContents(); |
| 463 | theUsagemodelPackage.initializePackageContents(); |
| 464 | theResourcetypePackage.initializePackageContents(); |
| 465 | theProtocolPackage.initializePackageContents(); |
| 466 | theParameterPackage.initializePackageContents(); |
| 467 | theReliabilityPackage.initializePackageContents(); |
| 468 | theSeffPackage.initializePackageContents(); |
| 469 | theSeff_performancePackage.initializePackageContents(); |
| 470 | theSeff_reliabilityPackage.initializePackageContents(); |
| 471 | theQosannotationsPackage.initializePackageContents(); |
| 472 | theQos_performancePackage.initializePackageContents(); |
| 473 | theQos_reliabilityPackage.initializePackageContents(); |
| 474 | theSystemPackage.initializePackageContents(); |
| 475 | theResourceenvironmentPackage.initializePackageContents(); |
| 476 | theAllocationPackage.initializePackageContents(); |
| 477 | theSubsystemPackage.initializePackageContents(); |
| 478 | |
| 479 | // Register package validator |
| 480 | EValidator.Registry.INSTANCE.put |
| 481 | (theRepositoryPackage, |
| 482 | new EValidator.Descriptor() { |
| 483 | public EValidator getEValidator() { |
| 484 | return RepositoryValidator.INSTANCE; |
| 485 | } |
| 486 | }); |
| 487 | |
| 488 | // Mark meta-data to indicate it can't be changed |
| 489 | theRepositoryPackage.freeze(); |
| 490 | |
| 491 | |
| 492 | // Update the registry and return the package |
| 493 | EPackage.Registry.INSTANCE.put(RepositoryPackage.eNS_URI, theRepositoryPackage); |
| 494 | return theRepositoryPackage; |
| 495 | } |
| 496 | |
| 497 | /** |
| 498 | * <!-- begin-user-doc --> |
| 499 | * <!-- end-user-doc --> |
| 500 | * @generated |
| 501 | */ |
| 502 | public EClass getPassiveResource() { |
| 503 | return passiveResourceEClass; |
| 504 | } |
| 505 | |
| 506 | /** |
| 507 | * <!-- begin-user-doc --> |
| 508 | * <!-- end-user-doc --> |
| 509 | * @generated |
| 510 | */ |
| 511 | public EReference getPassiveResource_Capacity_PassiveResource() { |
| 512 | return (EReference)passiveResourceEClass.getEStructuralFeatures().get(0); |
| 513 | } |
| 514 | |
| 515 | /** |
| 516 | * <!-- begin-user-doc --> |
| 517 | * <!-- end-user-doc --> |
| 518 | * @generated |
| 519 | */ |
| 520 | public EReference getPassiveResource_BasicComponent_PassiveResource() { |
| 521 | return (EReference)passiveResourceEClass.getEStructuralFeatures().get(1); |
| 522 | } |
| 523 | |
| 524 | /** |
| 525 | * <!-- begin-user-doc --> |
| 526 | * <!-- end-user-doc --> |
| 527 | * @generated |
| 528 | */ |
| 529 | public EReference getPassiveResource_ResourceTimeoutFailureType__PassiveResource() { |
| 530 | return (EReference)passiveResourceEClass.getEStructuralFeatures().get(2); |
| 531 | } |
| 532 | |
| 533 | /** |
| 534 | * <!-- begin-user-doc --> |
| 535 | * <!-- end-user-doc --> |
| 536 | * @generated |
| 537 | */ |
| 538 | public EClass getBasicComponent() { |
| 539 | return basicComponentEClass; |
| 540 | } |
| 541 | |
| 542 | /** |
| 543 | * <!-- begin-user-doc --> |
| 544 | * <!-- end-user-doc --> |
| 545 | * @generated |
| 546 | */ |
| 547 | public EReference getBasicComponent_ServiceEffectSpecifications__BasicComponent() { |
| 548 | return (EReference)basicComponentEClass.getEStructuralFeatures().get(0); |
| 549 | } |
| 550 | |
| 551 | /** |
| 552 | * <!-- begin-user-doc --> |
| 553 | * <!-- end-user-doc --> |
| 554 | * @generated |
| 555 | */ |
| 556 | public EReference getBasicComponent_PassiveResource_BasicComponent() { |
| 557 | return (EReference)basicComponentEClass.getEStructuralFeatures().get(1); |
| 558 | } |
| 559 | |
| 560 | /** |
| 561 | * <!-- begin-user-doc --> |
| 562 | * <!-- end-user-doc --> |
| 563 | * @generated |
| 564 | */ |
| 565 | public EClass getImplementationComponentType() { |
| 566 | return implementationComponentTypeEClass; |
| 567 | } |
| 568 | |
| 569 | /** |
| 570 | * <!-- begin-user-doc --> |
| 571 | * <!-- end-user-doc --> |
| 572 | * @generated |
| 573 | */ |
| 574 | public EReference getImplementationComponentType_ParentCompleteComponentTypes() { |
| 575 | return (EReference)implementationComponentTypeEClass.getEStructuralFeatures().get(0); |
| 576 | } |
| 577 | |
| 578 | /** |
| 579 | * <!-- begin-user-doc --> |
| 580 | * <!-- end-user-doc --> |
| 581 | * @generated |
| 582 | */ |
| 583 | public EReference getImplementationComponentType_ComponentParameterUsage_ImplementationComponentType() { |
| 584 | return (EReference)implementationComponentTypeEClass.getEStructuralFeatures().get(1); |
| 585 | } |
| 586 | |
| 587 | /** |
| 588 | * <!-- begin-user-doc --> |
| 589 | * <!-- end-user-doc --> |
| 590 | * @generated |
| 591 | */ |
| 592 | public EAttribute getImplementationComponentType_ComponentType() { |
| 593 | return (EAttribute)implementationComponentTypeEClass.getEStructuralFeatures().get(2); |
| 594 | } |
| 595 | |
| 596 | /** |
| 597 | * <!-- begin-user-doc --> |
| 598 | * <!-- end-user-doc --> |
| 599 | * @generated |
| 600 | */ |
| 601 | public EClass getRepositoryComponent() { |
| 602 | return repositoryComponentEClass; |
| 603 | } |
| 604 | |
| 605 | /** |
| 606 | * <!-- begin-user-doc --> |
| 607 | * <!-- end-user-doc --> |
| 608 | * @generated |
| 609 | */ |
| 610 | public EReference getRepositoryComponent_Repository__RepositoryComponent() { |
| 611 | return (EReference)repositoryComponentEClass.getEStructuralFeatures().get(0); |
| 612 | } |
| 613 | |
| 614 | /** |
| 615 | * <!-- begin-user-doc --> |
| 616 | * <!-- end-user-doc --> |
| 617 | * @generated |
| 618 | */ |
| 619 | public EClass getProvidedRole() { |
| 620 | return providedRoleEClass; |
| 621 | } |
| 622 | |
| 623 | /** |
| 624 | * <!-- begin-user-doc --> |
| 625 | * <!-- end-user-doc --> |
| 626 | * @generated |
| 627 | */ |
| 628 | public EReference getProvidedRole_ProvidingEntity_ProvidedRole() { |
| 629 | return (EReference)providedRoleEClass.getEStructuralFeatures().get(0); |
| 630 | } |
| 631 | |
| 632 | /** |
| 633 | * <!-- begin-user-doc --> |
| 634 | * <!-- end-user-doc --> |
| 635 | * @generated |
| 636 | */ |
| 637 | public EClass getRole() { |
| 638 | return roleEClass; |
| 639 | } |
| 640 | |
| 641 | /** |
| 642 | * <!-- begin-user-doc --> |
| 643 | * <!-- end-user-doc --> |
| 644 | * @generated |
| 645 | */ |
| 646 | public EClass getRequiredRole() { |
| 647 | return requiredRoleEClass; |
| 648 | } |
| 649 | |
| 650 | /** |
| 651 | * <!-- begin-user-doc --> |
| 652 | * <!-- end-user-doc --> |
| 653 | * @generated |
| 654 | */ |
| 655 | public EReference getRequiredRole_RequiringEntity_RequiredRole() { |
| 656 | return (EReference)requiredRoleEClass.getEStructuralFeatures().get(0); |
| 657 | } |
| 658 | |
| 659 | /** |
| 660 | * <!-- begin-user-doc --> |
| 661 | * <!-- end-user-doc --> |
| 662 | * @generated |
| 663 | */ |
| 664 | public EClass getRepository() { |
| 665 | return repositoryEClass; |
| 666 | } |
| 667 | |
| 668 | /** |
| 669 | * <!-- begin-user-doc --> |
| 670 | * <!-- end-user-doc --> |
| 671 | * @generated |
| 672 | */ |
| 673 | public EAttribute getRepository_RepositoryDescription() { |
| 674 | return (EAttribute)repositoryEClass.getEStructuralFeatures().get(0); |
| 675 | } |
| 676 | |
| 677 | /** |
| 678 | * <!-- begin-user-doc --> |
| 679 | * <!-- end-user-doc --> |
| 680 | * @generated |
| 681 | */ |
| 682 | public EReference getRepository_Interfaces__Repository() { |
| 683 | return (EReference)repositoryEClass.getEStructuralFeatures().get(2); |
| 684 | } |
| 685 | |
| 686 | /** |
| 687 | * <!-- begin-user-doc --> |
| 688 | * <!-- end-user-doc --> |
| 689 | * @generated |
| 690 | */ |
| 691 | public EReference getRepository_FailureTypes__Repository() { |
| 692 | return (EReference)repositoryEClass.getEStructuralFeatures().get(3); |
| 693 | } |
| 694 | |
| 695 | /** |
| 696 | * <!-- begin-user-doc --> |
| 697 | * <!-- end-user-doc --> |
| 698 | * @generated |
| 699 | */ |
| 700 | public EReference getRepository_DataTypes__Repository() { |
| 701 | return (EReference)repositoryEClass.getEStructuralFeatures().get(4); |
| 702 | } |
| 703 | |
| 704 | /** |
| 705 | * <!-- begin-user-doc --> |
| 706 | * <!-- end-user-doc --> |
| 707 | * @generated |
| 708 | */ |
| 709 | public EReference getRepository_Components__Repository() { |
| 710 | return (EReference)repositoryEClass.getEStructuralFeatures().get(1); |
| 711 | } |
| 712 | |
| 713 | /** |
| 714 | * <!-- begin-user-doc --> |
| 715 | * <!-- end-user-doc --> |
| 716 | * @generated |
| 717 | */ |
| 718 | public EClass getInterface() { |
| 719 | return interfaceEClass; |
| 720 | } |
| 721 | |
| 722 | /** |
| 723 | * <!-- begin-user-doc --> |
| 724 | * <!-- end-user-doc --> |
| 725 | * @generated |
| 726 | */ |
| 727 | public EReference getInterface_ParentInterfaces__Interface() { |
| 728 | return (EReference)interfaceEClass.getEStructuralFeatures().get(0); |
| 729 | } |
| 730 | |
| 731 | /** |
| 732 | * <!-- begin-user-doc --> |
| 733 | * <!-- end-user-doc --> |
| 734 | * @generated |
| 735 | */ |
| 736 | public EReference getInterface_Protocols__Interface() { |
| 737 | return (EReference)interfaceEClass.getEStructuralFeatures().get(1); |
| 738 | } |
| 739 | |
| 740 | /** |
| 741 | * <!-- begin-user-doc --> |
| 742 | * <!-- end-user-doc --> |
| 743 | * @generated |
| 744 | */ |
| 745 | public EReference getInterface_RequiredCharacterisations() { |
| 746 | return (EReference)interfaceEClass.getEStructuralFeatures().get(2); |
| 747 | } |
| 748 | |
| 749 | /** |
| 750 | * <!-- begin-user-doc --> |
| 751 | * <!-- end-user-doc --> |
| 752 | * @generated |
| 753 | */ |
| 754 | public EReference getInterface_Repository__Interface() { |
| 755 | return (EReference)interfaceEClass.getEStructuralFeatures().get(3); |
| 756 | } |
| 757 | |
| 758 | /** |
| 759 | * <!-- begin-user-doc --> |
| 760 | * <!-- end-user-doc --> |
| 761 | * @generated |
| 762 | */ |
| 763 | public EClass getRequiredCharacterisation() { |
| 764 | return requiredCharacterisationEClass; |
| 765 | } |
| 766 | |
| 767 | /** |
| 768 | * <!-- begin-user-doc --> |
| 769 | * <!-- end-user-doc --> |
| 770 | * @generated |
| 771 | */ |
| 772 | public EAttribute getRequiredCharacterisation_Type() { |
| 773 | return (EAttribute)requiredCharacterisationEClass.getEStructuralFeatures().get(0); |
| 774 | } |
| 775 | |
| 776 | /** |
| 777 | * <!-- begin-user-doc --> |
| 778 | * <!-- end-user-doc --> |
| 779 | * @generated |
| 780 | */ |
| 781 | public EReference getRequiredCharacterisation_Parameter() { |
| 782 | return (EReference)requiredCharacterisationEClass.getEStructuralFeatures().get(1); |
| 783 | } |
| 784 | |
| 785 | /** |
| 786 | * <!-- begin-user-doc --> |
| 787 | * <!-- end-user-doc --> |
| 788 | * @generated |
| 789 | */ |
| 790 | public EReference getRequiredCharacterisation_Interface_RequiredCharacterisation() { |
| 791 | return (EReference)requiredCharacterisationEClass.getEStructuralFeatures().get(2); |
| 792 | } |
| 793 | |
| 794 | /** |
| 795 | * <!-- begin-user-doc --> |
| 796 | * <!-- end-user-doc --> |
| 797 | * @generated |
| 798 | */ |
| 799 | public EClass getOperationProvidedRole() { |
| 800 | return operationProvidedRoleEClass; |
| 801 | } |
| 802 | |
| 803 | /** |
| 804 | * <!-- begin-user-doc --> |
| 805 | * <!-- end-user-doc --> |
| 806 | * @generated |
| 807 | */ |
| 808 | public EReference getOperationProvidedRole_ProvidedInterface__OperationProvidedRole() { |
| 809 | return (EReference)operationProvidedRoleEClass.getEStructuralFeatures().get(0); |
| 810 | } |
| 811 | |
| 812 | /** |
| 813 | * <!-- begin-user-doc --> |
| 814 | * <!-- end-user-doc --> |
| 815 | * @generated |
| 816 | */ |
| 817 | public EClass getOperationInterface() { |
| 818 | return operationInterfaceEClass; |
| 819 | } |
| 820 | |
| 821 | /** |
| 822 | * <!-- begin-user-doc --> |
| 823 | * <!-- end-user-doc --> |
| 824 | * @generated |
| 825 | */ |
| 826 | public EReference getOperationInterface_Signatures__OperationInterface() { |
| 827 | return (EReference)operationInterfaceEClass.getEStructuralFeatures().get(0); |
| 828 | } |
| 829 | |
| 830 | /** |
| 831 | * <!-- begin-user-doc --> |
| 832 | * <!-- end-user-doc --> |
| 833 | * @generated |
| 834 | */ |
| 835 | public EClass getOperationSignature() { |
| 836 | return operationSignatureEClass; |
| 837 | } |
| 838 | |
| 839 | /** |
| 840 | * <!-- begin-user-doc --> |
| 841 | * <!-- end-user-doc --> |
| 842 | * @generated |
| 843 | */ |
| 844 | public EReference getOperationSignature_Parameters__OperationSignature() { |
| 845 | return (EReference)operationSignatureEClass.getEStructuralFeatures().get(1); |
| 846 | } |
| 847 | |
| 848 | /** |
| 849 | * <!-- begin-user-doc --> |
| 850 | * <!-- end-user-doc --> |
| 851 | * @generated |
| 852 | */ |
| 853 | public EReference getOperationSignature_ReturnType__OperationSignature() { |
| 854 | return (EReference)operationSignatureEClass.getEStructuralFeatures().get(2); |
| 855 | } |
| 856 | |
| 857 | /** |
| 858 | * <!-- begin-user-doc --> |
| 859 | * <!-- end-user-doc --> |
| 860 | * @generated |
| 861 | */ |
| 862 | public EReference getOperationSignature_Interface__OperationSignature() { |
| 863 | return (EReference)operationSignatureEClass.getEStructuralFeatures().get(0); |
| 864 | } |
| 865 | |
| 866 | /** |
| 867 | * <!-- begin-user-doc --> |
| 868 | * <!-- end-user-doc --> |
| 869 | * @generated |
| 870 | */ |
| 871 | public EClass getSignature() { |
| 872 | return signatureEClass; |
| 873 | } |
| 874 | |
| 875 | /** |
| 876 | * <!-- begin-user-doc --> |
| 877 | * <!-- end-user-doc --> |
| 878 | * @generated |
| 879 | */ |
| 880 | public EReference getSignature_Exceptions__Signature() { |
| 881 | return (EReference)signatureEClass.getEStructuralFeatures().get(0); |
| 882 | } |
| 883 | |
| 884 | /** |
| 885 | * <!-- begin-user-doc --> |
| 886 | * <!-- end-user-doc --> |
| 887 | * @generated |
| 888 | */ |
| 889 | public EReference getSignature_FailureType() { |
| 890 | return (EReference)signatureEClass.getEStructuralFeatures().get(1); |
| 891 | } |
| 892 | |
| 893 | /** |
| 894 | * <!-- begin-user-doc --> |
| 895 | * <!-- end-user-doc --> |
| 896 | * @generated |
| 897 | */ |
| 898 | public EClass getExceptionType() { |
| 899 | return exceptionTypeEClass; |
| 900 | } |
| 901 | |
| 902 | /** |
| 903 | * <!-- begin-user-doc --> |
| 904 | * <!-- end-user-doc --> |
| 905 | * @generated |
| 906 | */ |
| 907 | public EAttribute getExceptionType_ExceptionName() { |
| 908 | return (EAttribute)exceptionTypeEClass.getEStructuralFeatures().get(0); |
| 909 | } |
| 910 | |
| 911 | /** |
| 912 | * <!-- begin-user-doc --> |
| 913 | * <!-- end-user-doc --> |
| 914 | * @generated |
| 915 | */ |
| 916 | public EAttribute getExceptionType_ExceptionMessage() { |
| 917 | return (EAttribute)exceptionTypeEClass.getEStructuralFeatures().get(1); |
| 918 | } |
| 919 | |
| 920 | /** |
| 921 | * <!-- begin-user-doc --> |
| 922 | * <!-- end-user-doc --> |
| 923 | * @generated |
| 924 | */ |
| 925 | public EClass getInfrastructureProvidedRole() { |
| 926 | return infrastructureProvidedRoleEClass; |
| 927 | } |
| 928 | |
| 929 | /** |
| 930 | * <!-- begin-user-doc --> |
| 931 | * <!-- end-user-doc --> |
| 932 | * @generated |
| 933 | */ |
| 934 | public EReference getInfrastructureProvidedRole_ProvidedInterface__InfrastructureProvidedRole() { |
| 935 | return (EReference)infrastructureProvidedRoleEClass.getEStructuralFeatures().get(0); |
| 936 | } |
| 937 | |
| 938 | /** |
| 939 | * <!-- begin-user-doc --> |
| 940 | * <!-- end-user-doc --> |
| 941 | * @generated |
| 942 | */ |
| 943 | public EClass getInfrastructureInterface() { |
| 944 | return infrastructureInterfaceEClass; |
| 945 | } |
| 946 | |
| 947 | /** |
| 948 | * <!-- begin-user-doc --> |
| 949 | * <!-- end-user-doc --> |
| 950 | * @generated |
| 951 | */ |
| 952 | public EReference getInfrastructureInterface_InfrastructureSignatures__InfrastructureInterface() { |
| 953 | return (EReference)infrastructureInterfaceEClass.getEStructuralFeatures().get(0); |
| 954 | } |
| 955 | |
| 956 | /** |
| 957 | * <!-- begin-user-doc --> |
| 958 | * <!-- end-user-doc --> |
| 959 | * @generated |
| 960 | */ |
| 961 | public EClass getInfrastructureSignature() { |
| 962 | return infrastructureSignatureEClass; |
| 963 | } |
| 964 | |
| 965 | /** |
| 966 | * <!-- begin-user-doc --> |
| 967 | * <!-- end-user-doc --> |
| 968 | * @generated |
| 969 | */ |
| 970 | public EReference getInfrastructureSignature_Parameters__InfrastructureSignature() { |
| 971 | return (EReference)infrastructureSignatureEClass.getEStructuralFeatures().get(0); |
| 972 | } |
| 973 | |
| 974 | /** |
| 975 | * <!-- begin-user-doc --> |
| 976 | * <!-- end-user-doc --> |
| 977 | * @generated |
| 978 | */ |
| 979 | public EReference getInfrastructureSignature_InfrastructureInterface__InfrastructureSignature() { |
| 980 | return (EReference)infrastructureSignatureEClass.getEStructuralFeatures().get(1); |
| 981 | } |
| 982 | |
| 983 | /** |
| 984 | * <!-- begin-user-doc --> |
| 985 | * <!-- end-user-doc --> |
| 986 | * @generated |
| 987 | */ |
| 988 | public EClass getOperationRequiredRole() { |
| 989 | return operationRequiredRoleEClass; |
| 990 | } |
| 991 | |
| 992 | /** |
| 993 | * <!-- begin-user-doc --> |
| 994 | * <!-- end-user-doc --> |
| 995 | * @generated |
| 996 | */ |
| 997 | public EReference getOperationRequiredRole_RequiredInterface__OperationRequiredRole() { |
| 998 | return (EReference)operationRequiredRoleEClass.getEStructuralFeatures().get(0); |
| 999 | } |
| 1000 | |
| 1001 | /** |
| 1002 | * <!-- begin-user-doc --> |
| 1003 | * <!-- end-user-doc --> |
| 1004 | * @generated |
| 1005 | */ |
| 1006 | public EClass getEventType() { |
| 1007 | return eventTypeEClass; |
| 1008 | } |
| 1009 | |
| 1010 | /** |
| 1011 | * <!-- begin-user-doc --> |
| 1012 | * <!-- end-user-doc --> |
| 1013 | * @generated |
| 1014 | */ |
| 1015 | public EReference getEventType_EventGroup__EventType() { |
| 1016 | return (EReference)eventTypeEClass.getEStructuralFeatures().get(1); |
| 1017 | } |
| 1018 | |
| 1019 | /** |
| 1020 | * <!-- begin-user-doc --> |
| 1021 | * <!-- end-user-doc --> |
| 1022 | * @generated |
| 1023 | */ |
| 1024 | public EReference getEventType_Parameter__EventType() { |
| 1025 | return (EReference)eventTypeEClass.getEStructuralFeatures().get(0); |
| 1026 | } |
| 1027 | |
| 1028 | /** |
| 1029 | * <!-- begin-user-doc --> |
| 1030 | * <!-- end-user-doc --> |
| 1031 | * @generated |
| 1032 | */ |
| 1033 | public EClass getEventGroup() { |
| 1034 | return eventGroupEClass; |
| 1035 | } |
| 1036 | |
| 1037 | /** |
| 1038 | * <!-- begin-user-doc --> |
| 1039 | * <!-- end-user-doc --> |
| 1040 | * @generated |
| 1041 | */ |
| 1042 | public EReference getEventGroup_EventTypes__EventGroup() { |
| 1043 | return (EReference)eventGroupEClass.getEStructuralFeatures().get(0); |
| 1044 | } |
| 1045 | |
| 1046 | /** |
| 1047 | * <!-- begin-user-doc --> |
| 1048 | * <!-- end-user-doc --> |
| 1049 | * @generated |
| 1050 | */ |
| 1051 | public EClass getSourceRole() { |
| 1052 | return sourceRoleEClass; |
| 1053 | } |
| 1054 | |
| 1055 | /** |
| 1056 | * <!-- begin-user-doc --> |
| 1057 | * <!-- end-user-doc --> |
| 1058 | * @generated |
| 1059 | */ |
| 1060 | public EReference getSourceRole_EventGroup__SourceRole() { |
| 1061 | return (EReference)sourceRoleEClass.getEStructuralFeatures().get(0); |
| 1062 | } |
| 1063 | |
| 1064 | /** |
| 1065 | * <!-- begin-user-doc --> |
| 1066 | * <!-- end-user-doc --> |
| 1067 | * @generated |
| 1068 | */ |
| 1069 | public EClass getSinkRole() { |
| 1070 | return sinkRoleEClass; |
| 1071 | } |
| 1072 | |
| 1073 | /** |
| 1074 | * <!-- begin-user-doc --> |
| 1075 | * <!-- end-user-doc --> |
| 1076 | * @generated |
| 1077 | */ |
| 1078 | public EReference getSinkRole_EventGroup__SinkRole() { |
| 1079 | return (EReference)sinkRoleEClass.getEStructuralFeatures().get(0); |
| 1080 | } |
| 1081 | |
| 1082 | /** |
| 1083 | * <!-- begin-user-doc --> |
| 1084 | * <!-- end-user-doc --> |
| 1085 | * @generated |
| 1086 | */ |
| 1087 | public EClass getInfrastructureRequiredRole() { |
| 1088 | return infrastructureRequiredRoleEClass; |
| 1089 | } |
| 1090 | |
| 1091 | /** |
| 1092 | * <!-- begin-user-doc --> |
| 1093 | * <!-- end-user-doc --> |
| 1094 | * @generated |
| 1095 | */ |
| 1096 | public EReference getInfrastructureRequiredRole_RequiredInterface__InfrastructureRequiredRole() { |
| 1097 | return (EReference)infrastructureRequiredRoleEClass.getEStructuralFeatures().get(0); |
| 1098 | } |
| 1099 | |
| 1100 | /** |
| 1101 | * <!-- begin-user-doc --> |
| 1102 | * <!-- end-user-doc --> |
| 1103 | * @generated |
| 1104 | */ |
| 1105 | public EClass getDataType() { |
| 1106 | return dataTypeEClass; |
| 1107 | } |
| 1108 | |
| 1109 | /** |
| 1110 | * <!-- begin-user-doc --> |
| 1111 | * <!-- end-user-doc --> |
| 1112 | * @generated |
| 1113 | */ |
| 1114 | public EReference getDataType_Repository__DataType() { |
| 1115 | return (EReference)dataTypeEClass.getEStructuralFeatures().get(0); |
| 1116 | } |
| 1117 | |
| 1118 | /** |
| 1119 | * <!-- begin-user-doc --> |
| 1120 | * <!-- end-user-doc --> |
| 1121 | * @generated |
| 1122 | */ |
| 1123 | public EClass getCompleteComponentType() { |
| 1124 | return completeComponentTypeEClass; |
| 1125 | } |
| 1126 | |
| 1127 | /** |
| 1128 | * <!-- begin-user-doc --> |
| 1129 | * <!-- end-user-doc --> |
| 1130 | * @generated |
| 1131 | */ |
| 1132 | public EReference getCompleteComponentType_ParentProvidesComponentTypes() { |
| 1133 | return (EReference)completeComponentTypeEClass.getEStructuralFeatures().get(0); |
| 1134 | } |
| 1135 | |
| 1136 | /** |
| 1137 | * <!-- begin-user-doc --> |
| 1138 | * <!-- end-user-doc --> |
| 1139 | * @generated |
| 1140 | */ |
| 1141 | public EClass getProvidesComponentType() { |
| 1142 | return providesComponentTypeEClass; |
| 1143 | } |
| 1144 | |
| 1145 | /** |
| 1146 | * <!-- begin-user-doc --> |
| 1147 | * <!-- end-user-doc --> |
| 1148 | * @generated |
| 1149 | */ |
| 1150 | public EClass getCompositeComponent() { |
| 1151 | return compositeComponentEClass; |
| 1152 | } |
| 1153 | |
| 1154 | /** |
| 1155 | * <!-- begin-user-doc --> |
| 1156 | * <!-- end-user-doc --> |
| 1157 | * @generated |
| 1158 | */ |
| 1159 | public EClass getPrimitiveDataType() { |
| 1160 | return primitiveDataTypeEClass; |
| 1161 | } |
| 1162 | |
| 1163 | /** |
| 1164 | * <!-- begin-user-doc --> |
| 1165 | * <!-- end-user-doc --> |
| 1166 | * @generated |
| 1167 | */ |
| 1168 | public EAttribute getPrimitiveDataType_Type() { |
| 1169 | return (EAttribute)primitiveDataTypeEClass.getEStructuralFeatures().get(0); |
| 1170 | } |
| 1171 | |
| 1172 | /** |
| 1173 | * <!-- begin-user-doc --> |
| 1174 | * <!-- end-user-doc --> |
| 1175 | * @generated |
| 1176 | */ |
| 1177 | public EClass getCollectionDataType() { |
| 1178 | return collectionDataTypeEClass; |
| 1179 | } |
| 1180 | |
| 1181 | /** |
| 1182 | * <!-- begin-user-doc --> |
| 1183 | * <!-- end-user-doc --> |
| 1184 | * @generated |
| 1185 | */ |
| 1186 | public EReference getCollectionDataType_InnerType_CollectionDataType() { |
| 1187 | return (EReference)collectionDataTypeEClass.getEStructuralFeatures().get(0); |
| 1188 | } |
| 1189 | |
| 1190 | /** |
| 1191 | * <!-- begin-user-doc --> |
| 1192 | * <!-- end-user-doc --> |
| 1193 | * @generated |
| 1194 | */ |
| 1195 | public EClass getCompositeDataType() { |
| 1196 | return compositeDataTypeEClass; |
| 1197 | } |
| 1198 | |
| 1199 | /** |
| 1200 | * <!-- begin-user-doc --> |
| 1201 | * <!-- end-user-doc --> |
| 1202 | * @generated |
| 1203 | */ |
| 1204 | public EReference getCompositeDataType_ParentType_CompositeDataType() { |
| 1205 | return (EReference)compositeDataTypeEClass.getEStructuralFeatures().get(0); |
| 1206 | } |
| 1207 | |
| 1208 | /** |
| 1209 | * <!-- begin-user-doc --> |
| 1210 | * <!-- end-user-doc --> |
| 1211 | * @generated |
| 1212 | */ |
| 1213 | public EReference getCompositeDataType_InnerDeclaration_CompositeDataType() { |
| 1214 | return (EReference)compositeDataTypeEClass.getEStructuralFeatures().get(1); |
| 1215 | } |
| 1216 | |
| 1217 | /** |
| 1218 | * <!-- begin-user-doc --> |
| 1219 | * <!-- end-user-doc --> |
| 1220 | * @generated |
| 1221 | */ |
| 1222 | public EClass getInnerDeclaration() { |
| 1223 | return innerDeclarationEClass; |
| 1224 | } |
| 1225 | |
| 1226 | /** |
| 1227 | * <!-- begin-user-doc --> |
| 1228 | * <!-- end-user-doc --> |
| 1229 | * @generated |
| 1230 | */ |
| 1231 | public EReference getInnerDeclaration_Datatype_InnerDeclaration() { |
| 1232 | return (EReference)innerDeclarationEClass.getEStructuralFeatures().get(0); |
| 1233 | } |
| 1234 | |
| 1235 | /** |
| 1236 | * <!-- begin-user-doc --> |
| 1237 | * <!-- end-user-doc --> |
| 1238 | * @generated |
| 1239 | */ |
| 1240 | public EReference getInnerDeclaration_CompositeDataType_InnerDeclaration() { |
| 1241 | return (EReference)innerDeclarationEClass.getEStructuralFeatures().get(1); |
| 1242 | } |
| 1243 | |
| 1244 | /** |
| 1245 | * <!-- begin-user-doc --> |
| 1246 | * <!-- end-user-doc --> |
| 1247 | * @generated |
| 1248 | */ |
| 1249 | public EClass getParameter() { |
| 1250 | return parameterEClass; |
| 1251 | } |
| 1252 | |
| 1253 | /** |
| 1254 | * <!-- begin-user-doc --> |
| 1255 | * <!-- end-user-doc --> |
| 1256 | * @generated |
| 1257 | */ |
| 1258 | public EReference getParameter_InfrastructureSignature__Parameter() { |
| 1259 | return (EReference)parameterEClass.getEStructuralFeatures().get(1); |
| 1260 | } |
| 1261 | |
| 1262 | /** |
| 1263 | * <!-- begin-user-doc --> |
| 1264 | * <!-- end-user-doc --> |
| 1265 | * @generated |
| 1266 | */ |
| 1267 | public EReference getParameter_EventType__Parameter() { |
| 1268 | return (EReference)parameterEClass.getEStructuralFeatures().get(3); |
| 1269 | } |
| 1270 | |
| 1271 | /** |
| 1272 | * <!-- begin-user-doc --> |
| 1273 | * <!-- end-user-doc --> |
| 1274 | * @generated |
| 1275 | */ |
| 1276 | public EReference getParameter_OperationSignature__Parameter() { |
| 1277 | return (EReference)parameterEClass.getEStructuralFeatures().get(2); |
| 1278 | } |
| 1279 | |
| 1280 | /** |
| 1281 | * <!-- begin-user-doc --> |
| 1282 | * <!-- end-user-doc --> |
| 1283 | * @generated |
| 1284 | */ |
| 1285 | public EReference getParameter_DataType__Parameter() { |
| 1286 | return (EReference)parameterEClass.getEStructuralFeatures().get(0); |
| 1287 | } |
| 1288 | |
| 1289 | /** |
| 1290 | * <!-- begin-user-doc --> |
| 1291 | * <!-- end-user-doc --> |
| 1292 | * @generated |
| 1293 | */ |
| 1294 | public EAttribute getParameter_ParameterName() { |
| 1295 | return (EAttribute)parameterEClass.getEStructuralFeatures().get(4); |
| 1296 | } |
| 1297 | |
| 1298 | /** |
| 1299 | * <!-- begin-user-doc --> |
| 1300 | * <!-- end-user-doc --> |
| 1301 | * @generated |
| 1302 | */ |
| 1303 | public EAttribute getParameter_Modifier__Parameter() { |
| 1304 | return (EAttribute)parameterEClass.getEStructuralFeatures().get(5); |
| 1305 | } |
| 1306 | |
| 1307 | /** |
| 1308 | * <!-- begin-user-doc --> |
| 1309 | * <!-- end-user-doc --> |
| 1310 | * @generated |
| 1311 | */ |
| 1312 | public EReference getParameter_ResourceSignature__Parameter() { |
| 1313 | return (EReference)parameterEClass.getEStructuralFeatures().get(6); |
| 1314 | } |
| 1315 | |
| 1316 | /** |
| 1317 | * <!-- begin-user-doc --> |
| 1318 | * <!-- end-user-doc --> |
| 1319 | * @generated |
| 1320 | */ |
| 1321 | public EEnum getComponentType() { |
| 1322 | return componentTypeEEnum; |
| 1323 | } |
| 1324 | |
| 1325 | /** |
| 1326 | * <!-- begin-user-doc --> |
| 1327 | * <!-- end-user-doc --> |
| 1328 | * @generated |
| 1329 | */ |
| 1330 | public EEnum getParameterModifier() { |
| 1331 | return parameterModifierEEnum; |
| 1332 | } |
| 1333 | |
| 1334 | /** |
| 1335 | * <!-- begin-user-doc --> |
| 1336 | * <!-- end-user-doc --> |
| 1337 | * @generated |
| 1338 | */ |
| 1339 | public EEnum getPrimitiveTypeEnum() { |
| 1340 | return primitiveTypeEnumEEnum; |
| 1341 | } |
| 1342 | |
| 1343 | /** |
| 1344 | * <!-- begin-user-doc --> |
| 1345 | * <!-- end-user-doc --> |
| 1346 | * @generated |
| 1347 | */ |
| 1348 | public RepositoryFactory getRepositoryFactory() { |
| 1349 | return (RepositoryFactory)getEFactoryInstance(); |
| 1350 | } |
| 1351 | |
| 1352 | /** |
| 1353 | * <!-- begin-user-doc --> |
| 1354 | * <!-- end-user-doc --> |
| 1355 | * @generated |
| 1356 | */ |
| 1357 | private boolean isCreated = false; |
| 1358 | |
| 1359 | /** |
| 1360 | * Creates the meta-model objects for the package. This method is |
| 1361 | * guarded to have no affect on any invocation but its first. |
| 1362 | * <!-- begin-user-doc --> |
| 1363 | * <!-- end-user-doc --> |
| 1364 | * @generated |
| 1365 | */ |
| 1366 | public void createPackageContents() { |
| 1367 | if (isCreated) return; |
| 1368 | isCreated = true; |
| 1369 | |
| 1370 | // Create classes and their features |
| 1371 | passiveResourceEClass = createEClass(PASSIVE_RESOURCE); |
| 1372 | createEReference(passiveResourceEClass, PASSIVE_RESOURCE__CAPACITY_PASSIVE_RESOURCE); |
| 1373 | createEReference(passiveResourceEClass, PASSIVE_RESOURCE__BASIC_COMPONENT_PASSIVE_RESOURCE); |
| 1374 | createEReference(passiveResourceEClass, PASSIVE_RESOURCE__RESOURCE_TIMEOUT_FAILURE_TYPE_PASSIVE_RESOURCE); |
| 1375 | |
| 1376 | basicComponentEClass = createEClass(BASIC_COMPONENT); |
| 1377 | createEReference(basicComponentEClass, BASIC_COMPONENT__SERVICE_EFFECT_SPECIFICATIONS_BASIC_COMPONENT); |
| 1378 | createEReference(basicComponentEClass, BASIC_COMPONENT__PASSIVE_RESOURCE_BASIC_COMPONENT); |
| 1379 | |
| 1380 | implementationComponentTypeEClass = createEClass(IMPLEMENTATION_COMPONENT_TYPE); |
| 1381 | createEReference(implementationComponentTypeEClass, IMPLEMENTATION_COMPONENT_TYPE__PARENT_COMPLETE_COMPONENT_TYPES); |
| 1382 | createEReference(implementationComponentTypeEClass, IMPLEMENTATION_COMPONENT_TYPE__COMPONENT_PARAMETER_USAGE_IMPLEMENTATION_COMPONENT_TYPE); |
| 1383 | createEAttribute(implementationComponentTypeEClass, IMPLEMENTATION_COMPONENT_TYPE__COMPONENT_TYPE); |
| 1384 | |
| 1385 | repositoryComponentEClass = createEClass(REPOSITORY_COMPONENT); |
| 1386 | createEReference(repositoryComponentEClass, REPOSITORY_COMPONENT__REPOSITORY_REPOSITORY_COMPONENT); |
| 1387 | |
| 1388 | providedRoleEClass = createEClass(PROVIDED_ROLE); |
| 1389 | createEReference(providedRoleEClass, PROVIDED_ROLE__PROVIDING_ENTITY_PROVIDED_ROLE); |
| 1390 | |
| 1391 | parameterEClass = createEClass(PARAMETER); |
| 1392 | createEReference(parameterEClass, PARAMETER__DATA_TYPE_PARAMETER); |
| 1393 | createEReference(parameterEClass, PARAMETER__INFRASTRUCTURE_SIGNATURE_PARAMETER); |
| 1394 | createEReference(parameterEClass, PARAMETER__OPERATION_SIGNATURE_PARAMETER); |
| 1395 | createEReference(parameterEClass, PARAMETER__EVENT_TYPE_PARAMETER); |
| 1396 | createEAttribute(parameterEClass, PARAMETER__PARAMETER_NAME); |
| 1397 | createEAttribute(parameterEClass, PARAMETER__MODIFIER_PARAMETER); |
| 1398 | createEReference(parameterEClass, PARAMETER__RESOURCE_SIGNATURE_PARAMETER); |
| 1399 | |
| 1400 | dataTypeEClass = createEClass(DATA_TYPE); |
| 1401 | createEReference(dataTypeEClass, DATA_TYPE__REPOSITORY_DATA_TYPE); |
| 1402 | |
| 1403 | repositoryEClass = createEClass(REPOSITORY); |
| 1404 | createEAttribute(repositoryEClass, REPOSITORY__REPOSITORY_DESCRIPTION); |
| 1405 | createEReference(repositoryEClass, REPOSITORY__COMPONENTS_REPOSITORY); |
| 1406 | createEReference(repositoryEClass, REPOSITORY__INTERFACES_REPOSITORY); |
| 1407 | createEReference(repositoryEClass, REPOSITORY__FAILURE_TYPES_REPOSITORY); |
| 1408 | createEReference(repositoryEClass, REPOSITORY__DATA_TYPES_REPOSITORY); |
| 1409 | |
| 1410 | interfaceEClass = createEClass(INTERFACE); |
| 1411 | createEReference(interfaceEClass, INTERFACE__PARENT_INTERFACES_INTERFACE); |
| 1412 | createEReference(interfaceEClass, INTERFACE__PROTOCOLS_INTERFACE); |
| 1413 | createEReference(interfaceEClass, INTERFACE__REQUIRED_CHARACTERISATIONS); |
| 1414 | createEReference(interfaceEClass, INTERFACE__REPOSITORY_INTERFACE); |
| 1415 | |
| 1416 | requiredCharacterisationEClass = createEClass(REQUIRED_CHARACTERISATION); |
| 1417 | createEAttribute(requiredCharacterisationEClass, REQUIRED_CHARACTERISATION__TYPE); |
| 1418 | createEReference(requiredCharacterisationEClass, REQUIRED_CHARACTERISATION__PARAMETER); |
| 1419 | createEReference(requiredCharacterisationEClass, REQUIRED_CHARACTERISATION__INTERFACE_REQUIRED_CHARACTERISATION); |
| 1420 | |
| 1421 | eventGroupEClass = createEClass(EVENT_GROUP); |
| 1422 | createEReference(eventGroupEClass, EVENT_GROUP__EVENT_TYPES_EVENT_GROUP); |
| 1423 | |
| 1424 | eventTypeEClass = createEClass(EVENT_TYPE); |
| 1425 | createEReference(eventTypeEClass, EVENT_TYPE__PARAMETER_EVENT_TYPE); |
| 1426 | createEReference(eventTypeEClass, EVENT_TYPE__EVENT_GROUP_EVENT_TYPE); |
| 1427 | |
| 1428 | signatureEClass = createEClass(SIGNATURE); |
| 1429 | createEReference(signatureEClass, SIGNATURE__EXCEPTIONS_SIGNATURE); |
| 1430 | createEReference(signatureEClass, SIGNATURE__FAILURE_TYPE); |
| 1431 | |
| 1432 | exceptionTypeEClass = createEClass(EXCEPTION_TYPE); |
| 1433 | createEAttribute(exceptionTypeEClass, EXCEPTION_TYPE__EXCEPTION_NAME); |
| 1434 | createEAttribute(exceptionTypeEClass, EXCEPTION_TYPE__EXCEPTION_MESSAGE); |
| 1435 | |
| 1436 | infrastructureSignatureEClass = createEClass(INFRASTRUCTURE_SIGNATURE); |
| 1437 | createEReference(infrastructureSignatureEClass, INFRASTRUCTURE_SIGNATURE__PARAMETERS_INFRASTRUCTURE_SIGNATURE); |
| 1438 | createEReference(infrastructureSignatureEClass, INFRASTRUCTURE_SIGNATURE__INFRASTRUCTURE_INTERFACE_INFRASTRUCTURE_SIGNATURE); |
| 1439 | |
| 1440 | infrastructureInterfaceEClass = createEClass(INFRASTRUCTURE_INTERFACE); |
| 1441 | createEReference(infrastructureInterfaceEClass, INFRASTRUCTURE_INTERFACE__INFRASTRUCTURE_SIGNATURES_INFRASTRUCTURE_INTERFACE); |
| 1442 | |
| 1443 | infrastructureRequiredRoleEClass = createEClass(INFRASTRUCTURE_REQUIRED_ROLE); |
| 1444 | createEReference(infrastructureRequiredRoleEClass, INFRASTRUCTURE_REQUIRED_ROLE__REQUIRED_INTERFACE_INFRASTRUCTURE_REQUIRED_ROLE); |
| 1445 | |
| 1446 | requiredRoleEClass = createEClass(REQUIRED_ROLE); |
| 1447 | createEReference(requiredRoleEClass, REQUIRED_ROLE__REQUIRING_ENTITY_REQUIRED_ROLE); |
| 1448 | |
| 1449 | operationSignatureEClass = createEClass(OPERATION_SIGNATURE); |
| 1450 | createEReference(operationSignatureEClass, OPERATION_SIGNATURE__INTERFACE_OPERATION_SIGNATURE); |
| 1451 | createEReference(operationSignatureEClass, OPERATION_SIGNATURE__PARAMETERS_OPERATION_SIGNATURE); |
| 1452 | createEReference(operationSignatureEClass, OPERATION_SIGNATURE__RETURN_TYPE_OPERATION_SIGNATURE); |
| 1453 | |
| 1454 | operationInterfaceEClass = createEClass(OPERATION_INTERFACE); |
| 1455 | createEReference(operationInterfaceEClass, OPERATION_INTERFACE__SIGNATURES_OPERATION_INTERFACE); |
| 1456 | |
| 1457 | operationRequiredRoleEClass = createEClass(OPERATION_REQUIRED_ROLE); |
| 1458 | createEReference(operationRequiredRoleEClass, OPERATION_REQUIRED_ROLE__REQUIRED_INTERFACE_OPERATION_REQUIRED_ROLE); |
| 1459 | |
| 1460 | sourceRoleEClass = createEClass(SOURCE_ROLE); |
| 1461 | createEReference(sourceRoleEClass, SOURCE_ROLE__EVENT_GROUP_SOURCE_ROLE); |
| 1462 | |
| 1463 | sinkRoleEClass = createEClass(SINK_ROLE); |
| 1464 | createEReference(sinkRoleEClass, SINK_ROLE__EVENT_GROUP_SINK_ROLE); |
| 1465 | |
| 1466 | operationProvidedRoleEClass = createEClass(OPERATION_PROVIDED_ROLE); |
| 1467 | createEReference(operationProvidedRoleEClass, OPERATION_PROVIDED_ROLE__PROVIDED_INTERFACE_OPERATION_PROVIDED_ROLE); |
| 1468 | |
| 1469 | infrastructureProvidedRoleEClass = createEClass(INFRASTRUCTURE_PROVIDED_ROLE); |
| 1470 | createEReference(infrastructureProvidedRoleEClass, INFRASTRUCTURE_PROVIDED_ROLE__PROVIDED_INTERFACE_INFRASTRUCTURE_PROVIDED_ROLE); |
| 1471 | |
| 1472 | completeComponentTypeEClass = createEClass(COMPLETE_COMPONENT_TYPE); |
| 1473 | createEReference(completeComponentTypeEClass, COMPLETE_COMPONENT_TYPE__PARENT_PROVIDES_COMPONENT_TYPES); |
| 1474 | |
| 1475 | providesComponentTypeEClass = createEClass(PROVIDES_COMPONENT_TYPE); |
| 1476 | |
| 1477 | compositeComponentEClass = createEClass(COMPOSITE_COMPONENT); |
| 1478 | |
| 1479 | primitiveDataTypeEClass = createEClass(PRIMITIVE_DATA_TYPE); |
| 1480 | createEAttribute(primitiveDataTypeEClass, PRIMITIVE_DATA_TYPE__TYPE); |
| 1481 | |
| 1482 | collectionDataTypeEClass = createEClass(COLLECTION_DATA_TYPE); |
| 1483 | createEReference(collectionDataTypeEClass, COLLECTION_DATA_TYPE__INNER_TYPE_COLLECTION_DATA_TYPE); |
| 1484 | |
| 1485 | compositeDataTypeEClass = createEClass(COMPOSITE_DATA_TYPE); |
| 1486 | createEReference(compositeDataTypeEClass, COMPOSITE_DATA_TYPE__PARENT_TYPE_COMPOSITE_DATA_TYPE); |
| 1487 | createEReference(compositeDataTypeEClass, COMPOSITE_DATA_TYPE__INNER_DECLARATION_COMPOSITE_DATA_TYPE); |
| 1488 | |
| 1489 | innerDeclarationEClass = createEClass(INNER_DECLARATION); |
| 1490 | createEReference(innerDeclarationEClass, INNER_DECLARATION__DATATYPE_INNER_DECLARATION); |
| 1491 | createEReference(innerDeclarationEClass, INNER_DECLARATION__COMPOSITE_DATA_TYPE_INNER_DECLARATION); |
| 1492 | |
| 1493 | roleEClass = createEClass(ROLE); |
| 1494 | |
| 1495 | // Create enums |
| 1496 | parameterModifierEEnum = createEEnum(PARAMETER_MODIFIER); |
| 1497 | componentTypeEEnum = createEEnum(COMPONENT_TYPE); |
| 1498 | primitiveTypeEnumEEnum = createEEnum(PRIMITIVE_TYPE_ENUM); |
| 1499 | } |
| 1500 | |
| 1501 | /** |
| 1502 | * <!-- begin-user-doc --> |
| 1503 | * <!-- end-user-doc --> |
| 1504 | * @generated |
| 1505 | */ |
| 1506 | private boolean isInitialized = false; |
| 1507 | |
| 1508 | /** |
| 1509 | * Complete the initialization of the package and its meta-model. This |
| 1510 | * method is guarded to have no affect on any invocation but its first. |
| 1511 | * <!-- begin-user-doc --> |
| 1512 | * <!-- end-user-doc --> |
| 1513 | * @generated |
| 1514 | */ |
| 1515 | public void initializePackageContents() { |
| 1516 | if (isInitialized) return; |
| 1517 | isInitialized = true; |
| 1518 | |
| 1519 | // Initialize package |
| 1520 | setName(eNAME); |
| 1521 | setNsPrefix(eNS_PREFIX); |
| 1522 | setNsURI(eNS_URI); |
| 1523 | |
| 1524 | // Obtain other dependent packages |
| 1525 | EntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI); |
| 1526 | CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI); |
| 1527 | ReliabilityPackage theReliabilityPackage = (ReliabilityPackage)EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI); |
| 1528 | SeffPackage theSeffPackage = (SeffPackage)EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI); |
| 1529 | ParameterPackage theParameterPackage = (ParameterPackage)EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI); |
| 1530 | ResourcetypePackage theResourcetypePackage = (ResourcetypePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI); |
| 1531 | ProtocolPackage theProtocolPackage = (ProtocolPackage)EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI); |
| 1532 | |
| 1533 | // Create type parameters |
| 1534 | |
| 1535 | // Set bounds for type parameters |
| 1536 | |
| 1537 | // Add supertypes to classes |
| 1538 | passiveResourceEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1539 | basicComponentEClass.getESuperTypes().add(this.getImplementationComponentType()); |
| 1540 | implementationComponentTypeEClass.getESuperTypes().add(this.getRepositoryComponent()); |
| 1541 | repositoryComponentEClass.getESuperTypes().add(theEntityPackage.getInterfaceProvidingRequiringEntity()); |
| 1542 | providedRoleEClass.getESuperTypes().add(this.getRole()); |
| 1543 | repositoryEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1544 | interfaceEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1545 | eventGroupEClass.getESuperTypes().add(this.getInterface()); |
| 1546 | eventTypeEClass.getESuperTypes().add(this.getSignature()); |
| 1547 | signatureEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1548 | infrastructureSignatureEClass.getESuperTypes().add(this.getSignature()); |
| 1549 | infrastructureInterfaceEClass.getESuperTypes().add(this.getInterface()); |
| 1550 | infrastructureRequiredRoleEClass.getESuperTypes().add(this.getRequiredRole()); |
| 1551 | requiredRoleEClass.getESuperTypes().add(this.getRole()); |
| 1552 | operationSignatureEClass.getESuperTypes().add(this.getSignature()); |
| 1553 | operationInterfaceEClass.getESuperTypes().add(this.getInterface()); |
| 1554 | operationRequiredRoleEClass.getESuperTypes().add(this.getRequiredRole()); |
| 1555 | sourceRoleEClass.getESuperTypes().add(this.getRequiredRole()); |
| 1556 | sinkRoleEClass.getESuperTypes().add(this.getProvidedRole()); |
| 1557 | operationProvidedRoleEClass.getESuperTypes().add(this.getProvidedRole()); |
| 1558 | infrastructureProvidedRoleEClass.getESuperTypes().add(this.getProvidedRole()); |
| 1559 | completeComponentTypeEClass.getESuperTypes().add(this.getRepositoryComponent()); |
| 1560 | providesComponentTypeEClass.getESuperTypes().add(this.getRepositoryComponent()); |
| 1561 | compositeComponentEClass.getESuperTypes().add(theEntityPackage.getComposedProvidingRequiringEntity()); |
| 1562 | compositeComponentEClass.getESuperTypes().add(this.getImplementationComponentType()); |
| 1563 | primitiveDataTypeEClass.getESuperTypes().add(this.getDataType()); |
| 1564 | collectionDataTypeEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1565 | collectionDataTypeEClass.getESuperTypes().add(this.getDataType()); |
| 1566 | compositeDataTypeEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1567 | compositeDataTypeEClass.getESuperTypes().add(this.getDataType()); |
| 1568 | innerDeclarationEClass.getESuperTypes().add(theEntityPackage.getNamedElement()); |
| 1569 | roleEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1570 | |
| 1571 | // Initialize classes and features; add operations and parameters |
| 1572 | initEClass(passiveResourceEClass, PassiveResource.class, "PassiveResource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1573 | initEReference(getPassiveResource_Capacity_PassiveResource(), theCorePackage.getPCMRandomVariable(), theCorePackage.getPCMRandomVariable_PassiveResource_capacity_PCMRandomVariable(), "capacity_PassiveResource", null, 1, 1, PassiveResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1574 | initEReference(getPassiveResource_BasicComponent_PassiveResource(), this.getBasicComponent(), this.getBasicComponent_PassiveResource_BasicComponent(), "basicComponent_PassiveResource", null, 1, 1, PassiveResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1575 | initEReference(getPassiveResource_ResourceTimeoutFailureType__PassiveResource(), theReliabilityPackage.getResourceTimeoutFailureType(), theReliabilityPackage.getResourceTimeoutFailureType_PassiveResource__ResourceTimeoutFailureType(), "resourceTimeoutFailureType__PassiveResource", null, 0, 1, PassiveResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1576 | |
| 1577 | initEClass(basicComponentEClass, BasicComponent.class, "BasicComponent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1578 | initEReference(getBasicComponent_ServiceEffectSpecifications__BasicComponent(), theSeffPackage.getServiceEffectSpecification(), theSeffPackage.getServiceEffectSpecification_BasicComponent_ServiceEffectSpecification(), "serviceEffectSpecifications__BasicComponent", null, 0, -1, BasicComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1579 | initEReference(getBasicComponent_PassiveResource_BasicComponent(), this.getPassiveResource(), this.getPassiveResource_BasicComponent_PassiveResource(), "passiveResource_BasicComponent", null, 0, -1, BasicComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1580 | |
| 1581 | EOperation op = addEOperation(basicComponentEClass, ecorePackage.getEBoolean(), "NoSeffTypeUsedTwice", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1582 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1583 | EGenericType g1 = createEGenericType(ecorePackage.getEMap()); |
| 1584 | EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1585 | g1.getETypeArguments().add(g2); |
| 1586 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1587 | g1.getETypeArguments().add(g2); |
| 1588 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1589 | |
| 1590 | op = addEOperation(basicComponentEClass, ecorePackage.getEBoolean(), "ProvideSameInterfacesAsImplementationType", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1591 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1592 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1593 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1594 | g1.getETypeArguments().add(g2); |
| 1595 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1596 | g1.getETypeArguments().add(g2); |
| 1597 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1598 | |
| 1599 | op = addEOperation(basicComponentEClass, ecorePackage.getEBoolean(), "RequireSameInterfacesAsImplementationType", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1600 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1601 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1602 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1603 | g1.getETypeArguments().add(g2); |
| 1604 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1605 | g1.getETypeArguments().add(g2); |
| 1606 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1607 | |
| 1608 | initEClass(implementationComponentTypeEClass, ImplementationComponentType.class, "ImplementationComponentType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1609 | initEReference(getImplementationComponentType_ParentCompleteComponentTypes(), this.getCompleteComponentType(), null, "parentCompleteComponentTypes", null, 0, -1, ImplementationComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1610 | initEReference(getImplementationComponentType_ComponentParameterUsage_ImplementationComponentType(), theParameterPackage.getVariableUsage(), null, "componentParameterUsage_ImplementationComponentType", null, 0, -1, ImplementationComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1611 | initEAttribute(getImplementationComponentType_ComponentType(), this.getComponentType(), "componentType", "BUSINESS_COMPONENT", 1, 1, ImplementationComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1612 | |
| 1613 | op = addEOperation(implementationComponentTypeEClass, ecorePackage.getEBoolean(), "RequiredInterfacesHaveToConformToCompleteType", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1614 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1615 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1616 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1617 | g1.getETypeArguments().add(g2); |
| 1618 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1619 | g1.getETypeArguments().add(g2); |
| 1620 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1621 | |
| 1622 | op = addEOperation(implementationComponentTypeEClass, ecorePackage.getEBoolean(), "providedInterfacesHaveToConformToCompleteType", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1623 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1624 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1625 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1626 | g1.getETypeArguments().add(g2); |
| 1627 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1628 | g1.getETypeArguments().add(g2); |
| 1629 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1630 | |
| 1631 | op = addEOperation(implementationComponentTypeEClass, ecorePackage.getEBoolean(), "ProvidedInterfaceHaveToConformToComponentType", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1632 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1633 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1634 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1635 | g1.getETypeArguments().add(g2); |
| 1636 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1637 | g1.getETypeArguments().add(g2); |
| 1638 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1639 | |
| 1640 | initEClass(repositoryComponentEClass, RepositoryComponent.class, "RepositoryComponent", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1641 | initEReference(getRepositoryComponent_Repository__RepositoryComponent(), this.getRepository(), this.getRepository_Components__Repository(), "repository__RepositoryComponent", null, 1, 1, RepositoryComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1642 | |
| 1643 | initEClass(providedRoleEClass, ProvidedRole.class, "ProvidedRole", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1644 | initEReference(getProvidedRole_ProvidingEntity_ProvidedRole(), theEntityPackage.getInterfaceProvidingEntity(), theEntityPackage.getInterfaceProvidingEntity_ProvidedRoles_InterfaceProvidingEntity(), "providingEntity_ProvidedRole", null, 1, 1, ProvidedRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1645 | |
| 1646 | initEClass(parameterEClass, Parameter.class, "Parameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1647 | initEReference(getParameter_DataType__Parameter(), this.getDataType(), null, "dataType__Parameter", null, 1, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1648 | initEReference(getParameter_InfrastructureSignature__Parameter(), this.getInfrastructureSignature(), this.getInfrastructureSignature_Parameters__InfrastructureSignature(), "infrastructureSignature__Parameter", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1649 | initEReference(getParameter_OperationSignature__Parameter(), this.getOperationSignature(), this.getOperationSignature_Parameters__OperationSignature(), "operationSignature__Parameter", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1650 | initEReference(getParameter_EventType__Parameter(), this.getEventType(), this.getEventType_Parameter__EventType(), "eventType__Parameter", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1651 | initEAttribute(getParameter_ParameterName(), ecorePackage.getEString(), "parameterName", null, 1, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1652 | initEAttribute(getParameter_Modifier__Parameter(), this.getParameterModifier(), "modifier__Parameter", null, 1, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1653 | initEReference(getParameter_ResourceSignature__Parameter(), theResourcetypePackage.getResourceSignature(), theResourcetypePackage.getResourceSignature_Parameter__ResourceSignature(), "resourceSignature__Parameter", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1654 | |
| 1655 | initEClass(dataTypeEClass, DataType.class, "DataType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1656 | initEReference(getDataType_Repository__DataType(), this.getRepository(), this.getRepository_DataTypes__Repository(), "repository__DataType", null, 1, 1, DataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1657 | |
| 1658 | initEClass(repositoryEClass, Repository.class, "Repository", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1659 | initEAttribute(getRepository_RepositoryDescription(), ecorePackage.getEString(), "repositoryDescription", null, 0, 1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1660 | initEReference(getRepository_Components__Repository(), this.getRepositoryComponent(), this.getRepositoryComponent_Repository__RepositoryComponent(), "components__Repository", null, 0, -1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1661 | initEReference(getRepository_Interfaces__Repository(), this.getInterface(), this.getInterface_Repository__Interface(), "interfaces__Repository", null, 0, -1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1662 | initEReference(getRepository_FailureTypes__Repository(), theReliabilityPackage.getFailureType(), theReliabilityPackage.getFailureType_Repository__FailureType(), "failureTypes__Repository", null, 0, -1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1663 | initEReference(getRepository_DataTypes__Repository(), this.getDataType(), this.getDataType_Repository__DataType(), "dataTypes__Repository", null, 0, -1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1664 | |
| 1665 | initEClass(interfaceEClass, Interface.class, "Interface", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1666 | initEReference(getInterface_ParentInterfaces__Interface(), this.getInterface(), null, "parentInterfaces__Interface", null, 0, -1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1667 | initEReference(getInterface_Protocols__Interface(), theProtocolPackage.getProtocol(), null, "protocols__Interface", null, 0, -1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1668 | initEReference(getInterface_RequiredCharacterisations(), this.getRequiredCharacterisation(), this.getRequiredCharacterisation_Interface_RequiredCharacterisation(), "requiredCharacterisations", null, 0, -1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1669 | initEReference(getInterface_Repository__Interface(), this.getRepository(), this.getRepository_Interfaces__Repository(), "repository__Interface", null, 1, 1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1670 | |
| 1671 | op = addEOperation(interfaceEClass, ecorePackage.getEBoolean(), "NoProtocolTypeIDUsedTwice", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1672 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1673 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1674 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1675 | g1.getETypeArguments().add(g2); |
| 1676 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1677 | g1.getETypeArguments().add(g2); |
| 1678 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1679 | |
| 1680 | initEClass(requiredCharacterisationEClass, RequiredCharacterisation.class, "RequiredCharacterisation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1681 | initEAttribute(getRequiredCharacterisation_Type(), theParameterPackage.getVariableCharacterisationType(), "type", null, 1, 1, RequiredCharacterisation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1682 | initEReference(getRequiredCharacterisation_Parameter(), this.getParameter(), null, "parameter", null, 1, 1, RequiredCharacterisation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1683 | initEReference(getRequiredCharacterisation_Interface_RequiredCharacterisation(), this.getInterface(), this.getInterface_RequiredCharacterisations(), "interface_RequiredCharacterisation", null, 1, 1, RequiredCharacterisation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1684 | |
| 1685 | initEClass(eventGroupEClass, EventGroup.class, "EventGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1686 | initEReference(getEventGroup_EventTypes__EventGroup(), this.getEventType(), this.getEventType_EventGroup__EventType(), "eventTypes__EventGroup", null, 0, -1, EventGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1687 | |
| 1688 | initEClass(eventTypeEClass, EventType.class, "EventType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1689 | initEReference(getEventType_Parameter__EventType(), this.getParameter(), this.getParameter_EventType__Parameter(), "parameter__EventType", null, 1, 1, EventType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1690 | initEReference(getEventType_EventGroup__EventType(), this.getEventGroup(), this.getEventGroup_EventTypes__EventGroup(), "eventGroup__EventType", null, 1, 1, EventType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1691 | |
| 1692 | initEClass(signatureEClass, Signature.class, "Signature", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1693 | initEReference(getSignature_Exceptions__Signature(), this.getExceptionType(), null, "exceptions__Signature", null, 0, -1, Signature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1694 | initEReference(getSignature_FailureType(), theReliabilityPackage.getFailureType(), null, "failureType", null, 0, -1, Signature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1695 | |
| 1696 | initEClass(exceptionTypeEClass, ExceptionType.class, "ExceptionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1697 | initEAttribute(getExceptionType_ExceptionName(), ecorePackage.getEString(), "exceptionName", null, 1, 1, ExceptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1698 | initEAttribute(getExceptionType_ExceptionMessage(), ecorePackage.getEString(), "exceptionMessage", null, 1, 1, ExceptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1699 | |
| 1700 | initEClass(infrastructureSignatureEClass, InfrastructureSignature.class, "InfrastructureSignature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1701 | initEReference(getInfrastructureSignature_Parameters__InfrastructureSignature(), this.getParameter(), this.getParameter_InfrastructureSignature__Parameter(), "parameters__InfrastructureSignature", null, 0, -1, InfrastructureSignature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1702 | initEReference(getInfrastructureSignature_InfrastructureInterface__InfrastructureSignature(), this.getInfrastructureInterface(), this.getInfrastructureInterface_InfrastructureSignatures__InfrastructureInterface(), "infrastructureInterface__InfrastructureSignature", null, 1, 1, InfrastructureSignature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1703 | |
| 1704 | initEClass(infrastructureInterfaceEClass, InfrastructureInterface.class, "InfrastructureInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1705 | initEReference(getInfrastructureInterface_InfrastructureSignatures__InfrastructureInterface(), this.getInfrastructureSignature(), this.getInfrastructureSignature_InfrastructureInterface__InfrastructureSignature(), "infrastructureSignatures__InfrastructureInterface", null, 0, -1, InfrastructureInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1706 | |
| 1707 | initEClass(infrastructureRequiredRoleEClass, InfrastructureRequiredRole.class, "InfrastructureRequiredRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1708 | initEReference(getInfrastructureRequiredRole_RequiredInterface__InfrastructureRequiredRole(), this.getInfrastructureInterface(), null, "requiredInterface__InfrastructureRequiredRole", null, 1, 1, InfrastructureRequiredRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1709 | |
| 1710 | initEClass(requiredRoleEClass, RequiredRole.class, "RequiredRole", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1711 | initEReference(getRequiredRole_RequiringEntity_RequiredRole(), theEntityPackage.getInterfaceRequiringEntity(), theEntityPackage.getInterfaceRequiringEntity_RequiredRoles_InterfaceRequiringEntity(), "requiringEntity_RequiredRole", null, 1, 1, RequiredRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1712 | |
| 1713 | initEClass(operationSignatureEClass, OperationSignature.class, "OperationSignature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1714 | initEReference(getOperationSignature_Interface__OperationSignature(), this.getOperationInterface(), this.getOperationInterface_Signatures__OperationInterface(), "interface__OperationSignature", null, 1, 1, OperationSignature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1715 | initEReference(getOperationSignature_Parameters__OperationSignature(), this.getParameter(), this.getParameter_OperationSignature__Parameter(), "parameters__OperationSignature", null, 0, -1, OperationSignature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1716 | initEReference(getOperationSignature_ReturnType__OperationSignature(), this.getDataType(), null, "returnType__OperationSignature", null, 0, 1, OperationSignature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1717 | |
| 1718 | op = addEOperation(operationSignatureEClass, ecorePackage.getEBoolean(), "ParameterNamesHaveToBeUniqueForASignature", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1719 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1720 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1721 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1722 | g1.getETypeArguments().add(g2); |
| 1723 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1724 | g1.getETypeArguments().add(g2); |
| 1725 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1726 | |
| 1727 | initEClass(operationInterfaceEClass, OperationInterface.class, "OperationInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1728 | initEReference(getOperationInterface_Signatures__OperationInterface(), this.getOperationSignature(), this.getOperationSignature_Interface__OperationSignature(), "signatures__OperationInterface", null, 0, -1, OperationInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1729 | |
| 1730 | op = addEOperation(operationInterfaceEClass, ecorePackage.getEBoolean(), "SignaturesHaveToBeUniqueForAnInterface", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1731 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1732 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1733 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1734 | g1.getETypeArguments().add(g2); |
| 1735 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1736 | g1.getETypeArguments().add(g2); |
| 1737 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1738 | |
| 1739 | initEClass(operationRequiredRoleEClass, OperationRequiredRole.class, "OperationRequiredRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1740 | initEReference(getOperationRequiredRole_RequiredInterface__OperationRequiredRole(), this.getOperationInterface(), null, "requiredInterface__OperationRequiredRole", null, 1, 1, OperationRequiredRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1741 | |
| 1742 | initEClass(sourceRoleEClass, SourceRole.class, "SourceRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1743 | initEReference(getSourceRole_EventGroup__SourceRole(), this.getEventGroup(), null, "eventGroup__SourceRole", null, 1, 1, SourceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1744 | |
| 1745 | initEClass(sinkRoleEClass, SinkRole.class, "SinkRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1746 | initEReference(getSinkRole_EventGroup__SinkRole(), this.getEventGroup(), null, "eventGroup__SinkRole", null, 1, 1, SinkRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1747 | |
| 1748 | initEClass(operationProvidedRoleEClass, OperationProvidedRole.class, "OperationProvidedRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1749 | initEReference(getOperationProvidedRole_ProvidedInterface__OperationProvidedRole(), this.getOperationInterface(), null, "providedInterface__OperationProvidedRole", null, 1, 1, OperationProvidedRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1750 | |
| 1751 | initEClass(infrastructureProvidedRoleEClass, InfrastructureProvidedRole.class, "InfrastructureProvidedRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1752 | initEReference(getInfrastructureProvidedRole_ProvidedInterface__InfrastructureProvidedRole(), this.getInfrastructureInterface(), null, "providedInterface__InfrastructureProvidedRole", null, 1, 1, InfrastructureProvidedRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1753 | |
| 1754 | initEClass(completeComponentTypeEClass, CompleteComponentType.class, "CompleteComponentType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1755 | initEReference(getCompleteComponentType_ParentProvidesComponentTypes(), this.getProvidesComponentType(), null, "parentProvidesComponentTypes", null, 0, -1, CompleteComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1756 | |
| 1757 | op = addEOperation(completeComponentTypeEClass, ecorePackage.getEBoolean(), "AtLeastOneInterfaceHasToBeProvidedOrRequiredByAUsefullCompleteComponentType", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1758 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1759 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1760 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1761 | g1.getETypeArguments().add(g2); |
| 1762 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1763 | g1.getETypeArguments().add(g2); |
| 1764 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1765 | |
| 1766 | op = addEOperation(completeComponentTypeEClass, ecorePackage.getEBoolean(), "providedInterfacesHaveToConformToProvidedType2", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1767 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1768 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1769 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1770 | g1.getETypeArguments().add(g2); |
| 1771 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1772 | g1.getETypeArguments().add(g2); |
| 1773 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1774 | |
| 1775 | initEClass(providesComponentTypeEClass, ProvidesComponentType.class, "ProvidesComponentType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1776 | |
| 1777 | op = addEOperation(providesComponentTypeEClass, ecorePackage.getEBoolean(), "AtLeastOneInterfaceHasToBeProvidedByAUsefullProvidesComponentType", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1778 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1779 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1780 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1781 | g1.getETypeArguments().add(g2); |
| 1782 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1783 | g1.getETypeArguments().add(g2); |
| 1784 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1785 | |
| 1786 | initEClass(compositeComponentEClass, CompositeComponent.class, "CompositeComponent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1787 | |
| 1788 | op = addEOperation(compositeComponentEClass, ecorePackage.getEBoolean(), "ProvideSameInterfaces", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1789 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1790 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1791 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1792 | g1.getETypeArguments().add(g2); |
| 1793 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1794 | g1.getETypeArguments().add(g2); |
| 1795 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1796 | |
| 1797 | op = addEOperation(compositeComponentEClass, ecorePackage.getEBoolean(), "RequireSameInterfaces", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1798 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1799 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1800 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1801 | g1.getETypeArguments().add(g2); |
| 1802 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1803 | g1.getETypeArguments().add(g2); |
| 1804 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1805 | |
| 1806 | initEClass(primitiveDataTypeEClass, PrimitiveDataType.class, "PrimitiveDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1807 | initEAttribute(getPrimitiveDataType_Type(), this.getPrimitiveTypeEnum(), "type", null, 1, 1, PrimitiveDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1808 | |
| 1809 | initEClass(collectionDataTypeEClass, CollectionDataType.class, "CollectionDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1810 | initEReference(getCollectionDataType_InnerType_CollectionDataType(), this.getDataType(), null, "innerType_CollectionDataType", null, 1, 1, CollectionDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1811 | |
| 1812 | initEClass(compositeDataTypeEClass, CompositeDataType.class, "CompositeDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1813 | initEReference(getCompositeDataType_ParentType_CompositeDataType(), this.getCompositeDataType(), null, "parentType_CompositeDataType", null, 0, -1, CompositeDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1814 | initEReference(getCompositeDataType_InnerDeclaration_CompositeDataType(), this.getInnerDeclaration(), this.getInnerDeclaration_CompositeDataType_InnerDeclaration(), "innerDeclaration_CompositeDataType", null, 0, -1, CompositeDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1815 | |
| 1816 | initEClass(innerDeclarationEClass, InnerDeclaration.class, "InnerDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1817 | initEReference(getInnerDeclaration_Datatype_InnerDeclaration(), this.getDataType(), null, "datatype_InnerDeclaration", null, 1, 1, InnerDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1818 | initEReference(getInnerDeclaration_CompositeDataType_InnerDeclaration(), this.getCompositeDataType(), this.getCompositeDataType_InnerDeclaration_CompositeDataType(), "compositeDataType_InnerDeclaration", null, 1, 1, InnerDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1819 | |
| 1820 | initEClass(roleEClass, Role.class, "Role", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1821 | |
| 1822 | // Initialize enums and add enum literals |
| 1823 | initEEnum(parameterModifierEEnum, ParameterModifier.class, "ParameterModifier"); |
| 1824 | addEEnumLiteral(parameterModifierEEnum, ParameterModifier.NONE); |
| 1825 | addEEnumLiteral(parameterModifierEEnum, ParameterModifier.IN); |
| 1826 | addEEnumLiteral(parameterModifierEEnum, ParameterModifier.OUT); |
| 1827 | addEEnumLiteral(parameterModifierEEnum, ParameterModifier.INOUT); |
| 1828 | |
| 1829 | initEEnum(componentTypeEEnum, ComponentType.class, "ComponentType"); |
| 1830 | addEEnumLiteral(componentTypeEEnum, ComponentType.BUSINESS_COMPONENT); |
| 1831 | addEEnumLiteral(componentTypeEEnum, ComponentType.INFRASTRUCTURE_COMPONENT); |
| 1832 | |
| 1833 | initEEnum(primitiveTypeEnumEEnum, PrimitiveTypeEnum.class, "PrimitiveTypeEnum"); |
| 1834 | addEEnumLiteral(primitiveTypeEnumEEnum, PrimitiveTypeEnum.INT); |
| 1835 | addEEnumLiteral(primitiveTypeEnumEEnum, PrimitiveTypeEnum.STRING); |
| 1836 | addEEnumLiteral(primitiveTypeEnumEEnum, PrimitiveTypeEnum.BOOL); |
| 1837 | addEEnumLiteral(primitiveTypeEnumEEnum, PrimitiveTypeEnum.DOUBLE); |
| 1838 | addEEnumLiteral(primitiveTypeEnumEEnum, PrimitiveTypeEnum.CHAR); |
| 1839 | addEEnumLiteral(primitiveTypeEnumEEnum, PrimitiveTypeEnum.BYTE); |
| 1840 | addEEnumLiteral(primitiveTypeEnumEEnum, PrimitiveTypeEnum.LONG); |
| 1841 | } |
| 1842 | |
| 1843 | } //RepositoryPackageImpl |