Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus')
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/Activator.java55
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/AliasDescriptor.java35
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/BadStateException.java60
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationException.java66
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationMultiException.java132
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationNotFoundException.java65
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DescriptorsCache.java358
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ExtensionServiceDescriptorsWithIdProvider.java557
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ExtensionServicesRegistry.java212
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IService.java52
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IServiceDescriptorsWithIdProvider.java62
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IServiceFactory.java38
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptor.java311
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptorUtils.java151
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptorsWithIdProviderCollection.java264
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceException.java67
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceMultiException.java152
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceNotFoundException.java64
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceRegistryFactory.java235
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceStartKind.java28
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceState.java24
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServicesRegistry.java1404
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServicesRegistryFactoryFromExtensions.java100
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/InjectService.java34
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/Service.java63
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/ServiceFactory.java55
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/AliasServiceEntry.java106
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/BadDeclarationException.java70
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ErrorServiceTypeEntry.java98
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/LazyStartupEntry.java96
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/PojoServiceEntry.java125
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceEntry.java167
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceFactoryEntry.java178
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceStartupEntry.java127
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceTypeEntry.java201
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/StartStartupEntry.java83
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AbstractMethodInjection.java40
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AbstractServiceDesc.java205
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AliasDesc.java80
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ConstructorInjection.java17
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/Descriptors.java76
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/FeatureInjection.java52
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/InjectedService.java51
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/InjectedValue.java52
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/MethodInjection.java51
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/OpaqueInjectedValue.java51
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ParameterInjection.java70
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/PropertyInjection.java69
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/RegistryDesc.java238
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceDesc.java102
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceFactoryDesc.java17
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceSetDesc.java154
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServicedescriptorsFactory.java156
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServicedescriptorsPackage.java2376
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java229
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AbstractMethodInjectionImpl.java156
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AbstractServiceDescImpl.java558
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AliasDescImpl.java246
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ConstructorInjectionImpl.java40
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/DescriptorsImpl.java236
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/FeatureInjectionImpl.java176
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/InjectedServiceImpl.java169
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/InjectedValueImpl.java176
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/MethodInjectionImpl.java175
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/OpaqueInjectedValueImpl.java175
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ParameterInjectionImpl.java237
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/PropertyInjectionImpl.java236
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/RegistryDescImpl.java593
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceDescImpl.java298
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceFactoryDescImpl.java40
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceSetDescImpl.java421
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServicedescriptorsFactoryImpl.java398
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServicedescriptorsPackageImpl.java1167
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/util/ServicedescriptorsAdapterFactory.java443
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/util/ServicedescriptorsSwitch.java546
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AbstractMethodInjection.java40
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AbstractServiceIdDesc.java188
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AliasIdDesc.java51
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ConstructorInjection.java17
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/FeatureInjection.java52
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/IdDescriptors.java58
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/InjectedService.java51
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/InjectedValue.java52
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/MethodInjection.java51
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/OpaqueInjectedValue.java51
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ParameterInjection.java70
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/PropertyInjection.java69
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/RegistryIdDesc.java162
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceFactoryIdDesc.java17
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceIdDesc.java102
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceSetIdDesc.java155
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServicedescriptorswithidFactory.java156
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServicedescriptorswithidPackage.java2225
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/StartupKind.java229
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AbstractMethodInjectionImpl.java156
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AbstractServiceIdDescImpl.java520
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AliasIdDescImpl.java175
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ConstructorInjectionImpl.java40
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/FeatureInjectionImpl.java176
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/IdDescriptorsImpl.java197
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/InjectedServiceImpl.java175
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/InjectedValueImpl.java176
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/MethodInjectionImpl.java175
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/OpaqueInjectedValueImpl.java175
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ParameterInjectionImpl.java237
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/PropertyInjectionImpl.java236
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/RegistryIdDescImpl.java420
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceFactoryIdDescImpl.java40
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceIdDescImpl.java298
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceSetIdDescImpl.java410
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServicedescriptorswithidFactoryImpl.java422
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServicedescriptorswithidPackageImpl.java1103
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/util/ServicedescriptorswithidAdapterFactory.java443
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/util/ServicedescriptorswithidSwitch.java546
114 files changed, 0 insertions, 26383 deletions
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/Activator.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/Activator.java
deleted file mode 100644
index 1b12fe43d32..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/Activator.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import org.eclipse.papyrus.infra.core.log.LogHelper;
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-
-/**
- * @author cedric dumoulin
- *
- */
-public class Activator implements BundleActivator {
-
- /** Logging helper */
- public static LogHelper log = new LogHelper();
-
- /**
- * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
- *
- * @param context
- * @throws Exception
- */
- @Override
- public void start(BundleContext context) throws Exception {
- // TODO Auto-generated method stub
-
- }
-
- /**
- * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
- *
- * @param context
- * @throws Exception
- */
- @Override
- public void stop(BundleContext context) throws Exception {
- // TODO Auto-generated method stub
-
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/AliasDescriptor.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/AliasDescriptor.java
deleted file mode 100644
index bc210396d4f..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/AliasDescriptor.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.Arrays;
-
-
-/**
- * Describe an alias to another service.
- *
- * @author cedric dumoulin
- *
- */
-public class AliasDescriptor extends ServiceDescriptor {
-
- public AliasDescriptor(String aliasName, String serviceName, int priority) {
- super(aliasName, ServiceStartKind.LAZY, priority, Arrays.asList(serviceName));
- this.setServiceTypeKind(ServiceTypeKind.alias);
- }
-
-
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/BadStateException.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/BadStateException.java
deleted file mode 100644
index 2ed2c5efd23..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/BadStateException.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-/**
- * @author cedric dumoulin
- *
- */
-public class BadStateException extends ServiceException {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- *
- */
- public BadStateException(ServiceState expectedState, ServiceState state, ServiceDescriptor descriptor) {
- super("Bad state for service '" + descriptor.getKey() + "'. Expected '" + expectedState + "' found '" + state + "'."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
- }
-
- /**
- *
- * Constructor.
- *
- * @param text
- * @param state
- * @param serviceDescriptor
- */
- public BadStateException(String text, ServiceState state, ServiceDescriptor descriptor) {
- super(text + " (Service= '" + (descriptor != null ? descriptor.getKey() : "unknown") + ", state= " + state + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
- }
-
- /**
- *
- * Constructor.
- *
- * @param text
- * @param state
- * @param serviceDescriptor
- */
- public BadStateException(String text, ServiceState state, ServiceDescriptor descriptor, Throwable cause) {
- super(text + " (Service= '" + descriptor.getKey() + ", state= " + state + ")", cause); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationException.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationException.java
deleted file mode 100644
index f6e5f1ba32a..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationException.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-
-/**
- * Root exception of exceptions thrown while reading descriptor declarations.
- *
- * @author cedric dumoulin
- *
- */
-public class DeclarationException extends Exception {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- *
- */
- public DeclarationException() {
- }
-
- /**
- * Constructor.
- *
- * @param message
- */
- public DeclarationException(String message) {
- super(message);
- }
-
- /**
- * Constructor.
- *
- * @param cause
- */
- public DeclarationException(Throwable cause) {
- super(cause);
- }
-
- /**
- * Constructor.
- *
- * @param message
- * @param cause
- */
- public DeclarationException(String message, Throwable cause) {
- super(message, cause);
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationMultiException.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationMultiException.java
deleted file mode 100644
index a4b34a7e5d7..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationMultiException.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.ArrayList;
-import java.util.List;
-
-
-/**
- * An exception used to gather multi exceptions encountered during declarations reading.
- *
- * @author cedric dumoulin
- *
- */
-public class DeclarationMultiException extends DeclarationException {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- private List<Throwable> errors;
-
- /**
- * Constructor.
- *
- */
- public DeclarationMultiException() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- */
- public DeclarationMultiException(String message) {
- super(message);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param cause
- */
- public DeclarationMultiException(Throwable cause) {
- super(cause);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- * @param cause
- */
- public DeclarationMultiException(String message, Throwable cause) {
- super(message, cause);
- // TODO Auto-generated constructor stub
- }
-
- /**
- *
- * Constructor.
- *
- * @param string
- * @param warnings
- * The warnings used to initialize this object. No clone is per
- */
- public DeclarationMultiException(String string, List<Throwable> warnings) {
- this.errors = warnings;
- }
-
- /**
- * Add a throwable to this list.
- *
- * @param throwable
- */
- public void addThrowable(Throwable throwable) {
- if (errors == null) {
- errors = new ArrayList<Throwable>();
- }
- errors.add(throwable);
- }
-
- /**
- *
- * @return
- */
- public boolean isEmpty() {
- if (errors == null) {
- return true;
- }
-
- return errors.isEmpty();
- }
-
- /**
- *
- * @see java.lang.Throwable#toString()
- *
- * @return
- */
- @Override
- public String toString() {
- if (errors == null || errors.size() == 0) {
- return super.toString();
- }
-
- StringBuffer buff = new StringBuffer(super.toString());
- for (Throwable error : errors) {
- buff.append("\n").append(error.getMessage());
- }
-
- return buff.toString();
-
-
- }
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationNotFoundException.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationNotFoundException.java
deleted file mode 100644
index c2be11e5739..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DeclarationNotFoundException.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-
-/**
- * @author cedric dumoulin
- *
- */
-public class DeclarationNotFoundException extends DeclarationException {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- *
- */
- public DeclarationNotFoundException() {
- super();
- }
-
- /**
- * Constructor.
- *
- * @param message
- * @param cause
- */
- public DeclarationNotFoundException(String message, Throwable cause) {
- super(message, cause);
- }
-
- /**
- * Constructor.
- *
- * @param message
- */
- public DeclarationNotFoundException(String message) {
- super(message);
- }
-
- /**
- * Constructor.
- *
- * @param cause
- */
- public DeclarationNotFoundException(Throwable cause) {
- super(cause);
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DescriptorsCache.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DescriptorsCache.java
deleted file mode 100644
index c09a4fe7436..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/DescriptorsCache.java
+++ /dev/null
@@ -1,358 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.List;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsFactory;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-
-
-/**
- * A cache used to query the {@link IServiceDescriptorsWithIdProvider}. The cache return resolved descriptors,
- * in the form of instance of the ServiceDescriptors model.
- *
- * @author cedric dumoulin
- *
- */
-public class DescriptorsCache {
-
- /**
- * The cache of descriptors.
- */
- protected Descriptors descriptorsCache;
-
- /**
- * The provider used to query declarations.
- */
- protected ServiceDescriptorsWithIdProviderCollection declaredDescriptorProvider;
-
-
-
- /**
- *
- * Constructor.
- *
- */
- public DescriptorsCache() {
- declaredDescriptorProvider = new ServiceDescriptorsWithIdProviderCollection();
- descriptorsCache = ServicedescriptorsFactory.eINSTANCE.createDescriptors();
- }
-
- /**
- * Add all the provided {@link IServiceDescriptorsWithIdProvider} to the list of providers to use.
- *
- * @param declaredDescriptorProviders
- */
- public void addAll(IServiceDescriptorsWithIdProvider... declaredDescriptorProviders) {
-
- declaredDescriptorProvider.addAll(declaredDescriptorProviders);
- descriptorsCache = ServicedescriptorsFactory.eINSTANCE.createDescriptors();
-
- }
-
- /**
- * Get the descriptor for the specified registry.
- * The descriptor is built from the declarations found in {@link #declaredDescriptorProvider}.
- * The descriptor is cached. This mean that subsequent calls for the same name will return the same
- * result. <br/>
- * If the registry is not found, throws an exception.
- *
- * @param registryName
- * The name of the registry for which the descriptor is required.
- *
- * @return The registry descriptor
- * @throws DeclarationException
- * If an error occur while reading declarations.
- *
- */
- public RegistryDesc getRegistryDesc(String registryName) throws DeclarationException {
-
- // Try from cache
- RegistryDesc desc = descriptorsCache.getRegistryDesc(registryName);
-
- if (desc != null) {
- return desc;
- }
-
- // Load from providers
- // this can throw exception
- RegistryIdDesc idDesc = declaredDescriptorProvider.getRegistryIdDesc(registryName);
-
- // Create a RegistryDesc from a RegistryIdDesc, and set minimal data
- desc = ServicedescriptorsFactory.eINSTANCE.createRegistryDesc();
- desc.setName(idDesc.getName());
- desc.setIsUnique(idDesc.isUnique());
- desc.setDescription(idDesc.getDescription());
-
- // Add it to the cache, so it can be found by other requests
- descriptorsCache.getRegistries().add(desc);
-
- // Set the references
- // serviceSet
- for (String serviceSetId : idDesc.getSets()) {
- desc.getServiceSets().add(getServiceSetDesc(serviceSetId));
- }
-
- // extends
- for (String extendsId : idDesc.getExtends()) {
- desc.getExtends().add(getRegistryDesc(extendsId));
- }
-
- // parents
- for (String extendsId : idDesc.getParents()) {
- desc.getParents().add(getRegistryDesc(extendsId));
- }
-
-
- // Resolve inheritances
- // need to compute services available for this registry
- // Available services are those from all sets, and from extends.
- computeRegistryServices(desc);
-
-
- return desc;
- }
-
- /**
- * Get the {@link ServiceSetDesc} for the specified name.
- * The descriptor is built from the declarations found in {@link #declaredDescriptorProvider}.
- * The descriptor is cached. This mean that subsequent calls for the same name will return the same
- * result. <br/>
- * If the descriptor is not found, throws an exception.
- *
- * @param serviceSetId
- * @return
- * @throws DeclarationException
- */
- public ServiceSetDesc getServiceSetDesc(String serviceSetId) throws DeclarationException {
- // Try from cache
- ServiceSetDesc desc = descriptorsCache.getServiceSetDesc(serviceSetId);
-
- if (desc != null) {
- return desc;
- }
-
- // Load from providers
- // this can throw exception
- ServiceSetIdDesc idDesc = declaredDescriptorProvider.getServiceSet(serviceSetId);
-
- // Create a RegistryDesc from a RegistryIdDesc, and set minimal data
- desc = ServicedescriptorsFactory.eINSTANCE.createServiceSetDesc();
- desc.setName(idDesc.getName());
- desc.setDescription(idDesc.getDescription());
-
- // Add it to the cache, so it can be found by other requests
- descriptorsCache.getServiceSets().add(desc);
-
- // Set the references
- // serviceSet
- for (AbstractServiceIdDesc serviceIdDesc : idDesc.getServiceDescriptors()) {
- desc.getOwnedServices().add(transformAbstractServiceIdDescToRef(serviceIdDesc));
- }
-
- // extends
- for (String extendsId : idDesc.getExtends()) {
- desc.getExtends().add(getServiceSetDesc(extendsId));
- }
-
- // Resolve inheritances
- // need to compute services available for this set
- // Available services are those from all extends.
- computeServiceSetServices(desc);
-
- return desc;
- }
-
- /**
- * Transform {@link AncestorEvent} {@link AbstractServiceIdDesc} to an {@link AbstractServiceDesc}.
- *
- * @param serviceIdDesc
- * @return
- */
- private AbstractServiceDesc transformAbstractServiceIdDescToRef(AbstractServiceIdDesc serviceIdDesc) {
- if (serviceIdDesc instanceof ServiceFactoryIdDesc) {
- return transformServiceFactoryIdDescToRef((ServiceFactoryIdDesc) serviceIdDesc);
- } else if (serviceIdDesc instanceof ServiceIdDesc) {
- return transformServiceIdDescToRef((ServiceIdDesc) serviceIdDesc);
- } else if (serviceIdDesc instanceof AliasIdDesc) {
- return transformAliasIdDescToRef((AliasIdDesc) serviceIdDesc);
- } else {
- // Should never happen
- throw new UnsupportedOperationException("Don't no how to transform '" + serviceIdDesc + "' to AbstractServiceDesc."); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
-
- /**
- *
- * @param serviceIdDesc
- * @return
- */
- private AbstractServiceDesc transformServiceIdDescToRef(ServiceIdDesc serviceIdDesc) {
-
- ServiceDesc desc = ServicedescriptorsFactory.eINSTANCE.createServiceDesc();
- desc.setBundleID(serviceIdDesc.getBundleID());
- desc.setClassname(serviceIdDesc.getClassname());
- desc.setDescription(serviceIdDesc.getDescription());
- desc.setName(serviceIdDesc.getName());
- desc.setPriority(serviceIdDesc.getPriority());
- desc.setStartKind(transformStartKind(serviceIdDesc.getStartKind()));
- // dependsOn
- desc.getDependsOnIds().addAll(serviceIdDesc.getDependsOn());
-
- return desc;
- }
-
- /**
- *
- * @param startKind
- * @return
- */
- private StartupKind transformStartKind(org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind startKind) {
-
- switch (startKind) {
- case STARTUP:
- return StartupKind.STARTUP;
- case LAZY:
- return StartupKind.LAZY;
- default:
- return StartupKind.STARTUP;
- }
- }
-
- /**
- *
- * @param serviceIdDesc
- * @return
- */
- private AbstractServiceDesc transformAliasIdDescToRef(AliasIdDesc serviceIdDesc) {
- AliasDesc desc = ServicedescriptorsFactory.eINSTANCE.createAliasDesc();
- desc.setBundleID(serviceIdDesc.getBundleID());
- desc.setDescription(serviceIdDesc.getDescription());
- desc.setName(serviceIdDesc.getName());
- desc.setPriority(serviceIdDesc.getPriority());
- // dependsOn
- desc.getDependsOnIds().addAll(serviceIdDesc.getDependsOn());
-
- return desc;
-
- }
-
- /**
- *
- * @param serviceIdDesc
- * @return
- */
- private AbstractServiceDesc transformServiceFactoryIdDescToRef(ServiceFactoryIdDesc serviceIdDesc) {
- ServiceFactoryDesc desc = ServicedescriptorsFactory.eINSTANCE.createServiceFactoryDesc();
- desc.setBundleID(serviceIdDesc.getBundleID());
- desc.setClassname(serviceIdDesc.getClassname());
- desc.setDescription(serviceIdDesc.getDescription());
- desc.setName(serviceIdDesc.getName());
- desc.setPriority(serviceIdDesc.getPriority());
- desc.setStartKind(transformStartKind(serviceIdDesc.getStartKind()));
- // dependsOn
- desc.getDependsOnIds().addAll(serviceIdDesc.getDependsOn());
-
- return desc;
- }
-
- /**
- * Compute the services available from this registry. This implies
- * resolving inheritances from extends.
- *
- * @param registryDesc
- * The descriptor for which services should be computed.
- *
- *
- */
- private void computeRegistryServices(RegistryDesc registryDesc) {
-
- // Reset the services
- List<AbstractServiceDesc> services = registryDesc.getServices();
- services.clear();
-
- // do the union of all services from sets
- // Do not check for double names (this is done in the Registry).
- for (ServiceSetDesc setDesc : registryDesc.getServiceSets()) {
-
- services.addAll(setDesc.getServices());
- }
-
- // Add services from extends
- // Add a services from a parent only if there is not a service with the same name
- // in the child
- for (RegistryDesc extendsDesc : registryDesc.getExtends()) {
-
- // Walk each service of the parent
- for (AbstractServiceDesc serviceDesc : extendsDesc.getServices()) {
-
- // Check if the service is already in the child
- if (!registryDesc.servicesContains(serviceDesc.getName())) {
- services.add(serviceDesc);
- }
- }
- }
-
- }
-
- /**
- * Compute the services available from the specified {@link ServiceSetDesc}. This reset and compute
- * the {@link ServiceSetDesc#getServices()} property.
- *
- * @param serviceSetDesc
- */
- private void computeServiceSetServices(ServiceSetDesc serviceSetDesc) {
-
- // Reset the services
- List<AbstractServiceDesc> services = serviceSetDesc.getServices();
- services.clear();
-
- // Add its own services
- services.addAll(serviceSetDesc.getOwnedServices());
-
- // Add services from extends
- // Add a services from an extends only if there is not a service with the same name
- // in the child
- for (ServiceSetDesc extendsDesc : serviceSetDesc.getExtends()) {
-
- // Walk each service of the parent
- for (AbstractServiceDesc serviceDesc : extendsDesc.getServices()) {
-
- // Check if the service is already in the child
- if (!serviceSetDesc.servicesContains(serviceDesc.getName())) {
- services.add(serviceDesc);
- }
- }
- }
-
- }
-
-
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ExtensionServiceDescriptorsWithIdProvider.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ExtensionServiceDescriptorsWithIdProvider.java
deleted file mode 100644
index f9ec3bda78d..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ExtensionServiceDescriptorsWithIdProvider.java
+++ /dev/null
@@ -1,557 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.papyrus.infra.core.serviceregistry.internal.BadDeclarationException;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidFactory;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind;
-
-
-/**
- * A declared service provider reading declaration from eclipse extensions (plugin.xml).
- *
- * @author cedric dumoulin
- *
- */
-public class ExtensionServiceDescriptorsWithIdProvider implements IServiceDescriptorsWithIdProvider {
-
- /** Namespace where to look for the extension points. */
- public static String extensionPointNamespace = "org.eclipse.papyrus.infra.core.serviceregistry";
-
- /** ID of the extension (schema filename) */
- public static final String SERVICE_EXTENSION_ID = "service";
-
- /** Extension point name inside the extension description **/
- public final static String REGISTRY_ELEMENT_NAME = "registry";
-
- /** Extension point name inside the extension description **/
- public final static String REGISTRY_EXTENDS_ELEMENT = "extendedRegistry";
-
- /** Extension point name inside the extension description **/
- public final static String REGISTRY_PARENT_ELEMENT = "parentRegistry";
-
- /** Extension point name inside the extension description **/
- public final static String REGISTRY_SERVICE_SETS_ELEMENT = "serviceSets";
-
- /** Extension point name inside the extension description **/
- public final static String SERVICE_ELEMENT_NAME = "service";
-
- /** servicesSet name **/
- public final static String SERVICE_SET_ELEMENT_NAME = "servicesSet";
-
- /** ServiceFactory Extension point **/
- public final static String SERVICE_FACTORY_ELEMENT_NAME = "serviceFactory";
-
- /** ServiceFactory Extension point **/
- public final static String ALIAS_ELEMENT_NAME = "alias";
-
- /** ServiceFactory Extension point **/
- public final static String ALIASED_SERVICE_ID_ATTRIBUTE = "aliasedServiceId";
-
- /** id attribute */
- private static final String ID_ATTRIBUTE = "id";
-
- /** constant for the attribute factoryClass **/
- public final static String CONTEXTCLASS_ATTRIBUTE = "contextClass";
-
- /** extension point propertyname */
- private final static String STARTKIND_PROPERTY = "startKind";
-
- /** name of the dependsOn element */
- private static final String DEPENDSON_ELEMENT_NAME = "dependsOn";
-
- /** */
- private static final String SERVICE_ID_ATTRIBUTE_NAME = "serviceId";
-
- /** */
- private static final String SERVICE_SET_EXTENDS_ELEMENT = "extendedServiceSet";
-
- /** */
- private static final String DESCRIPTION_ATTRIBUTE = "description";
-
- /** */
- private static final String IS_UNIQUE_ATTRIBUTE = "isUnique";
-
- /** */
- private static final String REGISTRY_ID_ATTRIBUTE = "registryId";
-
- /** */
- private static final String SERVICE_SET_ID_ATTRIBUTE = "serviceSetId";
-
- /**
- * Get the descriptor for the specified registry.
- * Return null if not found.
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.IServiceDescriptorsWithIdProvider#getRegistryDescriptor(java.lang.String)
- *
- * @param registryName
- * @return The specified descriptor, or null if not found
- * @throws DeclarationException
- * If there is more than one registry declared under the name.
- *
- */
- @Override
- public RegistryIdDesc getRegistryDescriptor(String registryName) throws DeclarationException {
-
- // Reading data from plugins
- IConfigurationElement[] configElements = getExtensionRegistry().getConfigurationElementsFor(extensionPointNamespace, SERVICE_EXTENSION_ID);
-
- RegistryIdDesc registryIdDesc = null;
- boolean isRegistryFound = false;
- List<Throwable> warnings = new ArrayList<Throwable>();
-
- for (IConfigurationElement ele : configElements) {
-
- // SEarch for "registry"
- if (REGISTRY_ELEMENT_NAME.equals(ele.getName()) && registryName.equals(ele.getAttribute(ID_ATTRIBUTE))) {
- if (isRegistryFound) {
- // Already found: exception
- throw new DeclarationException("More than one registry declared under name '" + registryName + "'. " //$NON-NLS-1$ //$NON-NLS-2$
- + " Declaration from '" + ele.getContributor().getName() + "' is disguarded."); //$NON-NLS-1$ //$NON-NLS-2$
- }
- isRegistryFound = true;
- // read the set
- registryIdDesc = parseRegistryDescriptor(ele, warnings);
- }
-
- }
-
- if (warnings.size() > 0) {
- throw new DeclarationMultiException("Problems encountered during extensions processing.", warnings); //$NON-NLS-1$
- }
- return registryIdDesc;
- }
-
- /**
- * Parse the RegistryDescriptor from the provided {@link IConfigurationElement}.
- *
- * @param ele
- * The {@link IConfigurationElement} representing a RegistryDescriptor.
- * @param warnings
- * A list used to record encountered warnings.
- * @return A registry descriptor.
- */
- private RegistryIdDesc parseRegistryDescriptor(IConfigurationElement ele, List<Throwable> warnings) {
- RegistryIdDesc registryIdDesc = ServicedescriptorswithidFactory.eINSTANCE.createRegistryIdDesc();
-
- registryIdDesc.setName(ele.getAttribute(ID_ATTRIBUTE));
- registryIdDesc.setDescription(ele.getAttribute(DESCRIPTION_ATTRIBUTE));
- registryIdDesc.setIsUnique(Boolean.parseBoolean(ele.getAttribute(IS_UNIQUE_ATTRIBUTE)));
- parseRegistryExtends(ele, registryIdDesc, warnings);
- parseRegistryParent(ele, registryIdDesc, warnings);
- parseRegistryServiceSetId(ele, registryIdDesc, warnings);
-
- return registryIdDesc;
- }
-
- /**
- * Parse the declared sets of a Registry.
- *
- * @param ele
- * @param registryIdDesc
- * @param warnings
- */
- private void parseRegistryServiceSetId(IConfigurationElement parentElement, RegistryIdDesc registryIdDesc, List<Throwable> warnings) {
- // Get all extends declarations
- IConfigurationElement[] extendDeclarations = parentElement.getChildren(REGISTRY_SERVICE_SETS_ELEMENT);
-
- // Process extends
- for (IConfigurationElement ele : extendDeclarations) {
-
- String extendedRegistry = ele.getAttribute(SERVICE_SET_ID_ATTRIBUTE);
- if (extendedRegistry == null || extendedRegistry.length() == 0) {
- warnings.add(new BadDeclarationException(ele.getName() + "/" + SERVICE_SET_ID_ATTRIBUTE + " should be set.")); //$NON-NLS-1$ //$NON-NLS-2$
- }
- else {
- registryIdDesc.getSets().add(extendedRegistry);
- }
- }
- }
-
- /**
- * Parse the parent declaration of a Registry.
- *
- * @param ele
- * @param registryIdDesc
- * @param warnings
- */
- private void parseRegistryParent(IConfigurationElement parentElement, RegistryIdDesc registryIdDesc, List<Throwable> warnings) {
- // Get all extends declarations
- IConfigurationElement[] extendDeclarations = parentElement.getChildren(REGISTRY_PARENT_ELEMENT);
-
- // Process extends
- for (IConfigurationElement ele : extendDeclarations) {
-
- String extendedRegistry = ele.getAttribute(REGISTRY_ID_ATTRIBUTE);
- if (extendedRegistry == null || extendedRegistry.length() == 0) {
- warnings.add(new BadDeclarationException(ele.getName() + "/" + REGISTRY_ID_ATTRIBUTE + " should be set.")); //$NON-NLS-1$ //$NON-NLS-2$
- }
- else {
- registryIdDesc.getParents().add(extendedRegistry);
- }
- }
- }
-
- /**
- * Parse the extends declaration of a Registry.
- *
- * @param parentElement
- * The element to parse. This element must represent a Registry.
- * @param registryIdDesc
- * The registry into which the result is stored
- * @param warnings
- * A list used to record encountered warnings.
- */
- private void parseRegistryExtends(IConfigurationElement parentElement, RegistryIdDesc registryIdDesc, List<Throwable> warnings) {
- // Get all extends declarations
- IConfigurationElement[] extendDeclarations = parentElement.getChildren(REGISTRY_EXTENDS_ELEMENT);
-
- // Process extends
- for (IConfigurationElement ele : extendDeclarations) {
-
- String extendedRegistry = ele.getAttribute(REGISTRY_ID_ATTRIBUTE);
- if (extendedRegistry == null || extendedRegistry.length() == 0) {
- warnings.add(new BadDeclarationException(ele.getName() + "/" + REGISTRY_ID_ATTRIBUTE + " should be set.")); //$NON-NLS-1$ //$NON-NLS-2$
- }
- else {
- registryIdDesc.getExtends().add(extendedRegistry);
- }
- }
- }
-
- /**
- * Get all fragments contributing to the declaration of the specified ServiceSetIdDesc.
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.IServiceDescriptorsWithIdProvider#getServiceSetFragments(java.lang.String)
- *
- * @param serviceSetName
- * @return
- * @throws DeclarationMultiException
- */
- @Override
- public List<ServiceSetIdDesc> getServiceSetFragments(String serviceSetName) throws DeclarationException {
- // Reading data from plugins
- IConfigurationElement[] configElements = getExtensionRegistry().getConfigurationElementsFor(extensionPointNamespace, SERVICE_EXTENSION_ID);
-
- List<ServiceSetIdDesc> fragments = new ArrayList<ServiceSetIdDesc>();
- List<Throwable> warnings = new ArrayList<Throwable>();
-
- for (IConfigurationElement ele : configElements) {
-
- // SEarch for "registry"
- if (SERVICE_SET_ELEMENT_NAME.equals(ele.getName()) && serviceSetName.equals(ele.getAttribute(ID_ATTRIBUTE))) {
- ServiceSetIdDesc serviceSet = parseServiceSetDescriptor(ele, warnings);
- fragments.add(serviceSet);
- }
-
- }
-
- if (warnings.size() > 0) {
- throw new DeclarationMultiException("Problems encountered during extensions processing.", warnings); //$NON-NLS-1$
- }
- return fragments;
- }
-
- /**
- * Get the requested ServiceSetIdDesc. If several fragmants are used to declare the ServiceSetIdDesc,
- * this fragments are concatenated in one ServiceSetIdDesc.
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.IServiceDescriptorsWithIdProvider#getServiceSetFragments(java.lang.String)
- *
- * @param serviceSetName
- * @return
- * @throws DeclarationMultiException
- */
- @Override
- public ServiceSetIdDesc getServiceSet(String serviceSetName) throws DeclarationException {
- // Reading data from plugins
- IConfigurationElement[] configElements = getExtensionRegistry().getConfigurationElementsFor(extensionPointNamespace, SERVICE_EXTENSION_ID);
-
- ServiceSetIdDesc serviceSet = ServicedescriptorswithidFactory.eINSTANCE.createServiceSetIdDesc();
- List<Throwable> warnings = new ArrayList<Throwable>();
-
- for (IConfigurationElement ele : configElements) {
-
- // SEarch for "registry"
- if (SERVICE_SET_ELEMENT_NAME.equals(ele.getName()) && serviceSetName.equals(ele.getAttribute(ID_ATTRIBUTE))) {
- parseServiceSetDescriptor(ele, serviceSet, warnings);
- }
-
- }
-
- if (warnings.size() > 0) {
- throw new DeclarationMultiException("Problems encountered during extensions processing.", warnings); //$NON-NLS-1$
- }
- return serviceSet;
- }
-
-
- /**
- * Add the ServiceSetIdDesc declarations found in the provided {@link IConfigurationElement}, and add
- * it to the provided {@link ServiceSetIdDesc}.
- *
- * @param ele
- * @param warnings
- */
- private void parseServiceSetDescriptor(IConfigurationElement ele, ServiceSetIdDesc serviceSet, List<Throwable> warnings) {
-
- serviceSet.setName(ele.getAttribute(ID_ATTRIBUTE));
- // serviceSet.setDescription(ele.getAttribute(DESCRIPTION_ATTRIBUTE));
- parseServiceSetExtends(ele, serviceSet, warnings);
- parseServiceSetServices(ele, serviceSet.getServiceDescriptors(), warnings);
- }
-
- /**
- * Parse a {@link ServiceSetIdDesc}
- *
- * @param ele
- * @param warnings
- * @return A newly created ServiceSetIdDesc initialized with the declaration found in ele.
- */
- private ServiceSetIdDesc parseServiceSetDescriptor(IConfigurationElement ele, List<Throwable> warnings) {
-
- ServiceSetIdDesc serviceSet = ServicedescriptorswithidFactory.eINSTANCE.createServiceSetIdDesc();
-
- parseServiceSetDescriptor(ele, serviceSet, warnings);
- return serviceSet;
- }
-
- /**
- * Parse the extended attribute of a ServiceSetIdDesc declaration.
- *
- * @param parentElement
- * @param serviceSet
- * @param warnings
- */
- private void parseServiceSetExtends(IConfigurationElement parentElement, ServiceSetIdDesc serviceSet, List<Throwable> warnings) {
- // Get all extends declarations
- IConfigurationElement[] extendDeclarations = parentElement.getChildren(SERVICE_SET_EXTENDS_ELEMENT);
-
- // Process extends
- for (IConfigurationElement ele : extendDeclarations) {
-
- String extendedServiceSet = ele.getAttribute(SERVICE_SET_ID_ATTRIBUTE);
- if (extendedServiceSet == null || extendedServiceSet.length() == 0) {
- warnings.add(new BadDeclarationException(ele.getName() + "/" + SERVICE_SET_ID_ATTRIBUTE + " should be set.")); //$NON-NLS-1$ //$NON-NLS-2$
- }
- else {
- serviceSet.getExtends().add(extendedServiceSet);
- }
- }
- }
-
- /**
- * Read services descriptors from the specified element configuration.
- * The element configuration should contains service elements declarations.
- * IdDescriptors are added to the specified list
- *
- * @param descriptors
- * The list into which descriptors are added
- * @param parentElement
- * The configuration element containing some service declarations.
- * @param serviceSet
- * @param exceptions
- * List used to add encountered exceptions.
- */
- private void parseServiceSetServices(IConfigurationElement parentElement, List<AbstractServiceIdDesc> descriptors, List<Throwable> exceptions) {
-
- // Get all children
- IConfigurationElement[] configElements = parentElement.getChildren();
-
- // Process services
- for (IConfigurationElement ele : configElements) {
- AbstractServiceIdDesc desc;
- if (SERVICE_ELEMENT_NAME.equals(ele.getName())) {
- // Read a Service
- try {
- desc = parseServiceDescriptor(ele);
- // Add created desc
- descriptors.add(desc);
- } catch (DeclarationException e) {
- // record exceptions
- exceptions.add(e);
- }
- } else if (SERVICE_FACTORY_ELEMENT_NAME.equals(ele.getName())) {
- // Read a Service Factory
- try {
- desc = parseServiceDescriptor(ele);
- // Add created desc
- descriptors.add(desc);
- } catch (DeclarationException e) {
- // record exceptions
- exceptions.add(e);
- }
- } else if (ALIAS_ELEMENT_NAME.equals(ele.getName())) {
- try {
- desc = parseAliasDescriptor(ele);
- // Add created desc
- descriptors.add(desc);
- } catch (DeclarationException e) {
- // record exceptions
- exceptions.add(e);
- }
-
- }
-
- }
-
- }
-
- /**
- * Read an alias descriptor.
- *
- * @param ele
- * @return
- */
- private AliasIdDesc parseAliasDescriptor(IConfigurationElement ele) throws DeclarationException {
-
- AliasIdDesc aliasIdDesc = ServicedescriptorswithidFactory.eINSTANCE.createAliasIdDesc();
-
- // key
- String key = ele.getAttribute(ID_ATTRIBUTE);
- if (key == null || key.length() == 0) {
- throw new BadDeclarationException(ele.getName() + "/" + ID_ATTRIBUTE + " should be set for an alias."); //$NON-NLS-1$ //$NON-NLS-2$
- }
- aliasIdDesc.setName(key);
-
- // key
- String aliasedService = ele.getAttribute(ALIASED_SERVICE_ID_ATTRIBUTE);
- if (key == null || key.length() == 0) {
- throw new BadDeclarationException(ele.getName() + "/" + ALIASED_SERVICE_ID_ATTRIBUTE + " should be set for an alias."); //$NON-NLS-1$ //$NON-NLS-2$
- }
- aliasIdDesc.setAliasedService(aliasedService);
-
- aliasIdDesc.setPriority(parsePriorityAttribute(ele));
-
- aliasIdDesc.setBundleID(ele.getContributor().getName());
- aliasIdDesc.setDescription(ele.getAttribute(DESCRIPTION_ATTRIBUTE));
- parseServiceDependsOn(ele, aliasIdDesc.getDependsOn());
-
-
- return aliasIdDesc;
- }
-
- /**
- * Read descriptor values from provided element.
- *
- * @param ele
- * @return
- * @throws ServiceException
- */
- private ServiceIdDesc parseServiceDescriptor(IConfigurationElement ele) throws DeclarationException {
-
- ServiceIdDesc serviceIdDesc = ServicedescriptorswithidFactory.eINSTANCE.createServiceIdDesc();
-
- // classname
- String serviceClassname = ele.getAttribute("classname");
- serviceIdDesc.setClassname(serviceClassname);
-
- // key
- String key = ele.getAttribute(ID_ATTRIBUTE);
- if (key == null || key.length() == 0) {
- key = serviceClassname;
- }
- serviceIdDesc.setName(key);
-
- serviceIdDesc.setStartKind(parseStartKindAttribute(ele));
- serviceIdDesc.setPriority(parsePriorityAttribute(ele));
- serviceIdDesc.setBundleID(ele.getContributor().getName());
- parseServiceDependsOn(ele, serviceIdDesc.getDependsOn());
-
- return serviceIdDesc;
- }
-
- /**
- * Parse the StartupKind attribute.
- *
- * @param ele
- * @return
- * @throws DeclarationException
- */
- private StartupKind parseStartKindAttribute(IConfigurationElement ele) throws DeclarationException {
- // Service start kind
- StartupKind serviceStartKind = StartupKind.LAZY;
- String serviceStartKindStr = ele.getAttribute(STARTKIND_PROPERTY);
- if (serviceStartKindStr != null && serviceStartKindStr.length() > 0) {
- try {
- serviceStartKind = StartupKind.valueOf(serviceStartKindStr.toUpperCase());
- } catch (IllegalArgumentException e) {
- // Can't convert property
- throw new DeclarationException("Can't convert property " + STARTKIND_PROPERTY + "(plugin=" + ele.getContributor() + "declaringExtension=" + ele.getDeclaringExtension() + ")", e); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
- }
- }
- return serviceStartKind;
- }
-
- /**
- * @param ele
- * @return
- */
- private int parsePriorityAttribute(IConfigurationElement ele) {
- // priority
- int priority = 1;
- String priorityStr = ele.getAttribute("priority");
- if (priorityStr != null && priorityStr.length() > 0) {
- try {
- priority = Integer.parseInt(priorityStr);
- } catch (NumberFormatException e) {
- }
- }
- return priority;
- }
-
- /**
- * Parse the dependsOn attribute of a service.
- *
- * @param parentElement
- * The {@link IConfigurationElement} containing a dependsOn attribute.
- * @param dependsOnServices
- * Parsed value are added in this list.
- */
- private void parseServiceDependsOn(IConfigurationElement parentElement, List<String> dependsOnServices) {
- // Get children
- IConfigurationElement[] configElements = parentElement.getChildren(DEPENDSON_ELEMENT_NAME);
-
- for (IConfigurationElement ele : configElements) {
- String key = ele.getAttribute(SERVICE_ID_ATTRIBUTE_NAME);
- if (key != null && key.length() > 0) {
- dependsOnServices.add(key.trim());
- }
- }
- }
-
- /**
- * Get the Eclipse extensionRegistry.
- * This method can be overloaded by subclasses. This is useful for tests.
- *
- * @return
- */
- protected IExtensionRegistry getExtensionRegistry() {
- return Platform.getExtensionRegistry();
- }
-
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ExtensionServicesRegistry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ExtensionServicesRegistry.java
deleted file mode 100644
index 0164e168a1b..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ExtensionServicesRegistry.java
+++ /dev/null
@@ -1,212 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceDescriptor.ServiceTypeKind;
-
-/**
- * ServiceRegistry reading and registering services declared in Eclipse
- * Extensions.
- *
- * @author dumoulin
- *
- */
-public class ExtensionServicesRegistry extends ServicesRegistry {
-
- /** ID of the extension (schema filename) */
- public static final String SERVICE_EXTENSION_ID = "service";
-
- /** Namespace where to look for the extension points. */
- protected String extensionPointNamespace;
-
- /** Extension point name inside the extension description **/
- public final static String SERVICE_EXTENSIONPOINT = "service";
-
- /** ServiceFactory Extension point **/
- public final static String SERVICE_FACTORY_ELEMENT_NAME = "serviceFactory";
-
- /** constant for the attribute factoryClass **/
- public final static String CONTEXTCLASS_ATTRIBUTE = "contextClass";
-
- /** extension point propertyname */
- private final static String STARTKIND_PROPERTY = "startKind";
-
- /** name of the dependsOn element */
- private static final String DEPENDSON_ELEMENT_NAME = "dependsOn";
-
- /** name of the key attribute inside the DEPENDSON element */
- private static final String DEPENDSON_KEY_ATTRIBUTE_NAME = "serviceKeyRef";
-
- /**
- * Constructor.
- *
- * @throws Exception
- */
- public ExtensionServicesRegistry(String extensionPointNamespace) throws ServiceException {
- this.extensionPointNamespace = extensionPointNamespace;
- registerDeclaredExtensions();
- }
-
- /**
- * Register the services declared in Eclipse Extension.
- *
- * @throws Exception
- */
- private void registerDeclaredExtensions() throws ServiceException {
-
- List<ServiceDescriptor> descriptors = new ArrayList<ServiceDescriptor>();
- List<ServiceException> exceptions = null;
-
- // Reading data from plugins
- IConfigurationElement[] configElements = Platform.getExtensionRegistry().getConfigurationElementsFor(extensionPointNamespace, SERVICE_EXTENSION_ID);
-
- for (IConfigurationElement ele : configElements) {
- ServiceDescriptor desc;
- if (SERVICE_EXTENSIONPOINT.equals(ele.getName())) {
- // Read a Service
- try {
- desc = readServiceDescriptor(ele);
- desc.setServiceTypeKind(ServiceTypeKind.service);
- // Add created desc
- descriptors.add(desc);
- } catch (ServiceException e) {
- // record exceptions
- if (exceptions == null) {
- exceptions = new ArrayList<ServiceException>();
- }
- exceptions.add(e);
- }
- } else if (SERVICE_FACTORY_ELEMENT_NAME.equals(ele.getName())) {
- // Read a Service Factory
- try {
- desc = readServiceDescriptor(ele);
- desc.setServiceTypeKind(ServiceTypeKind.serviceFactory);
- // Add created desc
- descriptors.add(desc);
- } catch (ServiceException e) {
- // record exceptions
- if (exceptions == null) {
- exceptions = new ArrayList<ServiceException>();
- }
- exceptions.add(e);
- }
- }
- }
-
- // Add found descriptors
- for (ServiceDescriptor desc : descriptors) {
- add(desc);
- }
-
- // Throw exceptions if pb encountered
- if (exceptions != null) {
- if (exceptions.size() == 1) {
- throw exceptions.get(0);
- }
- else {
- throw new ServiceException("Somme services are not started (first is shown)", exceptions.get(0)); //$NON-NLS-1$
- }
-
- }
-
- }
-
- /**
- * Read descriptor values from provided element.
- *
- * @param ele
- * @return
- * @throws ServiceException
- */
- private ServiceDescriptor readServiceDescriptor(IConfigurationElement ele) throws ServiceException {
-
- // classname
- String serviceClassname = ele.getAttribute("classname");
-
- // key
- String key = ele.getAttribute("id");
- if (key == null || key.length() == 0) {
- key = serviceClassname;
- }
-
- // Service start kind
- ServiceStartKind serviceStartKind = ServiceStartKind.LAZY;
- String serviceStartKindStr = ele.getAttribute(STARTKIND_PROPERTY);
- if (serviceStartKindStr != null && serviceStartKindStr.length() > 0) {
- try {
- serviceStartKind = ServiceStartKind.valueOf(serviceStartKindStr.toUpperCase());
- } catch (IllegalArgumentException e) {
- // Can't convert property
- throw new ServiceException("Can't convert property " + STARTKIND_PROPERTY + "(plugin=" + ele.getContributor() + "declaringExtension=" + ele.getDeclaringExtension() + ")", e); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- }
- }
-
- // priority
- int priority = 1;
- String priorityStr = ele.getAttribute("priority");
- if (priorityStr != null && priorityStr.length() > 0) {
- try {
- priority = Integer.parseInt(priorityStr);
- } catch (NumberFormatException e) {
- }
- }
-
- // Read dependsOn keys
- List<String> keys = getDependsOn(ele);
-
- // Create descriptor
- ServiceDescriptor desc = new ServiceDescriptor(key, serviceClassname, serviceStartKind, priority);
- desc.setClassBundleID(ele.getContributor().getName());
-
- if (keys.size() > 0) {
- desc.setRequiredServiceKeys(keys);
- }
-
- return desc;
- }
-
- /**
- * Add dependsOn keys.
- *
- * @param parentElement
- * @param model
- */
- private List<String> getDependsOn(IConfigurationElement parentElement) {
-
- List<String> keys = new ArrayList<String>();
-
- // Get children
- IConfigurationElement[] configElements = parentElement.getChildren(DEPENDSON_ELEMENT_NAME);
-
- for (IConfigurationElement ele : configElements) {
- String key = ele.getAttribute(DEPENDSON_KEY_ATTRIBUTE_NAME);
- if (key != null && key.length() > 0) {
- keys.add(key.trim());
- }
- }
-
- if (keys.size() == 0) {
- return Collections.emptyList();
- }
-
- return keys;
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IService.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IService.java
deleted file mode 100644
index f32df9652be..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IService.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-/**
- * An Service that can be registered in the {@link ServicesRegistry}. A service
- * is a singleton available throw the registry. A service can be shared across
- * editors. <br>
- * The life cycle is as follow:
- * <ul>
- * <li>service creation</li>
- * <li>{@link #init(ServicesRegistry)} - Other service can be retrieved from the registry, but are not started yet.</li>
- * <li>{@link #startService()} - service is started.</li>
- * <li>Service can be used</li>
- * <li>{@link #disposeService()} - service is disposed and should not be used anymore.</li>
- * </ul>
- *
- * @author cedric dumoulin
- *
- */
-public interface IService {
-
- /**
- * Init the service and set its associated Registry. The registry can be
- * used to retrieve other services.
- *
- * @param servicesRegistry
- */
- public void init(ServicesRegistry servicesRegistry) throws ServiceException;
-
- /**
- * Start the service. This method is called when the service is started.
- */
- public void startService() throws ServiceException;
-
- /**
- * Dispose the service.
- */
- public void disposeService() throws ServiceException;
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IServiceDescriptorsWithIdProvider.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IServiceDescriptorsWithIdProvider.java
deleted file mode 100644
index e82e4f35027..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IServiceDescriptorsWithIdProvider.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.List;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-
-
-/**
- * A declared descriptor provider is used to read declared descriptor.
- * Real implementation can read declared descriptor from various sources (Eclipse extension, model, ...).
- *
- * @author cedric dumoulin
- *
- */
-public interface IServiceDescriptorsWithIdProvider {
-
- /**
- * Get the requested descriptor.
- * If the registry is found more than one, throw an exception.
- * If the registry is not found, return null.
- *
- * @param registryName
- * @return The {@link RegistryIdDesc} or null if not found.
- *
- */
- public RegistryIdDesc getRegistryDescriptor(String registryName) throws DeclarationException;
-
- /**
- * Get all the declared fragments for the specified serviceSet.
- *
- * @param serviceSetName
- * The name of the set for which fragments are required.
- *
- * @return A list of fragment. The list can be empty if no fragment is found.
- * @throws DeclarationException
- */
- public List<ServiceSetIdDesc> getServiceSetFragments(String serviceSetName) throws DeclarationException;
-
- /**
- * Get a complete ServiceSet from its name.
- *
- * @param serviceSetName
- * @return
- * @throws DeclarationException
- */
- public ServiceSetIdDesc getServiceSet(String serviceSetName) throws DeclarationException;
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IServiceFactory.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IServiceFactory.java
deleted file mode 100644
index 5e1a56c0a9b..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/IServiceFactory.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-/**
- * A factory creating a Service that can be registered in the {@link ServicesRegistry}.
- *
- * A service is a singleton available throw the registry. A service can be
- * shared across editors. The service lifecycle events (init, start and dispose)
- * are sent to the factory. The factory is responsible to forward them to the
- * real service.
- *
- * @author dumoulin
- *
- */
-public interface IServiceFactory extends IService {
-
- /**
- * Create the instance of the service that will be returned by {@link ServicesRegistry#getService(Class)}.
- *
- * @return The instance of the service.
- * @throws ServiceException
- * If an error occurs during the operation.
- */
- public Object createServiceInstance() throws ServiceException;
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptor.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptor.java
deleted file mode 100644
index 5ca0b653b11..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptor.java
+++ /dev/null
@@ -1,311 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.Collections;
-import java.util.List;
-
-/**
- * Descriptor of a service. This descriptor describe a service.
- *
- * @author cedirc dumoulin
- *
- */
-public class ServiceDescriptor {
-
- /**
- * Possible kind for service types.
- *
- */
- public enum ServiceTypeKind {
- service, serviceFactory, pojo, alias
- }
-
- /** Classname of the service. USed to start the service */
- private String serviceClassname;
-
- /** Kind of start for this service */
- private ServiceStartKind serviceStartKind;
-
- /** Kind of service */
- private ServiceTypeKind serviceTypeKind = ServiceTypeKind.service;
-
- /**
- * Service priority. If two service are registered under the same key, only
- * the one with the higher priority is started.
- */
- private int priority;
-
- /**
- * Key used to register the service.
- */
- private String key;
-
- /**
- * Id of the bundle owning the .class that is referenced by
- * serviceClassname. Requested when instanciating the class.
- */
- private String classBundleID;
-
- /**
- * If set to true, the service is anonymous : it is not registered and can't
- * be retrieved with getService().
- */
- private boolean isAnonymous = false;
-
- /**
- * List of keys of Services required by this service.
- */
- private List<String> requiredServices = Collections.emptyList();
-
- /**
- * Empty list.
- */
- private static List<String> EMPTY_LIST_STRING = Collections.emptyList();
-
- /**
- * Constructor.
- *
- * @param key
- * @param serviceClassname
- * @param serviceStartKind
- * @param priority
- * @param requiredServices
- */
- public ServiceDescriptor(String key, String serviceClassname, ServiceStartKind serviceStartKind, int priority, List<String> requiredServices) {
- this.key = key;
- this.serviceClassname = serviceClassname;
- this.serviceStartKind = serviceStartKind;
- this.priority = priority;
- this.requiredServices = requiredServices;
- }
-
- /**
- * Constructor.
- *
- * @param key
- * A class used as key. The classname is used as key.
- * @param serviceClassname
- * @param serviceStartKind
- * @param priority
- * @param requiredServices
- */
- public ServiceDescriptor(Class<?> key, String serviceClassname, ServiceStartKind serviceStartKind, int priority, List<String> requiredServices) {
- this(key.getName(), serviceClassname, serviceStartKind, priority, requiredServices);
- }
-
- /**
- * Constructor.
- *
- * @param key
- * A class used as key. The classname is used as key.
- * @param serviceClassname
- * @param serviceStartKind
- * @param priority
- * @param isAnonymous
- * @param requiredServices
- */
- public ServiceDescriptor(String key, String serviceClassname, ServiceStartKind serviceStartKind, int priority, boolean isAnonymous, List<String> requiredServices) {
- this.key = key;
- this.serviceClassname = serviceClassname;
- this.serviceStartKind = serviceStartKind;
- this.priority = priority;
- this.isAnonymous = isAnonymous;
- this.requiredServices = requiredServices;
- }
-
- /**
- * Constructor.
- *
- * @param key
- * A class used as key. The classname is used as key.
- * @param serviceClassname
- * @param serviceStartKind
- * @param priority
- * @param isAnonymous
- * @param requiredServices
- */
- public ServiceDescriptor(Class<?> key, String serviceClassname, ServiceStartKind serviceStartKind, int priority, boolean isAnonymous, List<String> requiredServices) {
- this(key.getName(), serviceClassname, serviceStartKind, priority, isAnonymous, requiredServices);
- }
-
- /**
- * Constructor.
- *
- * @param key
- * @param serviceClassname
- * @param serviceStartKind
- * @param priority
- */
- public ServiceDescriptor(String key, String serviceClassname, ServiceStartKind serviceStartKind, int priority) {
- this(key, serviceClassname, serviceStartKind, priority, EMPTY_LIST_STRING);
- }
-
- /**
- * Constructor.
- *
- * @param key
- * A class used as key. The classname is used as key.
- * @param serviceClassname
- * @param serviceStartKind
- * @param priority
- */
- public ServiceDescriptor(Class<?> key, String serviceClassname, ServiceStartKind serviceStartKind, int priority) {
- this(key.getName(), serviceClassname, serviceStartKind, priority, EMPTY_LIST_STRING);
- }
-
- /**
- * Constructor.
- *
- * @param serviceClassname
- * @param serviceStartKind
- * @param priority
- * @param requiredServices
- */
- public ServiceDescriptor(String serviceClassname, ServiceStartKind serviceStartKind, int priority, List<String> requiredServices) {
- this(serviceClassname, serviceClassname, serviceStartKind, priority, requiredServices);
- }
-
- /**
- * Constructor.
- *
- * @param serviceClassname
- * @param serviceStartKind
- * @param priority
- */
- public ServiceDescriptor(String serviceClassname, ServiceStartKind serviceStartKind, int priority, boolean isAnonymous) {
- this(serviceClassname, serviceClassname, serviceStartKind, priority, isAnonymous, EMPTY_LIST_STRING);
- }
-
- /**
- * Constructor.
- *
- * @param serviceClassname
- * @param serviceStartKind
- * @param priority
- */
- public ServiceDescriptor(String serviceClassname, ServiceStartKind serviceStartKind, int priority) {
- this(serviceClassname, serviceClassname, serviceStartKind, priority, EMPTY_LIST_STRING);
- }
-
- /**
- * @return the serviceStartKind
- */
- public ServiceStartKind getServiceStartKind() {
- return serviceStartKind;
- }
-
- /**
- * Return true if StartKind is 'always'.
- *
- * @return
- */
- public boolean isStartAtStartup() {
- return serviceStartKind == ServiceStartKind.STARTUP;
- }
-
- /**
- * @return the priority
- */
- public int getPriority() {
- return priority;
- }
-
- /**
- * @return the key
- */
- public String getKey() {
- return key;
- }
-
- /**
- * @return the serviceClassname
- */
- public String getServiceClassname() {
- return serviceClassname;
- }
-
- /**
- * @return the classBundleID
- */
- public String getClassBundleID() {
- return classBundleID;
- }
-
- /**
- * @param classBundleId
- * the classBundleID to set
- */
- public void setClassBundleID(String classBundleId) {
- classBundleID = classBundleId;
- }
-
- /**
- * Get the keys of all the required services
- *
- * @return the requiredServices
- */
- public List<String> getRequiredServiceKeys() {
- return requiredServices;
- }
-
- /**
- * @param requiredServices
- * the requiredServices to set
- */
- public void setRequiredServiceKeys(List<String> requiredServices) {
- this.requiredServices = requiredServices;
- }
-
- /**
- * @see java.lang.Object#toString()
- * @return
- *
- */
- @Override
- public String toString() {
- return "ServiceDescriptor [key=" + key + ", serviceClassname=" + serviceClassname + ", serviceStartKind=" + serviceStartKind + ", priority=" + priority + "]";
- }
-
- /**
- * @return the isAnonymous
- */
- public boolean isAnonymous() {
- return isAnonymous;
- }
-
- /**
- * @param isAnonymous
- * the isAnonymous to set
- */
- public void setAnonymous(boolean isAnonymous) {
- this.isAnonymous = isAnonymous;
- }
-
- /**
- * @return the serviceTypeKind
- */
- public ServiceTypeKind getServiceTypeKind() {
- return serviceTypeKind;
- }
-
- /**
- * @param serviceTypeKind
- * the serviceTypeKind to set
- */
- public void setServiceTypeKind(ServiceTypeKind serviceTypeKind) {
- this.serviceTypeKind = serviceTypeKind;
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptorUtils.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptorUtils.java
deleted file mode 100644
index 0524b746652..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptorUtils.java
+++ /dev/null
@@ -1,151 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind;
-
-
-/**
- * Utilities used as bridge between {@link ServiceDescriptor} and {@link AbstractServiceIdDesc}.
- *
- * @author cedric dumoulin
- *
- */
-public class ServiceDescriptorUtils {
-
- /**
- * Create a {@link ServiceDescriptor} from a {@link AbstractServiceIdDesc}.
- *
- * @param idDesc
- * @return
- */
- public static ServiceDescriptor toServiceDescriptor(AbstractServiceIdDesc idDesc) {
-
-
- if (idDesc instanceof ServiceIdDesc) {
- return toServiceDescriptor((ServiceIdDesc) idDesc);
- }
- else if (idDesc instanceof AliasIdDesc) {
- return toServiceDescriptor((AliasIdDesc) idDesc);
- }
-
- // Should not happen
- throw new UnsupportedOperationException("Don't know how to transform '" + idDesc.getClass().getName() + "'."); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- /**
- * Create a {@link ServiceDescriptor} from a {@link AbstractServiceIdDesc}.
- *
- * @param serviceDesc
- * @return
- */
- public static ServiceDescriptor toServiceDescriptor(AbstractServiceDesc serviceDesc) {
- if (serviceDesc instanceof ServiceDesc) {
- return toServiceDescriptor((ServiceDesc) serviceDesc);
- }
- else if (serviceDesc instanceof AliasDesc) {
- return toServiceDescriptor((AliasDesc) serviceDesc);
- }
-
- // Should not happen
- throw new UnsupportedOperationException("Don't know how to transform '" + serviceDesc.getClass().getName() + "'."); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- /**
- * Create a {@link ServiceDescriptor} from a {@link AbstractServiceIdDesc}.
- *
- * @param serviceIdDesc
- * @return
- */
- public static ServiceDescriptor toServiceDescriptor(ServiceIdDesc serviceIdDesc) {
-
- ServiceStartKind serviceStartKind = transformToServiceStartKind(serviceIdDesc.getStartKind());
- return new ServiceDescriptor(serviceIdDesc.getName(), serviceIdDesc.getClassname(), serviceStartKind, serviceIdDesc.getPriority(), serviceIdDesc.getDependsOn());
- }
-
- /**
- *
- * @param startKind
- * @return
- */
- private static ServiceStartKind transformToServiceStartKind(StartupKind startKind) {
- switch (startKind) {
- case STARTUP:
- return ServiceStartKind.STARTUP;
- case LAZY:
- return ServiceStartKind.LAZY;
- default:
- return ServiceStartKind.STARTUP;
- }
- }
-
- /**
- * Create a {@link ServiceDescriptor} from a {@link AbstractServiceIdDesc}.
- *
- * @param serviceDesc
- * @return
- */
- public static ServiceDescriptor toServiceDescriptor(AliasIdDesc serviceDesc) {
-
- return new AliasDescriptor(serviceDesc.getName(), serviceDesc.getAliasedService(), serviceDesc.getPriority());
- }
-
- /**
- * Create a {@link ServiceDescriptor} from a {@link AbstractServiceIdDesc}.
- *
- * @param serviceIdDesc
- * @return
- */
- public static ServiceDescriptor toServiceDescriptor(ServiceDesc serviceIdDesc) {
-
- ServiceStartKind serviceStartKind = transformToServiceStartKind(serviceIdDesc.getStartKind());
- return new ServiceDescriptor(serviceIdDesc.getName(), serviceIdDesc.getClassname(), serviceStartKind, serviceIdDesc.getPriority(), serviceIdDesc.getDependsOnIds());
- }
-
- /**
- *
- * @param startKind
- * @return
- */
- private static ServiceStartKind transformToServiceStartKind(org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind startKind) {
- switch (startKind) {
- case STARTUP:
- return ServiceStartKind.STARTUP;
- case LAZY:
- return ServiceStartKind.LAZY;
- default:
- return ServiceStartKind.STARTUP;
- }
- }
-
- /**
- * Create a {@link ServiceDescriptor} from a {@link AbstractServiceIdDesc}.
- *
- * @param serviceDesc
- * @return
- */
- public static ServiceDescriptor toServiceDescriptor(AliasDesc serviceDesc) {
-
- return new AliasDescriptor(serviceDesc.getName(), serviceDesc.getAliasedServiceId(), serviceDesc.getPriority());
- }
-
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptorsWithIdProviderCollection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptorsWithIdProviderCollection.java
deleted file mode 100644
index 0f96c05b8c9..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceDescriptorsWithIdProviderCollection.java
+++ /dev/null
@@ -1,264 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidFactory;
-
-
-/**
- * A collection of DescriptorsProviders.
- * This provide nearly the same method as DescriptorsProviders, but the search is done over
- * a collection of DescriptorsProviders.
- *
- * @author cedric dumoulin
- *
- * TODO : complete
- */
-public class ServiceDescriptorsWithIdProviderCollection /* implements IServiceDescriptorsWithIdProvider */{
-
- protected List<IServiceDescriptorsWithIdProvider> descriptorsProviders;
-
-
-
- /**
- *
- * Constructor.
- *
- */
- public ServiceDescriptorsWithIdProviderCollection() {
- descriptorsProviders = new ArrayList<IServiceDescriptorsWithIdProvider>();
- }
-
- /**
- * Add all the provided {@link IServiceDescriptorsWithIdProvider} to the list of providers to use.
- *
- * @param declaredDescriptorProviders
- */
- public void addAll(IServiceDescriptorsWithIdProvider... declaredDescriptorProviders) {
-
- for (IServiceDescriptorsWithIdProvider provider : declaredDescriptorProviders) {
- descriptorsProviders.add(provider);
- }
-
- }
-
- /**
- * Get the descriptor for the specified registry.
- * If the registry is found more than one, throw an exception.
- * If the registry is not found, throws an exception.
- *
- * @param registryName
- * The name of the registry for which the descriptor is required.
- *
- * @return The registry descriptor
- * @throws DeclarationException
- * If an error occur while reading declarations.
- *
- */
- public RegistryIdDesc getRegistryIdDesc(String registryName) throws DeclarationException {
-
- RegistryIdDesc found = null;
- for (IServiceDescriptorsWithIdProvider provider : descriptorsProviders) {
-
- RegistryIdDesc res = provider.getRegistryDescriptor(registryName);
- if (found != null && res != null) {
- throw new DeclarationException("Registry '" + registryName + "' is declared more than once in declarations."); //$NON-NLS-1$ //$NON-NLS-2$
- }
- found = res;
- }
-
- if (found == null) {
- throw new DeclarationNotFoundException("Can't find registry named '" + registryName + "'."); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- return found;
- }
-
- /**
- * Get the descriptor for the specified registry, with all inheritance resolved. This mean that
- * the returned descriptor has no inheritance, but the found inheritance are added in the inner properties
- * (sets, parents).
- *
- * @param registryName
- * @return
- * @throws DeclarationException
- */
- public RegistryIdDesc getResolvedRegistryIdDesc(String registryName) throws DeclarationException {
-
- // Get the original registry desc
- RegistryIdDesc registryIdDesc = getRegistryIdDesc(registryName);
-
- // Is there some inheritance ?
- if (registryIdDesc.getExtends().size() == 0) {
- // Remove doubles
- removeDoubleName(registryIdDesc.getParents());
- removeDoubleName(registryIdDesc.getSets());
- return registryIdDesc;
- }
-
- // There is some inheritance
- // Create a new desc, and set single values
- RegistryIdDesc resolvedDesc = ServicedescriptorswithidFactory.eINSTANCE.createRegistryIdDesc();
- resolvedDesc.setName(registryName);
- resolvedDesc.setDescription(registryIdDesc.getDescription());
- resolvedDesc.setIsUnique(registryIdDesc.isUnique());
- resolvedDesc.getSets().addAll(registryIdDesc.getSets());
- resolvedDesc.getParents().addAll(registryIdDesc.getParents());
-
- // Remove doubles from the list of directly inherited registry
- removeDoubleName(registryIdDesc.getExtends());
-
- // Concat sets and parents from inherited descs
- for (String inheritedRegName : registryIdDesc.getExtends()) {
- // Get the inherited desc
- RegistryIdDesc inheritedReg = getResolvedRegistryIdDesc(inheritedRegName);
- // Concat sets and parents
- resolvedDesc.getSets().addAll(inheritedReg.getSets());
- resolvedDesc.getParents().addAll(inheritedReg.getParents());
-
- }
-
- // Remove doubles
- removeDoubleName(registryIdDesc.getParents());
- removeDoubleName(registryIdDesc.getSets());
-
- return resolvedDesc;
- }
-
- /**
- * Get the descriptor for the specified ServiceSetIdDesc, with all inheritance resolved. This mean that
- * the returned {@link ServiceSetIdDesc} has no inheritance. All services found from inherited sets are added in the set,
- * according to the following rules:
- * <ul>
- * <li>Names found in children hides names in parent (overloading)</li>
- * <li></li>
- * <li></li>
- * </ul>
- *
- * @param setName
- * @return
- * @throws DeclarationException
- * @throws DeclarationNotFoundException
- * If the set is not found
- */
- public ServiceSetIdDesc getResolvedServiceSetIdDesc(String setName) throws DeclarationException {
-
-
- ServiceSetIdDesc serviceSetIdDesc = getServiceSet(setName);
- // if no parent, return it directly
- if (serviceSetIdDesc.getExtends().size() == 0) {
- return serviceSetIdDesc;
- }
-
- // Create ServiceSetIdDesc
- ServiceSetIdDesc res = ServicedescriptorswithidFactory.eINSTANCE.createServiceSetIdDesc();
-
- res.setName(serviceSetIdDesc.getName());
- res.setDescription(serviceSetIdDesc.getDescription());
- res.getServiceDescriptors().addAll(serviceSetIdDesc.getServiceDescriptors());
-
- // Collect all parent's services
- for (String extendsName : serviceSetIdDesc.getExtends()) {
- collectMissingServices(res, getResolvedServiceSetIdDesc(extendsName));
- }
-
- return res;
- }
-
- /**
- * Collect the services that are set in the parent, but not found in the collect.
- *
- * @param res
- * @param resolvedServiceSet
- */
- private void collectMissingServices(ServiceSetIdDesc collect, ServiceSetIdDesc parent) {
-
- for (AbstractServiceIdDesc desc : parent.getServiceDescriptors()) {
- if (!collect.containsService(desc)) {
- collect.getServiceDescriptors().add(desc);
- }
- }
-
- }
-
- /**
- * Get the {@link ServiceSetIdDesc} concatenating all fragments declaring a part of the ServiceSetIdDesc.
- *
- *
- * @param setName
- * @return
- * @throws DeclarationNotFoundException
- */
- public ServiceSetIdDesc getServiceSet(String serviceSetName) throws DeclarationException {
- ServiceSetIdDesc result = null;
-
-
- for (IServiceDescriptorsWithIdProvider provider : descriptorsProviders) {
-
- List<ServiceSetIdDesc> fragments = provider.getServiceSetFragments(serviceSetName);
- for (ServiceSetIdDesc fragment : fragments) {
- // Create the result ServiceSetIdDesc if needed
- if (result == null) {
- result = ServicedescriptorswithidFactory.eINSTANCE.createServiceSetIdDesc();
- result.setName(serviceSetName);
- }
- result.getExtends().addAll(fragment.getExtends());
- result.getServiceDescriptors().addAll(fragment.getServiceDescriptors());
-
- }
- }
-
- if (result == null) {
- throw new DeclarationNotFoundException("Can't find ServiceSetIdDesc named '" + serviceSetName + "'."); //$NON-NLS-1$ //$NON-NLS-2$
- }
- // Remove doubles
- removeDoubleName(result.getExtends());
-
- return result;
- }
-
- /**
- * Remove double names from the provided list.
- *
- * @param list
- */
- private void removeDoubleName(List<String> list) {
-
- for (int i = 0; i < list.size(); i++) {
- String ref = list.get(i);
-
- for (int j = i + 1; j < list.size();) {
- // If we found the same name, remove the second one, and then check the same index
- // If the string are different, check the next index.
- if (ref.equals(list.get(j))) {
- // Remove it
- list.remove(j);
- }
- else {
- j++;
- }
- } // end j
- } // end i
-
- }
-
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceException.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceException.java
deleted file mode 100644
index fbd432eb0e2..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceException.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-/**
- * Root Exception of Services Exception.
- *
- * @author dumoulin
- *
- */
-public class ServiceException extends Exception {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- */
- public ServiceException() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- */
- public ServiceException(String message) {
- super(message);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param cause
- */
- public ServiceException(Throwable cause) {
- super(cause);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- * @param cause
- */
- public ServiceException(String message, Throwable cause) {
- super(message, cause);
- // TODO Auto-generated constructor stub
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceMultiException.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceMultiException.java
deleted file mode 100644
index c14136a62bc..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceMultiException.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * An exception encapsulating multiple exceptions. This exception is thrown when
- * an operation performed on several Services fails on one or more of these
- * Service. The exception contains all the exceptions encoutered while
- * opertating on Services.
- *
- * @author cedric dumoulin
- *
- */
-public class ServiceMultiException extends ServiceException {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * List of encountered exceptions.
- */
- List<Throwable> encounteredExceptions = new ArrayList<Throwable>();
-
- /**
- * List of identifiers corresponding to exceptions.
- */
- List<Object> serviceIdentifiers = new ArrayList<Object>();
-
- /**
- * @return the encounteredExceptions
- */
- public List<Throwable> getExceptions() {
- return encounteredExceptions;
- }
-
- /**
- * Constructor.
- *
- */
- public ServiceMultiException() {
- super("Multiple exceptions"); //$NON-NLS-1$
- }
-
- /**
- * Constructor.
- *
- * @param message
- */
- public ServiceMultiException(String message) {
- super(message);
- }
-
- /**
- * Return the first exception.
- *
- * @see java.lang.Throwable#getCause()
- *
- * @return
- */
- @Override
- public Throwable getCause() {
- return (encounteredExceptions.size() > 0 ? encounteredExceptions.get(0) : null);
- }
-
- /**
- * Return the message if any, or the message of the first exception.
- *
- * @see java.lang.Throwable#getMessage()
- *
- * @return
- */
- @Override
- public String getMessage() {
-
- StringBuffer buffer = new StringBuffer();
-
- String message = super.getMessage();
- if (message != null) {
- buffer.append(message).append('\n');
- }
-
- buffer.append("----- exceptions : ----------\n");
- for (int i = 0; i < encounteredExceptions.size(); i++) {
- Throwable exception = encounteredExceptions.get(i);
- Object identifierMsg = serviceIdentifiers.get(i);
-
- if (identifierMsg != null) {
- buffer.append(identifierMsg.toString()).append(" : ");
- }
- String msg = exception.getMessage();
- if (msg != null) {
- buffer.append(msg).append('\n');
- }
- }
- buffer.append("----------------------------- \n");
-
- return buffer.toString();
- // // Check for first exception
- // if( encounteredExceptions.size() > 1)
- // return encounteredExceptions.get(0).getMessage();
- //
- // // default
- // return null;
- }
-
- /**
- * Add an exception to the list of exceptions.
- *
- * @param exception
- */
- public void addException(Throwable exception) {
- addException("unknown", exception);
- }
-
- /**
- * Add an exception to the list of exceptions. Also record the corresponding
- * model identifier if any.
- *
- * @param exception
- */
- public void addException(Object identifier, Throwable exception) {
- encounteredExceptions.add(exception);
- serviceIdentifiers.add(identifier);
- }
-
- /**
- * Merge both exceptions
- *
- * @param e
- */
- public void addAll(ServiceMultiException e) {
- encounteredExceptions.addAll(e.encounteredExceptions);
- serviceIdentifiers.addAll(serviceIdentifiers);
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceNotFoundException.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceNotFoundException.java
deleted file mode 100644
index 678c0f3c428..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceNotFoundException.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-/**
- * Service is not found.
- *
- * @author dumoulin
- *
- */
-public class ServiceNotFoundException extends ServiceException {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- */
- public ServiceNotFoundException() {
- super();
- }
-
- /**
- * Constructor.
- *
- * @param message
- * @param cause
- */
- public ServiceNotFoundException(String message, Throwable cause) {
- super(message, cause);
- }
-
- /**
- * Constructor.
- *
- * @param message
- */
- public ServiceNotFoundException(String message) {
- super(message);
- }
-
- /**
- * Constructor.
- *
- * @param cause
- */
- public ServiceNotFoundException(Throwable cause) {
- super(cause);
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceRegistryFactory.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceRegistryFactory.java
deleted file mode 100644
index c5dc364e98f..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceRegistryFactory.java
+++ /dev/null
@@ -1,235 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc;
-
-
-/**
- * @author cedric dumoulin
- *
- */
-public class ServiceRegistryFactory {
-
- /**
- * Repository of single registries.
- */
- protected Map<String, ServicesRegistry> singleRegistries;
-
- /**
- * DescriptorProviders access point.
- */
- protected DescriptorsCache descriptorProviders;
-
- /**
- * Constructor.
- *
- */
- public ServiceRegistryFactory(DescriptorsCache descriptorProviders) {
- this.descriptorProviders = descriptorProviders;
- }
-
- /**
- * Constructor.
- *
- * @param declaredDescriptorProviders
- * Array of providers to be used by the {@link ServiceDescriptorsWithIdProviderCollection}.
- */
- public ServiceRegistryFactory(IServiceDescriptorsWithIdProvider... declaredDescriptorProviders) {
-
- descriptorProviders = new DescriptorsCache();
- descriptorProviders.addAll(declaredDescriptorProviders);
- }
-
- /**
- * Create a {@link ServicesRegistry} from the specified description.
- * The description is searched in the associated {@link ServiceDescriptorsWithIdProviderCollection}.
- *
- * @param registryName
- * The name of the description used to initialized the ServicesRegistry.
- *
- * @return The requested {@link ServicesRegistry}
- * @throws DeclarationException
- */
- public ServicesRegistry getServicesRegistry(String registryName) throws DeclarationException {
-
- RegistryDesc registryIdDesc = descriptorProviders.getRegistryDesc(registryName);
-
- return getServicesRegistry(registryIdDesc);
- }
-
- /**
- * Get a {@link ServicesRegistry} corresponding to the specified descriptor. Also create recursively referenced
- * registries and services.
- *
- * If the registry is "unique", lookup for an already existing instance, and return it if found.
- * If the registry is not unique, create a new instance corresponding to the descriptor.
- * Referenced descriptions are searched in the associated ConfigurationProvider.
- *
- * @param registryIdDesc
- * The descriptor used to initialized the ServicesRegistry.
- *
- * @return The requested {@link ServicesRegistry}
- * @throws DeclarationException
- */
- protected ServicesRegistry getServicesRegistry(RegistryDesc registryIdDesc) throws DeclarationException {
-
- ServicesRegistry registry;
-
- if (registryIdDesc.isUnique()) {
- // lookup for an instance
- registry = getSingleRegistry(registryIdDesc);
- if (registry != null)
- {
- return registry;
- // Not found: create it
- }
- }
-
- // create a new Registry
- List<DeclarationException> errors = new ArrayList<DeclarationException>();
- registry = new ServicesRegistry();
- // Initialize it
- // add parents
- for (RegistryDesc parentName : registryIdDesc.getParents()) {
- try {
- ServicesRegistry parent = getServicesRegistry(parentName);
- registry.addParentRegistry(parent);
- } catch (DeclarationException e) {
- errors.add(e);
- }
- }
-
- // Add services
- for (AbstractServiceDesc serviceDesc : registryIdDesc.getServices()) {
-
- registry.add(ServiceDescriptorUtils.toServiceDescriptor(serviceDesc));
- }
-
- // Throw exceptions if pb encountered
- if (errors.size() > 0) {
- if (errors.size() == 1) {
- throw errors.get(0);
- }
- else {
- // TODO: throw a multi exception
- throw new DeclarationException("Somme services are not started (first is shown)", errors.get(0)); //$NON-NLS-1$
- }
- }
-
- return registry;
- }
-
- /**
- * Extends the specified registry with all services and parents declared in the specified descriptor.
- * Only missing services and parents are added. <br>
- * If both the original registry and the additional registry contain a service with the same name,
- * the service from the original registry is conserved.
- *
- * @param registry
- * The registry to extends.
- * @param extendsWithRegistryName
- * The name of the descriptor used to extends the registry.
- * @return
- * @throws DeclarationException
- */
- public ServicesRegistry extendsServicesRegistry(ServicesRegistry registry, String extendsWithRegistryName) throws DeclarationException {
-
- RegistryDesc registryDesc = descriptorProviders.getRegistryDesc(extendsWithRegistryName);
-
- return extendsServicesRegistry(registry, registryDesc);
- }
-
- /**
- * Extends the specified registry with all services and parents declared in the specified descriptor.
- * Only missing services and parents are added. <br>
- * If both the original registry and the additional registry contain a service with the same name,
- * the service from the original registry is conserved.
- *
- * @param extendRegistryDesc
- * The descriptor used to initialized the ServicesRegistry.
- *
- * @return The requested {@link ServicesRegistry}
- * @throws DeclarationException
- */
- protected ServicesRegistry extendsServicesRegistry(ServicesRegistry registry, RegistryDesc extendRegistryDesc) throws DeclarationException {
-
- // create a new Registry
- List<Throwable> errors = new ArrayList<Throwable>();
-
- // add missing parents
- //
- if (extendRegistryDesc.getParents().size() > 0) {
- throw new UnsupportedOperationException("Registry extension with parents not yet implemented."); //$NON-NLS-1$
- }
- // for(RegistryDesc newExtend: extendRegistryDesc.getParents()) {
- // try {
- // if( !registry.containsParent(newExtend.getName()) ) {
- // ServicesRegistry parent = getServicesRegistry(newExtend.getName());
- // registry.addParentRegistry(parent);
- // }
- //
- // } catch (DeclarationException e) {
- // errors.add(e);
- // }
- // }
-
-
- // Add missing services
- for (AbstractServiceDesc idDesc : extendRegistryDesc.getServices()) {
- try {
- if (!registry.isStarted(idDesc.getName(), false)) {
- registry.add(ServiceDescriptorUtils.toServiceDescriptor(idDesc));
- }
- } catch (ServiceNotFoundException e) {
- errors.add(e);
- }
- }
-
- // Throw exceptions if pb encountered
- if (errors.size() > 0) {
- if (errors.size() == 1) {
- throw new DeclarationException(errors.get(0));
- }
- else {
- // TODO: throw a multi exception
- throw new DeclarationMultiException("Somme services are not started.", errors);
- }
- }
-
- return registry;
- }
-
- /**
- * Get the specified single registry by its name.
- * Return null if not found or if the repository do not exist.
- *
- * @param registryIdDesc
- * @return
- */
- private ServicesRegistry getSingleRegistry(RegistryDesc registryIdDesc) {
- if (singleRegistries == null) {
- return null;
- }
- return singleRegistries.get(registryIdDesc.getName());
- }
-
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceStartKind.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceStartKind.java
deleted file mode 100644
index d855f1b750f..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceStartKind.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-/**
- * Kind of possible start method for a service. LAZY - The service start when it
- * is requested for the first time. STARTUP - The service start as soon as the
- * registry is started, or when the service is added is the registry is already
- * started.
- *
- * @author dumoulin
- *
- */
-public enum ServiceStartKind {
-
- LAZY, STARTUP;
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceState.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceState.java
deleted file mode 100644
index aa1270f89ce..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServiceState.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-/**
- * The different states that a service can have.
- *
- * @author dumoulin
- *
- */
-public enum ServiceState {
- registered, created, initialized, starting, started, disposed, error
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServicesRegistry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServicesRegistry.java
deleted file mode 100644
index 2f50e8cb6b3..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServicesRegistry.java
+++ /dev/null
@@ -1,1404 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2014 LIFL and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * LIFL - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceDescriptor.ServiceTypeKind;
-import org.eclipse.papyrus.infra.core.serviceregistry.internal.AliasServiceEntry;
-import org.eclipse.papyrus.infra.core.serviceregistry.internal.LazyStartupEntry;
-import org.eclipse.papyrus.infra.core.serviceregistry.internal.PojoServiceEntry;
-import org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceEntry;
-import org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceFactoryEntry;
-import org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceStartupEntry;
-import org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceTypeEntry;
-import org.eclipse.papyrus.infra.core.serviceregistry.internal.StartStartupEntry;
-
-/**
- * A registry of services. This registry allows to get a service by its
- * identifier. The identifier is generally the classname of the service.
- * Services can be added using the Eclipse extension mechanism (if you use {@link ExtensionServicesRegistry}). <br>
- * A Service is a class providing operations. The ServiceRegistry is used to
- * share objects (i.e. services) between nested editors and also the core main
- * editor.
- *
- * <br>
- * In this implementation, services should be added to the registry before the
- * call to createServices(). If a service is added after the call, it will not
- * be started (except if it is a lazy service). <br>
- * A typical usage is:
- *
- * <pre>
- * <code>
- * ServicesRegistry serviceRegistry = new ServiceRegistry();
- * // Add your services
- * serviceRegistry.add( ...);
- * serviceRegistry.add( ...);
- *
- * // start the services
- * serviceRegistry.startRegistry();
- *
- * // Retrieve a service
- * myService = serviceRegistry.getService( serviceKey );
- * </code>
- * </pre>
- *
- * It is possible to register new services after the serviceRegistry has been
- * started. In this case, you need to start them explicitly if they are of type
- * ServiceStartKind.STARTUP.
- *
- * <pre>
- * <code>
- * // Add your new services
- * serviceRegistry.add( key1, ...);
- * serviceRegistry.add( key2, ...);
- *
- * // start the new services
- * serviceRegistry.startRegistry(key1, key2);
- * </code>
- * </pre>
- *
- * <ul>
- * <li></li>
- * <li></li>
- * </ul>
- *
- * @author cedric dumoulin
- *
- *
- */
-public class ServicesRegistry {
-
- /** Log object */
- protected Logger log = Logger.getLogger(getClass().getName());
-
- /**
- * Map of existing services.
- */
- // private Map<Object, AbstractServiceEntry> services;
-
- /**
- * A Map of services added to the register (thow the addXxx() methods), but
- * not yet registered. They will be registered after a call to startXxx().
- */
- private Map<String, ServiceStartupEntry> addedServices = new HashMap<String, ServiceStartupEntry>();
-
- /**
- * Map of services registered with a name.
- */
- private Map<String, ServiceStartupEntry> namedServices = new HashMap<String, ServiceStartupEntry>();
-
- /**
- * Map of services registered without a name (anonymous). Such services
- * can't be retrieved.
- */
- private List<ServiceStartupEntry> anonymousServices = new ArrayList<ServiceStartupEntry>();
-
- /**
- * List of parents used as fallback if the service is not found in this registry.
- */
- private List<ServicesRegistry> parents = new ArrayList<ServicesRegistry>();
-
- /**
- * Constructor.
- */
- public ServicesRegistry() {
- }
-
- /**
- * Add a service by its ServiceDescriptor.
- *
- * @param serviceDescriptor
- * Descriptor describing the service.
- * @throws ServiceException
- * If an error occurs while initializing service.
- */
- public void add(ServiceDescriptor serviceDescriptor) {
- // Check if the service already exist.
- ServiceStartupEntry service = addedServices.get(serviceDescriptor.getKey());
- if (service != null) {
- if (service.getDescriptor().getPriority() > serviceDescriptor.getPriority()) {
- return;
- } else if (service.getDescriptor().getPriority() == serviceDescriptor.getPriority()) {
- log.warning("Two services with same priority (" + serviceDescriptor.getPriority() + ") are declared under key '" + service.getDescriptor().getKey() + "'. Keep the first encountered only. (bundles: " + service.getDescriptor().getClassBundleID()
- + ", " + serviceDescriptor.getClassBundleID() + ")");
- }
- }
-
- // Compute the service type entry
- ServiceTypeEntry serviceTypeEntry;
- ServiceTypeKind typeKind = serviceDescriptor.getServiceTypeKind();
- switch (typeKind) {
- case service:
- serviceTypeEntry = new ServiceEntry(serviceDescriptor);
- break;
- case serviceFactory:
- serviceTypeEntry = new ServiceFactoryEntry(serviceDescriptor);
- break;
- case pojo:
- serviceTypeEntry = new PojoServiceEntry(serviceDescriptor);
- break;
- case alias:
- serviceTypeEntry = new AliasServiceEntry(serviceDescriptor);
- break;
- default:
- // Add as pojo
- // Should better throw an exception. (MalformedDescriptor ?)
- serviceTypeEntry = new PojoServiceEntry(serviceDescriptor);
- }
-
- // Create the entry
- ServiceStartupEntry serviceEntry;
- switch (serviceDescriptor.getServiceStartKind()) {
- case STARTUP:
- serviceEntry = new StartStartupEntry(serviceTypeEntry);
- break;
- case LAZY:
- serviceEntry = new LazyStartupEntry(serviceTypeEntry, this);
- break;
- default:
- // Add as LAZY
- // Should better throw an exception. (MalformedDescriptor ?)
- serviceEntry = new LazyStartupEntry(serviceTypeEntry, this);
- }
-
- // Add the entry
- addedServices.put(serviceDescriptor.getKey(), serviceEntry);
- }
-
- /**
- * Add a service. The descriptor will be created.
- *
- * @param key
- * Service key
- * @param priority
- * service priority
- * @param serviceInstance
- * The instance of the service
- */
- public void add(String key, int priority, IService serviceInstance) {
- add(key, priority, serviceInstance, ServiceStartKind.STARTUP);
- }
-
- /**
- * Add a service. The descriptor will be created.
- *
- * @param key
- * Service key
- * @param priority
- * service priority
- * @param serviceInstance
- * The instance of the service
- */
- public void add(Class<?> key, int priority, IService serviceInstance) {
- add(key.getName(), priority, serviceInstance, ServiceStartKind.STARTUP);
- }
-
- /**
- * Add a service. The descriptor will be created.
- *
- * @param key
- * Service key
- * @param priority
- * service priority
- * @param serviceInstance
- * The instance of the service
- */
- public void add(String key, int priority, IService serviceInstance, ServiceStartKind startKind) {
- // Check if the service already exist.
- ServiceStartupEntry service = addedServices.get(key);
- if (service != null) {
- if (service.getDescriptor().getPriority() > priority) {
- return;
- } else if (service.getDescriptor().getPriority() == priority)
- {
- log.warning("Two services with same priority (" + priority + ") are declared under key '" + service.getDescriptor().getKey() + "'. Keep the first encountered only."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- }
- }
-
- // Create descriptor and add service.
- ServiceDescriptor descriptor = new ServiceDescriptor(key, serviceInstance.getClass().getName(), startKind, priority);
-
- if (startKind == ServiceStartKind.STARTUP) {
- addedServices.put(key, new StartStartupEntry(new ServiceEntry(descriptor, serviceInstance)));
- } else {
- addedServices.put(key, new LazyStartupEntry(new ServiceEntry(descriptor, serviceInstance), this));
- }
- }
-
- /**
- * Add a service. The descriptor will be created.
- *
- * @param key
- * Service key Class used as key. The classname is used as key.
- * @param priority
- * service priority
- * @param serviceInstance
- * The instance of the service
- */
- public void add(Class<?> key, int priority, IService serviceInstance, ServiceStartKind startKind) {
-
- add(key.getName(), priority, serviceInstance, startKind);
- }
-
- /**
- * Add an already instanciated pojo (Plain Old Java Object) as Service. The
- * descriptor will be created. No life cycle methods are called on the
- * service.
- *
- * @param key
- * Service key
- * @param priority
- * service priority
- * @param serviceInstance
- * The instance of the service
- */
- public void add(Class<?> key, int priority, Object serviceInstance) {
- add(key, priority, serviceInstance, ServiceStartKind.STARTUP);
- }
-
- /**
- * Add an already instanciated pojo (Plain Old Java Object) as Service. The
- * descriptor will be created. No life cycle methods are called on the
- * service.
- *
- * @param key
- * Service key
- * @param priority
- * service priority
- * @param serviceInstance
- * The instance of the service
- * @param startKind
- *
- */
- public void add(String key, int priority, Object serviceInstance, ServiceStartKind startKind) {
- // Check if the service already exist.
- ServiceStartupEntry service = addedServices.get(key);
- if (service != null) {
- if (service.getDescriptor().getPriority() > priority) {
- return;
- } else if (service.getDescriptor().getPriority() == priority)
- {
- log.warning("Two services with same priority (" + priority + ") are declared under key '" + service.getDescriptor().getKey() + "'. Keep the first encountered only."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- }
- }
-
- // Create descriptor and add service.
- ServiceDescriptor descriptor = new ServiceDescriptor(key, serviceInstance.getClass().getName(), startKind, priority);
-
- if (startKind == ServiceStartKind.STARTUP) {
- addedServices.put(key, new StartStartupEntry(new PojoServiceEntry(descriptor, serviceInstance)));
- } else {
- addedServices.put(key, new LazyStartupEntry(new PojoServiceEntry(descriptor, serviceInstance), this));
- }
-
- }
-
- /**
- * Add an already instanciated pojo (Plain Old Java Object) as Service. The
- * descriptor will be created. No life cycle methods are called on the
- * service.
- *
- * @param key
- * Service key Class used as key. The classname is used as key.
- * @param priority
- * service priority
- * @param serviceInstance
- * The instance of the service
- * @param startKind
- *
- */
- public void add(Class<?> key, int priority, Object serviceInstance, ServiceStartKind startKind) {
-
- add(key.getName(), priority, serviceInstance, startKind);
- }
-
- /**
- * Remove the specified Registry as parent of this registry.
- * .
- *
- * @param parentRegistry
- */
- public void addParentRegistry(ServicesRegistry parentRegistry) {
-
- if (parentRegistry == null) {
- return;
- }
- parents.add(parentRegistry);
- }
-
- /**
- *
- * @param parentRegistry
- */
- public void removeParentRegistry(ServicesRegistry parentRegistry) {
-
- if (parentRegistry == null) {
- return;
- }
- parents.remove(parentRegistry);
- }
-
-
- /**
- * Remove the specified service from the registry.
- *
- * @param key
- */
- public void remove(ServiceDescriptor serviceDescriptor) throws ServiceException {
- remove(serviceDescriptor.getKey());
- }
-
- /**
- * Remove the specified service from the registry.
- *
- * @param key
- */
- public void remove(Object key) throws ServiceException {
- ServiceStartupEntry service = namedServices.remove(key);
- if (service == null) {
- return;
- }
-
- // Stop the service
- service.disposeService();
- }
-
- /**
- * Get the requested service by its key. The key is usually the classname of
- * the service.
- *
- * @param serviceClass
- * @return
- * @throws ServiceException
- * If servive can't be started
- */
- public Object getService(Object key) throws ServiceException {
- ServiceStartupEntry serviceEntry = namedServices.get(key);
- if (serviceEntry == null) {
- // Check if we can find it in parents
- Object service = getServiceFromParents(key);
- if (service != null) {
- // Found in parent, return it
- return service;
- }
-
- // Not found in parents. Throw an exception
- // throw an appropriate exception (If added, say it).
- serviceEntry = addedServices.get(key);
- if (serviceEntry != null) {
- throw new BadStateException("Registry should be started before.", serviceEntry.getState(), serviceEntry.getDescriptor()); //$NON-NLS-1$
- }
- else {
- throw new ServiceNotFoundException("No service registered under '" + key + "'"); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
-
- return serviceEntry.getServiceInstance();
- }
-
- /**
- * Get the requested service by its class (the service has to be registered
- * by its class object).
- *
- * @param key
- * The service class.
- * @return The service.
- * @throws ServiceException
- * If service can't be started
- */
- @SuppressWarnings("unchecked")
- public <S> S getService(Class<S> key) throws ServiceException {
-
- String realKey = key.getName();
- ServiceStartupEntry serviceEntry = namedServices.get(realKey);
-
- // Lookup in parents if not found
- if (serviceEntry == null) {
-
- // Check if we can find it in parents
- S service = (S) getServiceFromParents(realKey);
- if (service != null) {
- // Found in parent, return it
- return service;
- }
-
- // Not found in parents. Throw an exception
- // throw an appropriate exception (If added, say it).
- serviceEntry = addedServices.get(realKey);
- if (serviceEntry != null) {
- throw new BadStateException("Registry should be started before.", serviceEntry.getState(), serviceEntry.getDescriptor()); //$NON-NLS-1$
- }
- else {
- throw new ServiceNotFoundException("No service registered under '" + key + "'"); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
-
- // Service found, return it.
- return (S) serviceEntry.getServiceInstance();
- }
-
- /**
- * Get the requested service by its class (the service has to be registered
- * by its class object).
- *
- * @param key
- * The service class.
- * @return The service.
- * @throws ServiceException
- * If service can't be started
- */
- private Object getServiceFromParents(Object key) throws ServiceException {
-
- Object foundService;
-
- for (ServicesRegistry parent : parents) {
- foundService = parent.getServiceUnchecked(key);
- // Check if we have found the service
- if (foundService != null) {
- // Found, return it
- return foundService;
- }
- }
- // Not found
- return null;
- }
-
- /**
- * Get the requested service by its key. The key is usually the classname of
- * the service.
- * Return the service, or null if not found.
- * This is for internal use.
- *
- * @param serviceClass
- * @return The service, or null if not found.
- * @throws ServiceException
- * If servive can't be started
- */
- protected Object getServiceUnchecked(Object key) throws ServiceException {
- ServiceStartupEntry service = namedServices.get(key);
- if (service == null) {
- return null;
- }
-
- return service.getServiceInstance();
- }
-
- /**
- * Try to get the {@link ServiceStartupEntry} of the specified service.
- * Search in local namedServices.
- * Also lookup in parents. Return null if not found.
- * The returned entry should not be modified by caller.
- *
- * @param key
- * @return The requested entry, or null if not found.
- */
- protected ServiceStartupEntry getServiceStartupEntry(Object key) {
-
- return getServiceStartupEntry(key, true);
- }
-
- /**
- * Try to get the {@link ServiceStartupEntry} of the specified service.
- * Search in local namedServices.
- * Also lookup in parents. Return null if not found.
- * The returned entry should not be modified by caller.
- *
- * @param key
- * @param searchInParent
- * True if we should search in parent, false if search take place in this registry only.
- * @return The requested entry, or null if not found.
- */
- protected ServiceStartupEntry getServiceStartupEntry(Object key, boolean searchInParent) {
-
- ServiceStartupEntry service = namedServices.get(key);
- if (service != null) {
- return service;
- }
-
- // Check in new services
- service = addedServices.get(key);
- if (service != null) {
- return service;
- }
-
- if (searchInParent) {
- // Lookup in parents
- for (ServicesRegistry registry : parents) {
- service = registry.getServiceStartupEntry(key);
- if (service != null) {
- return service;
- }
- }
- }
-
- // Not found
- return null;
- }
-
- /**
- * Return true if the service is instantiated. Return false otherwise.
- *
- * @return
- */
- public boolean isStarted(Object key) throws ServiceNotFoundException {
- return isStarted(key, true);
- }
-
- /**
- * Return true if the service is instantiated. Return false otherwise.
- *
- * @return
- */
- public boolean isStarted(Object key, boolean searchInParents) throws ServiceNotFoundException {
- ServiceStartupEntry service = getServiceStartupEntry(key, searchInParents);
- if (service == null) {
- throw new ServiceNotFoundException("No service registered under '" + key + "'"); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- return service.isStarted();
- }
-
- /**
- * Return true if the service is instantiated. Return false otherwise.
- * The service type is converted to its name, then the method is performed.
- *
- * @see #isStarted(Class)
- *
- * @return
- */
- public boolean isStarted(Class<?> serviceType) throws ServiceNotFoundException {
- return isStarted(serviceType.getName(), true);
- }
-
- /**
- * Return true if the service is instantiated. Return false otherwise.
- * The service type is converted to its name, then the method is performed.
- *
- * @see #isStarted(Class)
- *
- * @return
- */
- public boolean isStarted(Class<?> serviceType, boolean searchInParents) throws ServiceNotFoundException {
- return isStarted(serviceType.getName(), searchInParents);
- }
-
- /**
- * Return the state of the specified service.
- *
- * @return
- */
- public ServiceState serviceState(Object key) throws ServiceNotFoundException {
- return serviceState(key, true);
- }
-
- /**
- * Return the state of the specified service.
- *
- * @param key
- * @param searchInParents
- * @return
- * @throws ServiceNotFoundException
- */
- public ServiceState serviceState(Object key, boolean searchInParents) throws ServiceNotFoundException {
- ServiceStartupEntry service = getServiceStartupEntry(key, searchInParents);
- if (service == null) {
- throw new ServiceNotFoundException("No service registered under '" + key + "'"); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- return service.getState();
- }
-
- /**
- * Return the state of the specified service.
- *
- * @return
- */
- public ServiceState serviceState(Class<?> serviceType) throws ServiceNotFoundException {
- return serviceState(serviceType.getName(), true);
- }
-
- /**
- * Return the state of the specified service.
- *
- * @return
- */
- public ServiceState serviceState(Class<?> serviceType, boolean searchInParents) throws ServiceNotFoundException {
- return serviceState(serviceType.getName(), searchInParents);
- }
-
- /**
- * Start services newly added.
- * Start all services marked as start = STARTUP.
- * All services are first created, then initialized and finally
- * started. If an error occur on a service during one of this step, the
- * service is removed from the registry and and the error is logged.
- *
- * @throws ServiceMultiException
- *
- * @throws ServiceException
- * If a service can't be started.
- *
- */
- public void startNewServices() throws ServiceMultiException {
- // Build the lookup maps
- LookupMap localSpace = new LookupMap(addedServices, namedServices);
- // search space including parents
- LookupMap fullSpace = new LookupMap(addedServices, namedServices, parents);
-
- // Check if all dependencies exist.
- checkDependencies(addedServices.values(), fullSpace);
-
- // Get all roots : LAZY and START
- Collection<ServiceStartupEntry> roots = getServiceRoots(addedServices.values(), localSpace);
- // showServices(" Roots:", roots);
- // Detect cycles
- checkCycle(roots, localSpace);
-
- // Order services in the order we should start them.
- // Lazy services are taken into account, as they can be in a chain of start.
- List<ServiceStartupEntry> toStart = buildTopologicalListOfServicesToStart(roots, localSpace);
-
- // Retain only services with startupkind == START
- //
- roots = retainsToStartServices(roots);
-
- if (Activator.log.isDebugEnabled()) {
- showServices(" Services to start:", toStart);
- }
-
- // Create an object to collect errors if any.
- ServiceMultiException errors = new ServiceMultiException();
-
- createServices(toStart, errors);
- // Register all new services : lazy and start
- registerServices(addedServices.values());
- initServices(toStart, errors);
- startServices(toStart, errors);
-
- // Report errors if any
- if (errors.getExceptions().size() > 0) {
- throw errors;
- }
-
-
- }
-
- /**
- * Start the registry. Start all services marked as start = STARTUP are
- * started. All services are first created, then initialized and finally
- * started. If an error occur on a service during one of this step, the
- * service is removed from the registry and and the error is logged.
- *
- * @throws ServiceMultiException
- *
- * @throws ServiceException
- * If a service can't be started.
- *
- * @deprecated Use {@link #startNewServices()}
- */
- @Deprecated
- protected void startRegistry() throws ServiceMultiException {
-
- startNewServices();
- }
-
- /**
- * Start the specified services, and their required services. The specifies
- * services should be in the addServices or already registered. Start all
- * services marked as start = STARTUP . All eligible services are first
- * created, then initialized and finally started. If an error occur on a
- * service during one of this step, the service is removed from the registry
- * and and the error is logged.
- *
- * @param serviceKeys
- * Keys of services to start.
- * @throws ServiceMultiException
- * @throws ServiceNotFoundException
- * If a service can't be retrieved by its key.
- *
- * @throws ServiceException
- * If a service can't be started.
- */
- public void startServices(List<String> serviceKeys) throws ServiceMultiException, ServiceNotFoundException {
-
- // Build the lookup maps
- LookupMap map = new LookupMap(addedServices, namedServices);
-
- // Get the services
- List<ServiceStartupEntry> services = keysToServices(serviceKeys, map);
-
- // Start them
- startServices(services, map);
- }
-
- /**
- * Same as {@link #startServices(List)}, but with an array as input.
- *
- * @see #startServices(List)
- *
- * @param serviceKeys
- * Keys of services to start.
- * @throws ServiceMultiException
- * @throws ServiceNotFoundException
- * If a service can't be retrieved by its key.
- *
- * @throws ServiceException
- * If a service can't be started.
- */
- public void startServices(String... serviceKeys) throws ServiceMultiException, ServiceNotFoundException {
-
- List<String> serviceKeysList = Arrays.asList(serviceKeys);
- startServices(serviceKeysList);
- }
-
- /**
- * Start the specified services, and their required services. The specifies
- * services should be in the addServices or already registered. Start all
- * services marked as start = STARTUP . All eligible services are first
- * created, then initialized and finally started. If an error occur on a
- * service during one of this step, the service is removed from the registry
- * and and the error is logged.
- *
- * @param serviceKeys
- * Keys of services to start. Keys will be translated to the
- * classname.
- * @throws ServiceMultiException
- * @throws ServiceNotFoundException
- * If a service can't be retrieved by its key.
- *
- * @throws ServiceException
- * If a service can't be started.
- */
- public void startServicesByClassKeys(List<Class<?>> serviceKeys) throws ServiceMultiException, ServiceNotFoundException {
-
- // Build the lookup maps
- LookupMap map = new LookupMap(addedServices, namedServices);
-
- // Get the services
- List<ServiceStartupEntry> services = classKeysToServices(serviceKeys, map);
-
- // Start them
- startServices(services, map);
- }
-
- /**
- * Same as {@link #startServicesByClassKeys(List)}, but with an array as
- * input.
- *
- * @see #startServices(List)
- *
- * @param serviceKeys
- * Keys of services to start.
- * @throws ServiceMultiException
- * @throws ServiceNotFoundException
- * If a service can't be retrieved by its key.
- *
- * @throws ServiceException
- * If a service can't be started.
- */
- public void startServicesByClassKeys(Class<?>... serviceKeys) throws ServiceMultiException, ServiceNotFoundException {
-
- List<Class<?>> serviceKeysList = Arrays.asList(serviceKeys);
- startServicesByClassKeys(serviceKeysList);
- }
-
- /**
- * Start the specified services, and their required services. The specifies
- * services should be in the specified map. The map is also used to resolves
- * dependencies. Start all services marked as start = STARTUP . All eligible
- * services are first created, then initialized and finally started. If an
- * error occur on a service during one of this step, the service is removed
- * from the registry and and the error is logged.
- *
- * @param services
- * Services to start
- * @param map
- * a table of (key, service) used to get a service by its key.
- * @throws ServiceMultiException
- * If a service can't be started.
- */
- private void startServices(List<ServiceStartupEntry> services, LookupMap map) throws ServiceMultiException {
- // Check if all dependencies exist.
- checkDependencies(services, map);
-
- // Get all roots : LAZY and START
- Collection<ServiceStartupEntry> roots = getServiceRoots(services, map);
- if (Activator.log.isDebugEnabled()) {
- showServices(" Roots:", roots);
- }
- // Detect cycles
- checkCycle(roots, map);
- // Retain only services with startupkind == START and state ==
- // REGISTERED
- roots = retainsToStartServices(roots);
- //
- List<ServiceStartupEntry> toStart = buildTopologicalListOfServicesToStart(roots, map);
-
- // Remove already started services
- toStart = retainsToStartServices(toStart);
-
- // if( log.isLoggable(Level.FINE))
- // {
- showServices(" Services to start:", toStart);
- // }
-
- // Create an object to collect errors if any.
- ServiceMultiException errors = new ServiceMultiException();
-
- createServices(toStart, errors);
- // Register all started services
- registerServices(toStart);
- initServices(toStart, errors);
- startServices(toStart, errors);
-
- // Report errors if any
- if (errors.getExceptions().size() > 0) {
- throw errors;
- }
- }
-
- /**
- * Return a list of services from a list of services keys.
- *
- * @param serviceKeys
- * @param map
- * @return
- * @throws ServiceNotFoundException
- * If a service can't be retrieved by its key.
- */
- private List<ServiceStartupEntry> keysToServices(List<String> serviceKeys, LookupMap map) throws ServiceNotFoundException {
-
- List<ServiceStartupEntry> result = new ArrayList<ServiceStartupEntry>(serviceKeys.size());
-
- for (String key : serviceKeys) {
- result.add(map.getChecked(key));
- }
- return result;
- }
-
- /**
- * Return a list of services from a list of services keys.
- *
- * @param serviceKeys
- * @param map
- * @return
- * @throws ServiceNotFoundException
- * If a service can't be retrieved by its key.
- */
- private List<ServiceStartupEntry> classKeysToServices(List<Class<?>> serviceKeys, LookupMap map) throws ServiceNotFoundException {
-
- List<ServiceStartupEntry> result = new ArrayList<ServiceStartupEntry>(serviceKeys.size());
-
- for (Class<?> key : serviceKeys) {
- result.add(map.getChecked(key.getName()));
- }
- return result;
- }
-
- /**
- * Print the services. For debug purpose
- *
- * @param roots
- */
- private void showServices(String message, Collection<ServiceStartupEntry> roots) {
- StringBuffer buffer = new StringBuffer();
- buffer.append("--------------------------\n");
- buffer.append(message);
- buffer.append("\n");
- for (ServiceStartupEntry service : roots) {
- buffer.append(" ");
- buffer.append(service.getDescriptor().toString());
- buffer.append("\n");
- }
- buffer.append("--------- done -----------\n");
- Activator.log.debug(buffer.toString());
- }
-
- /**
- * Check if all dependencies exist. Throw an error if a declared dependency
- * has no corresponding service.
- *
- * @param services
- * Services to check
- * @param map
- * Map of services by keys.
- * @throws ServiceMultiException
- */
- private void checkDependencies(Collection<ServiceStartupEntry> services, LookupMap map) throws ServiceMultiException {
-
- ServiceMultiException errors = new ServiceMultiException();
-
- // Walk each service and check if its required services exist.
- for (ServiceStartupEntry service : services) {
- ServiceDescriptor desc = service.getDescriptor();
-
- // Check each required service
- for (String key : desc.getRequiredServiceKeys()) {
-
- // Check if service can be found
- try {
- map.getChecked(key);
- } catch (ServiceNotFoundException e) {
- errors.addException(desc.getKey(), e);
- }
- }
- }
-
- // Throw errors if any
- if (errors.getExceptions().size() > 0) {
- throw errors;
- }
- }
-
- /**
- * Retains only the services that should be started. Retains only services
- * with startupkind = START and state == REGISTERED
- *
- * @param services
- * Collection to filter
- * @return a new Collection containing the services to start.
- */
- private List<ServiceStartupEntry> retainsToStartServices(Collection<ServiceStartupEntry> services) {
-
- List<ServiceStartupEntry> result = new ArrayList<ServiceStartupEntry>();
- for (ServiceStartupEntry service : services) {
- ServiceDescriptor desc = service.getDescriptor();
- if (service.getState() == ServiceState.registered && desc.isStartAtStartup()) {
- result.add(service);
- }
- }
-
- return result;
- }
-
- /**
- * Check for cycles. Throws an exception if a cycle is discovered. Each root
- * is checked to see if it contains a cycle.
- *
- * @param roots
- * @param map
- */
- private void checkCycle(Collection<ServiceStartupEntry> roots, LookupMap map) {
- // TODO Auto-generated method stub
-
- }
-
- /**
- * Build a list of services to start, in the topological order (right
- * order). The required services are placed before the dependent services in
- * the list. Services already started are disguarded.
- *
- * @param roots
- * @param map
- * Map used to resolve the entry by their key.
- * @return
- */
- private List<ServiceStartupEntry> buildTopologicalListOfServicesToStart(Collection<ServiceStartupEntry> roots, LookupMap map) {
-
- List<ServiceStartupEntry> result = new ArrayList<ServiceStartupEntry>();
-
- // Each root represent a graph. Walk the root and its child in the list,
- // in the right order.
- for (ServiceStartupEntry root : roots) {
- walkGraphDepthFirst(result, root, map);
- }
-
- return result;
- }
-
- /**
- * Add recursively the provided node, and then its direct children.
- *
- * @param result
- * The list where the node are added
- * @param node
- * The node to add
- * @param map
- */
- private void walkGraphDepthFirst(List<ServiceStartupEntry> result, ServiceStartupEntry node, LookupMap map) {
-
- // Do not add already added or started node.
- if (result.contains(node) || node.isStarted()) {
- return;
- }
-
- // add direct child
- for (String serviceKey : node.getDescriptor().getRequiredServiceKeys()) {
- try {
- ServiceStartupEntry child = map.getChecked(serviceKey);
- walkGraphDepthFirst(result, child, map);
- } catch (ServiceNotFoundException e) {
- // Do nothing, we have already reported the problems with
- // checkServices;
- }
- }
-
- // Now add the node
- result.add(node);
- }
-
- /**
- * Create a List of the root services. The roots are services that are not
- * required by any service.
- *
- * @param addedServices
- * A collection from which roots are required. The collection is
- * unmodified.
- * @param map
- * @return
- */
- private Collection<ServiceStartupEntry> getServiceRoots(Collection<ServiceStartupEntry> addedServices, LookupMap keyServiceMap) {
-
- // Create a copy of the list of services
- Collection<ServiceStartupEntry> services = new ArrayList<ServiceStartupEntry>(addedServices);
-
- List<ServiceStartupEntry> allRequired = new ArrayList<ServiceStartupEntry>();
-
- // The roots are services that are not required by any service.
- // Build a list of the services required by all other services.
- for (ServiceStartupEntry service : services) {
- // Add each child to the list of required
- for (String serviceKey : service.getDescriptor().getRequiredServiceKeys()) {
- try {
-
- ServiceStartupEntry child = keyServiceMap.getChecked(serviceKey);
- allRequired.add(child);
- } catch (ServiceNotFoundException e) {
- // Do nothing, we have already reported the problems with
- // checkServices;
- }
- }
-
- }
-
- // Roots are those that are not required.
- // So it is the original list minus the required.
- services.removeAll(allRequired);
-
- return services;
- }
-
- /**
- * Dispose all services for this registry and its parents.
- *
- * @throws ServiceMultiException
- */
- public void disposeRegistry() throws ServiceMultiException {
-
- disposeRegistry(true);
- }
-
- /**
- * Dispose all services, and parent registries if any.
- *
- * @throws ServiceMultiException
- */
- public void disposeRegistry(boolean isRecursive) throws ServiceMultiException {
-
- // List of keys of service in error.
- ServiceMultiException errors = new ServiceMultiException();
- disposeRegistry(errors, isRecursive);
- // Report errors if any
- if (errors.getExceptions().size() > 0) {
- throw errors;
- }
- }
-
- /**
- * Dispose all services, and parent registries if any.
- *
- * @throws ServiceMultiException
- */
- protected void disposeRegistry(ServiceMultiException errors, boolean isRecursive) throws ServiceMultiException {
-
- // List of keys of service in error.
- disposeServices(namedServices.values(), errors);
- disposeServices(anonymousServices, errors);
-
- // Clean up properties to help GC
- addedServices.clear();
- addedServices = null;
- anonymousServices.clear();
- anonymousServices = null;
- namedServices.clear();
- namedServices = null;
-
- // Do parents
- if (isRecursive) {
- for (ServicesRegistry parent : parents) {
- parent.disposeRegistry(errors, true);
- }
- }
- }
-
- /**
- * Create all services provided in the list
- *
- * @param toStart
- * List of services to create.
- * @param errors
- * Exception to collect errors.
- *
- * @throws ServiceMultiException
- * If an error occure during the creation
- *
- * @throws ServiceException
- * If a service can't be started.
- */
- private void createServices(List<ServiceStartupEntry> toStart, ServiceMultiException errors) throws ServiceMultiException {
-
- // Loop on all services
- for (ServiceStartupEntry serviceEntry : toStart) {
- try {
-
- serviceEntry.createService();
- } catch (ServiceException e) {
- log.log(Level.SEVERE, "Can't create service '" + serviceEntry + "'", e); //$NON-NLS-1$ //$NON-NLS-2$
-
- errors.addException(serviceEntry.getDescriptor().getKey(), e);
- }
- }
-
- }
-
- /**
- * Register all services provided in the list. After this operation,
- * services are available thru {@link #getService(Class)}.
- *
- * @param toStart
- * List of services to register.
- *
- * @throws ServiceException
- * If a service can't be started.
- */
- private void registerServices(Collection<ServiceStartupEntry> toStart) {
-
- // Loop on all services
- for (ServiceStartupEntry serviceEntry : toStart) {
- ServiceDescriptor desc = serviceEntry.getDescriptor();
- if (desc.isAnonymous()) {
- anonymousServices.add(serviceEntry);
- } else {
- namedServices.put(desc.getKey(), serviceEntry);
- }
- }
- }
-
- /**
- * Init all services provided in the list
- *
- * @param toStart
- * List of services to init.
- * @param errors
- *
- * @throws ServiceMultiException
- * If an error occure during the process
- *
- * @throws ServiceException
- * If a service can't be started.
- */
- private void initServices(List<ServiceStartupEntry> toStart, ServiceMultiException errors) throws ServiceMultiException {
-
- // Loop on all services
- for (ServiceStartupEntry serviceEntry : toStart) {
- try {
-
- serviceEntry.initService(this);
- } catch (ServiceException e) {
- log.log(Level.SEVERE, "Can't initialize service '" + serviceEntry + "'", e); //$NON-NLS-1$ //$NON-NLS-2$
- errors.addException(serviceEntry.getDescriptor().getKey(), e);
- }
- }
-
- }
-
- /**
- * Init all services provided in the list
- *
- * @param toStart
- * List of services to init.
- * @param errors
- *
- * @throws ServiceMultiException
- * If an error occure during the process
- *
- * @throws ServiceException
- * If a service can't be started.
- */
- private void startServices(List<ServiceStartupEntry> toStart, ServiceMultiException errors) throws ServiceMultiException {
-
- // Loop on all services
- for (ServiceStartupEntry serviceEntry : toStart) {
- try {
-
- serviceEntry.startService();
- } catch (ServiceException e) {
- log.log(Level.SEVERE, "Can't start service '" + serviceEntry + "'", e); //$NON-NLS-1$ //$NON-NLS-2$
-
- errors.addException(serviceEntry.getDescriptor().getKey(), e);
- }
- }
-
- }
-
- /**
- * Dispose all started services.
- * Services are disposed in creation reverse order
- *
- * @throws ServiceMultiException
- *
- * @throws ServiceException
- * If a service can't be started.
- */
- private void disposeServices(Collection<ServiceStartupEntry> services, ServiceMultiException errors) {
-
- // Dispose services
- for (ServiceStartupEntry serviceEntry : services) {
- try {
- serviceEntry.disposeService();
- } catch (ServiceException e) {
- log.log(Level.SEVERE, "Can't dispose service '" + serviceEntry.getDescriptor().getKey() + "'", e); //$NON-NLS-1$ //$NON-NLS-2$
- errors.addException(serviceEntry.getDescriptor(), e);
- }
- }
- }
-
- /**
- * This class represents a union of two maps of <String,
- * ServiceStartupEntry>. It provide specific methods to retrieve a {@link ServiceStartupEntry} by its key. <br>
- * This class is used to lookup {@link ServiceStartupEntry} in multiple namespaces (2 maps, and then registries).
- *
- *
- * @author cedric dumoulin
- *
- */
- private class LookupMap {
-
- Map<String, ServiceStartupEntry> map1;
-
- Map<String, ServiceStartupEntry> map2;
-
- // additional service registries into which we should search
- List<ServicesRegistry> registries;
-
- /**
- *
- * Constructor. Build a union of two maps.
- *
- * @param map1
- * @param map2
- */
- public LookupMap(Map<String, ServiceStartupEntry> map1, Map<String, ServiceStartupEntry> map2) {
- this.map1 = map1;
- this.map2 = map2;
- }
-
- public LookupMap(Map<String, ServiceStartupEntry> space1, Map<String, ServiceStartupEntry> space2, List<ServicesRegistry> registries) {
- this(space1, space2);
- this.registries = registries;
- }
-
- /**
- *
- * Constructor. Build a union of one map (sic).
- *
- * @param map
- */
- @SuppressWarnings("unused")
- public LookupMap(Map<String, ServiceStartupEntry> map) {
- this(map, null);
- }
-
- /**
- * Get a service by its key.
- *
- * @param key
- * @return the service or null if not found.
- */
- @SuppressWarnings("unused")
- public ServiceStartupEntry get(String key) {
-
- ServiceStartupEntry res = map1.get(key);
- if (res != null) {
- return res;
- }
- if (map2 != null) {
- res = map2.get(key);
- }
- if (res == null && registries != null) {
- // lookup in registries
- res = getFromRegistries(key);
- }
-
- return res;
- }
-
- /**
- * Get a service by its key.
- *
- * @param key
- * @return The requested service.
- * @throws ServiceNotFoundException
- * if the service can't be found.
- */
- public ServiceStartupEntry getChecked(String key) throws ServiceNotFoundException {
-
- ServiceStartupEntry res = map1.get(key);
- if (res != null) {
- return res;
- }
- if (map2 != null) {
- res = map2.get(key);
- }
- if (res == null && registries != null) {
- // lookup in registries
- res = getFromRegistries(key);
- }
- if (res != null) {
- return res;
- }
-
- throw new ServiceNotFoundException("No service found under key '" + key.toString() + "'"); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- /**
- * Try to get the entry from the registries.
- *
- * @param key
- * @return
- */
- private ServiceStartupEntry getFromRegistries(String key) {
-
- ServiceStartupEntry service;
- // Lookup in parents
- for (ServicesRegistry registry : registries) {
- service = registry.getServiceStartupEntry(key);
- if (service != null) {
- return service;
- }
- }
-
- return null;
- }
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServicesRegistryFactoryFromExtensions.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServicesRegistryFactoryFromExtensions.java
deleted file mode 100644
index 58507dc5e16..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/ServicesRegistryFactoryFromExtensions.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry;
-
-
-/**
- * Factory used to create and populate a {@link ServicesRegistry} from declarations in Eclipse extensions.
- *
- * @author cedric dumoulin
- *
- */
-public class ServicesRegistryFactoryFromExtensions {
-
- /**
- * Instance that can be used to create Registries.
- */
- public static ServicesRegistryFactoryFromExtensions instance = new ServicesRegistryFactoryFromExtensions();
-
-
- /**
- * Create a new {@link ServicesRegistry} and initialized it from the configuration found in the
- * eclipse extension under the specified name.
- *
- * @param registryName
- * The name of the configuration to use to initialize the registry.
- * @return A new ServicesRegistry initialized according to the specified configuration.
- */
- public ServicesRegistry createServicesRegistry(String registryName) throws ServiceException {
-
- // Create registry
- ServicesRegistry registry = new ServicesRegistry();
- // Load its configuration
- loadServicesRegistryConfiguration(registry, registryName);
- // Start the registry
- registry.startNewServices();
- return registry;
- }
-
- /**
- * Update the specified {@link ServicesRegistry} with the specified configuration. The configuration is read from
- * the eclipse extension "registry". <br>
- * The services found into the specified configuration are added to the registry if they are not
- * already present. <br>
- * The services are started.
- *
- * @param registry
- * The registry to update.
- * @param registryName
- * The name of the configuration to use to update the registry.
- *
- * @return
- */
- public ServicesRegistry updateServicesRegistry(ServicesRegistry registry, String registryName) throws ServiceException {
- // Load its configuration
- loadServicesRegistryConfiguration(registry, registryName);
- // Start the registry
- registry.startNewServices();
- return registry;
- }
-
- /**
- * Load the specified configuration into the {@link ServicesRegistry}. Do not start the services.
- *
- * @param registry
- * The registry to update
- * @param registryName
- * The name of the configuration to load.
- * @throws ServiceException
- */
- public void loadServicesRegistryConfiguration(ServicesRegistry registry, String registryName) throws ServiceException {
-
- }
-
- /**
- * Add the services to the {@link ServicesRegistry}. Do not start them. Services descriptions are loaded from
- * the specified servicesSetName in the eclipse extensions "servicesSet".
- *
- * @param registry
- * The registry to populate
- * @param servicesSetName
- * The set to load
- * @throws ServiceException
- * If a error occurs.
- */
- public void addNewServices(ServicesRegistry registry, String serviceSetName) throws ServiceException {
-
- }
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/InjectService.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/InjectService.java
deleted file mode 100644
index 76c7e818fb3..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/InjectService.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry.annotations;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-
-/**
- * @author cedric dumoulin
- *
- */
-// Annotation accessible at runtime
-@Retention(RetentionPolicy.RUNTIME)
-// Annotation associated to elements:
-@Target({ ElementType.FIELD, ElementType.METHOD })
-public @interface InjectService {
-
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/Service.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/Service.java
deleted file mode 100644
index 14e9178920c..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/Service.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry.annotations;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-
-/**
- * @author cedric dumoulin
- *
- */
-// Annotation accessible at runtime
-@Retention(RetentionPolicy.RUNTIME)
-// Annotation associated to (Class, interface)
-@Target(ElementType.TYPE)
-public @interface Service {
-
- /**
- * Constant used to specify that the id is not set by the user.
- */
- static String ID_NOT_SET = "";
-
- /**
- * Possible type of startup.
- */
- public enum StartupKind {
- lazy, startup
- }
-
- /*
- * Service Id
- */
- String id() default ID_NOT_SET;
-
- /**
- * Kind of startup requested for the service.
- *
- * @return
- */
- StartupKind startupKind() default StartupKind.lazy;
-
- /**
- * Service priority level. Default is 0.
- *
- * @return
- */
- int priority() default 0;
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/ServiceFactory.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/ServiceFactory.java
deleted file mode 100644
index cc97907af40..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/annotations/ServiceFactory.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry.annotations;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.annotations.Service.StartupKind;
-
-
-
-/**
- * @author cedric dumoulin
- *
- */
-// Annotation accessible at runtime
-@Retention(RetentionPolicy.RUNTIME)
-// Annotation associated to (Class, interface)
-@Target(ElementType.TYPE)
-public @interface ServiceFactory {
-
- /*
- * Service Id
- */
- String id() default Service.ID_NOT_SET;
-
- /**
- * Kind of startup requested for the service.
- *
- * @return
- */
- StartupKind startupKind() default StartupKind.lazy;
-
- /**
- * Service priority level. Default is 0.
- *
- * @return
- */
- int priority() default 0;
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/AliasServiceEntry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/AliasServiceEntry.java
deleted file mode 100644
index 42ebcf8d508..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/AliasServiceEntry.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/**
- *
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceDescriptor;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceState;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServicesRegistry;
-
-/**
- * An alias can be used to access a service using another name.
- *
- * @author cedric dumoulin
- */
-public class AliasServiceEntry extends ServiceTypeEntry {
-
- /** The real service entry. */
- // private ServiceTypeEntry referencedService;
-
- /** The instance of the real service. */
- private Object serviceInstance;
-
- /**
- * Constructor.
- *
- * @param serviceDescriptor
- */
- public AliasServiceEntry(ServiceDescriptor serviceDescriptor) {
- super(serviceDescriptor);
- setState(ServiceState.registered);
- }
-
- /**
- * Get the service instance.
- *
- * @return
- * @throws ServiceException
- * If service can't be started.
- */
- @Override
- public Object getServiceInstance() throws ServiceException {
-
- checkState(ServiceState.started);
-
- return serviceInstance;
- }
-
- /**
- * Already created : do nothing.
- *
- * @throws ServiceException
- */
- @Override
- public void createService() throws ServiceException {
- checkState(ServiceState.registered);
-
- setState(ServiceState.created);
- }
-
- /**
- * Try to get the instance of the referenced service.
- *
- * @param servicesRegistry
- * The servicesRegistry containing this service.
- *
- * @throws ServiceException
- */
- @Override
- public void initService(ServicesRegistry servicesRegistry) throws ServiceException {
- checkState(ServiceState.created);
- try {
- String referencedServiceKey = getDescriptor().getRequiredServiceKeys().get(0);
- serviceInstance = servicesRegistry.getService(referencedServiceKey);
- } catch (ServiceException e) {
- setState(ServiceState.error);
- throw e;
- } catch (Exception e) {
- setState(ServiceState.error);
- throw new ServiceException(e);
- }
- setState(ServiceState.initialized);
- }
-
- /**
- * Already started : do nothing.
- *
- * @throws ServiceException
- */
- @Override
- public void startService() throws ServiceException {
- setState(ServiceState.started);
- }
-
- /**
- * Dispose the alias.
- * The referenced service is not disposed
- */
- @Override
- public void disposeService() throws ServiceException {
-
- serviceInstance = null;
- setState(ServiceState.disposed);
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/BadDeclarationException.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/BadDeclarationException.java
deleted file mode 100644
index 345153dab94..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/BadDeclarationException.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 Cedric Dumoulin.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.DeclarationException;
-
-
-/**
- * @author cedric dumoulin
- *
- */
-public class BadDeclarationException extends DeclarationException {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- *
- */
- public BadDeclarationException() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- */
- public BadDeclarationException(String message) {
- super(message);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param cause
- */
- public BadDeclarationException(Throwable cause) {
- super(cause);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- * @param cause
- */
- public BadDeclarationException(String message, Throwable cause) {
- super(message, cause);
- // TODO Auto-generated constructor stub
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ErrorServiceTypeEntry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ErrorServiceTypeEntry.java
deleted file mode 100644
index 0159175215b..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ErrorServiceTypeEntry.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- *
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.BadStateException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceDescriptor;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceState;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServicesRegistry;
-
-/**
- * A service entry used for faulty services. In this implementation, methods do
- * nothings or throw an error.
- *
- *
- * @author cedric dumoulin
- *
- */
-public class ErrorServiceTypeEntry extends ServiceTypeEntry {
-
- /**
- * The original service descriptor.
- */
- private ServiceDescriptor descriptor;
-
- /**
- *
- * Constructor.
- *
- * @param descriptor
- */
- public ErrorServiceTypeEntry(ServiceDescriptor descriptor) {
- super(descriptor);
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceTypeEntry#getServiceInstance()
- *
- * @return
- * @throws ServiceException
- */
- @Override
- public Object getServiceInstance() throws ServiceException {
- throw new BadStateException("Service has not started.", ServiceState.error, descriptor);
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceTypeEntry#createService()
- *
- * @throws ServiceException
- */
- @Override
- public void createService() throws ServiceException {
- // do nothing
-
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceTypeEntry#initService(ServicesRegistry)
- *
- * @param servicesRegistry
- * @throws ServiceException
- */
- @Override
- public void initService(ServicesRegistry servicesRegistry) throws ServiceException {
- // do nothing
-
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceTypeEntry#startService()
- *
- * @throws ServiceException
- */
- @Override
- public void startService() throws ServiceException {
- // do nothing
-
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceTypeEntry#disposeService()
- *
- * @throws ServiceException
- */
- @Override
- public void disposeService() throws ServiceException {
- // do nothing
-
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/LazyStartupEntry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/LazyStartupEntry.java
deleted file mode 100644
index 17533dd40c5..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/LazyStartupEntry.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- *
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.IService;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceState;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServicesRegistry;
-
-/**
- * An ServiceEntry managing {@link IService} registered as lazy start.
- *
- * @author cedric dumoulin
- *
- */
-public class LazyStartupEntry extends ServiceStartupEntry {
-
- protected ServicesRegistry registry;
-
- /**
- * Constructor.
- *
- * @param serviceDescriptor
- * @param registry
- */
- public LazyStartupEntry(ServiceTypeEntry serviceEntry, ServicesRegistry registry) {
-
- super(serviceEntry);
- this.registry = registry;
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceStartupEntry#getServiceInstance()
- *
- * @return
- * @throws ServiceException
- */
- @Override
- public Object getServiceInstance() throws ServiceException {
- if (serviceEntry.getState() == ServiceState.registered) {
- // Start the service
- try {
- serviceEntry.createService();
- serviceEntry.initService(registry);
- serviceEntry.startService();
- } catch (Exception e) {
- // There was an error. The service is in error
- serviceEntry = new ErrorServiceTypeEntry(serviceEntry.getDescriptor());
- }
- }
-
- // Return the instance
- return serviceEntry.getServiceInstance();
- }
-
- /**
- * Do nothing
- *
- * @throws ServiceException
- */
- @Override
- public void createService() throws ServiceException {
- }
-
- /**
- * Do nothing
- *
- * @param servicesRegistry
- * @throws ServiceException
- */
- @Override
- public void initService(ServicesRegistry servicesRegistry) throws ServiceException {
- }
-
- /**
- * Do nothing.
- *
- * @throws ServiceException
- */
- @Override
- public void startService() throws ServiceException {
- }
-
- /**
- * @see org.eclipse.papyrus.infra.core.serviceregistry.AbstractServiceEntry#disposeService()
- *
- * @throws ServiceException
- */
- @Override
- public void disposeService() throws ServiceException {
- serviceEntry.disposeService();
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/PojoServiceEntry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/PojoServiceEntry.java
deleted file mode 100644
index a8369c2d609..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/PojoServiceEntry.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
- *
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.BadStateException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceDescriptor;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceState;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServicesRegistry;
-
-/**
- * Entry for a service provided as POJO.
- *
- *
- * @author cedric dumoulin
- */
-public class PojoServiceEntry extends ServiceTypeEntry {
-
- /** Instance of the service, if started. */
- private Object serviceInstance;
-
- /**
- * Constructor.
- *
- * @param serviceDescriptor
- */
- public PojoServiceEntry(ServiceDescriptor serviceDescriptor) {
- super(serviceDescriptor);
- setState(ServiceState.registered);
- }
-
- /**
- * Create an entry for an already created service. Constructor.
- *
- * @param descriptor
- * Descriptor of the service. Key and priority should be set.
- * @param serviceInstance
- * The service Instance
- */
- public PojoServiceEntry(ServiceDescriptor descriptor, Object serviceInstance) {
- super(descriptor);
- this.serviceInstance = serviceInstance;
- setState(ServiceState.registered);
- }
-
- /**
- * Get the service instance.
- *
- * @return
- * @throws ServiceException
- * If service can't be started.
- */
- @Override
- public Object getServiceInstance() throws ServiceException {
-
- if (serviceInstance == null) {
- throw new BadStateException("Service is not created.", state, serviceDescriptor);
- }
-
- return serviceInstance;
- }
-
- /**
- * Already created : do nothing.
- *
- * @throws ServiceException
- */
- @Override
- public void createService() throws ServiceException {
- checkState(ServiceState.registered);
- // Exit if already created.
- if (serviceInstance != null) {
- setState(ServiceState.created);
- return;
- }
-
- // Create it
- try {
- // Create the instance
- serviceInstance = instanciateService();
- } catch (Exception e) {
- setState(ServiceState.error);
- throw new ServiceException(e);
- }
- setState(ServiceState.created);
- }
-
- /**
- * Pojo : can't initialize the service. Do nothing.
- *
- * @param servicesRegistry
- * The servicesRegistry containing this service.
- *
- * @throws ServiceException
- */
- @Override
- public void initService(ServicesRegistry servicesRegistry) throws ServiceException {
- setState(ServiceState.initialized);
- }
-
- /**
- * Already started : do nothing.
- *
- * @throws ServiceException
- */
- @Override
- public void startService() throws ServiceException {
- setState(ServiceState.started);
- }
-
- /**
- * Do nothing.
- */
- @Override
- public void disposeService() throws ServiceException {
- if (serviceInstance == null) {
- return;
- }
-
- serviceInstance = null;
- setState(ServiceState.disposed);
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceEntry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceEntry.java
deleted file mode 100644
index 54e30e043d4..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceEntry.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/**
- *
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.BadStateException;
-import org.eclipse.papyrus.infra.core.serviceregistry.IService;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceDescriptor;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceState;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServicesRegistry;
-
-/**
- * Entry of a Service implementing {@link IService}. This class provide methods
- * to manage the Service life cycle.
- *
- * @author cedric dumoulin
- *
- */
-public class ServiceEntry extends ServiceTypeEntry {
-
- /** Instance of the service, if started. */
- private IService serviceInstance;
-
- /**
- * Constructor.
- *
- * @param serviceDescriptor
- * @param registry
- */
- public ServiceEntry(ServiceDescriptor serviceDescriptor) {
- super(serviceDescriptor);
- setState(ServiceState.registered);
-
- }
-
- /**
- * Create an entry for an already created service. Constructor.
- *
- * @param descriptor
- * Descriptor of the service. Key and priority should be set.
- * @param serviceInstance
- * The service Instance
- */
- public ServiceEntry(ServiceDescriptor descriptor, IService serviceInstance) {
- super(descriptor);
- this.serviceInstance = serviceInstance;
- setState(ServiceState.registered);
- }
-
- /**
- * Get the service instance, even if it is not started. The service should
- * be created.
- *
- * @return
- * @throws ServiceException
- * If service can't be started.
- */
- @Override
- public Object getServiceInstance() throws ServiceException {
-
- if (serviceInstance == null) {
- throw new BadStateException("Service is not created.", state, serviceDescriptor);
- }
-
- return serviceInstance;
-
- }
-
- /**
- * @see java.lang.Object#toString()
- * @return
- *
- */
- @Override
- public String toString() {
- return "ServiceEntry [serviceDescriptor=" + serviceDescriptor.toString() + ", serviceInstance=" + serviceInstance + "]";
- }
-
- /**
- * Create the associated service if not a Lazy Service.
- *
- * @throws ServiceException
- */
- @Override
- public void createService() throws ServiceException {
- checkState(ServiceState.registered);
- // Exit if already created.
- if (serviceInstance != null) {
- setState(ServiceState.created);
- return;
- }
-
- // Create it
- try {
- // Create the instance
- serviceInstance = (IService) instanciateService();
- } catch (Exception e) {
- setState(ServiceState.error);
- throw new ServiceException(e);
- }
- setState(ServiceState.created);
- }
-
- /**
- * Start the associated service if not a Lazy Service.
- *
- * @param servicesRegistry
- * The servicesRegistry containing this service.
- *
- * @throws ServiceException
- */
- @Override
- public void initService(ServicesRegistry servicesRegistry) throws ServiceException {
- checkState(ServiceState.created);
- try {
- serviceInstance.init(servicesRegistry);
- } catch (ServiceException e) {
- setState(ServiceState.error);
- throw e;
- } catch (Exception e) {
- setState(ServiceState.error);
- throw new ServiceException(e);
- }
-
- setState(ServiceState.initialized);
- }
-
- /**
- * Start the associated service if not a Lazy Service.
- *
- * @throws ServiceException
- */
- @Override
- public void startService() throws ServiceException {
-
- checkState(ServiceState.initialized);
- setState(ServiceState.starting);
-
- try {
- serviceInstance.startService();
- } catch (ServiceException e) {
- setState(ServiceState.error);
- throw e;
- } catch (Exception e) {
- setState(ServiceState.error);
- throw new ServiceException(e);
- }
-
- setState(ServiceState.started);
- }
-
- /**
- * Dispose the service.
- */
- @Override
- public void disposeService() throws ServiceException {
- if (serviceInstance == null) {
- return;
- }
-
- serviceInstance.disposeService();
- serviceInstance = null;
- setState(ServiceState.disposed);
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceFactoryEntry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceFactoryEntry.java
deleted file mode 100644
index 5ba67435954..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceFactoryEntry.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/**
- *
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.BadStateException;
-import org.eclipse.papyrus.infra.core.serviceregistry.IServiceFactory;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceDescriptor;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceState;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServicesRegistry;
-
-/**
- * Entry of a Service implementing {@link IServiceFactory}. This class provide
- * methods to manage the Service life cycle.
- *
- * @author cedric dumoulin
- *
- */
-public class ServiceFactoryEntry extends ServiceTypeEntry {
-
- /** Instance of the service, if started. */
- private Object serviceInstance;
-
- /** Instance of the factory, if created. */
- private IServiceFactory factoryInstance;
-
- /**
- * Constructor.
- *
- * @param serviceDescriptor
- * @param registry
- */
- public ServiceFactoryEntry(ServiceDescriptor serviceDescriptor) {
- super(serviceDescriptor);
- setState(ServiceState.registered);
- }
-
- /**
- * Create an entry for an already created service. Constructor.
- *
- * @param descriptor
- * Descriptor of the service. Key and priority should be set.
- * @param serviceInstance
- * The service Instance
- */
- public ServiceFactoryEntry(ServiceDescriptor descriptor, IServiceFactory factoryInstance) {
- super(descriptor);
- this.factoryInstance = factoryInstance;
- setState(ServiceState.registered);
- }
-
- /**
- * Get the service instance, even if it is not started. The service should
- * be created.
- *
- * @return
- * @throws ServiceException
- * If service can't be started.
- */
- @Override
- public Object getServiceInstance() throws ServiceException {
-
- if (factoryInstance == null) {
- throw new BadStateException("Service is not available (state=" + state.toString() + "). ", state, serviceDescriptor);
-
- }
- // Get the service instance if needed.
- if (serviceInstance == null) {
- serviceInstance = factoryInstance.createServiceInstance();
- if (serviceInstance == null) {
- throw new ServiceException("Service Factory '" + getDescriptor().getKey() + " return a null service. It should return a valid service.");
- }
- }
-
- return serviceInstance;
-
- }
-
- /**
- * @see java.lang.Object#toString()
- * @return
- *
- */
- @Override
- public String toString() {
- return "ServiceEntry [serviceDescriptor=" + serviceDescriptor.toString() + ", serviceInstance=" + serviceInstance + "]";
- }
-
- /**
- * Create the associated service if not a Lazy Service.
- *
- * @throws ServiceException
- */
- @Override
- public void createService() throws ServiceException {
- checkState(ServiceState.registered);
- // Exit if already created.
- if (factoryInstance != null) {
- setState(ServiceState.created);
- return;
- }
-
- // Create it
- try {
- // Create the instance
- factoryInstance = (IServiceFactory) instanciateService();
- } catch (Exception e) {
- setState(ServiceState.error);
- throw new ServiceException(e);
- }
- setState(ServiceState.created);
- }
-
- /**
- * Start the associated service if not a Lazy Service.
- *
- * @param servicesRegistry
- * The servicesRegistry containing this service.
- *
- * @throws ServiceException
- */
- @Override
- public void initService(ServicesRegistry servicesRegistry) throws ServiceException {
- checkState(ServiceState.created);
- try {
- factoryInstance.init(servicesRegistry);
- } catch (ServiceException e) {
- setState(ServiceState.error);
- throw e;
- } catch (Exception e) {
- setState(ServiceState.error);
- throw new ServiceException(e);
- }
-
- setState(ServiceState.initialized);
- }
-
- /**
- * Start the associated service if not a Lazy Service.
- *
- * @throws ServiceException
- */
- @Override
- public void startService() throws ServiceException {
-
- checkState(ServiceState.initialized);
- setState(ServiceState.starting);
-
- try {
- factoryInstance.startService();
- } catch (ServiceException e) {
- setState(ServiceState.error);
- throw e;
- } catch (Exception e) {
- setState(ServiceState.error);
- throw new ServiceException(e);
- }
-
- setState(ServiceState.started);
- }
-
- /**
- * Dispose the service.
- */
- @Override
- public void disposeService() throws ServiceException {
- if (factoryInstance == null) {
- return;
- }
-
- factoryInstance.disposeService();
- factoryInstance = null;
- serviceInstance = null;
- setState(ServiceState.disposed);
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceStartupEntry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceStartupEntry.java
deleted file mode 100644
index 6fdcf1e0fb6..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceStartupEntry.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/**
- *
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceDescriptor;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceState;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServicesRegistry;
-
-/**
- * Base class for the different types of service startups (lazy, synchronized).
- *
- * @author cedric dumoulin
- *
- */
-public abstract class ServiceStartupEntry {
-
- /**
- * The ServiceEntry, according to its type.
- */
- protected ServiceTypeEntry serviceEntry;
-
- /**
- * Entries of Services required by this service.
- */
- protected List<ServiceStartupEntry> requiredServices;
-
- /**
- *
- * Constructor.
- *
- * @param serviceDescriptor
- */
- public ServiceStartupEntry(ServiceTypeEntry serviceEntry) {
- this.serviceEntry = serviceEntry;
- }
-
- /**
- * Create the associated service if not a Lazy Service.
- *
- * @throws ServiceException
- */
- abstract public void createService() throws ServiceException;
-
- /**
- * Init the associated service if not a Lazy Service.
- *
- * @param servicesRegistry
- * The servicesRegistry containing this service.
- *
- * @throws ServiceException
- */
- abstract public void initService(ServicesRegistry servicesRegistry) throws ServiceException;
-
- /**
- * Start the associated service if not a Lazy Service.
- *
- * @throws ServiceException
- */
- abstract public void startService() throws ServiceException;
-
- /**
- * Get the service instance.
- *
- * @return
- * @throws ServiceException
- */
- abstract public Object getServiceInstance() throws ServiceException;
-
- /**
- * Dispose associated service.
- */
- abstract public void disposeService() throws ServiceException;
-
- /**
- * Return the list of the {@link ServiceStartupEntry} required by this
- * service.
- *
- * @return
- */
- public Collection<ServiceStartupEntry> getRequiredServices() {
-
- throw new UnsupportedOperationException("Not yet implemented");
- // return requiredServices;
- }
-
- /**
- * Get {@link ServiceDescriptor} associated to this entry.
- *
- * @return
- */
- public ServiceDescriptor getDescriptor() {
- return serviceEntry.getDescriptor();
- }
-
- /**
- * @return the state of the service
- */
- public ServiceState getState() {
- return serviceEntry.getState();
- }
-
- /**
- * Return true if the service is started. Return false otherwise.
- *
- * @return
- */
- public boolean isStarted() {
- return serviceEntry.isStarted();
- }
-
- /**
- *
- * @see java.lang.Object#toString()
- *
- * @return
- */
- @Override
- public String toString() {
- return super.toString() + ": key=" + getDescriptor().getKey();
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceTypeEntry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceTypeEntry.java
deleted file mode 100644
index ce459d9fc7d..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/ServiceTypeEntry.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/**
- *
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.papyrus.infra.core.serviceregistry.BadStateException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceDescriptor;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceState;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServicesRegistry;
-import org.osgi.framework.Bundle;
-
-/**
- * Base class for the different types of service entries (PoJo, Service,
- * ServiceFactory, ...).
- *
- * @author cedric dumoulin
- */
-public abstract class ServiceTypeEntry {
-
- /**
- * Current state of the service.
- */
- protected ServiceState state = ServiceState.registered;
-
- /**
- * Descriptor of the service associated to this entry.
- */
- protected ServiceDescriptor serviceDescriptor;
-
- /**
- *
- * Constructor.
- *
- */
- public ServiceTypeEntry(ServiceDescriptor serviceDescriptor) {
- this.serviceDescriptor = serviceDescriptor;
- }
-
- /**
- * Change the state of the service.
- *
- * @param newState
- */
- protected void setState(ServiceState newState) {
- state = newState;
- }
-
- /**
- * @return the state
- */
- public ServiceState getState() {
- return state;
- }
-
- /**
- * Check if the current state is the proposed state. Throws an exception if
- * the state is different.
- *
- * @param expectedState
- * @throws BadStateException
- */
- protected void checkState(ServiceState expectedState) throws BadStateException {
- if (expectedState != state) {
- throw new BadStateException(expectedState, state, serviceDescriptor);
- }
- }
-
- /**
- * Get the descriptor of the service associated to this entry.
- *
- * @return
- */
- public ServiceDescriptor getDescriptor() {
- return serviceDescriptor;
- }
-
- /**
- * Instanciate the service as specified in serviceClassname.
- *
- * @return the created service.
- * @throws ServiceException
- */
- protected Object instanciateService() throws ServiceException {
-
- // Load the Class of the service
- String serviceClassname = serviceDescriptor.getServiceClassname();
- Class<?> classname = loadClass();
-
- // Try to get the one arg constructor.
- // This require the ServiceRegistry. Old stuff, not more used.
- // try {
- // Constructor<?> constructor =
- // classname.getConstructor(ServicesRegistry.class);
- // return constructor.newInstance(registry);
- // } catch (SecurityException e) {
- // // Do nothing, try next constructor
- // } catch (NoSuchMethodException e) {
- // // Do nothing, try next constructor
- // } catch (IllegalArgumentException e) {
- // throw new ServiceException("Can't instanciate '" + serviceClassname +
- // "' with args ServicesRegistry.", e);
- // } catch (InstantiationException e) {
- // throw new ServiceException("Can't instanciate '" + serviceClassname +
- // "' with args ServicesRegistry.", e);
- // } catch (IllegalAccessException e) {
- // throw new ServiceException("Can't instanciate '" + serviceClassname +
- // "' with args ServicesRegistry.", e);
- // } catch (InvocationTargetException e) {
- // throw new ServiceException("Can't instanciate '" + serviceClassname +
- // "' with args ServicesRegistry.", e);
- // }
-
- // Try with zero arg constructor.
- try {
- return classname.newInstance();
- } catch (SecurityException e) {
- throw new ServiceException("Can't instanciate '" + serviceClassname + "' with zero args.", e);
- } catch (IllegalArgumentException e) {
- throw new ServiceException("Can't instanciate '" + serviceClassname + "' with zero args.", e);
- } catch (InstantiationException e) {
- throw new ServiceException("Can't instanciate '" + serviceClassname + "' with zero args.", e);
- } catch (IllegalAccessException e) {
- throw new ServiceException("Can't instanciate '" + serviceClassname + "' with zero args.", e);
- }
- }
-
- /**
- * Load the Class object. Try from current ClassLoader, then try using the
- * plugin referenced in the serviceDescriptor.PluginId
- *
- * @return
- * @throws ServiceException
- */
- private Class<?> loadClass() throws ServiceException {
- String serviceClassname = serviceDescriptor.getServiceClassname();
- Class<?> serviceClass;
- try {
- serviceClass = Class.forName(serviceClassname);
- } catch (ClassNotFoundException e1) {
- // Try using bundle
- try {
- String bundleID = serviceDescriptor.getClassBundleID();
- Bundle bundle = Platform.getBundle(bundleID);
- serviceClass = bundle.loadClass(serviceClassname);
- } catch (ClassNotFoundException e2) {
- throw new ServiceException("Can't find class for the name '" + serviceClassname + "'.", e2);
- }
- }
-
- return serviceClass;
- }
-
- /**
- * Return true if the service is started. Return false otherwise.
- *
- * @return
- */
- public boolean isStarted() {
- return state == ServiceState.started;
- }
-
- /**
- * Get the service instance.
- *
- * @return
- * @throws ServiceException
- */
- abstract public Object getServiceInstance() throws ServiceException;
-
- /**
- * Create the associated service if not a Lazy Service.
- *
- * @throws ServiceException
- */
- abstract public void createService() throws ServiceException;
-
- /**
- * Start the associated service if not a Lazy Service.
- *
- * @param servicesRegistry
- * The servicesRegistry containing this service.
- *
- * @throws ServiceException
- */
- abstract public void initService(ServicesRegistry servicesRegistry) throws ServiceException;
-
- /**
- * Start the associated service if not a Lazy Service.
- *
- * @throws ServiceException
- */
- abstract public void startService() throws ServiceException;
-
- /**
- * Dispose associated service.
- */
- abstract public void disposeService() throws ServiceException;
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/StartStartupEntry.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/StartStartupEntry.java
deleted file mode 100644
index 72d845347b6..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/internal/StartStartupEntry.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- *
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.internal;
-
-import org.eclipse.papyrus.infra.core.serviceregistry.IService;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServiceException;
-import org.eclipse.papyrus.infra.core.serviceregistry.ServicesRegistry;
-
-/**
- * An ServiceEntry managing {@link IService} that should be started when the
- * registry is started.
- *
- * @author cedric dumoulin
- *
- */
-public class StartStartupEntry extends ServiceStartupEntry {
-
- /**
- * Constructor.
- *
- * @param serviceDescriptor
- * @param registry
- */
- public StartStartupEntry(ServiceTypeEntry serviceEntry) {
- super(serviceEntry);
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.internal.ServiceStartupEntry#getServiceInstance()
- *
- * @return
- * @throws ServiceException
- */
- @Override
- public Object getServiceInstance() throws ServiceException {
- // Return the instance
- return serviceEntry.getServiceInstance();
- }
-
- /**
- * Do nothing
- *
- * @throws ServiceException
- */
- @Override
- public void createService() throws ServiceException {
- serviceEntry.createService();
- }
-
- /**
- * Do nothing
- *
- * @param servicesRegistry
- * @throws ServiceException
- */
- @Override
- public void initService(ServicesRegistry servicesRegistry) throws ServiceException {
- serviceEntry.initService(servicesRegistry);
- }
-
- /**
- * Do nothing.
- *
- * @throws ServiceException
- */
- @Override
- public void startService() throws ServiceException {
- serviceEntry.startService();
- }
-
- /**
- * @see org.eclipse.papyrus.infra.core.serviceregistry.AbstractServiceEntry#disposeService()
- *
- * @throws ServiceException
- */
- @Override
- public void disposeService() throws ServiceException {
- serviceEntry.disposeService();
- }
-
-}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AbstractMethodInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AbstractMethodInjection.java
deleted file mode 100644
index 4e9b128f348..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AbstractMethodInjection.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Abstract Method Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection#getParameters <em>Parameters</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractMethodInjection()
- * @model abstract="true"
- * @generated
- */
-public interface AbstractMethodInjection extends FeatureInjection {
- /**
- * Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parameters</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Parameters</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractMethodInjection_Parameters()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<ParameterInjection> getParameters();
-
-} // AbstractMethodInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AbstractServiceDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AbstractServiceDesc.java
deleted file mode 100644
index 2c435cef344..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AbstractServiceDesc.java
+++ /dev/null
@@ -1,205 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Abstract Service Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDependsOn <em>Depends On</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getPriority <em>Priority</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getBundleID <em>Bundle ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getParent <em>Parent</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDependsOnIds <em>Depends On Ids</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractServiceDesc()
- * @model abstract="true"
- * @generated
- */
-public interface AbstractServiceDesc extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractServiceDesc_Name()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Depends On</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Depends On</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Depends On</em>' reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractServiceDesc_DependsOn()
- * @model ordered="false"
- * @generated
- */
- EList<AbstractServiceDesc> getDependsOn();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractServiceDesc_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * Returns the value of the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Priority</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Priority</em>' attribute.
- * @see #setPriority(int)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractServiceDesc_Priority()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.int" required="true" ordered="false"
- * @generated
- */
- int getPriority();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getPriority <em>Priority</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Priority</em>' attribute.
- * @see #getPriority()
- * @generated
- */
- void setPriority(int value);
-
- /**
- * Returns the value of the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Bundle ID</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Bundle ID</em>' attribute.
- * @see #setBundleID(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractServiceDesc_BundleID()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getBundleID();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getBundleID <em>Bundle ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Bundle ID</em>' attribute.
- * @see #getBundleID()
- * @generated
- */
- void setBundleID(String value);
-
- /**
- * Returns the value of the '<em><b>Parent</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getOwnedServices <em>Owned Services</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Parent</em>' container reference.
- * @see #setParent(ServiceSetDesc)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractServiceDesc_Parent()
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getOwnedServices
- * @model opposite="ownedServices" required="true" transient="false" ordered="false"
- * @generated
- */
- ServiceSetDesc getParent();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getParent <em>Parent</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Parent</em>' container reference.
- * @see #getParent()
- * @generated
- */
- void setParent(ServiceSetDesc value);
-
- /**
- * Returns the value of the '<em><b>Depends On Ids</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Depends On Ids</em>' attribute list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Depends On Ids</em>' attribute list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAbstractServiceDesc_DependsOnIds()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String"
- * @generated
- */
- EList<String> getDependsOnIds();
-
-} // AbstractServiceDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AliasDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AliasDesc.java
deleted file mode 100644
index 6035e6498f0..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/AliasDesc.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Alias Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc#getAliasedService <em>Aliased Service</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc#getAliasedServiceId <em>Aliased Service Id</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAliasDesc()
- * @model
- * @generated
- */
-public interface AliasDesc extends AbstractServiceDesc {
- /**
- * Returns the value of the '<em><b>Aliased Service</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Aliased Service</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Aliased Service</em>' reference.
- * @see #setAliasedService(ServiceDesc)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAliasDesc_AliasedService()
- * @model required="true" ordered="false"
- * @generated
- */
- ServiceDesc getAliasedService();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc#getAliasedService <em>Aliased Service</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Aliased Service</em>' reference.
- * @see #getAliasedService()
- * @generated
- */
- void setAliasedService(ServiceDesc value);
-
- /**
- * Returns the value of the '<em><b>Aliased Service Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Aliased Service Id</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Aliased Service Id</em>' attribute.
- * @see #setAliasedServiceId(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getAliasDesc_AliasedServiceId()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getAliasedServiceId();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc#getAliasedServiceId <em>Aliased Service Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Aliased Service Id</em>' attribute.
- * @see #getAliasedServiceId()
- * @generated
- */
- void setAliasedServiceId(String value);
-
-} // AliasDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ConstructorInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ConstructorInjection.java
deleted file mode 100644
index bea8cd843e3..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ConstructorInjection.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Constructor Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getConstructorInjection()
- * @model
- * @generated
- */
-public interface ConstructorInjection extends AbstractMethodInjection {
-} // ConstructorInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/Descriptors.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/Descriptors.java
deleted file mode 100644
index 40fb27383fc..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/Descriptors.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Descriptors</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getRegistries <em>Registries</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getServiceSets <em>Service Sets</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getDescriptors()
- * @model
- * @generated
- */
-public interface Descriptors extends EObject {
- /**
- * Returns the value of the '<em><b>Registries</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Registries</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Registries</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getDescriptors_Registries()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<RegistryDesc> getRegistries();
-
- /**
- * Returns the value of the '<em><b>Service Sets</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Service Sets</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Service Sets</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getDescriptors_ServiceSets()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<ServiceSetDesc> getServiceSets();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model required="true" ordered="false" nameDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" nameRequired="true" nameOrdered="false"
- * @generated
- */
- RegistryDesc getRegistryDesc(String name);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model required="true" ordered="false" nameDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" nameRequired="true" nameOrdered="false"
- * @generated
- */
- ServiceSetDesc getServiceSetDesc(String name);
-
-} // Descriptors
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/FeatureInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/FeatureInjection.java
deleted file mode 100644
index 2f6fa6a723f..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/FeatureInjection.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Feature Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getFeatureInjection()
- * @model abstract="true"
- * @generated
- */
-public interface FeatureInjection extends EObject {
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getFeatureInjection_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
-} // FeatureInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/InjectedService.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/InjectedService.java
deleted file mode 100644
index 388048527eb..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/InjectedService.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Injected Service</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService#getService <em>Service</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getInjectedService()
- * @model
- * @generated
- */
-public interface InjectedService extends InjectedValue {
- /**
- * Returns the value of the '<em><b>Service</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Service</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Service</em>' reference.
- * @see #setService(AbstractServiceDesc)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getInjectedService_Service()
- * @model required="true" ordered="false"
- * @generated
- */
- AbstractServiceDesc getService();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService#getService <em>Service</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Service</em>' reference.
- * @see #getService()
- * @generated
- */
- void setService(AbstractServiceDesc value);
-
-} // InjectedService
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/InjectedValue.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/InjectedValue.java
deleted file mode 100644
index 65e475ded67..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/InjectedValue.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Injected Value</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getInjectedValue()
- * @model abstract="true"
- * @generated
- */
-public interface InjectedValue extends EObject {
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getInjectedValue_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
-} // InjectedValue
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/MethodInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/MethodInjection.java
deleted file mode 100644
index fcdf5b3e59a..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/MethodInjection.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Method Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection#getMethodName <em>Method Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getMethodInjection()
- * @model
- * @generated
- */
-public interface MethodInjection extends AbstractMethodInjection {
- /**
- * Returns the value of the '<em><b>Method Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Method Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Method Name</em>' attribute.
- * @see #setMethodName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getMethodInjection_MethodName()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getMethodName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection#getMethodName <em>Method Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Method Name</em>' attribute.
- * @see #getMethodName()
- * @generated
- */
- void setMethodName(String value);
-
-} // MethodInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/OpaqueInjectedValue.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/OpaqueInjectedValue.java
deleted file mode 100644
index 0ddc385c417..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/OpaqueInjectedValue.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Opaque Injected Value</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getOpaqueInjectedValue()
- * @model
- * @generated
- */
-public interface OpaqueInjectedValue extends InjectedValue {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getOpaqueInjectedValue_Value()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
-} // OpaqueInjectedValue
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ParameterInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ParameterInjection.java
deleted file mode 100644
index 8b24c8024b0..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ParameterInjection.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Parameter Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection#getParameterName <em>Parameter Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getParameterInjection()
- * @model
- * @generated
- */
-public interface ParameterInjection extends EObject {
- /**
- * Returns the value of the '<em><b>Parameter Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parameter Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Parameter Name</em>' attribute.
- * @see #setParameterName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getParameterInjection_ParameterName()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getParameterName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection#getParameterName <em>Parameter Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Parameter Name</em>' attribute.
- * @see #getParameterName()
- * @generated
- */
- void setParameterName(String value);
-
- /**
- * Returns the value of the '<em><b>Values</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Values</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Values</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getParameterInjection_Values()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<InjectedValue> getValues();
-
-} // ParameterInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/PropertyInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/PropertyInjection.java
deleted file mode 100644
index 807162421d2..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/PropertyInjection.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Property Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection#getPropertyName <em>Property Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getPropertyInjection()
- * @model
- * @generated
- */
-public interface PropertyInjection extends FeatureInjection {
- /**
- * Returns the value of the '<em><b>Property Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Property Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Property Name</em>' attribute.
- * @see #setPropertyName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getPropertyInjection_PropertyName()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getPropertyName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection#getPropertyName <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Property Name</em>' attribute.
- * @see #getPropertyName()
- * @generated
- */
- void setPropertyName(String value);
-
- /**
- * Returns the value of the '<em><b>Values</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Values</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Values</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getPropertyInjection_Values()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<InjectedValue> getValues();
-
-} // PropertyInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/RegistryDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/RegistryDesc.java
deleted file mode 100644
index 1d9a89d5bb0..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/RegistryDesc.java
+++ /dev/null
@@ -1,238 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Registry Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getParents <em>Parents</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getChildren <em>Children</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getExtends <em>Extends</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getServiceSets <em>Service Sets</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#isUnique <em>Is Unique</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getServices <em>Services</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getRegistryDesc()
- * @model
- * @generated
- */
-public interface RegistryDesc extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getRegistryDesc_Name()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Parents</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getChildren <em>Children</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parents</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Parents</em>' reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getRegistryDesc_Parents()
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getChildren
- * @model opposite="children" ordered="false"
- * @generated
- */
- EList<RegistryDesc> getParents();
-
- /**
- * Returns the value of the '<em><b>Children</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getParents <em>Parents</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Children</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Children</em>' reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getRegistryDesc_Children()
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getParents
- * @model opposite="parents" ordered="false"
- * @generated
- */
- EList<RegistryDesc> getChildren();
-
- /**
- * Returns the value of the '<em><b>Extends</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Extends</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Extends</em>' reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getRegistryDesc_Extends()
- * @model ordered="false"
- * @generated
- */
- EList<RegistryDesc> getExtends();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getRegistryDesc_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * Returns the value of the '<em><b>Service Sets</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Service Sets</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Service Sets</em>' reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getRegistryDesc_ServiceSets()
- * @model ordered="false"
- * @generated
- */
- EList<ServiceSetDesc> getServiceSets();
-
- /**
- * Returns the value of the '<em><b>Is Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Unique</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Is Unique</em>' attribute.
- * @see #setIsUnique(boolean)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getRegistryDesc_IsUnique()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.boolean" required="true" ordered="false"
- * @generated
- */
- boolean isUnique();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#isUnique <em>Is Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Is Unique</em>' attribute.
- * @see #isUnique()
- * @generated
- */
- void setIsUnique(boolean value);
-
- /**
- * Returns the value of the '<em><b>Services</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Services</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Services</em>' reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getRegistryDesc_Services()
- * @model ordered="false"
- * @generated
- */
- EList<AbstractServiceDesc> getServices();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model required="true" ordered="false" serviceIdDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" serviceIdRequired="true" serviceIdOrdered="false"
- * @generated
- */
- AbstractServiceDesc getServiceDesc(String serviceId);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model required="true" ordered="false" serviceSetsIdDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" serviceSetsIdRequired="true" serviceSetsIdOrdered="false"
- * @generated
- */
- ServiceSetDesc getServiceSetDesc(String serviceSetsId);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.boolean" required="true" ordered="false" serviceIdDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" serviceIdRequired="true"
- * serviceIdOrdered="false"
- * @generated
- */
- boolean servicesContains(String serviceId);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.boolean" required="true" ordered="false" serviceSetsIdDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" serviceSetsIdRequired="true"
- * serviceSetsIdOrdered="false"
- * @generated
- */
- boolean serviceSetsContains(String serviceSetsId);
-
-} // RegistryDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceDesc.java
deleted file mode 100644
index 96a1b46f0aa..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceDesc.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Service Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getStartKind <em>Start Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getClassname <em>Classname</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getInjections <em>Injections</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceDesc()
- * @model
- * @generated
- */
-public interface ServiceDesc extends AbstractServiceDesc {
- /**
- * Returns the value of the '<em><b>Start Kind</b></em>' attribute.
- * The default value is <code>"lazy"</code>.
- * The literals are from the enumeration {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Start Kind</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Start Kind</em>' attribute.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind
- * @see #setStartKind(StartupKind)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceDesc_StartKind()
- * @model default="lazy" required="true" ordered="false"
- * @generated
- */
- StartupKind getStartKind();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getStartKind <em>Start Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Start Kind</em>' attribute.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind
- * @see #getStartKind()
- * @generated
- */
- void setStartKind(StartupKind value);
-
- /**
- * Returns the value of the '<em><b>Classname</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Classname</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Classname</em>' attribute.
- * @see #setClassname(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceDesc_Classname()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getClassname();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getClassname <em>Classname</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Classname</em>' attribute.
- * @see #getClassname()
- * @generated
- */
- void setClassname(String value);
-
- /**
- * Returns the value of the '<em><b>Injections</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Injections</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Injections</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceDesc_Injections()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<FeatureInjection> getInjections();
-
-} // ServiceDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceFactoryDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceFactoryDesc.java
deleted file mode 100644
index 140af1b1b50..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceFactoryDesc.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Service Factory Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceFactoryDesc()
- * @model
- * @generated
- */
-public interface ServiceFactoryDesc extends ServiceDesc {
-} // ServiceFactoryDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceSetDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceSetDesc.java
deleted file mode 100644
index eedc0e3a670..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServiceSetDesc.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Service Set Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getServices <em>Services</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getOwnedServices <em>Owned Services</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getExtends <em>Extends</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceSetDesc()
- * @model
- * @generated
- */
-public interface ServiceSetDesc extends EObject {
- /**
- * Returns the value of the '<em><b>Services</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Services</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Services</em>' reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceSetDesc_Services()
- * @model ordered="false"
- * @generated
- */
- EList<AbstractServiceDesc> getServices();
-
- /**
- * Returns the value of the '<em><b>Owned Services</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getParent <em>Parent</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Owned Services</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Owned Services</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceSetDesc_OwnedServices()
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getParent
- * @model opposite="parent" containment="true" ordered="false"
- * @generated
- */
- EList<AbstractServiceDesc> getOwnedServices();
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceSetDesc_Name()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Extends</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Extends</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Extends</em>' reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceSetDesc_Extends()
- * @model ordered="false"
- * @generated
- */
- EList<ServiceSetDesc> getExtends();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getServiceSetDesc_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model required="true" ordered="false" serviceIdDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" serviceIdRequired="true" serviceIdOrdered="false"
- * @generated
- */
- AbstractServiceDesc getServiceDesc(String serviceId);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.boolean" required="true" ordered="false" serviceIdDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.String" serviceIdRequired="true"
- * serviceIdOrdered="false"
- * @generated
- */
- boolean servicesContains(String serviceId);
-
-} // ServiceSetDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServicedescriptorsFactory.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServicedescriptorsFactory.java
deleted file mode 100644
index f4fe35b7cfc..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServicedescriptorsFactory.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage
- * @generated
- */
-public interface ServicedescriptorsFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- ServicedescriptorsFactory eINSTANCE = org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Registry Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Registry Desc</em>'.
- * @generated
- */
- RegistryDesc createRegistryDesc();
-
- /**
- * Returns a new object of class '<em>Service Set Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Service Set Desc</em>'.
- * @generated
- */
- ServiceSetDesc createServiceSetDesc();
-
- /**
- * Returns a new object of class '<em>Service Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Service Desc</em>'.
- * @generated
- */
- ServiceDesc createServiceDesc();
-
- /**
- * Returns a new object of class '<em>Alias Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Alias Desc</em>'.
- * @generated
- */
- AliasDesc createAliasDesc();
-
- /**
- * Returns a new object of class '<em>Descriptors</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Descriptors</em>'.
- * @generated
- */
- Descriptors createDescriptors();
-
- /**
- * Returns a new object of class '<em>Property Injection</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Property Injection</em>'.
- * @generated
- */
- PropertyInjection createPropertyInjection();
-
- /**
- * Returns a new object of class '<em>Method Injection</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Method Injection</em>'.
- * @generated
- */
- MethodInjection createMethodInjection();
-
- /**
- * Returns a new object of class '<em>Parameter Injection</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Parameter Injection</em>'.
- * @generated
- */
- ParameterInjection createParameterInjection();
-
- /**
- * Returns a new object of class '<em>Injected Service</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Injected Service</em>'.
- * @generated
- */
- InjectedService createInjectedService();
-
- /**
- * Returns a new object of class '<em>Opaque Injected Value</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Opaque Injected Value</em>'.
- * @generated
- */
- OpaqueInjectedValue createOpaqueInjectedValue();
-
- /**
- * Returns a new object of class '<em>Constructor Injection</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Constructor Injection</em>'.
- * @generated
- */
- ConstructorInjection createConstructorInjection();
-
- /**
- * Returns a new object of class '<em>Service Factory Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Service Factory Desc</em>'.
- * @generated
- */
- ServiceFactoryDesc createServiceFactoryDesc();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- ServicedescriptorsPackage getServicedescriptorsPackage();
-
-} // ServicedescriptorsFactory
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServicedescriptorsPackage.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServicedescriptorsPackage.java
deleted file mode 100644
index daf573050f6..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/ServicedescriptorsPackage.java
+++ /dev/null
@@ -1,2376 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsFactory
- * @model kind="package"
- * @generated
- */
-public interface ServicedescriptorsPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "servicedescriptors";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "org.eclipse.papyrus..infra.core.servicedescriptors";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "org.eclipse.papyrus..infra.core.serviceregistry.servicedescriptors";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- ServicedescriptorsPackage eINSTANCE = org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl <em>Registry Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getRegistryDesc()
- * @generated
- */
- int REGISTRY_DESC = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_DESC__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Parents</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_DESC__PARENTS = 1;
-
- /**
- * The feature id for the '<em><b>Children</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_DESC__CHILDREN = 2;
-
- /**
- * The feature id for the '<em><b>Extends</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_DESC__EXTENDS = 3;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_DESC__DESCRIPTION = 4;
-
- /**
- * The feature id for the '<em><b>Service Sets</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_DESC__SERVICE_SETS = 5;
-
- /**
- * The feature id for the '<em><b>Is Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_DESC__IS_UNIQUE = 6;
-
- /**
- * The feature id for the '<em><b>Services</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_DESC__SERVICES = 7;
-
- /**
- * The number of structural features of the '<em>Registry Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_DESC_FEATURE_COUNT = 8;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceSetDescImpl <em>Service Set Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceSetDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getServiceSetDesc()
- * @generated
- */
- int SERVICE_SET_DESC = 1;
-
- /**
- * The feature id for the '<em><b>Services</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_DESC__SERVICES = 0;
-
- /**
- * The feature id for the '<em><b>Owned Services</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_DESC__OWNED_SERVICES = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_DESC__NAME = 2;
-
- /**
- * The feature id for the '<em><b>Extends</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_DESC__EXTENDS = 3;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_DESC__DESCRIPTION = 4;
-
- /**
- * The number of structural features of the '<em>Service Set Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_DESC_FEATURE_COUNT = 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl <em>Abstract Service Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getAbstractServiceDesc()
- * @generated
- */
- int ABSTRACT_SERVICE_DESC = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_DESC__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Depends On</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_DESC__DEPENDS_ON = 1;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_DESC__DESCRIPTION = 2;
-
- /**
- * The feature id for the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_DESC__PRIORITY = 3;
-
- /**
- * The feature id for the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_DESC__BUNDLE_ID = 4;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_DESC__PARENT = 5;
-
- /**
- * The feature id for the '<em><b>Depends On Ids</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS = 6;
-
- /**
- * The number of structural features of the '<em>Abstract Service Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_DESC_FEATURE_COUNT = 7;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceDescImpl <em>Service Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getServiceDesc()
- * @generated
- */
- int SERVICE_DESC = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__NAME = ABSTRACT_SERVICE_DESC__NAME;
-
- /**
- * The feature id for the '<em><b>Depends On</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__DEPENDS_ON = ABSTRACT_SERVICE_DESC__DEPENDS_ON;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__DESCRIPTION = ABSTRACT_SERVICE_DESC__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__PRIORITY = ABSTRACT_SERVICE_DESC__PRIORITY;
-
- /**
- * The feature id for the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__BUNDLE_ID = ABSTRACT_SERVICE_DESC__BUNDLE_ID;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__PARENT = ABSTRACT_SERVICE_DESC__PARENT;
-
- /**
- * The feature id for the '<em><b>Depends On Ids</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__DEPENDS_ON_IDS = ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS;
-
- /**
- * The feature id for the '<em><b>Start Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__START_KIND = ABSTRACT_SERVICE_DESC_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Classname</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__CLASSNAME = ABSTRACT_SERVICE_DESC_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Injections</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC__INJECTIONS = ABSTRACT_SERVICE_DESC_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Service Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_DESC_FEATURE_COUNT = ABSTRACT_SERVICE_DESC_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.FeatureInjectionImpl <em>Feature Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.FeatureInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getFeatureInjection()
- * @generated
- */
- int FEATURE_INJECTION = 4;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FEATURE_INJECTION__DESCRIPTION = 0;
-
- /**
- * The number of structural features of the '<em>Feature Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FEATURE_INJECTION_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AliasDescImpl <em>Alias Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AliasDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getAliasDesc()
- * @generated
- */
- int ALIAS_DESC = 5;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC__NAME = ABSTRACT_SERVICE_DESC__NAME;
-
- /**
- * The feature id for the '<em><b>Depends On</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC__DEPENDS_ON = ABSTRACT_SERVICE_DESC__DEPENDS_ON;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC__DESCRIPTION = ABSTRACT_SERVICE_DESC__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC__PRIORITY = ABSTRACT_SERVICE_DESC__PRIORITY;
-
- /**
- * The feature id for the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC__BUNDLE_ID = ABSTRACT_SERVICE_DESC__BUNDLE_ID;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC__PARENT = ABSTRACT_SERVICE_DESC__PARENT;
-
- /**
- * The feature id for the '<em><b>Depends On Ids</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC__DEPENDS_ON_IDS = ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS;
-
- /**
- * The feature id for the '<em><b>Aliased Service</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC__ALIASED_SERVICE = ABSTRACT_SERVICE_DESC_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Aliased Service Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC__ALIASED_SERVICE_ID = ABSTRACT_SERVICE_DESC_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Alias Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_DESC_FEATURE_COUNT = ABSTRACT_SERVICE_DESC_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.DescriptorsImpl <em>Descriptors</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.DescriptorsImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getDescriptors()
- * @generated
- */
- int DESCRIPTORS = 6;
-
- /**
- * The feature id for the '<em><b>Registries</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DESCRIPTORS__REGISTRIES = 0;
-
- /**
- * The feature id for the '<em><b>Service Sets</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DESCRIPTORS__SERVICE_SETS = 1;
-
- /**
- * The number of structural features of the '<em>Descriptors</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DESCRIPTORS_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.PropertyInjectionImpl <em>Property Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.PropertyInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getPropertyInjection()
- * @generated
- */
- int PROPERTY_INJECTION = 7;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_INJECTION__DESCRIPTION = FEATURE_INJECTION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Property Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_INJECTION__PROPERTY_NAME = FEATURE_INJECTION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Values</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_INJECTION__VALUES = FEATURE_INJECTION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Property Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_INJECTION_FEATURE_COUNT = FEATURE_INJECTION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedValueImpl <em>Injected Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedValueImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getInjectedValue()
- * @generated
- */
- int INJECTED_VALUE = 8;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_VALUE__DESCRIPTION = 0;
-
- /**
- * The number of structural features of the '<em>Injected Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_VALUE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractMethodInjectionImpl <em>Abstract Method Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractMethodInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getAbstractMethodInjection()
- * @generated
- */
- int ABSTRACT_METHOD_INJECTION = 10;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_METHOD_INJECTION__DESCRIPTION = FEATURE_INJECTION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Parameters</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_METHOD_INJECTION__PARAMETERS = FEATURE_INJECTION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Abstract Method Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_METHOD_INJECTION_FEATURE_COUNT = FEATURE_INJECTION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.MethodInjectionImpl <em>Method Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.MethodInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getMethodInjection()
- * @generated
- */
- int METHOD_INJECTION = 9;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int METHOD_INJECTION__DESCRIPTION = ABSTRACT_METHOD_INJECTION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Parameters</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int METHOD_INJECTION__PARAMETERS = ABSTRACT_METHOD_INJECTION__PARAMETERS;
-
- /**
- * The feature id for the '<em><b>Method Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int METHOD_INJECTION__METHOD_NAME = ABSTRACT_METHOD_INJECTION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Method Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int METHOD_INJECTION_FEATURE_COUNT = ABSTRACT_METHOD_INJECTION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ParameterInjectionImpl <em>Parameter Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ParameterInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getParameterInjection()
- * @generated
- */
- int PARAMETER_INJECTION = 11;
-
- /**
- * The feature id for the '<em><b>Parameter Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PARAMETER_INJECTION__PARAMETER_NAME = 0;
-
- /**
- * The feature id for the '<em><b>Values</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PARAMETER_INJECTION__VALUES = 1;
-
- /**
- * The number of structural features of the '<em>Parameter Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PARAMETER_INJECTION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedServiceImpl <em>Injected Service</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedServiceImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getInjectedService()
- * @generated
- */
- int INJECTED_SERVICE = 12;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_SERVICE__DESCRIPTION = INJECTED_VALUE__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Service</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_SERVICE__SERVICE = INJECTED_VALUE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Injected Service</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_SERVICE_FEATURE_COUNT = INJECTED_VALUE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.OpaqueInjectedValueImpl <em>Opaque Injected Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.OpaqueInjectedValueImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getOpaqueInjectedValue()
- * @generated
- */
- int OPAQUE_INJECTED_VALUE = 13;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPAQUE_INJECTED_VALUE__DESCRIPTION = INJECTED_VALUE__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPAQUE_INJECTED_VALUE__VALUE = INJECTED_VALUE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Opaque Injected Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPAQUE_INJECTED_VALUE_FEATURE_COUNT = INJECTED_VALUE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ConstructorInjectionImpl <em>Constructor Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ConstructorInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getConstructorInjection()
- * @generated
- */
- int CONSTRUCTOR_INJECTION = 14;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONSTRUCTOR_INJECTION__DESCRIPTION = ABSTRACT_METHOD_INJECTION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Parameters</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONSTRUCTOR_INJECTION__PARAMETERS = ABSTRACT_METHOD_INJECTION__PARAMETERS;
-
- /**
- * The number of structural features of the '<em>Constructor Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONSTRUCTOR_INJECTION_FEATURE_COUNT = ABSTRACT_METHOD_INJECTION_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceFactoryDescImpl <em>Service Factory Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceFactoryDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getServiceFactoryDesc()
- * @generated
- */
- int SERVICE_FACTORY_DESC = 15;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__NAME = SERVICE_DESC__NAME;
-
- /**
- * The feature id for the '<em><b>Depends On</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__DEPENDS_ON = SERVICE_DESC__DEPENDS_ON;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__DESCRIPTION = SERVICE_DESC__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__PRIORITY = SERVICE_DESC__PRIORITY;
-
- /**
- * The feature id for the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__BUNDLE_ID = SERVICE_DESC__BUNDLE_ID;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__PARENT = SERVICE_DESC__PARENT;
-
- /**
- * The feature id for the '<em><b>Depends On Ids</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__DEPENDS_ON_IDS = SERVICE_DESC__DEPENDS_ON_IDS;
-
- /**
- * The feature id for the '<em><b>Start Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__START_KIND = SERVICE_DESC__START_KIND;
-
- /**
- * The feature id for the '<em><b>Classname</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__CLASSNAME = SERVICE_DESC__CLASSNAME;
-
- /**
- * The feature id for the '<em><b>Injections</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC__INJECTIONS = SERVICE_DESC__INJECTIONS;
-
- /**
- * The number of structural features of the '<em>Service Factory Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_DESC_FEATURE_COUNT = SERVICE_DESC_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind <em>Startup Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getStartupKind()
- * @generated
- */
- int STARTUP_KIND = 16;
-
- /**
- * The meta object id for the '<em>String</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see java.lang.String
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getString()
- * @generated
- */
- int STRING = 17;
-
- /**
- * The meta object id for the '<em>boolean</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getboolean()
- * @generated
- */
- int BOOLEAN = 18;
-
- /**
- * The meta object id for the '<em>int</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getint()
- * @generated
- */
- int INT = 19;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc <em>Registry Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Registry Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc
- * @generated
- */
- EClass getRegistryDesc();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getName()
- * @see #getRegistryDesc()
- * @generated
- */
- EAttribute getRegistryDesc_Name();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getParents <em>Parents</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Parents</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getParents()
- * @see #getRegistryDesc()
- * @generated
- */
- EReference getRegistryDesc_Parents();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getChildren <em>Children</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Children</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getChildren()
- * @see #getRegistryDesc()
- * @generated
- */
- EReference getRegistryDesc_Children();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getExtends <em>Extends</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Extends</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getExtends()
- * @see #getRegistryDesc()
- * @generated
- */
- EReference getRegistryDesc_Extends();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getDescription()
- * @see #getRegistryDesc()
- * @generated
- */
- EAttribute getRegistryDesc_Description();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getServiceSets <em>Service Sets</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Service Sets</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getServiceSets()
- * @see #getRegistryDesc()
- * @generated
- */
- EReference getRegistryDesc_ServiceSets();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#isUnique <em>Is Unique</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Is Unique</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#isUnique()
- * @see #getRegistryDesc()
- * @generated
- */
- EAttribute getRegistryDesc_IsUnique();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getServices <em>Services</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Services</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc#getServices()
- * @see #getRegistryDesc()
- * @generated
- */
- EReference getRegistryDesc_Services();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc <em>Service Set Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Service Set Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc
- * @generated
- */
- EClass getServiceSetDesc();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getServices <em>Services</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Services</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getServices()
- * @see #getServiceSetDesc()
- * @generated
- */
- EReference getServiceSetDesc_Services();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getOwnedServices <em>Owned Services</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Owned Services</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getOwnedServices()
- * @see #getServiceSetDesc()
- * @generated
- */
- EReference getServiceSetDesc_OwnedServices();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getName()
- * @see #getServiceSetDesc()
- * @generated
- */
- EAttribute getServiceSetDesc_Name();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getExtends <em>Extends</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Extends</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getExtends()
- * @see #getServiceSetDesc()
- * @generated
- */
- EReference getServiceSetDesc_Extends();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc#getDescription()
- * @see #getServiceSetDesc()
- * @generated
- */
- EAttribute getServiceSetDesc_Description();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc <em>Abstract Service Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Abstract Service Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc
- * @generated
- */
- EClass getAbstractServiceDesc();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getName()
- * @see #getAbstractServiceDesc()
- * @generated
- */
- EAttribute getAbstractServiceDesc_Name();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDependsOn <em>Depends On</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Depends On</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDependsOn()
- * @see #getAbstractServiceDesc()
- * @generated
- */
- EReference getAbstractServiceDesc_DependsOn();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDescription()
- * @see #getAbstractServiceDesc()
- * @generated
- */
- EAttribute getAbstractServiceDesc_Description();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getPriority <em>Priority</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Priority</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getPriority()
- * @see #getAbstractServiceDesc()
- * @generated
- */
- EAttribute getAbstractServiceDesc_Priority();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getBundleID <em>Bundle ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Bundle ID</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getBundleID()
- * @see #getAbstractServiceDesc()
- * @generated
- */
- EAttribute getAbstractServiceDesc_BundleID();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getParent <em>Parent</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the container reference '<em>Parent</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getParent()
- * @see #getAbstractServiceDesc()
- * @generated
- */
- EReference getAbstractServiceDesc_Parent();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDependsOnIds <em>Depends On Ids</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Depends On Ids</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc#getDependsOnIds()
- * @see #getAbstractServiceDesc()
- * @generated
- */
- EAttribute getAbstractServiceDesc_DependsOnIds();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc <em>Service Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Service Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc
- * @generated
- */
- EClass getServiceDesc();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getStartKind <em>Start Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Start Kind</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getStartKind()
- * @see #getServiceDesc()
- * @generated
- */
- EAttribute getServiceDesc_StartKind();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getClassname <em>Classname</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Classname</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getClassname()
- * @see #getServiceDesc()
- * @generated
- */
- EAttribute getServiceDesc_Classname();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getInjections <em>Injections</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Injections</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc#getInjections()
- * @see #getServiceDesc()
- * @generated
- */
- EReference getServiceDesc_Injections();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection <em>Feature Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Feature Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection
- * @generated
- */
- EClass getFeatureInjection();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection#getDescription()
- * @see #getFeatureInjection()
- * @generated
- */
- EAttribute getFeatureInjection_Description();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc <em>Alias Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Alias Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc
- * @generated
- */
- EClass getAliasDesc();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc#getAliasedService <em>Aliased Service</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Aliased Service</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc#getAliasedService()
- * @see #getAliasDesc()
- * @generated
- */
- EReference getAliasDesc_AliasedService();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc#getAliasedServiceId <em>Aliased Service Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Aliased Service Id</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc#getAliasedServiceId()
- * @see #getAliasDesc()
- * @generated
- */
- EAttribute getAliasDesc_AliasedServiceId();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors <em>Descriptors</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Descriptors</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors
- * @generated
- */
- EClass getDescriptors();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getRegistries <em>Registries</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Registries</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getRegistries()
- * @see #getDescriptors()
- * @generated
- */
- EReference getDescriptors_Registries();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getServiceSets <em>Service Sets</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Service Sets</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getServiceSets()
- * @see #getDescriptors()
- * @generated
- */
- EReference getDescriptors_ServiceSets();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection <em>Property Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Property Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection
- * @generated
- */
- EClass getPropertyInjection();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection#getPropertyName <em>Property Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Property Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection#getPropertyName()
- * @see #getPropertyInjection()
- * @generated
- */
- EAttribute getPropertyInjection_PropertyName();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection#getValues <em>Values</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Values</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection#getValues()
- * @see #getPropertyInjection()
- * @generated
- */
- EReference getPropertyInjection_Values();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue <em>Injected Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Injected Value</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue
- * @generated
- */
- EClass getInjectedValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue#getDescription()
- * @see #getInjectedValue()
- * @generated
- */
- EAttribute getInjectedValue_Description();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection <em>Method Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Method Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection
- * @generated
- */
- EClass getMethodInjection();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection#getMethodName <em>Method Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Method Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection#getMethodName()
- * @see #getMethodInjection()
- * @generated
- */
- EAttribute getMethodInjection_MethodName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection <em>Abstract Method Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Abstract Method Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection
- * @generated
- */
- EClass getAbstractMethodInjection();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection#getParameters <em>Parameters</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Parameters</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection#getParameters()
- * @see #getAbstractMethodInjection()
- * @generated
- */
- EReference getAbstractMethodInjection_Parameters();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection <em>Parameter Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Parameter Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection
- * @generated
- */
- EClass getParameterInjection();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection#getParameterName <em>Parameter Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Parameter Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection#getParameterName()
- * @see #getParameterInjection()
- * @generated
- */
- EAttribute getParameterInjection_ParameterName();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection#getValues <em>Values</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Values</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection#getValues()
- * @see #getParameterInjection()
- * @generated
- */
- EReference getParameterInjection_Values();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService <em>Injected Service</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Injected Service</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService
- * @generated
- */
- EClass getInjectedService();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService#getService <em>Service</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Service</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService#getService()
- * @see #getInjectedService()
- * @generated
- */
- EReference getInjectedService_Service();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue <em>Opaque Injected Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Opaque Injected Value</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue
- * @generated
- */
- EClass getOpaqueInjectedValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue#getValue()
- * @see #getOpaqueInjectedValue()
- * @generated
- */
- EAttribute getOpaqueInjectedValue_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ConstructorInjection <em>Constructor Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Constructor Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ConstructorInjection
- * @generated
- */
- EClass getConstructorInjection();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc <em>Service Factory Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Service Factory Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc
- * @generated
- */
- EClass getServiceFactoryDesc();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind <em>Startup Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for enum '<em>Startup Kind</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind
- * @generated
- */
- EEnum getStartupKind();
-
- /**
- * Returns the meta object for data type '{@link java.lang.String <em>String</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>String</em>'.
- * @see java.lang.String
- * @model instanceClass="java.lang.String"
- * @generated
- */
- EDataType getString();
-
- /**
- * Returns the meta object for data type '<em>boolean</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>boolean</em>'.
- * @model instanceClass="boolean"
- * @generated
- */
- EDataType getboolean();
-
- /**
- * Returns the meta object for data type '<em>int</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>int</em>'.
- * @model instanceClass="int"
- * @generated
- */
- EDataType getint();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the factory that creates the instances of the model.
- * @generated
- */
- ServicedescriptorsFactory getServicedescriptorsFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl <em>Registry Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getRegistryDesc()
- * @generated
- */
- EClass REGISTRY_DESC = eINSTANCE.getRegistryDesc();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REGISTRY_DESC__NAME = eINSTANCE.getRegistryDesc_Name();
-
- /**
- * The meta object literal for the '<em><b>Parents</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference REGISTRY_DESC__PARENTS = eINSTANCE.getRegistryDesc_Parents();
-
- /**
- * The meta object literal for the '<em><b>Children</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference REGISTRY_DESC__CHILDREN = eINSTANCE.getRegistryDesc_Children();
-
- /**
- * The meta object literal for the '<em><b>Extends</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference REGISTRY_DESC__EXTENDS = eINSTANCE.getRegistryDesc_Extends();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REGISTRY_DESC__DESCRIPTION = eINSTANCE.getRegistryDesc_Description();
-
- /**
- * The meta object literal for the '<em><b>Service Sets</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference REGISTRY_DESC__SERVICE_SETS = eINSTANCE.getRegistryDesc_ServiceSets();
-
- /**
- * The meta object literal for the '<em><b>Is Unique</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REGISTRY_DESC__IS_UNIQUE = eINSTANCE.getRegistryDesc_IsUnique();
-
- /**
- * The meta object literal for the '<em><b>Services</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference REGISTRY_DESC__SERVICES = eINSTANCE.getRegistryDesc_Services();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceSetDescImpl <em>Service Set Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceSetDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getServiceSetDesc()
- * @generated
- */
- EClass SERVICE_SET_DESC = eINSTANCE.getServiceSetDesc();
-
- /**
- * The meta object literal for the '<em><b>Services</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference SERVICE_SET_DESC__SERVICES = eINSTANCE.getServiceSetDesc_Services();
-
- /**
- * The meta object literal for the '<em><b>Owned Services</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference SERVICE_SET_DESC__OWNED_SERVICES = eINSTANCE.getServiceSetDesc_OwnedServices();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SERVICE_SET_DESC__NAME = eINSTANCE.getServiceSetDesc_Name();
-
- /**
- * The meta object literal for the '<em><b>Extends</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference SERVICE_SET_DESC__EXTENDS = eINSTANCE.getServiceSetDesc_Extends();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SERVICE_SET_DESC__DESCRIPTION = eINSTANCE.getServiceSetDesc_Description();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl <em>Abstract Service Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getAbstractServiceDesc()
- * @generated
- */
- EClass ABSTRACT_SERVICE_DESC = eINSTANCE.getAbstractServiceDesc();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_DESC__NAME = eINSTANCE.getAbstractServiceDesc_Name();
-
- /**
- * The meta object literal for the '<em><b>Depends On</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ABSTRACT_SERVICE_DESC__DEPENDS_ON = eINSTANCE.getAbstractServiceDesc_DependsOn();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_DESC__DESCRIPTION = eINSTANCE.getAbstractServiceDesc_Description();
-
- /**
- * The meta object literal for the '<em><b>Priority</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_DESC__PRIORITY = eINSTANCE.getAbstractServiceDesc_Priority();
-
- /**
- * The meta object literal for the '<em><b>Bundle ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_DESC__BUNDLE_ID = eINSTANCE.getAbstractServiceDesc_BundleID();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ABSTRACT_SERVICE_DESC__PARENT = eINSTANCE.getAbstractServiceDesc_Parent();
-
- /**
- * The meta object literal for the '<em><b>Depends On Ids</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS = eINSTANCE.getAbstractServiceDesc_DependsOnIds();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceDescImpl <em>Service Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getServiceDesc()
- * @generated
- */
- EClass SERVICE_DESC = eINSTANCE.getServiceDesc();
-
- /**
- * The meta object literal for the '<em><b>Start Kind</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SERVICE_DESC__START_KIND = eINSTANCE.getServiceDesc_StartKind();
-
- /**
- * The meta object literal for the '<em><b>Classname</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SERVICE_DESC__CLASSNAME = eINSTANCE.getServiceDesc_Classname();
-
- /**
- * The meta object literal for the '<em><b>Injections</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference SERVICE_DESC__INJECTIONS = eINSTANCE.getServiceDesc_Injections();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.FeatureInjectionImpl <em>Feature Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.FeatureInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getFeatureInjection()
- * @generated
- */
- EClass FEATURE_INJECTION = eINSTANCE.getFeatureInjection();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute FEATURE_INJECTION__DESCRIPTION = eINSTANCE.getFeatureInjection_Description();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AliasDescImpl <em>Alias Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AliasDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getAliasDesc()
- * @generated
- */
- EClass ALIAS_DESC = eINSTANCE.getAliasDesc();
-
- /**
- * The meta object literal for the '<em><b>Aliased Service</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ALIAS_DESC__ALIASED_SERVICE = eINSTANCE.getAliasDesc_AliasedService();
-
- /**
- * The meta object literal for the '<em><b>Aliased Service Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ALIAS_DESC__ALIASED_SERVICE_ID = eINSTANCE.getAliasDesc_AliasedServiceId();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.DescriptorsImpl <em>Descriptors</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.DescriptorsImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getDescriptors()
- * @generated
- */
- EClass DESCRIPTORS = eINSTANCE.getDescriptors();
-
- /**
- * The meta object literal for the '<em><b>Registries</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DESCRIPTORS__REGISTRIES = eINSTANCE.getDescriptors_Registries();
-
- /**
- * The meta object literal for the '<em><b>Service Sets</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DESCRIPTORS__SERVICE_SETS = eINSTANCE.getDescriptors_ServiceSets();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.PropertyInjectionImpl <em>Property Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.PropertyInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getPropertyInjection()
- * @generated
- */
- EClass PROPERTY_INJECTION = eINSTANCE.getPropertyInjection();
-
- /**
- * The meta object literal for the '<em><b>Property Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PROPERTY_INJECTION__PROPERTY_NAME = eINSTANCE.getPropertyInjection_PropertyName();
-
- /**
- * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference PROPERTY_INJECTION__VALUES = eINSTANCE.getPropertyInjection_Values();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedValueImpl <em>Injected Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedValueImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getInjectedValue()
- * @generated
- */
- EClass INJECTED_VALUE = eINSTANCE.getInjectedValue();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute INJECTED_VALUE__DESCRIPTION = eINSTANCE.getInjectedValue_Description();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.MethodInjectionImpl <em>Method Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.MethodInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getMethodInjection()
- * @generated
- */
- EClass METHOD_INJECTION = eINSTANCE.getMethodInjection();
-
- /**
- * The meta object literal for the '<em><b>Method Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute METHOD_INJECTION__METHOD_NAME = eINSTANCE.getMethodInjection_MethodName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractMethodInjectionImpl <em>Abstract Method Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractMethodInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getAbstractMethodInjection()
- * @generated
- */
- EClass ABSTRACT_METHOD_INJECTION = eINSTANCE.getAbstractMethodInjection();
-
- /**
- * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ABSTRACT_METHOD_INJECTION__PARAMETERS = eINSTANCE.getAbstractMethodInjection_Parameters();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ParameterInjectionImpl <em>Parameter Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ParameterInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getParameterInjection()
- * @generated
- */
- EClass PARAMETER_INJECTION = eINSTANCE.getParameterInjection();
-
- /**
- * The meta object literal for the '<em><b>Parameter Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PARAMETER_INJECTION__PARAMETER_NAME = eINSTANCE.getParameterInjection_ParameterName();
-
- /**
- * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference PARAMETER_INJECTION__VALUES = eINSTANCE.getParameterInjection_Values();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedServiceImpl <em>Injected Service</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedServiceImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getInjectedService()
- * @generated
- */
- EClass INJECTED_SERVICE = eINSTANCE.getInjectedService();
-
- /**
- * The meta object literal for the '<em><b>Service</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference INJECTED_SERVICE__SERVICE = eINSTANCE.getInjectedService_Service();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.OpaqueInjectedValueImpl <em>Opaque Injected Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.OpaqueInjectedValueImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getOpaqueInjectedValue()
- * @generated
- */
- EClass OPAQUE_INJECTED_VALUE = eINSTANCE.getOpaqueInjectedValue();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute OPAQUE_INJECTED_VALUE__VALUE = eINSTANCE.getOpaqueInjectedValue_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ConstructorInjectionImpl <em>Constructor Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ConstructorInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getConstructorInjection()
- * @generated
- */
- EClass CONSTRUCTOR_INJECTION = eINSTANCE.getConstructorInjection();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceFactoryDescImpl <em>Service Factory Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceFactoryDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getServiceFactoryDesc()
- * @generated
- */
- EClass SERVICE_FACTORY_DESC = eINSTANCE.getServiceFactoryDesc();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind <em>Startup Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getStartupKind()
- * @generated
- */
- EEnum STARTUP_KIND = eINSTANCE.getStartupKind();
-
- /**
- * The meta object literal for the '<em>String</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see java.lang.String
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getString()
- * @generated
- */
- EDataType STRING = eINSTANCE.getString();
-
- /**
- * The meta object literal for the '<em>boolean</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getboolean()
- * @generated
- */
- EDataType BOOLEAN = eINSTANCE.getboolean();
-
- /**
- * The meta object literal for the '<em>int</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServicedescriptorsPackageImpl#getint()
- * @generated
- */
- EDataType INT = eINSTANCE.getint();
-
- }
-
-} // ServicedescriptorsPackage
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java
deleted file mode 100644
index 468a062639d..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/StartupKind.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Startup Kind</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#getStartupKind()
- * @model
- * @generated
- */
-public enum StartupKind implements Enumerator {
- /**
- * The '<em><b>Lazy</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #LAZY_VALUE
- * @generated
- * @ordered
- */
- LAZY(0, "lazy", "lazy"),
-
- /**
- * The '<em><b>Startup</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #STARTUP_VALUE
- * @generated
- * @ordered
- */
- STARTUP(1, "startup", "startup");
-
- /**
- * The '<em><b>Lazy</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Lazy</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #LAZY
- * @model name="lazy"
- * @generated
- * @ordered
- */
- public static final int LAZY_VALUE = 0;
-
- /**
- * The '<em><b>Startup</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Startup</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #STARTUP
- * @model name="startup"
- * @generated
- * @ordered
- */
- public static final int STARTUP_VALUE = 1;
-
- /**
- * An array of all the '<em><b>Startup Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static final StartupKind[] VALUES_ARRAY =
- new StartupKind[] {
- LAZY,
- STARTUP,
- };
-
- /**
- * A public read-only list of all the '<em><b>Startup Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static final List<StartupKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Startup Kind</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static StartupKind get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- StartupKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Startup Kind</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static StartupKind getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- StartupKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Startup Kind</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static StartupKind get(int value) {
- switch (value) {
- case LAZY_VALUE:
- return LAZY;
- case STARTUP_VALUE:
- return STARTUP;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private StartupKind(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-
-} // StartupKind
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AbstractMethodInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AbstractMethodInjectionImpl.java
deleted file mode 100644
index f707add0a24..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AbstractMethodInjectionImpl.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Abstract Method Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractMethodInjectionImpl#getParameters <em>Parameters</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class AbstractMethodInjectionImpl extends FeatureInjectionImpl implements AbstractMethodInjection {
- /**
- * The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getParameters()
- * @generated
- * @ordered
- */
- protected EList<ParameterInjection> parameters;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected AbstractMethodInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.ABSTRACT_METHOD_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<ParameterInjection> getParameters() {
- if (parameters == null) {
- parameters = new EObjectContainmentEList<ParameterInjection>(ParameterInjection.class, this, ServicedescriptorsPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS);
- }
- return parameters;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- return ((InternalEList<?>) getParameters()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- return getParameters();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- getParameters().clear();
- getParameters().addAll((Collection<? extends ParameterInjection>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- getParameters().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- return parameters != null && !parameters.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // AbstractMethodInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AbstractServiceDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AbstractServiceDescImpl.java
deleted file mode 100644
index 57a1447f0b0..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AbstractServiceDescImpl.java
+++ /dev/null
@@ -1,558 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Abstract Service Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl#getDependsOn <em>Depends On</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl#getPriority <em>Priority</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl#getBundleID <em>Bundle ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl#getParent <em>Parent</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AbstractServiceDescImpl#getDependsOnIds <em>Depends On Ids</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class AbstractServiceDescImpl extends EObjectImpl implements AbstractServiceDesc {
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getDependsOn() <em>Depends On</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDependsOn()
- * @generated
- * @ordered
- */
- protected EList<AbstractServiceDesc> dependsOn;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPriority() <em>Priority</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPriority()
- * @generated
- * @ordered
- */
- protected static final int PRIORITY_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getPriority() <em>Priority</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPriority()
- * @generated
- * @ordered
- */
- protected int priority = PRIORITY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getBundleID() <em>Bundle ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBundleID()
- * @generated
- * @ordered
- */
- protected static final String BUNDLE_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBundleID() <em>Bundle ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBundleID()
- * @generated
- * @ordered
- */
- protected String bundleID = BUNDLE_ID_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getDependsOnIds() <em>Depends On Ids</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDependsOnIds()
- * @generated
- * @ordered
- */
- protected EList<String> dependsOnIds;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected AbstractServiceDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.ABSTRACT_SERVICE_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<AbstractServiceDesc> getDependsOn() {
- if (dependsOn == null) {
- dependsOn = new EObjectResolvingEList<AbstractServiceDesc>(AbstractServiceDesc.class, this, ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON);
- }
- return dependsOn;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int getPriority() {
- return priority;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setPriority(int newPriority) {
- int oldPriority = priority;
- priority = newPriority;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PRIORITY, oldPriority, priority));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getBundleID() {
- return bundleID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setBundleID(String newBundleID) {
- String oldBundleID = bundleID;
- bundleID = newBundleID;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__BUNDLE_ID, oldBundleID, bundleID));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServiceSetDesc getParent() {
- if (eContainerFeatureID() != ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT) {
- return null;
- }
- return (ServiceSetDesc) eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetParent(ServiceSetDesc newParent, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject) newParent, ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setParent(ServiceSetDesc newParent) {
- if (newParent != eInternalContainer() || (eContainerFeatureID() != ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT && newParent != null)) {
- if (EcoreUtil.isAncestor(this, newParent)) {
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- }
- NotificationChain msgs = null;
- if (eInternalContainer() != null) {
- msgs = eBasicRemoveFromContainer(msgs);
- }
- if (newParent != null) {
- msgs = ((InternalEObject) newParent).eInverseAdd(this, ServicedescriptorsPackage.SERVICE_SET_DESC__OWNED_SERVICES, ServiceSetDesc.class, msgs);
- }
- msgs = basicSetParent(newParent, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT, newParent, newParent));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<String> getDependsOnIds() {
- if (dependsOnIds == null) {
- dependsOnIds = new EDataTypeUniqueEList<String>(String.class, this, ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS);
- }
- return dependsOnIds;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT:
- if (eInternalContainer() != null) {
- msgs = eBasicRemoveFromContainer(msgs);
- }
- return basicSetParent((ServiceSetDesc) otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT:
- return basicSetParent(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID()) {
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT:
- return eInternalContainer().eInverseRemove(this, ServicedescriptorsPackage.SERVICE_SET_DESC__OWNED_SERVICES, ServiceSetDesc.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__NAME:
- return getName();
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON:
- return getDependsOn();
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DESCRIPTION:
- return getDescription();
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PRIORITY:
- return getPriority();
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__BUNDLE_ID:
- return getBundleID();
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT:
- return getParent();
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS:
- return getDependsOnIds();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__NAME:
- setName((String) newValue);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON:
- getDependsOn().clear();
- getDependsOn().addAll((Collection<? extends AbstractServiceDesc>) newValue);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DESCRIPTION:
- setDescription((String) newValue);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PRIORITY:
- setPriority((Integer) newValue);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__BUNDLE_ID:
- setBundleID((String) newValue);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT:
- setParent((ServiceSetDesc) newValue);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS:
- getDependsOnIds().clear();
- getDependsOnIds().addAll((Collection<? extends String>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON:
- getDependsOn().clear();
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PRIORITY:
- setPriority(PRIORITY_EDEFAULT);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__BUNDLE_ID:
- setBundleID(BUNDLE_ID_EDEFAULT);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT:
- setParent((ServiceSetDesc) null);
- return;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS:
- getDependsOnIds().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON:
- return dependsOn != null && !dependsOn.isEmpty();
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PRIORITY:
- return priority != PRIORITY_EDEFAULT;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__BUNDLE_ID:
- return BUNDLE_ID_EDEFAULT == null ? bundleID != null : !BUNDLE_ID_EDEFAULT.equals(bundleID);
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT:
- return getParent() != null;
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS:
- return dependsOnIds != null && !dependsOnIds.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", description: ");
- result.append(description);
- result.append(", priority: ");
- result.append(priority);
- result.append(", bundleID: ");
- result.append(bundleID);
- result.append(", dependsOnIds: ");
- result.append(dependsOnIds);
- result.append(')');
- return result.toString();
- }
-
-} // AbstractServiceDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AliasDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AliasDescImpl.java
deleted file mode 100644
index bc43d6b6ee8..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/AliasDescImpl.java
+++ /dev/null
@@ -1,246 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Alias Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AliasDescImpl#getAliasedService <em>Aliased Service</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.AliasDescImpl#getAliasedServiceId <em>Aliased Service Id</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AliasDescImpl extends AbstractServiceDescImpl implements AliasDesc {
- /**
- * The cached value of the '{@link #getAliasedService() <em>Aliased Service</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getAliasedService()
- * @generated
- * @ordered
- */
- protected ServiceDesc aliasedService;
-
- /**
- * The default value of the '{@link #getAliasedServiceId() <em>Aliased Service Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getAliasedServiceId()
- * @generated
- * @ordered
- */
- protected static final String ALIASED_SERVICE_ID_EDEFAULT = null;
- /**
- * The cached value of the '{@link #getAliasedServiceId() <em>Aliased Service Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getAliasedServiceId()
- * @generated
- * @ordered
- */
- protected String aliasedServiceId = ALIASED_SERVICE_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected AliasDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.ALIAS_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServiceDesc getAliasedService() {
- if (aliasedService != null && aliasedService.eIsProxy()) {
- InternalEObject oldAliasedService = (InternalEObject) aliasedService;
- aliasedService = (ServiceDesc) eResolveProxy(oldAliasedService);
- if (aliasedService != oldAliasedService) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE, oldAliasedService, aliasedService));
- }
- }
- }
- return aliasedService;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ServiceDesc basicGetAliasedService() {
- return aliasedService;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setAliasedService(ServiceDesc newAliasedService) {
- ServiceDesc oldAliasedService = aliasedService;
- aliasedService = newAliasedService;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE, oldAliasedService, aliasedService));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getAliasedServiceId() {
- return aliasedServiceId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setAliasedServiceId(String newAliasedServiceId) {
- String oldAliasedServiceId = aliasedServiceId;
- aliasedServiceId = newAliasedServiceId;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE_ID, oldAliasedServiceId, aliasedServiceId));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE:
- if (resolve) {
- return getAliasedService();
- }
- return basicGetAliasedService();
- case ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE_ID:
- return getAliasedServiceId();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE:
- setAliasedService((ServiceDesc) newValue);
- return;
- case ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE_ID:
- setAliasedServiceId((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE:
- setAliasedService((ServiceDesc) null);
- return;
- case ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE_ID:
- setAliasedServiceId(ALIASED_SERVICE_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE:
- return aliasedService != null;
- case ServicedescriptorsPackage.ALIAS_DESC__ALIASED_SERVICE_ID:
- return ALIASED_SERVICE_ID_EDEFAULT == null ? aliasedServiceId != null : !ALIASED_SERVICE_ID_EDEFAULT.equals(aliasedServiceId);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (aliasedServiceId: ");
- result.append(aliasedServiceId);
- result.append(')');
- return result.toString();
- }
-
-} // AliasDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ConstructorInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ConstructorInjectionImpl.java
deleted file mode 100644
index 9fb6fb6f8a4..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ConstructorInjectionImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Constructor Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ConstructorInjectionImpl extends AbstractMethodInjectionImpl implements ConstructorInjection {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ConstructorInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.CONSTRUCTOR_INJECTION;
- }
-
-} // ConstructorInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/DescriptorsImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/DescriptorsImpl.java
deleted file mode 100644
index 28b2d72f238..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/DescriptorsImpl.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Descriptors</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.DescriptorsImpl#getRegistries <em>Registries</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.DescriptorsImpl#getServiceSets <em>Service Sets</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DescriptorsImpl extends EObjectImpl implements Descriptors {
- /**
- * The cached value of the '{@link #getRegistries() <em>Registries</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRegistries()
- * @generated
- * @ordered
- */
- protected EList<RegistryDesc> registries;
-
- /**
- * The cached value of the '{@link #getServiceSets() <em>Service Sets</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getServiceSets()
- * @generated
- * @ordered
- */
- protected EList<ServiceSetDesc> serviceSets;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected DescriptorsImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.DESCRIPTORS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<RegistryDesc> getRegistries() {
- if (registries == null) {
- registries = new EObjectContainmentEList<RegistryDesc>(RegistryDesc.class, this, ServicedescriptorsPackage.DESCRIPTORS__REGISTRIES);
- }
- return registries;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<ServiceSetDesc> getServiceSets() {
- if (serviceSets == null) {
- serviceSets = new EObjectContainmentEList<ServiceSetDesc>(ServiceSetDesc.class, this, ServicedescriptorsPackage.DESCRIPTORS__SERVICE_SETS);
- }
- return serviceSets;
- }
-
- /**
- * Return the requested registry.
- * return null if not found.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public RegistryDesc getRegistryDesc(String name) {
-
- for (RegistryDesc desc : getRegistries()) {
- if (name.equals(desc.getName())) {
- return desc;
- }
- }
-
- return null;
- }
-
- /**
- * Return the requested serviceSet.
- * return null if not found.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public ServiceSetDesc getServiceSetDesc(String name) {
- for (ServiceSetDesc desc : getServiceSets()) {
- if (name.equals(desc.getName())) {
- return desc;
- }
- }
-
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.DESCRIPTORS__REGISTRIES:
- return ((InternalEList<?>) getRegistries()).basicRemove(otherEnd, msgs);
- case ServicedescriptorsPackage.DESCRIPTORS__SERVICE_SETS:
- return ((InternalEList<?>) getServiceSets()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.DESCRIPTORS__REGISTRIES:
- return getRegistries();
- case ServicedescriptorsPackage.DESCRIPTORS__SERVICE_SETS:
- return getServiceSets();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.DESCRIPTORS__REGISTRIES:
- getRegistries().clear();
- getRegistries().addAll((Collection<? extends RegistryDesc>) newValue);
- return;
- case ServicedescriptorsPackage.DESCRIPTORS__SERVICE_SETS:
- getServiceSets().clear();
- getServiceSets().addAll((Collection<? extends ServiceSetDesc>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.DESCRIPTORS__REGISTRIES:
- getRegistries().clear();
- return;
- case ServicedescriptorsPackage.DESCRIPTORS__SERVICE_SETS:
- getServiceSets().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.DESCRIPTORS__REGISTRIES:
- return registries != null && !registries.isEmpty();
- case ServicedescriptorsPackage.DESCRIPTORS__SERVICE_SETS:
- return serviceSets != null && !serviceSets.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // DescriptorsImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/FeatureInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/FeatureInjectionImpl.java
deleted file mode 100644
index ee403f341fe..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/FeatureInjectionImpl.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Feature Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.FeatureInjectionImpl#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class FeatureInjectionImpl extends EObjectImpl implements FeatureInjection {
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected FeatureInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.FEATURE_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.FEATURE_INJECTION__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.FEATURE_INJECTION__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.FEATURE_INJECTION__DESCRIPTION:
- setDescription((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.FEATURE_INJECTION__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.FEATURE_INJECTION__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} // FeatureInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/InjectedServiceImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/InjectedServiceImpl.java
deleted file mode 100644
index 8523bec6861..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/InjectedServiceImpl.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Injected Service</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedServiceImpl#getService <em>Service</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class InjectedServiceImpl extends InjectedValueImpl implements InjectedService {
- /**
- * The cached value of the '{@link #getService() <em>Service</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getService()
- * @generated
- * @ordered
- */
- protected AbstractServiceDesc service;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected InjectedServiceImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.INJECTED_SERVICE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public AbstractServiceDesc getService() {
- if (service != null && service.eIsProxy()) {
- InternalEObject oldService = (InternalEObject) service;
- service = (AbstractServiceDesc) eResolveProxy(oldService);
- if (service != oldService) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ServicedescriptorsPackage.INJECTED_SERVICE__SERVICE, oldService, service));
- }
- }
- }
- return service;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public AbstractServiceDesc basicGetService() {
- return service;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setService(AbstractServiceDesc newService) {
- AbstractServiceDesc oldService = service;
- service = newService;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.INJECTED_SERVICE__SERVICE, oldService, service));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.INJECTED_SERVICE__SERVICE:
- if (resolve) {
- return getService();
- }
- return basicGetService();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.INJECTED_SERVICE__SERVICE:
- setService((AbstractServiceDesc) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.INJECTED_SERVICE__SERVICE:
- setService((AbstractServiceDesc) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.INJECTED_SERVICE__SERVICE:
- return service != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // InjectedServiceImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/InjectedValueImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/InjectedValueImpl.java
deleted file mode 100644
index b32c272b633..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/InjectedValueImpl.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Injected Value</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.InjectedValueImpl#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class InjectedValueImpl extends EObjectImpl implements InjectedValue {
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected InjectedValueImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.INJECTED_VALUE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.INJECTED_VALUE__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.INJECTED_VALUE__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.INJECTED_VALUE__DESCRIPTION:
- setDescription((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.INJECTED_VALUE__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.INJECTED_VALUE__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} // InjectedValueImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/MethodInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/MethodInjectionImpl.java
deleted file mode 100644
index 4c7f21e90ac..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/MethodInjectionImpl.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Method Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.MethodInjectionImpl#getMethodName <em>Method Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MethodInjectionImpl extends AbstractMethodInjectionImpl implements MethodInjection {
- /**
- * The default value of the '{@link #getMethodName() <em>Method Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMethodName()
- * @generated
- * @ordered
- */
- protected static final String METHOD_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMethodName() <em>Method Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMethodName()
- * @generated
- * @ordered
- */
- protected String methodName = METHOD_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected MethodInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.METHOD_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getMethodName() {
- return methodName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setMethodName(String newMethodName) {
- String oldMethodName = methodName;
- methodName = newMethodName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.METHOD_INJECTION__METHOD_NAME, oldMethodName, methodName));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.METHOD_INJECTION__METHOD_NAME:
- return getMethodName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.METHOD_INJECTION__METHOD_NAME:
- setMethodName((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.METHOD_INJECTION__METHOD_NAME:
- setMethodName(METHOD_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.METHOD_INJECTION__METHOD_NAME:
- return METHOD_NAME_EDEFAULT == null ? methodName != null : !METHOD_NAME_EDEFAULT.equals(methodName);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (methodName: ");
- result.append(methodName);
- result.append(')');
- return result.toString();
- }
-
-} // MethodInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/OpaqueInjectedValueImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/OpaqueInjectedValueImpl.java
deleted file mode 100644
index f7c48c0afa4..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/OpaqueInjectedValueImpl.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Opaque Injected Value</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.OpaqueInjectedValueImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OpaqueInjectedValueImpl extends InjectedValueImpl implements OpaqueInjectedValue {
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected OpaqueInjectedValueImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.OPAQUE_INJECTED_VALUE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.OPAQUE_INJECTED_VALUE__VALUE, oldValue, value));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.OPAQUE_INJECTED_VALUE__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.OPAQUE_INJECTED_VALUE__VALUE:
- setValue((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.OPAQUE_INJECTED_VALUE__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.OPAQUE_INJECTED_VALUE__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
-
-} // OpaqueInjectedValueImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ParameterInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ParameterInjectionImpl.java
deleted file mode 100644
index cde7e5a78b5..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ParameterInjectionImpl.java
+++ /dev/null
@@ -1,237 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Parameter Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ParameterInjectionImpl#getParameterName <em>Parameter Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ParameterInjectionImpl#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ParameterInjectionImpl extends EObjectImpl implements ParameterInjection {
- /**
- * The default value of the '{@link #getParameterName() <em>Parameter Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getParameterName()
- * @generated
- * @ordered
- */
- protected static final String PARAMETER_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getParameterName() <em>Parameter Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getParameterName()
- * @generated
- * @ordered
- */
- protected String parameterName = PARAMETER_NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValues()
- * @generated
- * @ordered
- */
- protected EList<InjectedValue> values;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ParameterInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.PARAMETER_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getParameterName() {
- return parameterName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setParameterName(String newParameterName) {
- String oldParameterName = parameterName;
- parameterName = newParameterName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.PARAMETER_INJECTION__PARAMETER_NAME, oldParameterName, parameterName));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<InjectedValue> getValues() {
- if (values == null) {
- values = new EObjectContainmentEList<InjectedValue>(InjectedValue.class, this, ServicedescriptorsPackage.PARAMETER_INJECTION__VALUES);
- }
- return values;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.PARAMETER_INJECTION__VALUES:
- return ((InternalEList<?>) getValues()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.PARAMETER_INJECTION__PARAMETER_NAME:
- return getParameterName();
- case ServicedescriptorsPackage.PARAMETER_INJECTION__VALUES:
- return getValues();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.PARAMETER_INJECTION__PARAMETER_NAME:
- setParameterName((String) newValue);
- return;
- case ServicedescriptorsPackage.PARAMETER_INJECTION__VALUES:
- getValues().clear();
- getValues().addAll((Collection<? extends InjectedValue>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.PARAMETER_INJECTION__PARAMETER_NAME:
- setParameterName(PARAMETER_NAME_EDEFAULT);
- return;
- case ServicedescriptorsPackage.PARAMETER_INJECTION__VALUES:
- getValues().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.PARAMETER_INJECTION__PARAMETER_NAME:
- return PARAMETER_NAME_EDEFAULT == null ? parameterName != null : !PARAMETER_NAME_EDEFAULT.equals(parameterName);
- case ServicedescriptorsPackage.PARAMETER_INJECTION__VALUES:
- return values != null && !values.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (parameterName: ");
- result.append(parameterName);
- result.append(')');
- return result.toString();
- }
-
-} // ParameterInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/PropertyInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/PropertyInjectionImpl.java
deleted file mode 100644
index 70073721ca0..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/PropertyInjectionImpl.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Property Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.PropertyInjectionImpl#getPropertyName <em>Property Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.PropertyInjectionImpl#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PropertyInjectionImpl extends FeatureInjectionImpl implements PropertyInjection {
- /**
- * The default value of the '{@link #getPropertyName() <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPropertyName()
- * @generated
- * @ordered
- */
- protected static final String PROPERTY_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPropertyName() <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPropertyName()
- * @generated
- * @ordered
- */
- protected String propertyName = PROPERTY_NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValues()
- * @generated
- * @ordered
- */
- protected EList<InjectedValue> values;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected PropertyInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.PROPERTY_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getPropertyName() {
- return propertyName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setPropertyName(String newPropertyName) {
- String oldPropertyName = propertyName;
- propertyName = newPropertyName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.PROPERTY_INJECTION__PROPERTY_NAME, oldPropertyName, propertyName));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<InjectedValue> getValues() {
- if (values == null) {
- values = new EObjectContainmentEList<InjectedValue>(InjectedValue.class, this, ServicedescriptorsPackage.PROPERTY_INJECTION__VALUES);
- }
- return values;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.PROPERTY_INJECTION__VALUES:
- return ((InternalEList<?>) getValues()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.PROPERTY_INJECTION__PROPERTY_NAME:
- return getPropertyName();
- case ServicedescriptorsPackage.PROPERTY_INJECTION__VALUES:
- return getValues();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.PROPERTY_INJECTION__PROPERTY_NAME:
- setPropertyName((String) newValue);
- return;
- case ServicedescriptorsPackage.PROPERTY_INJECTION__VALUES:
- getValues().clear();
- getValues().addAll((Collection<? extends InjectedValue>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.PROPERTY_INJECTION__PROPERTY_NAME:
- setPropertyName(PROPERTY_NAME_EDEFAULT);
- return;
- case ServicedescriptorsPackage.PROPERTY_INJECTION__VALUES:
- getValues().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.PROPERTY_INJECTION__PROPERTY_NAME:
- return PROPERTY_NAME_EDEFAULT == null ? propertyName != null : !PROPERTY_NAME_EDEFAULT.equals(propertyName);
- case ServicedescriptorsPackage.PROPERTY_INJECTION__VALUES:
- return values != null && !values.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (propertyName: ");
- result.append(propertyName);
- result.append(')');
- return result.toString();
- }
-
-} // PropertyInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/RegistryDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/RegistryDescImpl.java
deleted file mode 100644
index 0c00d267250..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/RegistryDescImpl.java
+++ /dev/null
@@ -1,593 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Registry Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl#getParents <em>Parents</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl#getChildren <em>Children</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl#getExtends <em>Extends</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl#getServiceSets <em>Service Sets</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl#isUnique <em>Is Unique</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.RegistryDescImpl#getServices <em>Services</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RegistryDescImpl extends EObjectImpl implements RegistryDesc {
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getParents() <em>Parents</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getParents()
- * @generated
- * @ordered
- */
- protected EList<RegistryDesc> parents;
-
- /**
- * The cached value of the '{@link #getChildren() <em>Children</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getChildren()
- * @generated
- * @ordered
- */
- protected EList<RegistryDesc> children;
-
- /**
- * The cached value of the '{@link #getExtends() <em>Extends</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getExtends()
- * @generated
- * @ordered
- */
- protected EList<RegistryDesc> extends_;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getServiceSets() <em>Service Sets</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getServiceSets()
- * @generated
- * @ordered
- */
- protected EList<ServiceSetDesc> serviceSets;
-
- /**
- * The default value of the '{@link #isUnique() <em>Is Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isUnique()
- * @generated
- * @ordered
- */
- protected static final boolean IS_UNIQUE_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isUnique() <em>Is Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isUnique()
- * @generated
- * @ordered
- */
- protected boolean isUnique = IS_UNIQUE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getServices() <em>Services</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getServices()
- * @generated
- * @ordered
- */
- protected EList<AbstractServiceDesc> services;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected RegistryDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.REGISTRY_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.REGISTRY_DESC__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<RegistryDesc> getParents() {
- if (parents == null) {
- parents = new EObjectWithInverseResolvingEList.ManyInverse<RegistryDesc>(RegistryDesc.class, this, ServicedescriptorsPackage.REGISTRY_DESC__PARENTS, ServicedescriptorsPackage.REGISTRY_DESC__CHILDREN);
- }
- return parents;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<RegistryDesc> getChildren() {
- if (children == null) {
- children = new EObjectWithInverseResolvingEList.ManyInverse<RegistryDesc>(RegistryDesc.class, this, ServicedescriptorsPackage.REGISTRY_DESC__CHILDREN, ServicedescriptorsPackage.REGISTRY_DESC__PARENTS);
- }
- return children;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<RegistryDesc> getExtends() {
- if (extends_ == null) {
- extends_ = new EObjectResolvingEList<RegistryDesc>(RegistryDesc.class, this, ServicedescriptorsPackage.REGISTRY_DESC__EXTENDS);
- }
- return extends_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.REGISTRY_DESC__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<ServiceSetDesc> getServiceSets() {
- if (serviceSets == null) {
- serviceSets = new EObjectResolvingEList<ServiceSetDesc>(ServiceSetDesc.class, this, ServicedescriptorsPackage.REGISTRY_DESC__SERVICE_SETS);
- }
- return serviceSets;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean isUnique() {
- return isUnique;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setIsUnique(boolean newIsUnique) {
- boolean oldIsUnique = isUnique;
- isUnique = newIsUnique;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.REGISTRY_DESC__IS_UNIQUE, oldIsUnique, isUnique));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<AbstractServiceDesc> getServices() {
- if (services == null) {
- services = new EObjectResolvingEList<AbstractServiceDesc>(AbstractServiceDesc.class, this, ServicedescriptorsPackage.REGISTRY_DESC__SERVICES);
- }
- return services;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public AbstractServiceDesc getServiceDesc(String serviceId) {
- if (serviceId == null) {
- return null;
- }
-
- for (AbstractServiceDesc desc : getServices()) {
- if (serviceId.equals(desc.getName())) {
- return desc;
- }
- }
-
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public ServiceSetDesc getServiceSetDesc(String serviceSetsId) {
- if (serviceSetsId == null) {
- return null;
- }
-
- for (ServiceSetDesc desc : getServiceSets()) {
- if (serviceSetsId.equals(desc.getName())) {
- return desc;
- }
- }
-
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public boolean servicesContains(String serviceId) {
- return getServiceDesc(serviceId) != null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public boolean serviceSetsContains(String serviceSetsId) {
- return getServiceSetDesc(serviceSetsId) != null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.REGISTRY_DESC__PARENTS:
- return ((InternalEList<InternalEObject>) (InternalEList<?>) getParents()).basicAdd(otherEnd, msgs);
- case ServicedescriptorsPackage.REGISTRY_DESC__CHILDREN:
- return ((InternalEList<InternalEObject>) (InternalEList<?>) getChildren()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.REGISTRY_DESC__PARENTS:
- return ((InternalEList<?>) getParents()).basicRemove(otherEnd, msgs);
- case ServicedescriptorsPackage.REGISTRY_DESC__CHILDREN:
- return ((InternalEList<?>) getChildren()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.REGISTRY_DESC__NAME:
- return getName();
- case ServicedescriptorsPackage.REGISTRY_DESC__PARENTS:
- return getParents();
- case ServicedescriptorsPackage.REGISTRY_DESC__CHILDREN:
- return getChildren();
- case ServicedescriptorsPackage.REGISTRY_DESC__EXTENDS:
- return getExtends();
- case ServicedescriptorsPackage.REGISTRY_DESC__DESCRIPTION:
- return getDescription();
- case ServicedescriptorsPackage.REGISTRY_DESC__SERVICE_SETS:
- return getServiceSets();
- case ServicedescriptorsPackage.REGISTRY_DESC__IS_UNIQUE:
- return isUnique();
- case ServicedescriptorsPackage.REGISTRY_DESC__SERVICES:
- return getServices();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.REGISTRY_DESC__NAME:
- setName((String) newValue);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__PARENTS:
- getParents().clear();
- getParents().addAll((Collection<? extends RegistryDesc>) newValue);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__CHILDREN:
- getChildren().clear();
- getChildren().addAll((Collection<? extends RegistryDesc>) newValue);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__EXTENDS:
- getExtends().clear();
- getExtends().addAll((Collection<? extends RegistryDesc>) newValue);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__DESCRIPTION:
- setDescription((String) newValue);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__SERVICE_SETS:
- getServiceSets().clear();
- getServiceSets().addAll((Collection<? extends ServiceSetDesc>) newValue);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__IS_UNIQUE:
- setIsUnique((Boolean) newValue);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__SERVICES:
- getServices().clear();
- getServices().addAll((Collection<? extends AbstractServiceDesc>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.REGISTRY_DESC__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__PARENTS:
- getParents().clear();
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__CHILDREN:
- getChildren().clear();
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__EXTENDS:
- getExtends().clear();
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__SERVICE_SETS:
- getServiceSets().clear();
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__IS_UNIQUE:
- setIsUnique(IS_UNIQUE_EDEFAULT);
- return;
- case ServicedescriptorsPackage.REGISTRY_DESC__SERVICES:
- getServices().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.REGISTRY_DESC__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ServicedescriptorsPackage.REGISTRY_DESC__PARENTS:
- return parents != null && !parents.isEmpty();
- case ServicedescriptorsPackage.REGISTRY_DESC__CHILDREN:
- return children != null && !children.isEmpty();
- case ServicedescriptorsPackage.REGISTRY_DESC__EXTENDS:
- return extends_ != null && !extends_.isEmpty();
- case ServicedescriptorsPackage.REGISTRY_DESC__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case ServicedescriptorsPackage.REGISTRY_DESC__SERVICE_SETS:
- return serviceSets != null && !serviceSets.isEmpty();
- case ServicedescriptorsPackage.REGISTRY_DESC__IS_UNIQUE:
- return isUnique != IS_UNIQUE_EDEFAULT;
- case ServicedescriptorsPackage.REGISTRY_DESC__SERVICES:
- return services != null && !services.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", description: ");
- result.append(description);
- result.append(", isUnique: ");
- result.append(isUnique);
- result.append(')');
- return result.toString();
- }
-
-} // RegistryDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceDescImpl.java
deleted file mode 100644
index 1f49a67c52d..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceDescImpl.java
+++ /dev/null
@@ -1,298 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Service Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceDescImpl#getStartKind <em>Start Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceDescImpl#getClassname <em>Classname</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceDescImpl#getInjections <em>Injections</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ServiceDescImpl extends AbstractServiceDescImpl implements ServiceDesc {
- /**
- * The default value of the '{@link #getStartKind() <em>Start Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getStartKind()
- * @generated
- * @ordered
- */
- protected static final StartupKind START_KIND_EDEFAULT = StartupKind.LAZY;
-
- /**
- * The cached value of the '{@link #getStartKind() <em>Start Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getStartKind()
- * @generated
- * @ordered
- */
- protected StartupKind startKind = START_KIND_EDEFAULT;
-
- /**
- * The default value of the '{@link #getClassname() <em>Classname</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getClassname()
- * @generated
- * @ordered
- */
- protected static final String CLASSNAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getClassname() <em>Classname</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getClassname()
- * @generated
- * @ordered
- */
- protected String classname = CLASSNAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getInjections() <em>Injections</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getInjections()
- * @generated
- * @ordered
- */
- protected EList<FeatureInjection> injections;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ServiceDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.SERVICE_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public StartupKind getStartKind() {
- return startKind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setStartKind(StartupKind newStartKind) {
- StartupKind oldStartKind = startKind;
- startKind = newStartKind == null ? START_KIND_EDEFAULT : newStartKind;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.SERVICE_DESC__START_KIND, oldStartKind, startKind));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getClassname() {
- return classname;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setClassname(String newClassname) {
- String oldClassname = classname;
- classname = newClassname;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.SERVICE_DESC__CLASSNAME, oldClassname, classname));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<FeatureInjection> getInjections() {
- if (injections == null) {
- injections = new EObjectContainmentEList<FeatureInjection>(FeatureInjection.class, this, ServicedescriptorsPackage.SERVICE_DESC__INJECTIONS);
- }
- return injections;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_DESC__INJECTIONS:
- return ((InternalEList<?>) getInjections()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_DESC__START_KIND:
- return getStartKind();
- case ServicedescriptorsPackage.SERVICE_DESC__CLASSNAME:
- return getClassname();
- case ServicedescriptorsPackage.SERVICE_DESC__INJECTIONS:
- return getInjections();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_DESC__START_KIND:
- setStartKind((StartupKind) newValue);
- return;
- case ServicedescriptorsPackage.SERVICE_DESC__CLASSNAME:
- setClassname((String) newValue);
- return;
- case ServicedescriptorsPackage.SERVICE_DESC__INJECTIONS:
- getInjections().clear();
- getInjections().addAll((Collection<? extends FeatureInjection>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_DESC__START_KIND:
- setStartKind(START_KIND_EDEFAULT);
- return;
- case ServicedescriptorsPackage.SERVICE_DESC__CLASSNAME:
- setClassname(CLASSNAME_EDEFAULT);
- return;
- case ServicedescriptorsPackage.SERVICE_DESC__INJECTIONS:
- getInjections().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_DESC__START_KIND:
- return startKind != START_KIND_EDEFAULT;
- case ServicedescriptorsPackage.SERVICE_DESC__CLASSNAME:
- return CLASSNAME_EDEFAULT == null ? classname != null : !CLASSNAME_EDEFAULT.equals(classname);
- case ServicedescriptorsPackage.SERVICE_DESC__INJECTIONS:
- return injections != null && !injections.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (startKind: ");
- result.append(startKind);
- result.append(", classname: ");
- result.append(classname);
- result.append(')');
- return result.toString();
- }
-
-} // ServiceDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceFactoryDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceFactoryDescImpl.java
deleted file mode 100644
index 1f4c86157ce..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceFactoryDescImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Service Factory Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ServiceFactoryDescImpl extends ServiceDescImpl implements ServiceFactoryDesc {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ServiceFactoryDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.SERVICE_FACTORY_DESC;
- }
-
-} // ServiceFactoryDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceSetDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceSetDescImpl.java
deleted file mode 100644
index 3c6a0baf761..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServiceSetDescImpl.java
+++ /dev/null
@@ -1,421 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Service Set Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceSetDescImpl#getServices <em>Services</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceSetDescImpl#getOwnedServices <em>Owned Services</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceSetDescImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceSetDescImpl#getExtends <em>Extends</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl.ServiceSetDescImpl#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ServiceSetDescImpl extends EObjectImpl implements ServiceSetDesc {
- /**
- * The cached value of the '{@link #getServices() <em>Services</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getServices()
- * @generated
- * @ordered
- */
- protected EList<AbstractServiceDesc> services;
-
- /**
- * The cached value of the '{@link #getOwnedServices() <em>Owned Services</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getOwnedServices()
- * @generated
- * @ordered
- */
- protected EList<AbstractServiceDesc> ownedServices;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getExtends() <em>Extends</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getExtends()
- * @generated
- * @ordered
- */
- protected EList<ServiceSetDesc> extends_;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ServiceSetDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorsPackage.Literals.SERVICE_SET_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<AbstractServiceDesc> getServices() {
- if (services == null) {
- services = new EObjectResolvingEList<AbstractServiceDesc>(AbstractServiceDesc.class, this, ServicedescriptorsPackage.SERVICE_SET_DESC__SERVICES);
- }
- return services;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<AbstractServiceDesc> getOwnedServices() {
- if (ownedServices == null) {
- ownedServices = new EObjectContainmentWithInverseEList<AbstractServiceDesc>(AbstractServiceDesc.class, this, ServicedescriptorsPackage.SERVICE_SET_DESC__OWNED_SERVICES, ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC__PARENT);
- }
- return ownedServices;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.SERVICE_SET_DESC__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<ServiceSetDesc> getExtends() {
- if (extends_ == null) {
- extends_ = new EObjectResolvingEList<ServiceSetDesc>(ServiceSetDesc.class, this, ServicedescriptorsPackage.SERVICE_SET_DESC__EXTENDS);
- }
- return extends_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorsPackage.SERVICE_SET_DESC__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public AbstractServiceDesc getServiceDesc(String serviceId) {
- if (serviceId == null) {
- return null;
- }
-
- for (AbstractServiceDesc desc : getServices()) {
- if (serviceId.equals(desc.getName())) {
- return desc;
- }
- }
-
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public boolean servicesContains(String serviceId) {
- return getServiceDesc(serviceId) != null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_SET_DESC__OWNED_SERVICES:
- return ((InternalEList<InternalEObject>) (InternalEList<?>) getOwnedServices()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_SET_DESC__OWNED_SERVICES:
- return ((InternalEList<?>) getOwnedServices()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_SET_DESC__SERVICES:
- return getServices();
- case ServicedescriptorsPackage.SERVICE_SET_DESC__OWNED_SERVICES:
- return getOwnedServices();
- case ServicedescriptorsPackage.SERVICE_SET_DESC__NAME:
- return getName();
- case ServicedescriptorsPackage.SERVICE_SET_DESC__EXTENDS:
- return getExtends();
- case ServicedescriptorsPackage.SERVICE_SET_DESC__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_SET_DESC__SERVICES:
- getServices().clear();
- getServices().addAll((Collection<? extends AbstractServiceDesc>) newValue);
- return;
- case ServicedescriptorsPackage.SERVICE_SET_DESC__OWNED_SERVICES:
- getOwnedServices().clear();
- getOwnedServices().addAll((Collection<? extends AbstractServiceDesc>) newValue);
- return;
- case ServicedescriptorsPackage.SERVICE_SET_DESC__NAME:
- setName((String) newValue);
- return;
- case ServicedescriptorsPackage.SERVICE_SET_DESC__EXTENDS:
- getExtends().clear();
- getExtends().addAll((Collection<? extends ServiceSetDesc>) newValue);
- return;
- case ServicedescriptorsPackage.SERVICE_SET_DESC__DESCRIPTION:
- setDescription((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_SET_DESC__SERVICES:
- getServices().clear();
- return;
- case ServicedescriptorsPackage.SERVICE_SET_DESC__OWNED_SERVICES:
- getOwnedServices().clear();
- return;
- case ServicedescriptorsPackage.SERVICE_SET_DESC__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ServicedescriptorsPackage.SERVICE_SET_DESC__EXTENDS:
- getExtends().clear();
- return;
- case ServicedescriptorsPackage.SERVICE_SET_DESC__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorsPackage.SERVICE_SET_DESC__SERVICES:
- return services != null && !services.isEmpty();
- case ServicedescriptorsPackage.SERVICE_SET_DESC__OWNED_SERVICES:
- return ownedServices != null && !ownedServices.isEmpty();
- case ServicedescriptorsPackage.SERVICE_SET_DESC__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ServicedescriptorsPackage.SERVICE_SET_DESC__EXTENDS:
- return extends_ != null && !extends_.isEmpty();
- case ServicedescriptorsPackage.SERVICE_SET_DESC__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} // ServiceSetDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServicedescriptorsFactoryImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServicedescriptorsFactoryImpl.java
deleted file mode 100644
index b929505c036..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServicedescriptorsFactoryImpl.java
+++ /dev/null
@@ -1,398 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsFactory;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class ServicedescriptorsFactoryImpl extends EFactoryImpl implements ServicedescriptorsFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static ServicedescriptorsFactory init() {
- try {
- ServicedescriptorsFactory theServicedescriptorsFactory = (ServicedescriptorsFactory) EPackage.Registry.INSTANCE.getEFactory("org.eclipse.papyrus..infra.core.servicedescriptors");
- if (theServicedescriptorsFactory != null) {
- return theServicedescriptorsFactory;
- }
- } catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ServicedescriptorsFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ServicedescriptorsFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case ServicedescriptorsPackage.REGISTRY_DESC:
- return createRegistryDesc();
- case ServicedescriptorsPackage.SERVICE_SET_DESC:
- return createServiceSetDesc();
- case ServicedescriptorsPackage.SERVICE_DESC:
- return createServiceDesc();
- case ServicedescriptorsPackage.ALIAS_DESC:
- return createAliasDesc();
- case ServicedescriptorsPackage.DESCRIPTORS:
- return createDescriptors();
- case ServicedescriptorsPackage.PROPERTY_INJECTION:
- return createPropertyInjection();
- case ServicedescriptorsPackage.METHOD_INJECTION:
- return createMethodInjection();
- case ServicedescriptorsPackage.PARAMETER_INJECTION:
- return createParameterInjection();
- case ServicedescriptorsPackage.INJECTED_SERVICE:
- return createInjectedService();
- case ServicedescriptorsPackage.OPAQUE_INJECTED_VALUE:
- return createOpaqueInjectedValue();
- case ServicedescriptorsPackage.CONSTRUCTOR_INJECTION:
- return createConstructorInjection();
- case ServicedescriptorsPackage.SERVICE_FACTORY_DESC:
- return createServiceFactoryDesc();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case ServicedescriptorsPackage.STARTUP_KIND:
- return createStartupKindFromString(eDataType, initialValue);
- case ServicedescriptorsPackage.STRING:
- return createStringFromString(eDataType, initialValue);
- case ServicedescriptorsPackage.BOOLEAN:
- return createbooleanFromString(eDataType, initialValue);
- case ServicedescriptorsPackage.INT:
- return createintFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case ServicedescriptorsPackage.STARTUP_KIND:
- return convertStartupKindToString(eDataType, instanceValue);
- case ServicedescriptorsPackage.STRING:
- return convertStringToString(eDataType, instanceValue);
- case ServicedescriptorsPackage.BOOLEAN:
- return convertbooleanToString(eDataType, instanceValue);
- case ServicedescriptorsPackage.INT:
- return convertintToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public RegistryDesc createRegistryDesc() {
- RegistryDescImpl registryDesc = new RegistryDescImpl();
- return registryDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServiceSetDesc createServiceSetDesc() {
- ServiceSetDescImpl serviceSetDesc = new ServiceSetDescImpl();
- return serviceSetDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServiceDesc createServiceDesc() {
- ServiceDescImpl serviceDesc = new ServiceDescImpl();
- return serviceDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public AliasDesc createAliasDesc() {
- AliasDescImpl aliasDesc = new AliasDescImpl();
- return aliasDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Descriptors createDescriptors() {
- DescriptorsImpl descriptors = new DescriptorsImpl();
- return descriptors;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public PropertyInjection createPropertyInjection() {
- PropertyInjectionImpl propertyInjection = new PropertyInjectionImpl();
- return propertyInjection;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public MethodInjection createMethodInjection() {
- MethodInjectionImpl methodInjection = new MethodInjectionImpl();
- return methodInjection;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ParameterInjection createParameterInjection() {
- ParameterInjectionImpl parameterInjection = new ParameterInjectionImpl();
- return parameterInjection;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public InjectedService createInjectedService() {
- InjectedServiceImpl injectedService = new InjectedServiceImpl();
- return injectedService;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public OpaqueInjectedValue createOpaqueInjectedValue() {
- OpaqueInjectedValueImpl opaqueInjectedValue = new OpaqueInjectedValueImpl();
- return opaqueInjectedValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ConstructorInjection createConstructorInjection() {
- ConstructorInjectionImpl constructorInjection = new ConstructorInjectionImpl();
- return constructorInjection;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServiceFactoryDesc createServiceFactoryDesc() {
- ServiceFactoryDescImpl serviceFactoryDesc = new ServiceFactoryDescImpl();
- return serviceFactoryDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public StartupKind createStartupKindFromString(EDataType eDataType, String initialValue) {
- StartupKind result = StartupKind.get(initialValue);
- if (result == null) {
- throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- }
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertStartupKindToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String createStringFromString(EDataType eDataType, String initialValue) {
- return (String) super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertStringToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Boolean createbooleanFromString(EDataType eDataType, String initialValue) {
- return (Boolean) super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertbooleanToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Integer createintFromString(EDataType eDataType, String initialValue) {
- return (Integer) super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertintToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServicedescriptorsPackage getServicedescriptorsPackage() {
- return (ServicedescriptorsPackage) getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static ServicedescriptorsPackage getPackage() {
- return ServicedescriptorsPackage.eINSTANCE;
- }
-
-} // ServicedescriptorsFactoryImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServicedescriptorsPackageImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServicedescriptorsPackageImpl.java
deleted file mode 100644
index 295b6d4f5f5..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/impl/ServicedescriptorsPackageImpl.java
+++ /dev/null
@@ -1,1167 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EOperation;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsFactory;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.StartupKind;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class ServicedescriptorsPackageImpl extends EPackageImpl implements ServicedescriptorsPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass registryDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass serviceSetDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass abstractServiceDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass serviceDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass featureInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass aliasDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass descriptorsEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass propertyInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass injectedValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass methodInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass abstractMethodInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass parameterInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass injectedServiceEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass opaqueInjectedValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass constructorInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass serviceFactoryDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EEnum startupKindEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType stringEDataType = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType booleanEDataType = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType intEDataType = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private ServicedescriptorsPackageImpl() {
- super(eNS_URI, ServicedescriptorsFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>
- * This method is used to initialize {@link ServicedescriptorsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static ServicedescriptorsPackage init() {
- if (isInited) {
- return (ServicedescriptorsPackage) EPackage.Registry.INSTANCE.getEPackage(ServicedescriptorsPackage.eNS_URI);
- }
-
- // Obtain or create and register package
- ServicedescriptorsPackageImpl theServicedescriptorsPackage = (ServicedescriptorsPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ServicedescriptorsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
- : new ServicedescriptorsPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theServicedescriptorsPackage.createPackageContents();
-
- // Initialize created meta-data
- theServicedescriptorsPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theServicedescriptorsPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(ServicedescriptorsPackage.eNS_URI, theServicedescriptorsPackage);
- return theServicedescriptorsPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getRegistryDesc() {
- return registryDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getRegistryDesc_Name() {
- return (EAttribute) registryDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getRegistryDesc_Parents() {
- return (EReference) registryDescEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getRegistryDesc_Children() {
- return (EReference) registryDescEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getRegistryDesc_Extends() {
- return (EReference) registryDescEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getRegistryDesc_Description() {
- return (EAttribute) registryDescEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getRegistryDesc_ServiceSets() {
- return (EReference) registryDescEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getRegistryDesc_IsUnique() {
- return (EAttribute) registryDescEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getRegistryDesc_Services() {
- return (EReference) registryDescEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getServiceSetDesc() {
- return serviceSetDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getServiceSetDesc_Services() {
- return (EReference) serviceSetDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getServiceSetDesc_OwnedServices() {
- return (EReference) serviceSetDescEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getServiceSetDesc_Name() {
- return (EAttribute) serviceSetDescEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getServiceSetDesc_Extends() {
- return (EReference) serviceSetDescEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getServiceSetDesc_Description() {
- return (EAttribute) serviceSetDescEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getAbstractServiceDesc() {
- return abstractServiceDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceDesc_Name() {
- return (EAttribute) abstractServiceDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getAbstractServiceDesc_DependsOn() {
- return (EReference) abstractServiceDescEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceDesc_Description() {
- return (EAttribute) abstractServiceDescEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceDesc_Priority() {
- return (EAttribute) abstractServiceDescEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceDesc_BundleID() {
- return (EAttribute) abstractServiceDescEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getAbstractServiceDesc_Parent() {
- return (EReference) abstractServiceDescEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceDesc_DependsOnIds() {
- return (EAttribute) abstractServiceDescEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getServiceDesc() {
- return serviceDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getServiceDesc_StartKind() {
- return (EAttribute) serviceDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getServiceDesc_Classname() {
- return (EAttribute) serviceDescEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getServiceDesc_Injections() {
- return (EReference) serviceDescEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getFeatureInjection() {
- return featureInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getFeatureInjection_Description() {
- return (EAttribute) featureInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getAliasDesc() {
- return aliasDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getAliasDesc_AliasedService() {
- return (EReference) aliasDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAliasDesc_AliasedServiceId() {
- return (EAttribute) aliasDescEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getDescriptors() {
- return descriptorsEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getDescriptors_Registries() {
- return (EReference) descriptorsEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getDescriptors_ServiceSets() {
- return (EReference) descriptorsEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getPropertyInjection() {
- return propertyInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getPropertyInjection_PropertyName() {
- return (EAttribute) propertyInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getPropertyInjection_Values() {
- return (EReference) propertyInjectionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getInjectedValue() {
- return injectedValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getInjectedValue_Description() {
- return (EAttribute) injectedValueEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getMethodInjection() {
- return methodInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getMethodInjection_MethodName() {
- return (EAttribute) methodInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getAbstractMethodInjection() {
- return abstractMethodInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getAbstractMethodInjection_Parameters() {
- return (EReference) abstractMethodInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getParameterInjection() {
- return parameterInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getParameterInjection_ParameterName() {
- return (EAttribute) parameterInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getParameterInjection_Values() {
- return (EReference) parameterInjectionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getInjectedService() {
- return injectedServiceEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getInjectedService_Service() {
- return (EReference) injectedServiceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getOpaqueInjectedValue() {
- return opaqueInjectedValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getOpaqueInjectedValue_Value() {
- return (EAttribute) opaqueInjectedValueEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getConstructorInjection() {
- return constructorInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getServiceFactoryDesc() {
- return serviceFactoryDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EEnum getStartupKind() {
- return startupKindEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EDataType getString() {
- return stringEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EDataType getboolean() {
- return booleanEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EDataType getint() {
- return intEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServicedescriptorsFactory getServicedescriptorsFactory() {
- return (ServicedescriptorsFactory) getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) {
- return;
- }
- isCreated = true;
-
- // Create classes and their features
- registryDescEClass = createEClass(REGISTRY_DESC);
- createEAttribute(registryDescEClass, REGISTRY_DESC__NAME);
- createEReference(registryDescEClass, REGISTRY_DESC__PARENTS);
- createEReference(registryDescEClass, REGISTRY_DESC__CHILDREN);
- createEReference(registryDescEClass, REGISTRY_DESC__EXTENDS);
- createEAttribute(registryDescEClass, REGISTRY_DESC__DESCRIPTION);
- createEReference(registryDescEClass, REGISTRY_DESC__SERVICE_SETS);
- createEAttribute(registryDescEClass, REGISTRY_DESC__IS_UNIQUE);
- createEReference(registryDescEClass, REGISTRY_DESC__SERVICES);
-
- serviceSetDescEClass = createEClass(SERVICE_SET_DESC);
- createEReference(serviceSetDescEClass, SERVICE_SET_DESC__SERVICES);
- createEReference(serviceSetDescEClass, SERVICE_SET_DESC__OWNED_SERVICES);
- createEAttribute(serviceSetDescEClass, SERVICE_SET_DESC__NAME);
- createEReference(serviceSetDescEClass, SERVICE_SET_DESC__EXTENDS);
- createEAttribute(serviceSetDescEClass, SERVICE_SET_DESC__DESCRIPTION);
-
- abstractServiceDescEClass = createEClass(ABSTRACT_SERVICE_DESC);
- createEAttribute(abstractServiceDescEClass, ABSTRACT_SERVICE_DESC__NAME);
- createEReference(abstractServiceDescEClass, ABSTRACT_SERVICE_DESC__DEPENDS_ON);
- createEAttribute(abstractServiceDescEClass, ABSTRACT_SERVICE_DESC__DESCRIPTION);
- createEAttribute(abstractServiceDescEClass, ABSTRACT_SERVICE_DESC__PRIORITY);
- createEAttribute(abstractServiceDescEClass, ABSTRACT_SERVICE_DESC__BUNDLE_ID);
- createEReference(abstractServiceDescEClass, ABSTRACT_SERVICE_DESC__PARENT);
- createEAttribute(abstractServiceDescEClass, ABSTRACT_SERVICE_DESC__DEPENDS_ON_IDS);
-
- serviceDescEClass = createEClass(SERVICE_DESC);
- createEAttribute(serviceDescEClass, SERVICE_DESC__START_KIND);
- createEAttribute(serviceDescEClass, SERVICE_DESC__CLASSNAME);
- createEReference(serviceDescEClass, SERVICE_DESC__INJECTIONS);
-
- featureInjectionEClass = createEClass(FEATURE_INJECTION);
- createEAttribute(featureInjectionEClass, FEATURE_INJECTION__DESCRIPTION);
-
- aliasDescEClass = createEClass(ALIAS_DESC);
- createEReference(aliasDescEClass, ALIAS_DESC__ALIASED_SERVICE);
- createEAttribute(aliasDescEClass, ALIAS_DESC__ALIASED_SERVICE_ID);
-
- descriptorsEClass = createEClass(DESCRIPTORS);
- createEReference(descriptorsEClass, DESCRIPTORS__REGISTRIES);
- createEReference(descriptorsEClass, DESCRIPTORS__SERVICE_SETS);
-
- propertyInjectionEClass = createEClass(PROPERTY_INJECTION);
- createEAttribute(propertyInjectionEClass, PROPERTY_INJECTION__PROPERTY_NAME);
- createEReference(propertyInjectionEClass, PROPERTY_INJECTION__VALUES);
-
- injectedValueEClass = createEClass(INJECTED_VALUE);
- createEAttribute(injectedValueEClass, INJECTED_VALUE__DESCRIPTION);
-
- methodInjectionEClass = createEClass(METHOD_INJECTION);
- createEAttribute(methodInjectionEClass, METHOD_INJECTION__METHOD_NAME);
-
- abstractMethodInjectionEClass = createEClass(ABSTRACT_METHOD_INJECTION);
- createEReference(abstractMethodInjectionEClass, ABSTRACT_METHOD_INJECTION__PARAMETERS);
-
- parameterInjectionEClass = createEClass(PARAMETER_INJECTION);
- createEAttribute(parameterInjectionEClass, PARAMETER_INJECTION__PARAMETER_NAME);
- createEReference(parameterInjectionEClass, PARAMETER_INJECTION__VALUES);
-
- injectedServiceEClass = createEClass(INJECTED_SERVICE);
- createEReference(injectedServiceEClass, INJECTED_SERVICE__SERVICE);
-
- opaqueInjectedValueEClass = createEClass(OPAQUE_INJECTED_VALUE);
- createEAttribute(opaqueInjectedValueEClass, OPAQUE_INJECTED_VALUE__VALUE);
-
- constructorInjectionEClass = createEClass(CONSTRUCTOR_INJECTION);
-
- serviceFactoryDescEClass = createEClass(SERVICE_FACTORY_DESC);
-
- // Create enums
- startupKindEEnum = createEEnum(STARTUP_KIND);
-
- // Create data types
- stringEDataType = createEDataType(STRING);
- booleanEDataType = createEDataType(BOOLEAN);
- intEDataType = createEDataType(INT);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) {
- return;
- }
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- serviceDescEClass.getESuperTypes().add(this.getAbstractServiceDesc());
- aliasDescEClass.getESuperTypes().add(this.getAbstractServiceDesc());
- propertyInjectionEClass.getESuperTypes().add(this.getFeatureInjection());
- methodInjectionEClass.getESuperTypes().add(this.getAbstractMethodInjection());
- abstractMethodInjectionEClass.getESuperTypes().add(this.getFeatureInjection());
- injectedServiceEClass.getESuperTypes().add(this.getInjectedValue());
- opaqueInjectedValueEClass.getESuperTypes().add(this.getInjectedValue());
- constructorInjectionEClass.getESuperTypes().add(this.getAbstractMethodInjection());
- serviceFactoryDescEClass.getESuperTypes().add(this.getServiceDesc());
-
- // Initialize classes and features; add operations and parameters
- initEClass(registryDescEClass, RegistryDesc.class, "RegistryDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRegistryDesc_Name(), this.getString(), "name", null, 1, 1, RegistryDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getRegistryDesc_Parents(), this.getRegistryDesc(), this.getRegistryDesc_Children(), "parents", null, 0, -1, RegistryDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEReference(getRegistryDesc_Children(), this.getRegistryDesc(), this.getRegistryDesc_Parents(), "children", null, 0, -1, RegistryDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEReference(getRegistryDesc_Extends(), this.getRegistryDesc(), null, "extends", null, 0, -1, RegistryDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getRegistryDesc_Description(), this.getString(), "description", null, 1, 1, RegistryDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getRegistryDesc_ServiceSets(), this.getServiceSetDesc(), null, "serviceSets", null, 0, -1, RegistryDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getRegistryDesc_IsUnique(), this.getboolean(), "isUnique", null, 1, 1, RegistryDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getRegistryDesc_Services(), this.getAbstractServiceDesc(), null, "services", null, 0, -1, RegistryDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- EOperation op = addEOperation(registryDescEClass, this.getAbstractServiceDesc(), "getServiceDesc", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getString(), "serviceId", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- op = addEOperation(registryDescEClass, this.getServiceSetDesc(), "getServiceSetDesc", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getString(), "serviceSetsId", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- op = addEOperation(registryDescEClass, this.getboolean(), "serviceSetsContains", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getString(), "serviceSetsId", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- op = addEOperation(registryDescEClass, this.getboolean(), "servicesContains", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getString(), "serviceId", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- initEClass(serviceSetDescEClass, ServiceSetDesc.class, "ServiceSetDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getServiceSetDesc_Services(), this.getAbstractServiceDesc(), null, "services", null, 0, -1, ServiceSetDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getServiceSetDesc_OwnedServices(), this.getAbstractServiceDesc(), this.getAbstractServiceDesc_Parent(), "ownedServices", null, 0, -1, ServiceSetDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getServiceSetDesc_Name(), this.getString(), "name", null, 1, 1, ServiceSetDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getServiceSetDesc_Extends(), this.getServiceSetDesc(), null, "extends", null, 0, -1, ServiceSetDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getServiceSetDesc_Description(), this.getString(), "description", null, 1, 1, ServiceSetDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- op = addEOperation(serviceSetDescEClass, this.getAbstractServiceDesc(), "getServiceDesc", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getString(), "serviceId", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- op = addEOperation(serviceSetDescEClass, this.getboolean(), "servicesContains", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getString(), "serviceId", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- initEClass(abstractServiceDescEClass, AbstractServiceDesc.class, "AbstractServiceDesc", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAbstractServiceDesc_Name(), this.getString(), "name", null, 1, 1, AbstractServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getAbstractServiceDesc_DependsOn(), this.getAbstractServiceDesc(), null, "dependsOn", null, 0, -1, AbstractServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractServiceDesc_Description(), this.getString(), "description", null, 1, 1, AbstractServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractServiceDesc_Priority(), this.getint(), "priority", null, 1, 1, AbstractServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractServiceDesc_BundleID(), this.getString(), "bundleID", null, 1, 1, AbstractServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getAbstractServiceDesc_Parent(), this.getServiceSetDesc(), this.getServiceSetDesc_OwnedServices(), "parent", null, 1, 1, AbstractServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractServiceDesc_DependsOnIds(), this.getString(), "dependsOnIds", null, 0, -1, AbstractServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(serviceDescEClass, ServiceDesc.class, "ServiceDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getServiceDesc_StartKind(), this.getStartupKind(), "startKind", "lazy", 1, 1, ServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getServiceDesc_Classname(), this.getString(), "classname", null, 1, 1, ServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getServiceDesc_Injections(), this.getFeatureInjection(), null, "injections", null, 0, -1, ServiceDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(featureInjectionEClass, FeatureInjection.class, "FeatureInjection", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFeatureInjection_Description(), this.getString(), "description", null, 1, 1, FeatureInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(aliasDescEClass, AliasDesc.class, "AliasDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAliasDesc_AliasedService(), this.getServiceDesc(), null, "aliasedService", null, 1, 1, AliasDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getAliasDesc_AliasedServiceId(), this.getString(), "aliasedServiceId", null, 1, 1, AliasDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(descriptorsEClass, Descriptors.class, "Descriptors", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDescriptors_Registries(), this.getRegistryDesc(), null, "registries", null, 0, -1, Descriptors.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getDescriptors_ServiceSets(), this.getServiceSetDesc(), null, "serviceSets", null, 0, -1, Descriptors.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- op = addEOperation(descriptorsEClass, this.getRegistryDesc(), "getRegistryDesc", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getString(), "name", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- op = addEOperation(descriptorsEClass, this.getServiceSetDesc(), "getServiceSetDesc", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getString(), "name", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- initEClass(propertyInjectionEClass, PropertyInjection.class, "PropertyInjection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPropertyInjection_PropertyName(), this.getString(), "propertyName", null, 1, 1, PropertyInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getPropertyInjection_Values(), this.getInjectedValue(), null, "values", null, 0, -1, PropertyInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(injectedValueEClass, InjectedValue.class, "InjectedValue", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInjectedValue_Description(), this.getString(), "description", null, 1, 1, InjectedValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(methodInjectionEClass, MethodInjection.class, "MethodInjection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMethodInjection_MethodName(), this.getString(), "methodName", null, 1, 1, MethodInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(abstractMethodInjectionEClass, AbstractMethodInjection.class, "AbstractMethodInjection", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAbstractMethodInjection_Parameters(), this.getParameterInjection(), null, "parameters", null, 0, -1, AbstractMethodInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(parameterInjectionEClass, ParameterInjection.class, "ParameterInjection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getParameterInjection_ParameterName(), this.getString(), "parameterName", null, 1, 1, ParameterInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getParameterInjection_Values(), this.getInjectedValue(), null, "values", null, 0, -1, ParameterInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(injectedServiceEClass, InjectedService.class, "InjectedService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getInjectedService_Service(), this.getAbstractServiceDesc(), null, "service", null, 1, 1, InjectedService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(opaqueInjectedValueEClass, OpaqueInjectedValue.class, "OpaqueInjectedValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getOpaqueInjectedValue_Value(), this.getString(), "value", null, 1, 1, OpaqueInjectedValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(constructorInjectionEClass, ConstructorInjection.class, "ConstructorInjection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(serviceFactoryDescEClass, ServiceFactoryDesc.class, "ServiceFactoryDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- // Initialize enums and add enum literals
- initEEnum(startupKindEEnum, StartupKind.class, "StartupKind");
- addEEnumLiteral(startupKindEEnum, StartupKind.LAZY);
- addEEnumLiteral(startupKindEEnum, StartupKind.STARTUP);
-
- // Initialize data types
- initEDataType(stringEDataType, String.class, "String", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(booleanEDataType, boolean.class, "boolean", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(intEDataType, int.class, "int", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} // ServicedescriptorsPackageImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/util/ServicedescriptorsAdapterFactory.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/util/ServicedescriptorsAdapterFactory.java
deleted file mode 100644
index 43c1b9f1516..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/util/ServicedescriptorsAdapterFactory.java
+++ /dev/null
@@ -1,443 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage
- * @generated
- */
-public class ServicedescriptorsAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static ServicedescriptorsPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ServicedescriptorsAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = ServicedescriptorsPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ServicedescriptorsSwitch<Adapter> modelSwitch =
- new ServicedescriptorsSwitch<Adapter>() {
- @Override
- public Adapter caseRegistryDesc(RegistryDesc object) {
- return createRegistryDescAdapter();
- }
-
- @Override
- public Adapter caseServiceSetDesc(ServiceSetDesc object) {
- return createServiceSetDescAdapter();
- }
-
- @Override
- public Adapter caseAbstractServiceDesc(AbstractServiceDesc object) {
- return createAbstractServiceDescAdapter();
- }
-
- @Override
- public Adapter caseServiceDesc(ServiceDesc object) {
- return createServiceDescAdapter();
- }
-
- @Override
- public Adapter caseFeatureInjection(FeatureInjection object) {
- return createFeatureInjectionAdapter();
- }
-
- @Override
- public Adapter caseAliasDesc(AliasDesc object) {
- return createAliasDescAdapter();
- }
-
- @Override
- public Adapter caseDescriptors(Descriptors object) {
- return createDescriptorsAdapter();
- }
-
- @Override
- public Adapter casePropertyInjection(PropertyInjection object) {
- return createPropertyInjectionAdapter();
- }
-
- @Override
- public Adapter caseInjectedValue(InjectedValue object) {
- return createInjectedValueAdapter();
- }
-
- @Override
- public Adapter caseMethodInjection(MethodInjection object) {
- return createMethodInjectionAdapter();
- }
-
- @Override
- public Adapter caseAbstractMethodInjection(AbstractMethodInjection object) {
- return createAbstractMethodInjectionAdapter();
- }
-
- @Override
- public Adapter caseParameterInjection(ParameterInjection object) {
- return createParameterInjectionAdapter();
- }
-
- @Override
- public Adapter caseInjectedService(InjectedService object) {
- return createInjectedServiceAdapter();
- }
-
- @Override
- public Adapter caseOpaqueInjectedValue(OpaqueInjectedValue object) {
- return createOpaqueInjectedValueAdapter();
- }
-
- @Override
- public Adapter caseConstructorInjection(ConstructorInjection object) {
- return createConstructorInjectionAdapter();
- }
-
- @Override
- public Adapter caseServiceFactoryDesc(ServiceFactoryDesc object) {
- return createServiceFactoryDescAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject) target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc <em>Registry Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc
- * @generated
- */
- public Adapter createRegistryDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc <em>Service Set Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc
- * @generated
- */
- public Adapter createServiceSetDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc <em>Abstract Service Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc
- * @generated
- */
- public Adapter createAbstractServiceDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc <em>Service Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc
- * @generated
- */
- public Adapter createServiceDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection <em>Feature Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection
- * @generated
- */
- public Adapter createFeatureInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc <em>Alias Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc
- * @generated
- */
- public Adapter createAliasDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors <em>Descriptors</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors
- * @generated
- */
- public Adapter createDescriptorsAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection <em>Property Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection
- * @generated
- */
- public Adapter createPropertyInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue <em>Injected Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue
- * @generated
- */
- public Adapter createInjectedValueAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection <em>Method Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection
- * @generated
- */
- public Adapter createMethodInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection <em>Abstract Method Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection
- * @generated
- */
- public Adapter createAbstractMethodInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection <em>Parameter Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection
- * @generated
- */
- public Adapter createParameterInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService <em>Injected Service</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService
- * @generated
- */
- public Adapter createInjectedServiceAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue <em>Opaque Injected Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue
- * @generated
- */
- public Adapter createOpaqueInjectedValueAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ConstructorInjection <em>Constructor Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ConstructorInjection
- * @generated
- */
- public Adapter createConstructorInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc <em>Service Factory Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc
- * @generated
- */
- public Adapter createServiceFactoryDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} // ServicedescriptorsAdapterFactory
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/util/ServicedescriptorsSwitch.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/util/ServicedescriptorsSwitch.java
deleted file mode 100644
index 8b947f19ba7..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/util/ServicedescriptorsSwitch.java
+++ /dev/null
@@ -1,546 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractMethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AbstractServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.AliasDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.RegistryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceFactoryDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServiceSetDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsPackage
- * @generated
- */
-public class ServicedescriptorsSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static ServicedescriptorsPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ServicedescriptorsSwitch() {
- if (modelPackage == null) {
- modelPackage = ServicedescriptorsPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case ServicedescriptorsPackage.REGISTRY_DESC: {
- RegistryDesc registryDesc = (RegistryDesc) theEObject;
- T result = caseRegistryDesc(registryDesc);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.SERVICE_SET_DESC: {
- ServiceSetDesc serviceSetDesc = (ServiceSetDesc) theEObject;
- T result = caseServiceSetDesc(serviceSetDesc);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.ABSTRACT_SERVICE_DESC: {
- AbstractServiceDesc abstractServiceDesc = (AbstractServiceDesc) theEObject;
- T result = caseAbstractServiceDesc(abstractServiceDesc);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.SERVICE_DESC: {
- ServiceDesc serviceDesc = (ServiceDesc) theEObject;
- T result = caseServiceDesc(serviceDesc);
- if (result == null) {
- result = caseAbstractServiceDesc(serviceDesc);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.FEATURE_INJECTION: {
- FeatureInjection featureInjection = (FeatureInjection) theEObject;
- T result = caseFeatureInjection(featureInjection);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.ALIAS_DESC: {
- AliasDesc aliasDesc = (AliasDesc) theEObject;
- T result = caseAliasDesc(aliasDesc);
- if (result == null) {
- result = caseAbstractServiceDesc(aliasDesc);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.DESCRIPTORS: {
- Descriptors descriptors = (Descriptors) theEObject;
- T result = caseDescriptors(descriptors);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.PROPERTY_INJECTION: {
- PropertyInjection propertyInjection = (PropertyInjection) theEObject;
- T result = casePropertyInjection(propertyInjection);
- if (result == null) {
- result = caseFeatureInjection(propertyInjection);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.INJECTED_VALUE: {
- InjectedValue injectedValue = (InjectedValue) theEObject;
- T result = caseInjectedValue(injectedValue);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.METHOD_INJECTION: {
- MethodInjection methodInjection = (MethodInjection) theEObject;
- T result = caseMethodInjection(methodInjection);
- if (result == null) {
- result = caseAbstractMethodInjection(methodInjection);
- }
- if (result == null) {
- result = caseFeatureInjection(methodInjection);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.ABSTRACT_METHOD_INJECTION: {
- AbstractMethodInjection abstractMethodInjection = (AbstractMethodInjection) theEObject;
- T result = caseAbstractMethodInjection(abstractMethodInjection);
- if (result == null) {
- result = caseFeatureInjection(abstractMethodInjection);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.PARAMETER_INJECTION: {
- ParameterInjection parameterInjection = (ParameterInjection) theEObject;
- T result = caseParameterInjection(parameterInjection);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.INJECTED_SERVICE: {
- InjectedService injectedService = (InjectedService) theEObject;
- T result = caseInjectedService(injectedService);
- if (result == null) {
- result = caseInjectedValue(injectedService);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.OPAQUE_INJECTED_VALUE: {
- OpaqueInjectedValue opaqueInjectedValue = (OpaqueInjectedValue) theEObject;
- T result = caseOpaqueInjectedValue(opaqueInjectedValue);
- if (result == null) {
- result = caseInjectedValue(opaqueInjectedValue);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.CONSTRUCTOR_INJECTION: {
- ConstructorInjection constructorInjection = (ConstructorInjection) theEObject;
- T result = caseConstructorInjection(constructorInjection);
- if (result == null) {
- result = caseAbstractMethodInjection(constructorInjection);
- }
- if (result == null) {
- result = caseFeatureInjection(constructorInjection);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorsPackage.SERVICE_FACTORY_DESC: {
- ServiceFactoryDesc serviceFactoryDesc = (ServiceFactoryDesc) theEObject;
- T result = caseServiceFactoryDesc(serviceFactoryDesc);
- if (result == null) {
- result = caseServiceDesc(serviceFactoryDesc);
- }
- if (result == null) {
- result = caseAbstractServiceDesc(serviceFactoryDesc);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Registry Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Registry Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRegistryDesc(RegistryDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Service Set Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Service Set Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseServiceSetDesc(ServiceSetDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Abstract Service Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Abstract Service Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAbstractServiceDesc(AbstractServiceDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Service Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Service Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseServiceDesc(ServiceDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Feature Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Feature Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFeatureInjection(FeatureInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Alias Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Alias Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAliasDesc(AliasDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Descriptors</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Descriptors</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDescriptors(Descriptors object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Property Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Property Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePropertyInjection(PropertyInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Injected Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Injected Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInjectedValue(InjectedValue object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Method Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Method Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMethodInjection(MethodInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Abstract Method Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Abstract Method Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAbstractMethodInjection(AbstractMethodInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Parameter Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Parameter Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseParameterInjection(ParameterInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Injected Service</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Injected Service</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInjectedService(InjectedService object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Opaque Injected Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Opaque Injected Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOpaqueInjectedValue(OpaqueInjectedValue object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Constructor Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Constructor Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseConstructorInjection(ConstructorInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Service Factory Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Service Factory Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseServiceFactoryDesc(ServiceFactoryDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
-
-} // ServicedescriptorsSwitch
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AbstractMethodInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AbstractMethodInjection.java
deleted file mode 100644
index c9fc87dd16c..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AbstractMethodInjection.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Abstract Method Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection#getParameters <em>Parameters</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAbstractMethodInjection()
- * @model abstract="true"
- * @generated
- */
-public interface AbstractMethodInjection extends FeatureInjection {
- /**
- * Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parameters</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Parameters</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAbstractMethodInjection_Parameters()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<ParameterInjection> getParameters();
-
-} // AbstractMethodInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AbstractServiceIdDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AbstractServiceIdDesc.java
deleted file mode 100644
index 517bca6040b..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AbstractServiceIdDesc.java
+++ /dev/null
@@ -1,188 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Abstract Service Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getNamespace <em>Namespace</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getDependsOn <em>Depends On</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getPriority <em>Priority</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getBundleID <em>Bundle ID</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAbstractServiceIdDesc()
- * @model abstract="true"
- * @generated
- */
-public interface AbstractServiceIdDesc extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAbstractServiceIdDesc_Name()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Namespace</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getServiceDescriptors <em>Service Descriptors</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Namespace</em>' container reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Namespace</em>' container reference.
- * @see #setNamespace(ServiceSetIdDesc)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAbstractServiceIdDesc_Namespace()
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getServiceDescriptors
- * @model opposite="serviceDescriptors" required="true" transient="false" ordered="false"
- * @generated
- */
- ServiceSetIdDesc getNamespace();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getNamespace <em>Namespace</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Namespace</em>' container reference.
- * @see #getNamespace()
- * @generated
- */
- void setNamespace(ServiceSetIdDesc value);
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAbstractServiceIdDesc_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * Returns the value of the '<em><b>Depends On</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Depends On</em>' attribute list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Depends On</em>' attribute list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAbstractServiceIdDesc_DependsOn()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String"
- * @generated
- */
- EList<String> getDependsOn();
-
- /**
- * Returns the value of the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Priority</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Priority</em>' attribute.
- * @see #setPriority(int)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAbstractServiceIdDesc_Priority()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.int" required="true" ordered="false"
- * @generated
- */
- int getPriority();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getPriority <em>Priority</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Priority</em>' attribute.
- * @see #getPriority()
- * @generated
- */
- void setPriority(int value);
-
- /**
- * Returns the value of the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Bundle ID</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Bundle ID</em>' attribute.
- * @see #setBundleID(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAbstractServiceIdDesc_BundleID()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getBundleID();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getBundleID <em>Bundle ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Bundle ID</em>' attribute.
- * @see #getBundleID()
- * @generated
- */
- void setBundleID(String value);
-
-} // AbstractServiceIdDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AliasIdDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AliasIdDesc.java
deleted file mode 100644
index ba339b02ae0..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/AliasIdDesc.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Alias Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc#getAliasedService <em>Aliased Service</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAliasIdDesc()
- * @model
- * @generated
- */
-public interface AliasIdDesc extends AbstractServiceIdDesc {
- /**
- * Returns the value of the '<em><b>Aliased Service</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Aliased Service</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Aliased Service</em>' attribute.
- * @see #setAliasedService(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getAliasIdDesc_AliasedService()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getAliasedService();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc#getAliasedService <em>Aliased Service</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Aliased Service</em>' attribute.
- * @see #getAliasedService()
- * @generated
- */
- void setAliasedService(String value);
-
-} // AliasIdDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ConstructorInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ConstructorInjection.java
deleted file mode 100644
index a7563a65ed8..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ConstructorInjection.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Constructor Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getConstructorInjection()
- * @model
- * @generated
- */
-public interface ConstructorInjection extends AbstractMethodInjection {
-} // ConstructorInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/FeatureInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/FeatureInjection.java
deleted file mode 100644
index e7e687325a4..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/FeatureInjection.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Feature Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getFeatureInjection()
- * @model abstract="true"
- * @generated
- */
-public interface FeatureInjection extends EObject {
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getFeatureInjection_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
-} // FeatureInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/IdDescriptors.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/IdDescriptors.java
deleted file mode 100644
index 71de53cacf8..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/IdDescriptors.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>IdDescriptors</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors#getRegistries <em>Registries</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors#getServiceSets <em>Service Sets</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getIdDescriptors()
- * @model
- * @generated
- */
-public interface IdDescriptors extends EObject {
- /**
- * Returns the value of the '<em><b>Registries</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Registries</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Registries</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getIdDescriptors_Registries()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<RegistryIdDesc> getRegistries();
-
- /**
- * Returns the value of the '<em><b>Service Sets</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Service Sets</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Service Sets</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getIdDescriptors_ServiceSets()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<ServiceSetIdDesc> getServiceSets();
-
-} // IdDescriptors
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/InjectedService.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/InjectedService.java
deleted file mode 100644
index 3d788a6423e..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/InjectedService.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Injected Service</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService#getServiceName <em>Service Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getInjectedService()
- * @model
- * @generated
- */
-public interface InjectedService extends InjectedValue {
- /**
- * Returns the value of the '<em><b>Service Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Service Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Service Name</em>' attribute.
- * @see #setServiceName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getInjectedService_ServiceName()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getServiceName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService#getServiceName <em>Service Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Service Name</em>' attribute.
- * @see #getServiceName()
- * @generated
- */
- void setServiceName(String value);
-
-} // InjectedService
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/InjectedValue.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/InjectedValue.java
deleted file mode 100644
index 364fa69e719..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/InjectedValue.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Injected Value</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getInjectedValue()
- * @model abstract="true"
- * @generated
- */
-public interface InjectedValue extends EObject {
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getInjectedValue_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
-} // InjectedValue
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/MethodInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/MethodInjection.java
deleted file mode 100644
index c74893a12fe..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/MethodInjection.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Method Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection#getMethodName <em>Method Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getMethodInjection()
- * @model
- * @generated
- */
-public interface MethodInjection extends AbstractMethodInjection {
- /**
- * Returns the value of the '<em><b>Method Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Method Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Method Name</em>' attribute.
- * @see #setMethodName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getMethodInjection_MethodName()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getMethodName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection#getMethodName <em>Method Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Method Name</em>' attribute.
- * @see #getMethodName()
- * @generated
- */
- void setMethodName(String value);
-
-} // MethodInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/OpaqueInjectedValue.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/OpaqueInjectedValue.java
deleted file mode 100644
index 21c31f54e93..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/OpaqueInjectedValue.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Opaque Injected Value</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getOpaqueInjectedValue()
- * @model
- * @generated
- */
-public interface OpaqueInjectedValue extends InjectedValue {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getOpaqueInjectedValue_Value()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
-} // OpaqueInjectedValue
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ParameterInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ParameterInjection.java
deleted file mode 100644
index d4c8e7dd9e0..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ParameterInjection.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Parameter Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection#getParameterName <em>Parameter Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getParameterInjection()
- * @model
- * @generated
- */
-public interface ParameterInjection extends EObject {
- /**
- * Returns the value of the '<em><b>Parameter Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parameter Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Parameter Name</em>' attribute.
- * @see #setParameterName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getParameterInjection_ParameterName()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getParameterName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection#getParameterName <em>Parameter Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Parameter Name</em>' attribute.
- * @see #getParameterName()
- * @generated
- */
- void setParameterName(String value);
-
- /**
- * Returns the value of the '<em><b>Values</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Values</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Values</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getParameterInjection_Values()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<InjectedValue> getValues();
-
-} // ParameterInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/PropertyInjection.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/PropertyInjection.java
deleted file mode 100644
index 6a25aff0b0e..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/PropertyInjection.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Property Injection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection#getPropertyName <em>Property Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getPropertyInjection()
- * @model
- * @generated
- */
-public interface PropertyInjection extends FeatureInjection {
- /**
- * Returns the value of the '<em><b>Property Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Property Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Property Name</em>' attribute.
- * @see #setPropertyName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getPropertyInjection_PropertyName()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getPropertyName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection#getPropertyName <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Property Name</em>' attribute.
- * @see #getPropertyName()
- * @generated
- */
- void setPropertyName(String value);
-
- /**
- * Returns the value of the '<em><b>Values</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Values</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Values</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getPropertyInjection_Values()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<InjectedValue> getValues();
-
-} // PropertyInjection
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/RegistryIdDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/RegistryIdDesc.java
deleted file mode 100644
index 5774826155a..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/RegistryIdDesc.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Registry Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#isUnique <em>Is Unique</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getSets <em>Sets</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getExtends <em>Extends</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getParents <em>Parents</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getRegistryIdDesc()
- * @model
- * @generated
- */
-public interface RegistryIdDesc extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getRegistryIdDesc_Name()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getRegistryIdDesc_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * Returns the value of the '<em><b>Is Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Unique</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Is Unique</em>' attribute.
- * @see #setIsUnique(boolean)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getRegistryIdDesc_IsUnique()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.boolean" required="true" ordered="false"
- * @generated
- */
- boolean isUnique();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#isUnique <em>Is Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Is Unique</em>' attribute.
- * @see #isUnique()
- * @generated
- */
- void setIsUnique(boolean value);
-
- /**
- * Returns the value of the '<em><b>Sets</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Sets</em>' attribute list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Sets</em>' attribute list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getRegistryIdDesc_Sets()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String"
- * @generated
- */
- EList<String> getSets();
-
- /**
- * Returns the value of the '<em><b>Extends</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Extends</em>' attribute list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Extends</em>' attribute list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getRegistryIdDesc_Extends()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String"
- * @generated
- */
- EList<String> getExtends();
-
- /**
- * Returns the value of the '<em><b>Parents</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parents</em>' attribute list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Parents</em>' attribute list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getRegistryIdDesc_Parents()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String"
- * @generated
- */
- EList<String> getParents();
-
-} // RegistryIdDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceFactoryIdDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceFactoryIdDesc.java
deleted file mode 100644
index f8ee1ba3c9f..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceFactoryIdDesc.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Service Factory Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceFactoryIdDesc()
- * @model
- * @generated
- */
-public interface ServiceFactoryIdDesc extends ServiceIdDesc {
-} // ServiceFactoryIdDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceIdDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceIdDesc.java
deleted file mode 100644
index e60cd74e5eb..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceIdDesc.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Service Desc</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getStartKind <em>Start Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getClassname <em>Classname</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getInjections <em>Injections</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceIdDesc()
- * @model
- * @generated
- */
-public interface ServiceIdDesc extends AbstractServiceIdDesc {
- /**
- * Returns the value of the '<em><b>Start Kind</b></em>' attribute.
- * The default value is <code>"lazy"</code>.
- * The literals are from the enumeration {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Start Kind</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Start Kind</em>' attribute.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind
- * @see #setStartKind(StartupKind)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceIdDesc_StartKind()
- * @model default="lazy" required="true" ordered="false"
- * @generated
- */
- StartupKind getStartKind();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getStartKind <em>Start Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Start Kind</em>' attribute.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind
- * @see #getStartKind()
- * @generated
- */
- void setStartKind(StartupKind value);
-
- /**
- * Returns the value of the '<em><b>Classname</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Classname</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Classname</em>' attribute.
- * @see #setClassname(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceIdDesc_Classname()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getClassname();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getClassname <em>Classname</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Classname</em>' attribute.
- * @see #getClassname()
- * @generated
- */
- void setClassname(String value);
-
- /**
- * Returns the value of the '<em><b>Injections</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Injections</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Injections</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceIdDesc_Injections()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<FeatureInjection> getInjections();
-
-} // ServiceIdDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceSetIdDesc.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceSetIdDesc.java
deleted file mode 100644
index 6fd7879269b..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServiceSetIdDesc.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Service Set</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getExtends <em>Extends</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getServiceDescriptors <em>Service Descriptors</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceSetIdDesc()
- * @model
- * @generated
- */
-public interface ServiceSetIdDesc extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceSetIdDesc_Name()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Extends</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Extends</em>' attribute list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Extends</em>' attribute list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceSetIdDesc_Extends()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String"
- * @generated
- */
- EList<String> getExtends();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceSetIdDesc_Description()
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.String" required="true" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * Returns the value of the '<em><b>Service Descriptors</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getNamespace <em>Namespace</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Service IdDescriptors</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Service Descriptors</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getServiceSetIdDesc_ServiceDescriptors()
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getNamespace
- * @model opposite="namespace" containment="true" ordered="false"
- * @generated
- */
- EList<AbstractServiceIdDesc> getServiceDescriptors();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model required="true" ordered="false" serviceIdDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.Object" serviceIdRequired="true" serviceIdOrdered="false"
- * @generated
- */
- AbstractServiceIdDesc getService(Object serviceId);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.boolean" required="true" ordered="false" serviceIdDataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.Object" serviceIdRequired="true"
- * serviceIdOrdered="false"
- * @generated
- */
- boolean containsService(Object serviceId);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model required="true" ordered="false" serviceDescRequired="true" serviceDescOrdered="false"
- * @generated
- */
- AbstractServiceIdDesc getService(AbstractServiceIdDesc serviceDesc);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model dataType="org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.boolean" required="true" ordered="false" serviceDescRequired="true" serviceDescOrdered="false"
- * @generated
- */
- boolean containsService(AbstractServiceIdDesc serviceDesc);
-
-} // ServiceSetIdDesc
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServicedescriptorswithidFactory.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServicedescriptorswithidFactory.java
deleted file mode 100644
index 4d954431830..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServicedescriptorswithidFactory.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage
- * @generated
- */
-public interface ServicedescriptorswithidFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- ServicedescriptorswithidFactory eINSTANCE = org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Registry Id Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Registry Id Desc</em>'.
- * @generated
- */
- RegistryIdDesc createRegistryIdDesc();
-
- /**
- * Returns a new object of class '<em>Service Id Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Service Id Desc</em>'.
- * @generated
- */
- ServiceIdDesc createServiceIdDesc();
-
- /**
- * Returns a new object of class '<em>Service Set Id Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Service Set Id Desc</em>'.
- * @generated
- */
- ServiceSetIdDesc createServiceSetIdDesc();
-
- /**
- * Returns a new object of class '<em>Alias Id Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Alias Id Desc</em>'.
- * @generated
- */
- AliasIdDesc createAliasIdDesc();
-
- /**
- * Returns a new object of class '<em>Id Descriptors</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Id Descriptors</em>'.
- * @generated
- */
- IdDescriptors createIdDescriptors();
-
- /**
- * Returns a new object of class '<em>Property Injection</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Property Injection</em>'.
- * @generated
- */
- PropertyInjection createPropertyInjection();
-
- /**
- * Returns a new object of class '<em>Method Injection</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Method Injection</em>'.
- * @generated
- */
- MethodInjection createMethodInjection();
-
- /**
- * Returns a new object of class '<em>Parameter Injection</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Parameter Injection</em>'.
- * @generated
- */
- ParameterInjection createParameterInjection();
-
- /**
- * Returns a new object of class '<em>Injected Service</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Injected Service</em>'.
- * @generated
- */
- InjectedService createInjectedService();
-
- /**
- * Returns a new object of class '<em>Opaque Injected Value</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Opaque Injected Value</em>'.
- * @generated
- */
- OpaqueInjectedValue createOpaqueInjectedValue();
-
- /**
- * Returns a new object of class '<em>Constructor Injection</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Constructor Injection</em>'.
- * @generated
- */
- ConstructorInjection createConstructorInjection();
-
- /**
- * Returns a new object of class '<em>Service Factory Id Desc</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Service Factory Id Desc</em>'.
- * @generated
- */
- ServiceFactoryIdDesc createServiceFactoryIdDesc();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- ServicedescriptorswithidPackage getServicedescriptorswithidPackage();
-
-} // ServicedescriptorswithidFactory
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServicedescriptorswithidPackage.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServicedescriptorswithidPackage.java
deleted file mode 100644
index 5ad4882a6ac..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/ServicedescriptorswithidPackage.java
+++ /dev/null
@@ -1,2225 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidFactory
- * @model kind="package"
- * @generated
- */
-public interface ServicedescriptorswithidPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "servicedescriptorswithid";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "org.eclipse.papyrus..infra.core.servicedescriptorswithid";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "servicedescriptorswithid";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- ServicedescriptorswithidPackage eINSTANCE = org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl <em>Registry Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getRegistryIdDesc()
- * @generated
- */
- int REGISTRY_ID_DESC = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_ID_DESC__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_ID_DESC__DESCRIPTION = 1;
-
- /**
- * The feature id for the '<em><b>Is Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_ID_DESC__IS_UNIQUE = 2;
-
- /**
- * The feature id for the '<em><b>Sets</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_ID_DESC__SETS = 3;
-
- /**
- * The feature id for the '<em><b>Extends</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_ID_DESC__EXTENDS = 4;
-
- /**
- * The feature id for the '<em><b>Parents</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_ID_DESC__PARENTS = 5;
-
- /**
- * The number of structural features of the '<em>Registry Id Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REGISTRY_ID_DESC_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl <em>Abstract Service Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getAbstractServiceIdDesc()
- * @generated
- */
- int ABSTRACT_SERVICE_ID_DESC = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_ID_DESC__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Namespace</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_ID_DESC__NAMESPACE = 1;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_ID_DESC__DESCRIPTION = 2;
-
- /**
- * The feature id for the '<em><b>Depends On</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON = 3;
-
- /**
- * The feature id for the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_ID_DESC__PRIORITY = 4;
-
- /**
- * The feature id for the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID = 5;
-
- /**
- * The number of structural features of the '<em>Abstract Service Id Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_SERVICE_ID_DESC_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceIdDescImpl <em>Service Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getServiceIdDesc()
- * @generated
- */
- int SERVICE_ID_DESC = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC__NAME = ABSTRACT_SERVICE_ID_DESC__NAME;
-
- /**
- * The feature id for the '<em><b>Namespace</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC__NAMESPACE = ABSTRACT_SERVICE_ID_DESC__NAMESPACE;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC__DESCRIPTION = ABSTRACT_SERVICE_ID_DESC__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Depends On</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC__DEPENDS_ON = ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON;
-
- /**
- * The feature id for the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC__PRIORITY = ABSTRACT_SERVICE_ID_DESC__PRIORITY;
-
- /**
- * The feature id for the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC__BUNDLE_ID = ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID;
-
- /**
- * The feature id for the '<em><b>Start Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC__START_KIND = ABSTRACT_SERVICE_ID_DESC_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Classname</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC__CLASSNAME = ABSTRACT_SERVICE_ID_DESC_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Injections</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC__INJECTIONS = ABSTRACT_SERVICE_ID_DESC_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Service Id Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_ID_DESC_FEATURE_COUNT = ABSTRACT_SERVICE_ID_DESC_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceSetIdDescImpl <em>Service Set Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceSetIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getServiceSetIdDesc()
- * @generated
- */
- int SERVICE_SET_ID_DESC = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_ID_DESC__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Extends</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_ID_DESC__EXTENDS = 1;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_ID_DESC__DESCRIPTION = 2;
-
- /**
- * The feature id for the '<em><b>Service Descriptors</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS = 3;
-
- /**
- * The number of structural features of the '<em>Service Set Id Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_SET_ID_DESC_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.FeatureInjectionImpl <em>Feature Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.FeatureInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getFeatureInjection()
- * @generated
- */
- int FEATURE_INJECTION = 4;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FEATURE_INJECTION__DESCRIPTION = 0;
-
- /**
- * The number of structural features of the '<em>Feature Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FEATURE_INJECTION_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AliasIdDescImpl <em>Alias Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AliasIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getAliasIdDesc()
- * @generated
- */
- int ALIAS_ID_DESC = 5;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_ID_DESC__NAME = ABSTRACT_SERVICE_ID_DESC__NAME;
-
- /**
- * The feature id for the '<em><b>Namespace</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_ID_DESC__NAMESPACE = ABSTRACT_SERVICE_ID_DESC__NAMESPACE;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_ID_DESC__DESCRIPTION = ABSTRACT_SERVICE_ID_DESC__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Depends On</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_ID_DESC__DEPENDS_ON = ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON;
-
- /**
- * The feature id for the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_ID_DESC__PRIORITY = ABSTRACT_SERVICE_ID_DESC__PRIORITY;
-
- /**
- * The feature id for the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_ID_DESC__BUNDLE_ID = ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID;
-
- /**
- * The feature id for the '<em><b>Aliased Service</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_ID_DESC__ALIASED_SERVICE = ABSTRACT_SERVICE_ID_DESC_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Alias Id Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ALIAS_ID_DESC_FEATURE_COUNT = ABSTRACT_SERVICE_ID_DESC_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.IdDescriptorsImpl <em>Id Descriptors</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.IdDescriptorsImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getIdDescriptors()
- * @generated
- */
- int ID_DESCRIPTORS = 6;
-
- /**
- * The feature id for the '<em><b>Registries</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ID_DESCRIPTORS__REGISTRIES = 0;
-
- /**
- * The feature id for the '<em><b>Service Sets</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ID_DESCRIPTORS__SERVICE_SETS = 1;
-
- /**
- * The number of structural features of the '<em>Id Descriptors</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ID_DESCRIPTORS_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.PropertyInjectionImpl <em>Property Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.PropertyInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getPropertyInjection()
- * @generated
- */
- int PROPERTY_INJECTION = 7;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_INJECTION__DESCRIPTION = FEATURE_INJECTION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Property Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_INJECTION__PROPERTY_NAME = FEATURE_INJECTION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Values</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_INJECTION__VALUES = FEATURE_INJECTION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Property Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_INJECTION_FEATURE_COUNT = FEATURE_INJECTION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedValueImpl <em>Injected Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedValueImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getInjectedValue()
- * @generated
- */
- int INJECTED_VALUE = 8;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_VALUE__DESCRIPTION = 0;
-
- /**
- * The number of structural features of the '<em>Injected Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_VALUE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractMethodInjectionImpl <em>Abstract Method Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractMethodInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getAbstractMethodInjection()
- * @generated
- */
- int ABSTRACT_METHOD_INJECTION = 10;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_METHOD_INJECTION__DESCRIPTION = FEATURE_INJECTION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Parameters</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_METHOD_INJECTION__PARAMETERS = FEATURE_INJECTION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Abstract Method Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ABSTRACT_METHOD_INJECTION_FEATURE_COUNT = FEATURE_INJECTION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.MethodInjectionImpl <em>Method Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.MethodInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getMethodInjection()
- * @generated
- */
- int METHOD_INJECTION = 9;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int METHOD_INJECTION__DESCRIPTION = ABSTRACT_METHOD_INJECTION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Parameters</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int METHOD_INJECTION__PARAMETERS = ABSTRACT_METHOD_INJECTION__PARAMETERS;
-
- /**
- * The feature id for the '<em><b>Method Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int METHOD_INJECTION__METHOD_NAME = ABSTRACT_METHOD_INJECTION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Method Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int METHOD_INJECTION_FEATURE_COUNT = ABSTRACT_METHOD_INJECTION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ParameterInjectionImpl <em>Parameter Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ParameterInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getParameterInjection()
- * @generated
- */
- int PARAMETER_INJECTION = 11;
-
- /**
- * The feature id for the '<em><b>Parameter Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PARAMETER_INJECTION__PARAMETER_NAME = 0;
-
- /**
- * The feature id for the '<em><b>Values</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PARAMETER_INJECTION__VALUES = 1;
-
- /**
- * The number of structural features of the '<em>Parameter Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PARAMETER_INJECTION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedServiceImpl <em>Injected Service</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedServiceImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getInjectedService()
- * @generated
- */
- int INJECTED_SERVICE = 12;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_SERVICE__DESCRIPTION = INJECTED_VALUE__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Service Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_SERVICE__SERVICE_NAME = INJECTED_VALUE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Injected Service</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INJECTED_SERVICE_FEATURE_COUNT = INJECTED_VALUE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.OpaqueInjectedValueImpl <em>Opaque Injected Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.OpaqueInjectedValueImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getOpaqueInjectedValue()
- * @generated
- */
- int OPAQUE_INJECTED_VALUE = 13;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPAQUE_INJECTED_VALUE__DESCRIPTION = INJECTED_VALUE__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPAQUE_INJECTED_VALUE__VALUE = INJECTED_VALUE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Opaque Injected Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPAQUE_INJECTED_VALUE_FEATURE_COUNT = INJECTED_VALUE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ConstructorInjectionImpl <em>Constructor Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ConstructorInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getConstructorInjection()
- * @generated
- */
- int CONSTRUCTOR_INJECTION = 14;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONSTRUCTOR_INJECTION__DESCRIPTION = ABSTRACT_METHOD_INJECTION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Parameters</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONSTRUCTOR_INJECTION__PARAMETERS = ABSTRACT_METHOD_INJECTION__PARAMETERS;
-
- /**
- * The number of structural features of the '<em>Constructor Injection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONSTRUCTOR_INJECTION_FEATURE_COUNT = ABSTRACT_METHOD_INJECTION_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceFactoryIdDescImpl <em>Service Factory Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceFactoryIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getServiceFactoryIdDesc()
- * @generated
- */
- int SERVICE_FACTORY_ID_DESC = 15;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC__NAME = SERVICE_ID_DESC__NAME;
-
- /**
- * The feature id for the '<em><b>Namespace</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC__NAMESPACE = SERVICE_ID_DESC__NAMESPACE;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC__DESCRIPTION = SERVICE_ID_DESC__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Depends On</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC__DEPENDS_ON = SERVICE_ID_DESC__DEPENDS_ON;
-
- /**
- * The feature id for the '<em><b>Priority</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC__PRIORITY = SERVICE_ID_DESC__PRIORITY;
-
- /**
- * The feature id for the '<em><b>Bundle ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC__BUNDLE_ID = SERVICE_ID_DESC__BUNDLE_ID;
-
- /**
- * The feature id for the '<em><b>Start Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC__START_KIND = SERVICE_ID_DESC__START_KIND;
-
- /**
- * The feature id for the '<em><b>Classname</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC__CLASSNAME = SERVICE_ID_DESC__CLASSNAME;
-
- /**
- * The feature id for the '<em><b>Injections</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC__INJECTIONS = SERVICE_ID_DESC__INJECTIONS;
-
- /**
- * The number of structural features of the '<em>Service Factory Id Desc</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SERVICE_FACTORY_ID_DESC_FEATURE_COUNT = SERVICE_ID_DESC_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind <em>Startup Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getStartupKind()
- * @generated
- */
- int STARTUP_KIND = 16;
-
- /**
- * The meta object id for the '<em>String</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see java.lang.String
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getString()
- * @generated
- */
- int STRING = 17;
-
- /**
- * The meta object id for the '<em>boolean</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getboolean()
- * @generated
- */
- int BOOLEAN = 18;
-
- /**
- * The meta object id for the '<em>Object</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see java.lang.Object
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getObject()
- * @generated
- */
- int OBJECT = 19;
-
- /**
- * The meta object id for the '<em>int</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getint()
- * @generated
- */
- int INT = 20;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc <em>Registry Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Registry Id Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc
- * @generated
- */
- EClass getRegistryIdDesc();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getName()
- * @see #getRegistryIdDesc()
- * @generated
- */
- EAttribute getRegistryIdDesc_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getDescription()
- * @see #getRegistryIdDesc()
- * @generated
- */
- EAttribute getRegistryIdDesc_Description();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#isUnique <em>Is Unique</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Is Unique</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#isUnique()
- * @see #getRegistryIdDesc()
- * @generated
- */
- EAttribute getRegistryIdDesc_IsUnique();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getSets <em>Sets</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Sets</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getSets()
- * @see #getRegistryIdDesc()
- * @generated
- */
- EAttribute getRegistryIdDesc_Sets();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getExtends <em>Extends</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Extends</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getExtends()
- * @see #getRegistryIdDesc()
- * @generated
- */
- EAttribute getRegistryIdDesc_Extends();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getParents <em>Parents</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Parents</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc#getParents()
- * @see #getRegistryIdDesc()
- * @generated
- */
- EAttribute getRegistryIdDesc_Parents();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc <em>Service Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Service Id Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc
- * @generated
- */
- EClass getServiceIdDesc();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getStartKind <em>Start Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Start Kind</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getStartKind()
- * @see #getServiceIdDesc()
- * @generated
- */
- EAttribute getServiceIdDesc_StartKind();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getClassname <em>Classname</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Classname</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getClassname()
- * @see #getServiceIdDesc()
- * @generated
- */
- EAttribute getServiceIdDesc_Classname();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getInjections <em>Injections</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Injections</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc#getInjections()
- * @see #getServiceIdDesc()
- * @generated
- */
- EReference getServiceIdDesc_Injections();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc <em>Abstract Service Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Abstract Service Id Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc
- * @generated
- */
- EClass getAbstractServiceIdDesc();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getName()
- * @see #getAbstractServiceIdDesc()
- * @generated
- */
- EAttribute getAbstractServiceIdDesc_Name();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getNamespace <em>Namespace</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the container reference '<em>Namespace</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getNamespace()
- * @see #getAbstractServiceIdDesc()
- * @generated
- */
- EReference getAbstractServiceIdDesc_Namespace();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getDescription()
- * @see #getAbstractServiceIdDesc()
- * @generated
- */
- EAttribute getAbstractServiceIdDesc_Description();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getDependsOn <em>Depends On</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Depends On</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getDependsOn()
- * @see #getAbstractServiceIdDesc()
- * @generated
- */
- EAttribute getAbstractServiceIdDesc_DependsOn();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getPriority <em>Priority</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Priority</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getPriority()
- * @see #getAbstractServiceIdDesc()
- * @generated
- */
- EAttribute getAbstractServiceIdDesc_Priority();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getBundleID <em>Bundle ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Bundle ID</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc#getBundleID()
- * @see #getAbstractServiceIdDesc()
- * @generated
- */
- EAttribute getAbstractServiceIdDesc_BundleID();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc <em>Service Set Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Service Set Id Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc
- * @generated
- */
- EClass getServiceSetIdDesc();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getName()
- * @see #getServiceSetIdDesc()
- * @generated
- */
- EAttribute getServiceSetIdDesc_Name();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getExtends <em>Extends</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Extends</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getExtends()
- * @see #getServiceSetIdDesc()
- * @generated
- */
- EAttribute getServiceSetIdDesc_Extends();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getDescription()
- * @see #getServiceSetIdDesc()
- * @generated
- */
- EAttribute getServiceSetIdDesc_Description();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getServiceDescriptors <em>Service Descriptors</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Service Descriptors</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc#getServiceDescriptors()
- * @see #getServiceSetIdDesc()
- * @generated
- */
- EReference getServiceSetIdDesc_ServiceDescriptors();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection <em>Feature Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Feature Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection
- * @generated
- */
- EClass getFeatureInjection();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection#getDescription()
- * @see #getFeatureInjection()
- * @generated
- */
- EAttribute getFeatureInjection_Description();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc <em>Alias Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Alias Id Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc
- * @generated
- */
- EClass getAliasIdDesc();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc#getAliasedService <em>Aliased Service</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Aliased Service</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc#getAliasedService()
- * @see #getAliasIdDesc()
- * @generated
- */
- EAttribute getAliasIdDesc_AliasedService();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors <em>Id Descriptors</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Id Descriptors</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors
- * @generated
- */
- EClass getIdDescriptors();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors#getRegistries <em>Registries</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Registries</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors#getRegistries()
- * @see #getIdDescriptors()
- * @generated
- */
- EReference getIdDescriptors_Registries();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors#getServiceSets <em>Service Sets</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Service Sets</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors#getServiceSets()
- * @see #getIdDescriptors()
- * @generated
- */
- EReference getIdDescriptors_ServiceSets();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection <em>Property Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Property Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection
- * @generated
- */
- EClass getPropertyInjection();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection#getPropertyName <em>Property Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Property Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection#getPropertyName()
- * @see #getPropertyInjection()
- * @generated
- */
- EAttribute getPropertyInjection_PropertyName();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection#getValues <em>Values</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Values</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection#getValues()
- * @see #getPropertyInjection()
- * @generated
- */
- EReference getPropertyInjection_Values();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue <em>Injected Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Injected Value</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue
- * @generated
- */
- EClass getInjectedValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue#getDescription()
- * @see #getInjectedValue()
- * @generated
- */
- EAttribute getInjectedValue_Description();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection <em>Method Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Method Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection
- * @generated
- */
- EClass getMethodInjection();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection#getMethodName <em>Method Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Method Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection#getMethodName()
- * @see #getMethodInjection()
- * @generated
- */
- EAttribute getMethodInjection_MethodName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection <em>Abstract Method Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Abstract Method Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection
- * @generated
- */
- EClass getAbstractMethodInjection();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection#getParameters <em>Parameters</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Parameters</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection#getParameters()
- * @see #getAbstractMethodInjection()
- * @generated
- */
- EReference getAbstractMethodInjection_Parameters();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection <em>Parameter Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Parameter Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection
- * @generated
- */
- EClass getParameterInjection();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection#getParameterName <em>Parameter Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Parameter Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection#getParameterName()
- * @see #getParameterInjection()
- * @generated
- */
- EAttribute getParameterInjection_ParameterName();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection#getValues <em>Values</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Values</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection#getValues()
- * @see #getParameterInjection()
- * @generated
- */
- EReference getParameterInjection_Values();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService <em>Injected Service</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Injected Service</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService
- * @generated
- */
- EClass getInjectedService();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService#getServiceName <em>Service Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Service Name</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService#getServiceName()
- * @see #getInjectedService()
- * @generated
- */
- EAttribute getInjectedService_ServiceName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue <em>Opaque Injected Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Opaque Injected Value</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue
- * @generated
- */
- EClass getOpaqueInjectedValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue#getValue()
- * @see #getOpaqueInjectedValue()
- * @generated
- */
- EAttribute getOpaqueInjectedValue_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ConstructorInjection <em>Constructor Injection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Constructor Injection</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ConstructorInjection
- * @generated
- */
- EClass getConstructorInjection();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc <em>Service Factory Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Service Factory Id Desc</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc
- * @generated
- */
- EClass getServiceFactoryIdDesc();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind <em>Startup Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for enum '<em>Startup Kind</em>'.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind
- * @generated
- */
- EEnum getStartupKind();
-
- /**
- * Returns the meta object for data type '{@link java.lang.String <em>String</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>String</em>'.
- * @see java.lang.String
- * @model instanceClass="java.lang.String"
- * @generated
- */
- EDataType getString();
-
- /**
- * Returns the meta object for data type '<em>boolean</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>boolean</em>'.
- * @model instanceClass="boolean"
- * @generated
- */
- EDataType getboolean();
-
- /**
- * Returns the meta object for data type '{@link java.lang.Object <em>Object</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>Object</em>'.
- * @see java.lang.Object
- * @model instanceClass="java.lang.Object"
- * @generated
- */
- EDataType getObject();
-
- /**
- * Returns the meta object for data type '<em>int</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>int</em>'.
- * @model instanceClass="int"
- * @generated
- */
- EDataType getint();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the factory that creates the instances of the model.
- * @generated
- */
- ServicedescriptorswithidFactory getServicedescriptorswithidFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl <em>Registry Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getRegistryIdDesc()
- * @generated
- */
- EClass REGISTRY_ID_DESC = eINSTANCE.getRegistryIdDesc();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REGISTRY_ID_DESC__NAME = eINSTANCE.getRegistryIdDesc_Name();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REGISTRY_ID_DESC__DESCRIPTION = eINSTANCE.getRegistryIdDesc_Description();
-
- /**
- * The meta object literal for the '<em><b>Is Unique</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REGISTRY_ID_DESC__IS_UNIQUE = eINSTANCE.getRegistryIdDesc_IsUnique();
-
- /**
- * The meta object literal for the '<em><b>Sets</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REGISTRY_ID_DESC__SETS = eINSTANCE.getRegistryIdDesc_Sets();
-
- /**
- * The meta object literal for the '<em><b>Extends</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REGISTRY_ID_DESC__EXTENDS = eINSTANCE.getRegistryIdDesc_Extends();
-
- /**
- * The meta object literal for the '<em><b>Parents</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REGISTRY_ID_DESC__PARENTS = eINSTANCE.getRegistryIdDesc_Parents();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceIdDescImpl <em>Service Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getServiceIdDesc()
- * @generated
- */
- EClass SERVICE_ID_DESC = eINSTANCE.getServiceIdDesc();
-
- /**
- * The meta object literal for the '<em><b>Start Kind</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SERVICE_ID_DESC__START_KIND = eINSTANCE.getServiceIdDesc_StartKind();
-
- /**
- * The meta object literal for the '<em><b>Classname</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SERVICE_ID_DESC__CLASSNAME = eINSTANCE.getServiceIdDesc_Classname();
-
- /**
- * The meta object literal for the '<em><b>Injections</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference SERVICE_ID_DESC__INJECTIONS = eINSTANCE.getServiceIdDesc_Injections();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl <em>Abstract Service Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getAbstractServiceIdDesc()
- * @generated
- */
- EClass ABSTRACT_SERVICE_ID_DESC = eINSTANCE.getAbstractServiceIdDesc();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_ID_DESC__NAME = eINSTANCE.getAbstractServiceIdDesc_Name();
-
- /**
- * The meta object literal for the '<em><b>Namespace</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ABSTRACT_SERVICE_ID_DESC__NAMESPACE = eINSTANCE.getAbstractServiceIdDesc_Namespace();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_ID_DESC__DESCRIPTION = eINSTANCE.getAbstractServiceIdDesc_Description();
-
- /**
- * The meta object literal for the '<em><b>Depends On</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON = eINSTANCE.getAbstractServiceIdDesc_DependsOn();
-
- /**
- * The meta object literal for the '<em><b>Priority</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_ID_DESC__PRIORITY = eINSTANCE.getAbstractServiceIdDesc_Priority();
-
- /**
- * The meta object literal for the '<em><b>Bundle ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID = eINSTANCE.getAbstractServiceIdDesc_BundleID();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceSetIdDescImpl <em>Service Set Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceSetIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getServiceSetIdDesc()
- * @generated
- */
- EClass SERVICE_SET_ID_DESC = eINSTANCE.getServiceSetIdDesc();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SERVICE_SET_ID_DESC__NAME = eINSTANCE.getServiceSetIdDesc_Name();
-
- /**
- * The meta object literal for the '<em><b>Extends</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SERVICE_SET_ID_DESC__EXTENDS = eINSTANCE.getServiceSetIdDesc_Extends();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SERVICE_SET_ID_DESC__DESCRIPTION = eINSTANCE.getServiceSetIdDesc_Description();
-
- /**
- * The meta object literal for the '<em><b>Service Descriptors</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS = eINSTANCE.getServiceSetIdDesc_ServiceDescriptors();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.FeatureInjectionImpl <em>Feature Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.FeatureInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getFeatureInjection()
- * @generated
- */
- EClass FEATURE_INJECTION = eINSTANCE.getFeatureInjection();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute FEATURE_INJECTION__DESCRIPTION = eINSTANCE.getFeatureInjection_Description();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AliasIdDescImpl <em>Alias Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AliasIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getAliasIdDesc()
- * @generated
- */
- EClass ALIAS_ID_DESC = eINSTANCE.getAliasIdDesc();
-
- /**
- * The meta object literal for the '<em><b>Aliased Service</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ALIAS_ID_DESC__ALIASED_SERVICE = eINSTANCE.getAliasIdDesc_AliasedService();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.IdDescriptorsImpl <em>Id Descriptors</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.IdDescriptorsImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getIdDescriptors()
- * @generated
- */
- EClass ID_DESCRIPTORS = eINSTANCE.getIdDescriptors();
-
- /**
- * The meta object literal for the '<em><b>Registries</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ID_DESCRIPTORS__REGISTRIES = eINSTANCE.getIdDescriptors_Registries();
-
- /**
- * The meta object literal for the '<em><b>Service Sets</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ID_DESCRIPTORS__SERVICE_SETS = eINSTANCE.getIdDescriptors_ServiceSets();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.PropertyInjectionImpl <em>Property Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.PropertyInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getPropertyInjection()
- * @generated
- */
- EClass PROPERTY_INJECTION = eINSTANCE.getPropertyInjection();
-
- /**
- * The meta object literal for the '<em><b>Property Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PROPERTY_INJECTION__PROPERTY_NAME = eINSTANCE.getPropertyInjection_PropertyName();
-
- /**
- * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference PROPERTY_INJECTION__VALUES = eINSTANCE.getPropertyInjection_Values();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedValueImpl <em>Injected Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedValueImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getInjectedValue()
- * @generated
- */
- EClass INJECTED_VALUE = eINSTANCE.getInjectedValue();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute INJECTED_VALUE__DESCRIPTION = eINSTANCE.getInjectedValue_Description();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.MethodInjectionImpl <em>Method Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.MethodInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getMethodInjection()
- * @generated
- */
- EClass METHOD_INJECTION = eINSTANCE.getMethodInjection();
-
- /**
- * The meta object literal for the '<em><b>Method Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute METHOD_INJECTION__METHOD_NAME = eINSTANCE.getMethodInjection_MethodName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractMethodInjectionImpl <em>Abstract Method Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractMethodInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getAbstractMethodInjection()
- * @generated
- */
- EClass ABSTRACT_METHOD_INJECTION = eINSTANCE.getAbstractMethodInjection();
-
- /**
- * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ABSTRACT_METHOD_INJECTION__PARAMETERS = eINSTANCE.getAbstractMethodInjection_Parameters();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ParameterInjectionImpl <em>Parameter Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ParameterInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getParameterInjection()
- * @generated
- */
- EClass PARAMETER_INJECTION = eINSTANCE.getParameterInjection();
-
- /**
- * The meta object literal for the '<em><b>Parameter Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PARAMETER_INJECTION__PARAMETER_NAME = eINSTANCE.getParameterInjection_ParameterName();
-
- /**
- * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference PARAMETER_INJECTION__VALUES = eINSTANCE.getParameterInjection_Values();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedServiceImpl <em>Injected Service</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedServiceImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getInjectedService()
- * @generated
- */
- EClass INJECTED_SERVICE = eINSTANCE.getInjectedService();
-
- /**
- * The meta object literal for the '<em><b>Service Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute INJECTED_SERVICE__SERVICE_NAME = eINSTANCE.getInjectedService_ServiceName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.OpaqueInjectedValueImpl <em>Opaque Injected Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.OpaqueInjectedValueImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getOpaqueInjectedValue()
- * @generated
- */
- EClass OPAQUE_INJECTED_VALUE = eINSTANCE.getOpaqueInjectedValue();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute OPAQUE_INJECTED_VALUE__VALUE = eINSTANCE.getOpaqueInjectedValue_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ConstructorInjectionImpl <em>Constructor Injection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ConstructorInjectionImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getConstructorInjection()
- * @generated
- */
- EClass CONSTRUCTOR_INJECTION = eINSTANCE.getConstructorInjection();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceFactoryIdDescImpl <em>Service Factory Id Desc</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceFactoryIdDescImpl
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getServiceFactoryIdDesc()
- * @generated
- */
- EClass SERVICE_FACTORY_ID_DESC = eINSTANCE.getServiceFactoryIdDesc();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind <em>Startup Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getStartupKind()
- * @generated
- */
- EEnum STARTUP_KIND = eINSTANCE.getStartupKind();
-
- /**
- * The meta object literal for the '<em>String</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see java.lang.String
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getString()
- * @generated
- */
- EDataType STRING = eINSTANCE.getString();
-
- /**
- * The meta object literal for the '<em>boolean</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getboolean()
- * @generated
- */
- EDataType BOOLEAN = eINSTANCE.getboolean();
-
- /**
- * The meta object literal for the '<em>Object</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see java.lang.Object
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getObject()
- * @generated
- */
- EDataType OBJECT = eINSTANCE.getObject();
-
- /**
- * The meta object literal for the '<em>int</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServicedescriptorswithidPackageImpl#getint()
- * @generated
- */
- EDataType INT = eINSTANCE.getint();
-
- }
-
-} // ServicedescriptorswithidPackage
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/StartupKind.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/StartupKind.java
deleted file mode 100644
index cc1aa7ec68e..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/StartupKind.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Startup Kind</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#getStartupKind()
- * @model
- * @generated
- */
-public enum StartupKind implements Enumerator {
- /**
- * The '<em><b>Lazy</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #LAZY_VALUE
- * @generated
- * @ordered
- */
- LAZY(0, "lazy", "lazy"),
-
- /**
- * The '<em><b>Startup</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #STARTUP_VALUE
- * @generated
- * @ordered
- */
- STARTUP(1, "startup", "startup");
-
- /**
- * The '<em><b>Lazy</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Lazy</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #LAZY
- * @model name="lazy"
- * @generated
- * @ordered
- */
- public static final int LAZY_VALUE = 0;
-
- /**
- * The '<em><b>Startup</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Startup</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #STARTUP
- * @model name="startup"
- * @generated
- * @ordered
- */
- public static final int STARTUP_VALUE = 1;
-
- /**
- * An array of all the '<em><b>Startup Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static final StartupKind[] VALUES_ARRAY =
- new StartupKind[] {
- LAZY,
- STARTUP,
- };
-
- /**
- * A public read-only list of all the '<em><b>Startup Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static final List<StartupKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Startup Kind</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static StartupKind get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- StartupKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Startup Kind</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static StartupKind getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- StartupKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Startup Kind</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static StartupKind get(int value) {
- switch (value) {
- case LAZY_VALUE:
- return LAZY;
- case STARTUP_VALUE:
- return STARTUP;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private StartupKind(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-
-} // StartupKind
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AbstractMethodInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AbstractMethodInjectionImpl.java
deleted file mode 100644
index 8cd5b765ed4..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AbstractMethodInjectionImpl.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Abstract Method Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractMethodInjectionImpl#getParameters <em>Parameters</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class AbstractMethodInjectionImpl extends FeatureInjectionImpl implements AbstractMethodInjection {
- /**
- * The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getParameters()
- * @generated
- * @ordered
- */
- protected EList<ParameterInjection> parameters;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected AbstractMethodInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.ABSTRACT_METHOD_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<ParameterInjection> getParameters() {
- if (parameters == null) {
- parameters = new EObjectContainmentEList<ParameterInjection>(ParameterInjection.class, this, ServicedescriptorswithidPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS);
- }
- return parameters;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- return ((InternalEList<?>) getParameters()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- return getParameters();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- getParameters().clear();
- getParameters().addAll((Collection<? extends ParameterInjection>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- getParameters().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_METHOD_INJECTION__PARAMETERS:
- return parameters != null && !parameters.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // AbstractMethodInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AbstractServiceIdDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AbstractServiceIdDescImpl.java
deleted file mode 100644
index 844641149e0..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AbstractServiceIdDescImpl.java
+++ /dev/null
@@ -1,520 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Abstract Service Id Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl#getNamespace <em>Namespace</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl#getDependsOn <em>Depends On</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl#getPriority <em>Priority</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AbstractServiceIdDescImpl#getBundleID <em>Bundle ID</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class AbstractServiceIdDescImpl extends EObjectImpl implements AbstractServiceIdDesc {
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getDependsOn() <em>Depends On</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDependsOn()
- * @generated
- * @ordered
- */
- protected EList<String> dependsOn;
-
- /**
- * The default value of the '{@link #getPriority() <em>Priority</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPriority()
- * @generated
- * @ordered
- */
- protected static final int PRIORITY_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getPriority() <em>Priority</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPriority()
- * @generated
- * @ordered
- */
- protected int priority = PRIORITY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getBundleID() <em>Bundle ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBundleID()
- * @generated
- * @ordered
- */
- protected static final String BUNDLE_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBundleID() <em>Bundle ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBundleID()
- * @generated
- * @ordered
- */
- protected String bundleID = BUNDLE_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected AbstractServiceIdDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.ABSTRACT_SERVICE_ID_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServiceSetIdDesc getNamespace() {
- if (eContainerFeatureID() != ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE) {
- return null;
- }
- return (ServiceSetIdDesc) eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetNamespace(ServiceSetIdDesc newNamespace, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject) newNamespace, ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setNamespace(ServiceSetIdDesc newNamespace) {
- if (newNamespace != eInternalContainer() || (eContainerFeatureID() != ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE && newNamespace != null)) {
- if (EcoreUtil.isAncestor(this, newNamespace)) {
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- }
- NotificationChain msgs = null;
- if (eInternalContainer() != null) {
- msgs = eBasicRemoveFromContainer(msgs);
- }
- if (newNamespace != null) {
- msgs = ((InternalEObject) newNamespace).eInverseAdd(this, ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS, ServiceSetIdDesc.class, msgs);
- }
- msgs = basicSetNamespace(newNamespace, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE, newNamespace, newNamespace));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<String> getDependsOn() {
- if (dependsOn == null) {
- dependsOn = new EDataTypeUniqueEList<String>(String.class, this, ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON);
- }
- return dependsOn;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int getPriority() {
- return priority;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setPriority(int newPriority) {
- int oldPriority = priority;
- priority = newPriority;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__PRIORITY, oldPriority, priority));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getBundleID() {
- return bundleID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setBundleID(String newBundleID) {
- String oldBundleID = bundleID;
- bundleID = newBundleID;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID, oldBundleID, bundleID));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE:
- if (eInternalContainer() != null) {
- msgs = eBasicRemoveFromContainer(msgs);
- }
- return basicSetNamespace((ServiceSetIdDesc) otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE:
- return basicSetNamespace(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID()) {
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE:
- return eInternalContainer().eInverseRemove(this, ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS, ServiceSetIdDesc.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAME:
- return getName();
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE:
- return getNamespace();
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DESCRIPTION:
- return getDescription();
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON:
- return getDependsOn();
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__PRIORITY:
- return getPriority();
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID:
- return getBundleID();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAME:
- setName((String) newValue);
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE:
- setNamespace((ServiceSetIdDesc) newValue);
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DESCRIPTION:
- setDescription((String) newValue);
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON:
- getDependsOn().clear();
- getDependsOn().addAll((Collection<? extends String>) newValue);
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__PRIORITY:
- setPriority((Integer) newValue);
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID:
- setBundleID((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE:
- setNamespace((ServiceSetIdDesc) null);
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON:
- getDependsOn().clear();
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__PRIORITY:
- setPriority(PRIORITY_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID:
- setBundleID(BUNDLE_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE:
- return getNamespace() != null;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON:
- return dependsOn != null && !dependsOn.isEmpty();
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__PRIORITY:
- return priority != PRIORITY_EDEFAULT;
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID:
- return BUNDLE_ID_EDEFAULT == null ? bundleID != null : !BUNDLE_ID_EDEFAULT.equals(bundleID);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", description: ");
- result.append(description);
- result.append(", dependsOn: ");
- result.append(dependsOn);
- result.append(", priority: ");
- result.append(priority);
- result.append(", bundleID: ");
- result.append(bundleID);
- result.append(')');
- return result.toString();
- }
-
-} // AbstractServiceIdDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AliasIdDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AliasIdDescImpl.java
deleted file mode 100644
index 380cd74e065..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/AliasIdDescImpl.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Alias Id Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.AliasIdDescImpl#getAliasedService <em>Aliased Service</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AliasIdDescImpl extends AbstractServiceIdDescImpl implements AliasIdDesc {
- /**
- * The default value of the '{@link #getAliasedService() <em>Aliased Service</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getAliasedService()
- * @generated
- * @ordered
- */
- protected static final String ALIASED_SERVICE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getAliasedService() <em>Aliased Service</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getAliasedService()
- * @generated
- * @ordered
- */
- protected String aliasedService = ALIASED_SERVICE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected AliasIdDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.ALIAS_ID_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getAliasedService() {
- return aliasedService;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setAliasedService(String newAliasedService) {
- String oldAliasedService = aliasedService;
- aliasedService = newAliasedService;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.ALIAS_ID_DESC__ALIASED_SERVICE, oldAliasedService, aliasedService));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ALIAS_ID_DESC__ALIASED_SERVICE:
- return getAliasedService();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ALIAS_ID_DESC__ALIASED_SERVICE:
- setAliasedService((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ALIAS_ID_DESC__ALIASED_SERVICE:
- setAliasedService(ALIASED_SERVICE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ALIAS_ID_DESC__ALIASED_SERVICE:
- return ALIASED_SERVICE_EDEFAULT == null ? aliasedService != null : !ALIASED_SERVICE_EDEFAULT.equals(aliasedService);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (aliasedService: ");
- result.append(aliasedService);
- result.append(')');
- return result.toString();
- }
-
-} // AliasIdDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ConstructorInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ConstructorInjectionImpl.java
deleted file mode 100644
index d6d914f0bd6..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ConstructorInjectionImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Constructor Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ConstructorInjectionImpl extends AbstractMethodInjectionImpl implements ConstructorInjection {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ConstructorInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.CONSTRUCTOR_INJECTION;
- }
-
-} // ConstructorInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/FeatureInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/FeatureInjectionImpl.java
deleted file mode 100644
index 8ba51c22f06..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/FeatureInjectionImpl.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Feature Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.FeatureInjectionImpl#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class FeatureInjectionImpl extends EObjectImpl implements FeatureInjection {
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected FeatureInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.FEATURE_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.FEATURE_INJECTION__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.FEATURE_INJECTION__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.FEATURE_INJECTION__DESCRIPTION:
- setDescription((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.FEATURE_INJECTION__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.FEATURE_INJECTION__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} // FeatureInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/IdDescriptorsImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/IdDescriptorsImpl.java
deleted file mode 100644
index d2aaa91a333..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/IdDescriptorsImpl.java
+++ /dev/null
@@ -1,197 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Id Descriptors</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.IdDescriptorsImpl#getRegistries <em>Registries</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.IdDescriptorsImpl#getServiceSets <em>Service Sets</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class IdDescriptorsImpl extends EObjectImpl implements IdDescriptors {
- /**
- * The cached value of the '{@link #getRegistries() <em>Registries</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRegistries()
- * @generated
- * @ordered
- */
- protected EList<RegistryIdDesc> registries;
-
- /**
- * The cached value of the '{@link #getServiceSets() <em>Service Sets</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getServiceSets()
- * @generated
- * @ordered
- */
- protected EList<ServiceSetIdDesc> serviceSets;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected IdDescriptorsImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.ID_DESCRIPTORS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<RegistryIdDesc> getRegistries() {
- if (registries == null) {
- registries = new EObjectContainmentEList<RegistryIdDesc>(RegistryIdDesc.class, this, ServicedescriptorswithidPackage.ID_DESCRIPTORS__REGISTRIES);
- }
- return registries;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<ServiceSetIdDesc> getServiceSets() {
- if (serviceSets == null) {
- serviceSets = new EObjectContainmentEList<ServiceSetIdDesc>(ServiceSetIdDesc.class, this, ServicedescriptorswithidPackage.ID_DESCRIPTORS__SERVICE_SETS);
- }
- return serviceSets;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__REGISTRIES:
- return ((InternalEList<?>) getRegistries()).basicRemove(otherEnd, msgs);
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__SERVICE_SETS:
- return ((InternalEList<?>) getServiceSets()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__REGISTRIES:
- return getRegistries();
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__SERVICE_SETS:
- return getServiceSets();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__REGISTRIES:
- getRegistries().clear();
- getRegistries().addAll((Collection<? extends RegistryIdDesc>) newValue);
- return;
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__SERVICE_SETS:
- getServiceSets().clear();
- getServiceSets().addAll((Collection<? extends ServiceSetIdDesc>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__REGISTRIES:
- getRegistries().clear();
- return;
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__SERVICE_SETS:
- getServiceSets().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__REGISTRIES:
- return registries != null && !registries.isEmpty();
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS__SERVICE_SETS:
- return serviceSets != null && !serviceSets.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // IdDescriptorsImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/InjectedServiceImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/InjectedServiceImpl.java
deleted file mode 100644
index 3c6b5cd0f02..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/InjectedServiceImpl.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Injected Service</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedServiceImpl#getServiceName <em>Service Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class InjectedServiceImpl extends InjectedValueImpl implements InjectedService {
- /**
- * The default value of the '{@link #getServiceName() <em>Service Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getServiceName()
- * @generated
- * @ordered
- */
- protected static final String SERVICE_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getServiceName() <em>Service Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getServiceName()
- * @generated
- * @ordered
- */
- protected String serviceName = SERVICE_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected InjectedServiceImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.INJECTED_SERVICE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getServiceName() {
- return serviceName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setServiceName(String newServiceName) {
- String oldServiceName = serviceName;
- serviceName = newServiceName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.INJECTED_SERVICE__SERVICE_NAME, oldServiceName, serviceName));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.INJECTED_SERVICE__SERVICE_NAME:
- return getServiceName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.INJECTED_SERVICE__SERVICE_NAME:
- setServiceName((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.INJECTED_SERVICE__SERVICE_NAME:
- setServiceName(SERVICE_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.INJECTED_SERVICE__SERVICE_NAME:
- return SERVICE_NAME_EDEFAULT == null ? serviceName != null : !SERVICE_NAME_EDEFAULT.equals(serviceName);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (serviceName: ");
- result.append(serviceName);
- result.append(')');
- return result.toString();
- }
-
-} // InjectedServiceImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/InjectedValueImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/InjectedValueImpl.java
deleted file mode 100644
index a9a289985de..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/InjectedValueImpl.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Injected Value</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.InjectedValueImpl#getDescription <em>Description</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class InjectedValueImpl extends EObjectImpl implements InjectedValue {
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected InjectedValueImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.INJECTED_VALUE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.INJECTED_VALUE__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.INJECTED_VALUE__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.INJECTED_VALUE__DESCRIPTION:
- setDescription((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.INJECTED_VALUE__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.INJECTED_VALUE__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} // InjectedValueImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/MethodInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/MethodInjectionImpl.java
deleted file mode 100644
index ea31978a57d..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/MethodInjectionImpl.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Method Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.MethodInjectionImpl#getMethodName <em>Method Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MethodInjectionImpl extends AbstractMethodInjectionImpl implements MethodInjection {
- /**
- * The default value of the '{@link #getMethodName() <em>Method Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMethodName()
- * @generated
- * @ordered
- */
- protected static final String METHOD_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMethodName() <em>Method Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMethodName()
- * @generated
- * @ordered
- */
- protected String methodName = METHOD_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected MethodInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.METHOD_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getMethodName() {
- return methodName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setMethodName(String newMethodName) {
- String oldMethodName = methodName;
- methodName = newMethodName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.METHOD_INJECTION__METHOD_NAME, oldMethodName, methodName));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.METHOD_INJECTION__METHOD_NAME:
- return getMethodName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.METHOD_INJECTION__METHOD_NAME:
- setMethodName((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.METHOD_INJECTION__METHOD_NAME:
- setMethodName(METHOD_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.METHOD_INJECTION__METHOD_NAME:
- return METHOD_NAME_EDEFAULT == null ? methodName != null : !METHOD_NAME_EDEFAULT.equals(methodName);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (methodName: ");
- result.append(methodName);
- result.append(')');
- return result.toString();
- }
-
-} // MethodInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/OpaqueInjectedValueImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/OpaqueInjectedValueImpl.java
deleted file mode 100644
index e2575b2ddf2..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/OpaqueInjectedValueImpl.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Opaque Injected Value</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.OpaqueInjectedValueImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OpaqueInjectedValueImpl extends InjectedValueImpl implements OpaqueInjectedValue {
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected OpaqueInjectedValueImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.OPAQUE_INJECTED_VALUE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.OPAQUE_INJECTED_VALUE__VALUE, oldValue, value));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.OPAQUE_INJECTED_VALUE__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.OPAQUE_INJECTED_VALUE__VALUE:
- setValue((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.OPAQUE_INJECTED_VALUE__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.OPAQUE_INJECTED_VALUE__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
-
-} // OpaqueInjectedValueImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ParameterInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ParameterInjectionImpl.java
deleted file mode 100644
index cb10151c38d..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ParameterInjectionImpl.java
+++ /dev/null
@@ -1,237 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Parameter Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ParameterInjectionImpl#getParameterName <em>Parameter Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ParameterInjectionImpl#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ParameterInjectionImpl extends EObjectImpl implements ParameterInjection {
- /**
- * The default value of the '{@link #getParameterName() <em>Parameter Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getParameterName()
- * @generated
- * @ordered
- */
- protected static final String PARAMETER_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getParameterName() <em>Parameter Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getParameterName()
- * @generated
- * @ordered
- */
- protected String parameterName = PARAMETER_NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValues()
- * @generated
- * @ordered
- */
- protected EList<InjectedValue> values;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ParameterInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.PARAMETER_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getParameterName() {
- return parameterName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setParameterName(String newParameterName) {
- String oldParameterName = parameterName;
- parameterName = newParameterName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.PARAMETER_INJECTION__PARAMETER_NAME, oldParameterName, parameterName));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<InjectedValue> getValues() {
- if (values == null) {
- values = new EObjectContainmentEList<InjectedValue>(InjectedValue.class, this, ServicedescriptorswithidPackage.PARAMETER_INJECTION__VALUES);
- }
- return values;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION__VALUES:
- return ((InternalEList<?>) getValues()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION__PARAMETER_NAME:
- return getParameterName();
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION__VALUES:
- return getValues();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION__PARAMETER_NAME:
- setParameterName((String) newValue);
- return;
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION__VALUES:
- getValues().clear();
- getValues().addAll((Collection<? extends InjectedValue>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION__PARAMETER_NAME:
- setParameterName(PARAMETER_NAME_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION__VALUES:
- getValues().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION__PARAMETER_NAME:
- return PARAMETER_NAME_EDEFAULT == null ? parameterName != null : !PARAMETER_NAME_EDEFAULT.equals(parameterName);
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION__VALUES:
- return values != null && !values.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (parameterName: ");
- result.append(parameterName);
- result.append(')');
- return result.toString();
- }
-
-} // ParameterInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/PropertyInjectionImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/PropertyInjectionImpl.java
deleted file mode 100644
index c8265c1fcf7..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/PropertyInjectionImpl.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Property Injection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.PropertyInjectionImpl#getPropertyName <em>Property Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.PropertyInjectionImpl#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PropertyInjectionImpl extends FeatureInjectionImpl implements PropertyInjection {
- /**
- * The default value of the '{@link #getPropertyName() <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPropertyName()
- * @generated
- * @ordered
- */
- protected static final String PROPERTY_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPropertyName() <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPropertyName()
- * @generated
- * @ordered
- */
- protected String propertyName = PROPERTY_NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValues()
- * @generated
- * @ordered
- */
- protected EList<InjectedValue> values;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected PropertyInjectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.PROPERTY_INJECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getPropertyName() {
- return propertyName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setPropertyName(String newPropertyName) {
- String oldPropertyName = propertyName;
- propertyName = newPropertyName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.PROPERTY_INJECTION__PROPERTY_NAME, oldPropertyName, propertyName));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<InjectedValue> getValues() {
- if (values == null) {
- values = new EObjectContainmentEList<InjectedValue>(InjectedValue.class, this, ServicedescriptorswithidPackage.PROPERTY_INJECTION__VALUES);
- }
- return values;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION__VALUES:
- return ((InternalEList<?>) getValues()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION__PROPERTY_NAME:
- return getPropertyName();
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION__VALUES:
- return getValues();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION__PROPERTY_NAME:
- setPropertyName((String) newValue);
- return;
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION__VALUES:
- getValues().clear();
- getValues().addAll((Collection<? extends InjectedValue>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION__PROPERTY_NAME:
- setPropertyName(PROPERTY_NAME_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION__VALUES:
- getValues().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION__PROPERTY_NAME:
- return PROPERTY_NAME_EDEFAULT == null ? propertyName != null : !PROPERTY_NAME_EDEFAULT.equals(propertyName);
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION__VALUES:
- return values != null && !values.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (propertyName: ");
- result.append(propertyName);
- result.append(')');
- return result.toString();
- }
-
-} // PropertyInjectionImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/RegistryIdDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/RegistryIdDescImpl.java
deleted file mode 100644
index 81567ed1f93..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/RegistryIdDescImpl.java
+++ /dev/null
@@ -1,420 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Registry Id Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl#isUnique <em>Is Unique</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl#getSets <em>Sets</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl#getExtends <em>Extends</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.RegistryIdDescImpl#getParents <em>Parents</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RegistryIdDescImpl extends EObjectImpl implements RegistryIdDesc {
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The default value of the '{@link #isUnique() <em>Is Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isUnique()
- * @generated
- * @ordered
- */
- protected static final boolean IS_UNIQUE_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isUnique() <em>Is Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isUnique()
- * @generated
- * @ordered
- */
- protected boolean isUnique = IS_UNIQUE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getSets() <em>Sets</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSets()
- * @generated
- * @ordered
- */
- protected EList<String> sets;
-
- /**
- * The cached value of the '{@link #getExtends() <em>Extends</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getExtends()
- * @generated
- * @ordered
- */
- protected EList<String> extends_;
-
- /**
- * The cached value of the '{@link #getParents() <em>Parents</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getParents()
- * @generated
- * @ordered
- */
- protected EList<String> parents;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected RegistryIdDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.REGISTRY_ID_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.REGISTRY_ID_DESC__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.REGISTRY_ID_DESC__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean isUnique() {
- return isUnique;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setIsUnique(boolean newIsUnique) {
- boolean oldIsUnique = isUnique;
- isUnique = newIsUnique;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.REGISTRY_ID_DESC__IS_UNIQUE, oldIsUnique, isUnique));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<String> getSets() {
- if (sets == null) {
- sets = new EDataTypeUniqueEList<String>(String.class, this, ServicedescriptorswithidPackage.REGISTRY_ID_DESC__SETS);
- }
- return sets;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<String> getExtends() {
- if (extends_ == null) {
- extends_ = new EDataTypeUniqueEList<String>(String.class, this, ServicedescriptorswithidPackage.REGISTRY_ID_DESC__EXTENDS);
- }
- return extends_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<String> getParents() {
- if (parents == null) {
- parents = new EDataTypeUniqueEList<String>(String.class, this, ServicedescriptorswithidPackage.REGISTRY_ID_DESC__PARENTS);
- }
- return parents;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__NAME:
- return getName();
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__DESCRIPTION:
- return getDescription();
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__IS_UNIQUE:
- return isUnique();
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__SETS:
- return getSets();
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__EXTENDS:
- return getExtends();
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__PARENTS:
- return getParents();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__NAME:
- setName((String) newValue);
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__DESCRIPTION:
- setDescription((String) newValue);
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__IS_UNIQUE:
- setIsUnique((Boolean) newValue);
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__SETS:
- getSets().clear();
- getSets().addAll((Collection<? extends String>) newValue);
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__EXTENDS:
- getExtends().clear();
- getExtends().addAll((Collection<? extends String>) newValue);
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__PARENTS:
- getParents().clear();
- getParents().addAll((Collection<? extends String>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__IS_UNIQUE:
- setIsUnique(IS_UNIQUE_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__SETS:
- getSets().clear();
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__EXTENDS:
- getExtends().clear();
- return;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__PARENTS:
- getParents().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__IS_UNIQUE:
- return isUnique != IS_UNIQUE_EDEFAULT;
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__SETS:
- return sets != null && !sets.isEmpty();
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__EXTENDS:
- return extends_ != null && !extends_.isEmpty();
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC__PARENTS:
- return parents != null && !parents.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", description: ");
- result.append(description);
- result.append(", isUnique: ");
- result.append(isUnique);
- result.append(", sets: ");
- result.append(sets);
- result.append(", extends: ");
- result.append(extends_);
- result.append(", parents: ");
- result.append(parents);
- result.append(')');
- return result.toString();
- }
-
-} // RegistryIdDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceFactoryIdDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceFactoryIdDescImpl.java
deleted file mode 100644
index 48607ec972f..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceFactoryIdDescImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Service Factory Id Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ServiceFactoryIdDescImpl extends ServiceIdDescImpl implements ServiceFactoryIdDesc {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ServiceFactoryIdDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.SERVICE_FACTORY_ID_DESC;
- }
-
-} // ServiceFactoryIdDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceIdDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceIdDescImpl.java
deleted file mode 100644
index 4ef738261ca..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceIdDescImpl.java
+++ /dev/null
@@ -1,298 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Service Id Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceIdDescImpl#getStartKind <em>Start Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceIdDescImpl#getClassname <em>Classname</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceIdDescImpl#getInjections <em>Injections</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ServiceIdDescImpl extends AbstractServiceIdDescImpl implements ServiceIdDesc {
- /**
- * The default value of the '{@link #getStartKind() <em>Start Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getStartKind()
- * @generated
- * @ordered
- */
- protected static final StartupKind START_KIND_EDEFAULT = StartupKind.LAZY;
-
- /**
- * The cached value of the '{@link #getStartKind() <em>Start Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getStartKind()
- * @generated
- * @ordered
- */
- protected StartupKind startKind = START_KIND_EDEFAULT;
-
- /**
- * The default value of the '{@link #getClassname() <em>Classname</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getClassname()
- * @generated
- * @ordered
- */
- protected static final String CLASSNAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getClassname() <em>Classname</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getClassname()
- * @generated
- * @ordered
- */
- protected String classname = CLASSNAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getInjections() <em>Injections</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getInjections()
- * @generated
- * @ordered
- */
- protected EList<FeatureInjection> injections;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ServiceIdDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.SERVICE_ID_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public StartupKind getStartKind() {
- return startKind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setStartKind(StartupKind newStartKind) {
- StartupKind oldStartKind = startKind;
- startKind = newStartKind == null ? START_KIND_EDEFAULT : newStartKind;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.SERVICE_ID_DESC__START_KIND, oldStartKind, startKind));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getClassname() {
- return classname;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setClassname(String newClassname) {
- String oldClassname = classname;
- classname = newClassname;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.SERVICE_ID_DESC__CLASSNAME, oldClassname, classname));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<FeatureInjection> getInjections() {
- if (injections == null) {
- injections = new EObjectContainmentEList<FeatureInjection>(FeatureInjection.class, this, ServicedescriptorswithidPackage.SERVICE_ID_DESC__INJECTIONS);
- }
- return injections;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__INJECTIONS:
- return ((InternalEList<?>) getInjections()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__START_KIND:
- return getStartKind();
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__CLASSNAME:
- return getClassname();
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__INJECTIONS:
- return getInjections();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__START_KIND:
- setStartKind((StartupKind) newValue);
- return;
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__CLASSNAME:
- setClassname((String) newValue);
- return;
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__INJECTIONS:
- getInjections().clear();
- getInjections().addAll((Collection<? extends FeatureInjection>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__START_KIND:
- setStartKind(START_KIND_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__CLASSNAME:
- setClassname(CLASSNAME_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__INJECTIONS:
- getInjections().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__START_KIND:
- return startKind != START_KIND_EDEFAULT;
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__CLASSNAME:
- return CLASSNAME_EDEFAULT == null ? classname != null : !CLASSNAME_EDEFAULT.equals(classname);
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC__INJECTIONS:
- return injections != null && !injections.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (startKind: ");
- result.append(startKind);
- result.append(", classname: ");
- result.append(classname);
- result.append(')');
- return result.toString();
- }
-
-} // ServiceIdDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceSetIdDescImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceSetIdDescImpl.java
deleted file mode 100644
index c625867a041..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServiceSetIdDescImpl.java
+++ /dev/null
@@ -1,410 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Service Set Id Desc</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceSetIdDescImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceSetIdDescImpl#getExtends <em>Extends</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceSetIdDescImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl.ServiceSetIdDescImpl#getServiceDescriptors <em>Service Descriptors</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ServiceSetIdDescImpl extends EObjectImpl implements ServiceSetIdDesc {
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getExtends() <em>Extends</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getExtends()
- * @generated
- * @ordered
- */
- protected EList<String> extends_;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getServiceDescriptors() <em>Service Descriptors</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getServiceDescriptors()
- * @generated
- * @ordered
- */
- protected EList<AbstractServiceIdDesc> serviceDescriptors;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ServiceSetIdDescImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ServicedescriptorswithidPackage.Literals.SERVICE_SET_ID_DESC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<String> getExtends() {
- if (extends_ == null) {
- extends_ = new EDataTypeUniqueEList<String>(String.class, this, ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__EXTENDS);
- }
- return extends_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__DESCRIPTION, oldDescription, description));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<AbstractServiceIdDesc> getServiceDescriptors() {
- if (serviceDescriptors == null) {
- serviceDescriptors = new EObjectContainmentWithInverseEList<AbstractServiceIdDesc>(AbstractServiceIdDesc.class, this, ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS,
- ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC__NAMESPACE);
- }
- return serviceDescriptors;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public AbstractServiceIdDesc getService(Object serviceId) {
- // Ensure that you remove @generated or mark it @generated NOT
- if (serviceId == null) {
- return null;
- }
-
- for (AbstractServiceIdDesc desc : getServiceDescriptors()) {
- if (serviceId.equals(desc.getName())) {
- return desc;
- }
- }
-
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public boolean containsService(Object serviceId) {
- return getService(serviceId) != null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public AbstractServiceIdDesc getService(AbstractServiceIdDesc serviceDesc) {
- return getService(serviceDesc.getName());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public boolean containsService(AbstractServiceIdDesc serviceDesc) {
- return getService(serviceDesc.getName()) != null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS:
- return ((InternalEList<InternalEObject>) (InternalEList<?>) getServiceDescriptors()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS:
- return ((InternalEList<?>) getServiceDescriptors()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__NAME:
- return getName();
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__EXTENDS:
- return getExtends();
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__DESCRIPTION:
- return getDescription();
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS:
- return getServiceDescriptors();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__NAME:
- setName((String) newValue);
- return;
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__EXTENDS:
- getExtends().clear();
- getExtends().addAll((Collection<? extends String>) newValue);
- return;
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__DESCRIPTION:
- setDescription((String) newValue);
- return;
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS:
- getServiceDescriptors().clear();
- getServiceDescriptors().addAll((Collection<? extends AbstractServiceIdDesc>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__EXTENDS:
- getExtends().clear();
- return;
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS:
- getServiceDescriptors().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__EXTENDS:
- return extends_ != null && !extends_.isEmpty();
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS:
- return serviceDescriptors != null && !serviceDescriptors.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", extends: ");
- result.append(extends_);
- result.append(", description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} // ServiceSetIdDescImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServicedescriptorswithidFactoryImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServicedescriptorswithidFactoryImpl.java
deleted file mode 100644
index f09e9df2b40..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServicedescriptorswithidFactoryImpl.java
+++ /dev/null
@@ -1,422 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidFactory;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class ServicedescriptorswithidFactoryImpl extends EFactoryImpl implements ServicedescriptorswithidFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static ServicedescriptorswithidFactory init() {
- try {
- ServicedescriptorswithidFactory theServicedescriptorswithidFactory = (ServicedescriptorswithidFactory) EPackage.Registry.INSTANCE.getEFactory("org.eclipse.papyrus..infra.core.servicedescriptorswithid");
- if (theServicedescriptorswithidFactory != null) {
- return theServicedescriptorswithidFactory;
- }
- } catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ServicedescriptorswithidFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ServicedescriptorswithidFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC:
- return createRegistryIdDesc();
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC:
- return createServiceIdDesc();
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC:
- return createServiceSetIdDesc();
- case ServicedescriptorswithidPackage.ALIAS_ID_DESC:
- return createAliasIdDesc();
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS:
- return createIdDescriptors();
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION:
- return createPropertyInjection();
- case ServicedescriptorswithidPackage.METHOD_INJECTION:
- return createMethodInjection();
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION:
- return createParameterInjection();
- case ServicedescriptorswithidPackage.INJECTED_SERVICE:
- return createInjectedService();
- case ServicedescriptorswithidPackage.OPAQUE_INJECTED_VALUE:
- return createOpaqueInjectedValue();
- case ServicedescriptorswithidPackage.CONSTRUCTOR_INJECTION:
- return createConstructorInjection();
- case ServicedescriptorswithidPackage.SERVICE_FACTORY_ID_DESC:
- return createServiceFactoryIdDesc();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case ServicedescriptorswithidPackage.STARTUP_KIND:
- return createStartupKindFromString(eDataType, initialValue);
- case ServicedescriptorswithidPackage.STRING:
- return createStringFromString(eDataType, initialValue);
- case ServicedescriptorswithidPackage.BOOLEAN:
- return createbooleanFromString(eDataType, initialValue);
- case ServicedescriptorswithidPackage.OBJECT:
- return createObjectFromString(eDataType, initialValue);
- case ServicedescriptorswithidPackage.INT:
- return createintFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case ServicedescriptorswithidPackage.STARTUP_KIND:
- return convertStartupKindToString(eDataType, instanceValue);
- case ServicedescriptorswithidPackage.STRING:
- return convertStringToString(eDataType, instanceValue);
- case ServicedescriptorswithidPackage.BOOLEAN:
- return convertbooleanToString(eDataType, instanceValue);
- case ServicedescriptorswithidPackage.OBJECT:
- return convertObjectToString(eDataType, instanceValue);
- case ServicedescriptorswithidPackage.INT:
- return convertintToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public RegistryIdDesc createRegistryIdDesc() {
- RegistryIdDescImpl registryIdDesc = new RegistryIdDescImpl();
- return registryIdDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServiceIdDesc createServiceIdDesc() {
- ServiceIdDescImpl serviceIdDesc = new ServiceIdDescImpl();
- return serviceIdDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServiceSetIdDesc createServiceSetIdDesc() {
- ServiceSetIdDescImpl serviceSetIdDesc = new ServiceSetIdDescImpl();
- return serviceSetIdDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public AliasIdDesc createAliasIdDesc() {
- AliasIdDescImpl aliasIdDesc = new AliasIdDescImpl();
- return aliasIdDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public IdDescriptors createIdDescriptors() {
- IdDescriptorsImpl idDescriptors = new IdDescriptorsImpl();
- return idDescriptors;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public PropertyInjection createPropertyInjection() {
- PropertyInjectionImpl propertyInjection = new PropertyInjectionImpl();
- return propertyInjection;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public MethodInjection createMethodInjection() {
- MethodInjectionImpl methodInjection = new MethodInjectionImpl();
- return methodInjection;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ParameterInjection createParameterInjection() {
- ParameterInjectionImpl parameterInjection = new ParameterInjectionImpl();
- return parameterInjection;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public InjectedService createInjectedService() {
- InjectedServiceImpl injectedService = new InjectedServiceImpl();
- return injectedService;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public OpaqueInjectedValue createOpaqueInjectedValue() {
- OpaqueInjectedValueImpl opaqueInjectedValue = new OpaqueInjectedValueImpl();
- return opaqueInjectedValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ConstructorInjection createConstructorInjection() {
- ConstructorInjectionImpl constructorInjection = new ConstructorInjectionImpl();
- return constructorInjection;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServiceFactoryIdDesc createServiceFactoryIdDesc() {
- ServiceFactoryIdDescImpl serviceFactoryIdDesc = new ServiceFactoryIdDescImpl();
- return serviceFactoryIdDesc;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public StartupKind createStartupKindFromString(EDataType eDataType, String initialValue) {
- StartupKind result = StartupKind.get(initialValue);
- if (result == null) {
- throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- }
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertStartupKindToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String createStringFromString(EDataType eDataType, String initialValue) {
- return (String) super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertStringToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Boolean createbooleanFromString(EDataType eDataType, String initialValue) {
- return (Boolean) super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertbooleanToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Object createObjectFromString(EDataType eDataType, String initialValue) {
- return super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertObjectToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Integer createintFromString(EDataType eDataType, String initialValue) {
- return (Integer) super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertintToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServicedescriptorswithidPackage getServicedescriptorswithidPackage() {
- return (ServicedescriptorswithidPackage) getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static ServicedescriptorswithidPackage getPackage() {
- return ServicedescriptorswithidPackage.eINSTANCE;
- }
-
-} // ServicedescriptorswithidFactoryImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServicedescriptorswithidPackageImpl.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServicedescriptorswithidPackageImpl.java
deleted file mode 100644
index 5f4dc886c5e..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/impl/ServicedescriptorswithidPackageImpl.java
+++ /dev/null
@@ -1,1103 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EOperation;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidFactory;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.StartupKind;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class ServicedescriptorswithidPackageImpl extends EPackageImpl implements ServicedescriptorswithidPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass registryIdDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass serviceIdDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass abstractServiceIdDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass serviceSetIdDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass featureInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass aliasIdDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass idDescriptorsEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass propertyInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass injectedValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass methodInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass abstractMethodInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass parameterInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass injectedServiceEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass opaqueInjectedValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass constructorInjectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass serviceFactoryIdDescEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EEnum startupKindEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType stringEDataType = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType booleanEDataType = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType objectEDataType = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType intEDataType = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private ServicedescriptorswithidPackageImpl() {
- super(eNS_URI, ServicedescriptorswithidFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>
- * This method is used to initialize {@link ServicedescriptorswithidPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static ServicedescriptorswithidPackage init() {
- if (isInited) {
- return (ServicedescriptorswithidPackage) EPackage.Registry.INSTANCE.getEPackage(ServicedescriptorswithidPackage.eNS_URI);
- }
-
- // Obtain or create and register package
- ServicedescriptorswithidPackageImpl theServicedescriptorswithidPackage = (ServicedescriptorswithidPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ServicedescriptorswithidPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
- : new ServicedescriptorswithidPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theServicedescriptorswithidPackage.createPackageContents();
-
- // Initialize created meta-data
- theServicedescriptorswithidPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theServicedescriptorswithidPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(ServicedescriptorswithidPackage.eNS_URI, theServicedescriptorswithidPackage);
- return theServicedescriptorswithidPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getRegistryIdDesc() {
- return registryIdDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getRegistryIdDesc_Name() {
- return (EAttribute) registryIdDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getRegistryIdDesc_Description() {
- return (EAttribute) registryIdDescEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getRegistryIdDesc_IsUnique() {
- return (EAttribute) registryIdDescEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getRegistryIdDesc_Sets() {
- return (EAttribute) registryIdDescEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getRegistryIdDesc_Extends() {
- return (EAttribute) registryIdDescEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getRegistryIdDesc_Parents() {
- return (EAttribute) registryIdDescEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getServiceIdDesc() {
- return serviceIdDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getServiceIdDesc_StartKind() {
- return (EAttribute) serviceIdDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getServiceIdDesc_Classname() {
- return (EAttribute) serviceIdDescEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getServiceIdDesc_Injections() {
- return (EReference) serviceIdDescEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getAbstractServiceIdDesc() {
- return abstractServiceIdDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceIdDesc_Name() {
- return (EAttribute) abstractServiceIdDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getAbstractServiceIdDesc_Namespace() {
- return (EReference) abstractServiceIdDescEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceIdDesc_Description() {
- return (EAttribute) abstractServiceIdDescEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceIdDesc_DependsOn() {
- return (EAttribute) abstractServiceIdDescEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceIdDesc_Priority() {
- return (EAttribute) abstractServiceIdDescEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractServiceIdDesc_BundleID() {
- return (EAttribute) abstractServiceIdDescEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getServiceSetIdDesc() {
- return serviceSetIdDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getServiceSetIdDesc_Name() {
- return (EAttribute) serviceSetIdDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getServiceSetIdDesc_Extends() {
- return (EAttribute) serviceSetIdDescEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getServiceSetIdDesc_Description() {
- return (EAttribute) serviceSetIdDescEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getServiceSetIdDesc_ServiceDescriptors() {
- return (EReference) serviceSetIdDescEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getFeatureInjection() {
- return featureInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getFeatureInjection_Description() {
- return (EAttribute) featureInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getAliasIdDesc() {
- return aliasIdDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getAliasIdDesc_AliasedService() {
- return (EAttribute) aliasIdDescEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getIdDescriptors() {
- return idDescriptorsEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getIdDescriptors_Registries() {
- return (EReference) idDescriptorsEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getIdDescriptors_ServiceSets() {
- return (EReference) idDescriptorsEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getPropertyInjection() {
- return propertyInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getPropertyInjection_PropertyName() {
- return (EAttribute) propertyInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getPropertyInjection_Values() {
- return (EReference) propertyInjectionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getInjectedValue() {
- return injectedValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getInjectedValue_Description() {
- return (EAttribute) injectedValueEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getMethodInjection() {
- return methodInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getMethodInjection_MethodName() {
- return (EAttribute) methodInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getAbstractMethodInjection() {
- return abstractMethodInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getAbstractMethodInjection_Parameters() {
- return (EReference) abstractMethodInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getParameterInjection() {
- return parameterInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getParameterInjection_ParameterName() {
- return (EAttribute) parameterInjectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getParameterInjection_Values() {
- return (EReference) parameterInjectionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getInjectedService() {
- return injectedServiceEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getInjectedService_ServiceName() {
- return (EAttribute) injectedServiceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getOpaqueInjectedValue() {
- return opaqueInjectedValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getOpaqueInjectedValue_Value() {
- return (EAttribute) opaqueInjectedValueEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getConstructorInjection() {
- return constructorInjectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getServiceFactoryIdDesc() {
- return serviceFactoryIdDescEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EEnum getStartupKind() {
- return startupKindEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EDataType getString() {
- return stringEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EDataType getboolean() {
- return booleanEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EDataType getObject() {
- return objectEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EDataType getint() {
- return intEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ServicedescriptorswithidFactory getServicedescriptorswithidFactory() {
- return (ServicedescriptorswithidFactory) getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) {
- return;
- }
- isCreated = true;
-
- // Create classes and their features
- registryIdDescEClass = createEClass(REGISTRY_ID_DESC);
- createEAttribute(registryIdDescEClass, REGISTRY_ID_DESC__NAME);
- createEAttribute(registryIdDescEClass, REGISTRY_ID_DESC__DESCRIPTION);
- createEAttribute(registryIdDescEClass, REGISTRY_ID_DESC__IS_UNIQUE);
- createEAttribute(registryIdDescEClass, REGISTRY_ID_DESC__SETS);
- createEAttribute(registryIdDescEClass, REGISTRY_ID_DESC__EXTENDS);
- createEAttribute(registryIdDescEClass, REGISTRY_ID_DESC__PARENTS);
-
- serviceIdDescEClass = createEClass(SERVICE_ID_DESC);
- createEAttribute(serviceIdDescEClass, SERVICE_ID_DESC__START_KIND);
- createEAttribute(serviceIdDescEClass, SERVICE_ID_DESC__CLASSNAME);
- createEReference(serviceIdDescEClass, SERVICE_ID_DESC__INJECTIONS);
-
- abstractServiceIdDescEClass = createEClass(ABSTRACT_SERVICE_ID_DESC);
- createEAttribute(abstractServiceIdDescEClass, ABSTRACT_SERVICE_ID_DESC__NAME);
- createEReference(abstractServiceIdDescEClass, ABSTRACT_SERVICE_ID_DESC__NAMESPACE);
- createEAttribute(abstractServiceIdDescEClass, ABSTRACT_SERVICE_ID_DESC__DESCRIPTION);
- createEAttribute(abstractServiceIdDescEClass, ABSTRACT_SERVICE_ID_DESC__DEPENDS_ON);
- createEAttribute(abstractServiceIdDescEClass, ABSTRACT_SERVICE_ID_DESC__PRIORITY);
- createEAttribute(abstractServiceIdDescEClass, ABSTRACT_SERVICE_ID_DESC__BUNDLE_ID);
-
- serviceSetIdDescEClass = createEClass(SERVICE_SET_ID_DESC);
- createEAttribute(serviceSetIdDescEClass, SERVICE_SET_ID_DESC__NAME);
- createEAttribute(serviceSetIdDescEClass, SERVICE_SET_ID_DESC__EXTENDS);
- createEAttribute(serviceSetIdDescEClass, SERVICE_SET_ID_DESC__DESCRIPTION);
- createEReference(serviceSetIdDescEClass, SERVICE_SET_ID_DESC__SERVICE_DESCRIPTORS);
-
- featureInjectionEClass = createEClass(FEATURE_INJECTION);
- createEAttribute(featureInjectionEClass, FEATURE_INJECTION__DESCRIPTION);
-
- aliasIdDescEClass = createEClass(ALIAS_ID_DESC);
- createEAttribute(aliasIdDescEClass, ALIAS_ID_DESC__ALIASED_SERVICE);
-
- idDescriptorsEClass = createEClass(ID_DESCRIPTORS);
- createEReference(idDescriptorsEClass, ID_DESCRIPTORS__REGISTRIES);
- createEReference(idDescriptorsEClass, ID_DESCRIPTORS__SERVICE_SETS);
-
- propertyInjectionEClass = createEClass(PROPERTY_INJECTION);
- createEAttribute(propertyInjectionEClass, PROPERTY_INJECTION__PROPERTY_NAME);
- createEReference(propertyInjectionEClass, PROPERTY_INJECTION__VALUES);
-
- injectedValueEClass = createEClass(INJECTED_VALUE);
- createEAttribute(injectedValueEClass, INJECTED_VALUE__DESCRIPTION);
-
- methodInjectionEClass = createEClass(METHOD_INJECTION);
- createEAttribute(methodInjectionEClass, METHOD_INJECTION__METHOD_NAME);
-
- abstractMethodInjectionEClass = createEClass(ABSTRACT_METHOD_INJECTION);
- createEReference(abstractMethodInjectionEClass, ABSTRACT_METHOD_INJECTION__PARAMETERS);
-
- parameterInjectionEClass = createEClass(PARAMETER_INJECTION);
- createEAttribute(parameterInjectionEClass, PARAMETER_INJECTION__PARAMETER_NAME);
- createEReference(parameterInjectionEClass, PARAMETER_INJECTION__VALUES);
-
- injectedServiceEClass = createEClass(INJECTED_SERVICE);
- createEAttribute(injectedServiceEClass, INJECTED_SERVICE__SERVICE_NAME);
-
- opaqueInjectedValueEClass = createEClass(OPAQUE_INJECTED_VALUE);
- createEAttribute(opaqueInjectedValueEClass, OPAQUE_INJECTED_VALUE__VALUE);
-
- constructorInjectionEClass = createEClass(CONSTRUCTOR_INJECTION);
-
- serviceFactoryIdDescEClass = createEClass(SERVICE_FACTORY_ID_DESC);
-
- // Create enums
- startupKindEEnum = createEEnum(STARTUP_KIND);
-
- // Create data types
- stringEDataType = createEDataType(STRING);
- booleanEDataType = createEDataType(BOOLEAN);
- objectEDataType = createEDataType(OBJECT);
- intEDataType = createEDataType(INT);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) {
- return;
- }
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- serviceIdDescEClass.getESuperTypes().add(this.getAbstractServiceIdDesc());
- aliasIdDescEClass.getESuperTypes().add(this.getAbstractServiceIdDesc());
- propertyInjectionEClass.getESuperTypes().add(this.getFeatureInjection());
- methodInjectionEClass.getESuperTypes().add(this.getAbstractMethodInjection());
- abstractMethodInjectionEClass.getESuperTypes().add(this.getFeatureInjection());
- injectedServiceEClass.getESuperTypes().add(this.getInjectedValue());
- opaqueInjectedValueEClass.getESuperTypes().add(this.getInjectedValue());
- constructorInjectionEClass.getESuperTypes().add(this.getAbstractMethodInjection());
- serviceFactoryIdDescEClass.getESuperTypes().add(this.getServiceIdDesc());
-
- // Initialize classes and features; add operations and parameters
- initEClass(registryIdDescEClass, RegistryIdDesc.class, "RegistryIdDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRegistryIdDesc_Name(), this.getString(), "name", null, 1, 1, RegistryIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getRegistryIdDesc_Description(), this.getString(), "description", null, 1, 1, RegistryIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getRegistryIdDesc_IsUnique(), this.getboolean(), "isUnique", null, 1, 1, RegistryIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getRegistryIdDesc_Sets(), this.getString(), "sets", null, 0, -1, RegistryIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRegistryIdDesc_Extends(), this.getString(), "extends", null, 0, -1, RegistryIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRegistryIdDesc_Parents(), this.getString(), "parents", null, 0, -1, RegistryIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(serviceIdDescEClass, ServiceIdDesc.class, "ServiceIdDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getServiceIdDesc_StartKind(), this.getStartupKind(), "startKind", "lazy", 1, 1, ServiceIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getServiceIdDesc_Classname(), this.getString(), "classname", null, 1, 1, ServiceIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getServiceIdDesc_Injections(), this.getFeatureInjection(), null, "injections", null, 0, -1, ServiceIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(abstractServiceIdDescEClass, AbstractServiceIdDesc.class, "AbstractServiceIdDesc", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAbstractServiceIdDesc_Name(), this.getString(), "name", null, 1, 1, AbstractServiceIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getAbstractServiceIdDesc_Namespace(), this.getServiceSetIdDesc(), this.getServiceSetIdDesc_ServiceDescriptors(), "namespace", null, 1, 1, AbstractServiceIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractServiceIdDesc_Description(), this.getString(), "description", null, 1, 1, AbstractServiceIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractServiceIdDesc_DependsOn(), this.getString(), "dependsOn", null, 0, -1, AbstractServiceIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAbstractServiceIdDesc_Priority(), this.getint(), "priority", null, 1, 1, AbstractServiceIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractServiceIdDesc_BundleID(), this.getString(), "bundleID", null, 1, 1, AbstractServiceIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(serviceSetIdDescEClass, ServiceSetIdDesc.class, "ServiceSetIdDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getServiceSetIdDesc_Name(), this.getString(), "name", null, 1, 1, ServiceSetIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getServiceSetIdDesc_Extends(), this.getString(), "extends", null, 0, -1, ServiceSetIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getServiceSetIdDesc_Description(), this.getString(), "description", null, 1, 1, ServiceSetIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getServiceSetIdDesc_ServiceDescriptors(), this.getAbstractServiceIdDesc(), this.getAbstractServiceIdDesc_Namespace(), "serviceDescriptors", null, 0, -1, ServiceSetIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- EOperation op = addEOperation(serviceSetIdDescEClass, this.getAbstractServiceIdDesc(), "getService", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getObject(), "serviceId", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- op = addEOperation(serviceSetIdDescEClass, this.getboolean(), "containsService", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getObject(), "serviceId", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- op = addEOperation(serviceSetIdDescEClass, this.getAbstractServiceIdDesc(), "getService", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getAbstractServiceIdDesc(), "serviceDesc", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- op = addEOperation(serviceSetIdDescEClass, this.getboolean(), "containsService", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, this.getAbstractServiceIdDesc(), "serviceDesc", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- initEClass(featureInjectionEClass, FeatureInjection.class, "FeatureInjection", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFeatureInjection_Description(), this.getString(), "description", null, 1, 1, FeatureInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(aliasIdDescEClass, AliasIdDesc.class, "AliasIdDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAliasIdDesc_AliasedService(), this.getString(), "aliasedService", null, 1, 1, AliasIdDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(idDescriptorsEClass, IdDescriptors.class, "IdDescriptors", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIdDescriptors_Registries(), this.getRegistryIdDesc(), null, "registries", null, 0, -1, IdDescriptors.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getIdDescriptors_ServiceSets(), this.getServiceSetIdDesc(), null, "serviceSets", null, 0, -1, IdDescriptors.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(propertyInjectionEClass, PropertyInjection.class, "PropertyInjection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPropertyInjection_PropertyName(), this.getString(), "propertyName", null, 1, 1, PropertyInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getPropertyInjection_Values(), this.getInjectedValue(), null, "values", null, 0, -1, PropertyInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(injectedValueEClass, InjectedValue.class, "InjectedValue", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInjectedValue_Description(), this.getString(), "description", null, 1, 1, InjectedValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(methodInjectionEClass, MethodInjection.class, "MethodInjection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMethodInjection_MethodName(), this.getString(), "methodName", null, 1, 1, MethodInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(abstractMethodInjectionEClass, AbstractMethodInjection.class, "AbstractMethodInjection", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAbstractMethodInjection_Parameters(), this.getParameterInjection(), null, "parameters", null, 0, -1, AbstractMethodInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(parameterInjectionEClass, ParameterInjection.class, "ParameterInjection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getParameterInjection_ParameterName(), this.getString(), "parameterName", null, 1, 1, ParameterInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getParameterInjection_Values(), this.getInjectedValue(), null, "values", null, 0, -1, ParameterInjection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(injectedServiceEClass, InjectedService.class, "InjectedService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInjectedService_ServiceName(), this.getString(), "serviceName", null, 1, 1, InjectedService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(opaqueInjectedValueEClass, OpaqueInjectedValue.class, "OpaqueInjectedValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getOpaqueInjectedValue_Value(), this.getString(), "value", null, 1, 1, OpaqueInjectedValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(constructorInjectionEClass, ConstructorInjection.class, "ConstructorInjection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(serviceFactoryIdDescEClass, ServiceFactoryIdDesc.class, "ServiceFactoryIdDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- // Initialize enums and add enum literals
- initEEnum(startupKindEEnum, StartupKind.class, "StartupKind");
- addEEnumLiteral(startupKindEEnum, StartupKind.LAZY);
- addEEnumLiteral(startupKindEEnum, StartupKind.STARTUP);
-
- // Initialize data types
- initEDataType(stringEDataType, String.class, "String", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(booleanEDataType, boolean.class, "boolean", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(objectEDataType, Object.class, "Object", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(intEDataType, int.class, "int", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} // ServicedescriptorswithidPackageImpl
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/util/ServicedescriptorswithidAdapterFactory.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/util/ServicedescriptorswithidAdapterFactory.java
deleted file mode 100644
index c3bfd369272..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/util/ServicedescriptorswithidAdapterFactory.java
+++ /dev/null
@@ -1,443 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage
- * @generated
- */
-public class ServicedescriptorswithidAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static ServicedescriptorswithidPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ServicedescriptorswithidAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = ServicedescriptorswithidPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ServicedescriptorswithidSwitch<Adapter> modelSwitch =
- new ServicedescriptorswithidSwitch<Adapter>() {
- @Override
- public Adapter caseRegistryIdDesc(RegistryIdDesc object) {
- return createRegistryIdDescAdapter();
- }
-
- @Override
- public Adapter caseServiceIdDesc(ServiceIdDesc object) {
- return createServiceIdDescAdapter();
- }
-
- @Override
- public Adapter caseAbstractServiceIdDesc(AbstractServiceIdDesc object) {
- return createAbstractServiceIdDescAdapter();
- }
-
- @Override
- public Adapter caseServiceSetIdDesc(ServiceSetIdDesc object) {
- return createServiceSetIdDescAdapter();
- }
-
- @Override
- public Adapter caseFeatureInjection(FeatureInjection object) {
- return createFeatureInjectionAdapter();
- }
-
- @Override
- public Adapter caseAliasIdDesc(AliasIdDesc object) {
- return createAliasIdDescAdapter();
- }
-
- @Override
- public Adapter caseIdDescriptors(IdDescriptors object) {
- return createIdDescriptorsAdapter();
- }
-
- @Override
- public Adapter casePropertyInjection(PropertyInjection object) {
- return createPropertyInjectionAdapter();
- }
-
- @Override
- public Adapter caseInjectedValue(InjectedValue object) {
- return createInjectedValueAdapter();
- }
-
- @Override
- public Adapter caseMethodInjection(MethodInjection object) {
- return createMethodInjectionAdapter();
- }
-
- @Override
- public Adapter caseAbstractMethodInjection(AbstractMethodInjection object) {
- return createAbstractMethodInjectionAdapter();
- }
-
- @Override
- public Adapter caseParameterInjection(ParameterInjection object) {
- return createParameterInjectionAdapter();
- }
-
- @Override
- public Adapter caseInjectedService(InjectedService object) {
- return createInjectedServiceAdapter();
- }
-
- @Override
- public Adapter caseOpaqueInjectedValue(OpaqueInjectedValue object) {
- return createOpaqueInjectedValueAdapter();
- }
-
- @Override
- public Adapter caseConstructorInjection(ConstructorInjection object) {
- return createConstructorInjectionAdapter();
- }
-
- @Override
- public Adapter caseServiceFactoryIdDesc(ServiceFactoryIdDesc object) {
- return createServiceFactoryIdDescAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject) target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc <em>Registry Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc
- * @generated
- */
- public Adapter createRegistryIdDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc <em>Service Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc
- * @generated
- */
- public Adapter createServiceIdDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc <em>Abstract Service Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc
- * @generated
- */
- public Adapter createAbstractServiceIdDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc <em>Service Set Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc
- * @generated
- */
- public Adapter createServiceSetIdDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection <em>Feature Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection
- * @generated
- */
- public Adapter createFeatureInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc <em>Alias Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc
- * @generated
- */
- public Adapter createAliasIdDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors <em>Id Descriptors</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors
- * @generated
- */
- public Adapter createIdDescriptorsAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection <em>Property Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection
- * @generated
- */
- public Adapter createPropertyInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue <em>Injected Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue
- * @generated
- */
- public Adapter createInjectedValueAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection <em>Method Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection
- * @generated
- */
- public Adapter createMethodInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection <em>Abstract Method Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection
- * @generated
- */
- public Adapter createAbstractMethodInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection <em>Parameter Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection
- * @generated
- */
- public Adapter createParameterInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService <em>Injected Service</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService
- * @generated
- */
- public Adapter createInjectedServiceAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue <em>Opaque Injected Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue
- * @generated
- */
- public Adapter createOpaqueInjectedValueAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ConstructorInjection <em>Constructor Injection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ConstructorInjection
- * @generated
- */
- public Adapter createConstructorInjectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc <em>Service Factory Id Desc</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc
- * @generated
- */
- public Adapter createServiceFactoryIdDescAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} // ServicedescriptorswithidAdapterFactory
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/util/ServicedescriptorswithidSwitch.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/util/ServicedescriptorswithidSwitch.java
deleted file mode 100644
index fa336911d5e..00000000000
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/util/ServicedescriptorswithidSwitch.java
+++ /dev/null
@@ -1,546 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractMethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AbstractServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.AliasIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ConstructorInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.FeatureInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.IdDescriptors;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedService;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.InjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.MethodInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.OpaqueInjectedValue;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ParameterInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.PropertyInjection;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.RegistryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceSetIdDesc;
-import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidPackage
- * @generated
- */
-public class ServicedescriptorswithidSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static ServicedescriptorswithidPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ServicedescriptorswithidSwitch() {
- if (modelPackage == null) {
- modelPackage = ServicedescriptorswithidPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case ServicedescriptorswithidPackage.REGISTRY_ID_DESC: {
- RegistryIdDesc registryIdDesc = (RegistryIdDesc) theEObject;
- T result = caseRegistryIdDesc(registryIdDesc);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.SERVICE_ID_DESC: {
- ServiceIdDesc serviceIdDesc = (ServiceIdDesc) theEObject;
- T result = caseServiceIdDesc(serviceIdDesc);
- if (result == null) {
- result = caseAbstractServiceIdDesc(serviceIdDesc);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.ABSTRACT_SERVICE_ID_DESC: {
- AbstractServiceIdDesc abstractServiceIdDesc = (AbstractServiceIdDesc) theEObject;
- T result = caseAbstractServiceIdDesc(abstractServiceIdDesc);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.SERVICE_SET_ID_DESC: {
- ServiceSetIdDesc serviceSetIdDesc = (ServiceSetIdDesc) theEObject;
- T result = caseServiceSetIdDesc(serviceSetIdDesc);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.FEATURE_INJECTION: {
- FeatureInjection featureInjection = (FeatureInjection) theEObject;
- T result = caseFeatureInjection(featureInjection);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.ALIAS_ID_DESC: {
- AliasIdDesc aliasIdDesc = (AliasIdDesc) theEObject;
- T result = caseAliasIdDesc(aliasIdDesc);
- if (result == null) {
- result = caseAbstractServiceIdDesc(aliasIdDesc);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.ID_DESCRIPTORS: {
- IdDescriptors idDescriptors = (IdDescriptors) theEObject;
- T result = caseIdDescriptors(idDescriptors);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.PROPERTY_INJECTION: {
- PropertyInjection propertyInjection = (PropertyInjection) theEObject;
- T result = casePropertyInjection(propertyInjection);
- if (result == null) {
- result = caseFeatureInjection(propertyInjection);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.INJECTED_VALUE: {
- InjectedValue injectedValue = (InjectedValue) theEObject;
- T result = caseInjectedValue(injectedValue);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.METHOD_INJECTION: {
- MethodInjection methodInjection = (MethodInjection) theEObject;
- T result = caseMethodInjection(methodInjection);
- if (result == null) {
- result = caseAbstractMethodInjection(methodInjection);
- }
- if (result == null) {
- result = caseFeatureInjection(methodInjection);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.ABSTRACT_METHOD_INJECTION: {
- AbstractMethodInjection abstractMethodInjection = (AbstractMethodInjection) theEObject;
- T result = caseAbstractMethodInjection(abstractMethodInjection);
- if (result == null) {
- result = caseFeatureInjection(abstractMethodInjection);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.PARAMETER_INJECTION: {
- ParameterInjection parameterInjection = (ParameterInjection) theEObject;
- T result = caseParameterInjection(parameterInjection);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.INJECTED_SERVICE: {
- InjectedService injectedService = (InjectedService) theEObject;
- T result = caseInjectedService(injectedService);
- if (result == null) {
- result = caseInjectedValue(injectedService);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.OPAQUE_INJECTED_VALUE: {
- OpaqueInjectedValue opaqueInjectedValue = (OpaqueInjectedValue) theEObject;
- T result = caseOpaqueInjectedValue(opaqueInjectedValue);
- if (result == null) {
- result = caseInjectedValue(opaqueInjectedValue);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.CONSTRUCTOR_INJECTION: {
- ConstructorInjection constructorInjection = (ConstructorInjection) theEObject;
- T result = caseConstructorInjection(constructorInjection);
- if (result == null) {
- result = caseAbstractMethodInjection(constructorInjection);
- }
- if (result == null) {
- result = caseFeatureInjection(constructorInjection);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ServicedescriptorswithidPackage.SERVICE_FACTORY_ID_DESC: {
- ServiceFactoryIdDesc serviceFactoryIdDesc = (ServiceFactoryIdDesc) theEObject;
- T result = caseServiceFactoryIdDesc(serviceFactoryIdDesc);
- if (result == null) {
- result = caseServiceIdDesc(serviceFactoryIdDesc);
- }
- if (result == null) {
- result = caseAbstractServiceIdDesc(serviceFactoryIdDesc);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Registry Id Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Registry Id Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRegistryIdDesc(RegistryIdDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Service Id Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Service Id Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseServiceIdDesc(ServiceIdDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Abstract Service Id Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Abstract Service Id Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAbstractServiceIdDesc(AbstractServiceIdDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Service Set Id Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Service Set Id Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseServiceSetIdDesc(ServiceSetIdDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Feature Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Feature Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFeatureInjection(FeatureInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Alias Id Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Alias Id Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAliasIdDesc(AliasIdDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Id Descriptors</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Id Descriptors</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseIdDescriptors(IdDescriptors object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Property Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Property Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePropertyInjection(PropertyInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Injected Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Injected Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInjectedValue(InjectedValue object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Method Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Method Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMethodInjection(MethodInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Abstract Method Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Abstract Method Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAbstractMethodInjection(AbstractMethodInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Parameter Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Parameter Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseParameterInjection(ParameterInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Injected Service</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Injected Service</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInjectedService(InjectedService object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Opaque Injected Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Opaque Injected Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOpaqueInjectedValue(OpaqueInjectedValue object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Constructor Injection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Constructor Injection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseConstructorInjection(ConstructorInjection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Service Factory Id Desc</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Service Factory Id Desc</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseServiceFactoryIdDesc(ServiceFactoryIdDesc object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
-
-} // ServicedescriptorswithidSwitch

Back to the top