From 6b727cdfa9297e7d0f52c1e22a09c1322b3b710c Mon Sep 17 00:00:00 2001 From: rschnekenbu Date: Thu, 9 Dec 2010 13:11:36 +0000 Subject: Merged branch 0.7.X changes r2480:3444 into the trunk --- .../org/eclipse/papyrus/MARTE/MARTEFactory.java | 44 + .../org/eclipse/papyrus/MARTE/MARTEPackage.java | 122 + .../MARTE_AnalysisModel/GQAM/GQAMFactory.java | 197 + .../MARTE_AnalysisModel/GQAM/GQAMPackage.java | 5128 ++++++++++++++++++++ .../MARTE/MARTE_AnalysisModel/GQAM/GaAcqStep.java | 89 + .../GQAM/GaAnalysisContext.java | 89 + .../MARTE_AnalysisModel/GQAM/GaCommChannel.java | 88 + .../MARTE/MARTE_AnalysisModel/GQAM/GaCommHost.java | 71 + .../MARTE/MARTE_AnalysisModel/GQAM/GaCommStep.java | 28 + .../MARTE_AnalysisModel/GQAM/GaEventTrace.java | 144 + .../MARTE/MARTE_AnalysisModel/GQAM/GaExecHost.java | 233 + .../MARTE_AnalysisModel/GQAM/GaLatencyObs.java | 102 + .../MARTE/MARTE_AnalysisModel/GQAM/GaRelStep.java | 89 + .../GQAM/GaRequestedService.java | 61 + .../GQAM/GaResourcesPlatform.java | 84 + .../MARTE/MARTE_AnalysisModel/GQAM/GaScenario.java | 266 + .../MARTE/MARTE_AnalysisModel/GQAM/GaStep.java | 346 ++ .../MARTE/MARTE_AnalysisModel/GQAM/GaTimedObs.java | 102 + .../GQAM/GaWorkloadBehavior.java | 99 + .../MARTE_AnalysisModel/GQAM/GaWorkloadEvent.java | 199 + .../GQAM/GaWorkloadGenerator.java | 91 + .../MARTE/MARTE_AnalysisModel/GQAM/LaxityKind.java | 246 + .../GQAM/impl/GQAMFactoryImpl.java | 333 ++ .../GQAM/impl/GQAMPackageImpl.java | 1563 ++++++ .../GQAM/impl/GaAcqStepImpl.java | 236 + .../GQAM/impl/GaAnalysisContextImpl.java | 333 ++ .../GQAM/impl/GaCommChannelImpl.java | 229 + .../GQAM/impl/GaCommHostImpl.java | 671 +++ .../GQAM/impl/GaCommStepImpl.java | 50 + .../GQAM/impl/GaEventTraceImpl.java | 345 ++ .../GQAM/impl/GaExecHostImpl.java | 688 +++ .../GQAM/impl/GaLatencyObsImpl.java | 266 + .../GQAM/impl/GaRelStepImpl.java | 236 + .../GQAM/impl/GaRequestedServiceImpl.java | 168 + .../GQAM/impl/GaResourcesPlatformImpl.java | 212 + .../GQAM/impl/GaScenarioImpl.java | 1108 +++++ .../MARTE_AnalysisModel/GQAM/impl/GaStepImpl.java | 848 ++++ .../GQAM/impl/GaTimedObsImpl.java | 253 + .../GQAM/impl/GaWorkloadBehaviorImpl.java | 246 + .../GQAM/impl/GaWorkloadEventImpl.java | 481 ++ .../GQAM/impl/GaWorkloadGeneratorImpl.java | 237 + .../GQAM/util/GQAMAdapterFactory.java | 652 +++ .../GQAM/util/GQAMResourceFactoryImpl.java | 63 + .../GQAM/util/GQAMResourceImpl.java | 39 + .../MARTE_AnalysisModel/GQAM/util/GQAMSwitch.java | 712 +++ .../GQAM/util/GQAMXMLProcessor.java | 61 + .../MARTE/MARTE_AnalysisModel/PAM/PAMFactory.java | 98 + .../MARTE/MARTE_AnalysisModel/PAM/PAMPackage.java | 2419 +++++++++ .../MARTE/MARTE_AnalysisModel/PAM/PaCommStep.java | 29 + .../MARTE_AnalysisModel/PAM/PaLogicalResource.java | 115 + .../MARTE_AnalysisModel/PAM/PaRequestedStep.java | 29 + .../MARTE_AnalysisModel/PAM/PaResPassStep.java | 91 + .../MARTE_AnalysisModel/PAM/PaRunTInstance.java | 230 + .../MARTE/MARTE_AnalysisModel/PAM/PaStep.java | 133 + .../PAM/impl/PAMFactoryImpl.java | 161 + .../PAM/impl/PAMPackageImpl.java | 731 +++ .../PAM/impl/PaCommStepImpl.java | 50 + .../PAM/impl/PaLogicalResourceImpl.java | 283 ++ .../PAM/impl/PaRequestedStepImpl.java | 203 + .../PAM/impl/PaResPassStepImpl.java | 238 + .../PAM/impl/PaRunTInstanceImpl.java | 523 ++ .../MARTE_AnalysisModel/PAM/impl/PaStepImpl.java | 327 ++ .../PAM/util/PAMAdapterFactory.java | 376 ++ .../PAM/util/PAMResourceFactoryImpl.java | 63 + .../PAM/util/PAMResourceImpl.java | 39 + .../MARTE_AnalysisModel/PAM/util/PAMSwitch.java | 398 ++ .../PAM/util/PAMXMLProcessor.java | 61 + .../SAM/OptimallityCriterionKind.java | 300 ++ .../MARTE/MARTE_AnalysisModel/SAM/SAMFactory.java | 116 + .../MARTE/MARTE_AnalysisModel/SAM/SAMPackage.java | 2890 +++++++++++ .../MARTE_AnalysisModel/SAM/SaAnalysisContext.java | 91 + .../MARTE/MARTE_AnalysisModel/SAM/SaCommHost.java | 88 + .../MARTE/MARTE_AnalysisModel/SAM/SaCommStep.java | 144 + .../MARTE_AnalysisModel/SAM/SaEndtoEndFlow.java | 172 + .../MARTE/MARTE_AnalysisModel/SAM/SaExecHost.java | 169 + .../MARTE/MARTE_AnalysisModel/SAM/SaSchedObs.java | 87 + .../MARTE_AnalysisModel/SAM/SaSharedResource.java | 151 + .../MARTE/MARTE_AnalysisModel/SAM/SaStep.java | 298 ++ .../SAM/impl/SAMFactoryImpl.java | 234 + .../SAM/impl/SAMPackageImpl.java | 1046 ++++ .../SAM/impl/SaAnalysisContextImpl.java | 230 + .../SAM/impl/SaCommHostImpl.java | 229 + .../SAM/impl/SaCommStepImpl.java | 346 ++ .../SAM/impl/SaEndtoEndFlowImpl.java | 407 ++ .../SAM/impl/SaExecHostImpl.java | 391 ++ .../SAM/impl/SaSchedObsImpl.java | 232 + .../SAM/impl/SaSharedResourceImpl.java | 362 ++ .../MARTE_AnalysisModel/SAM/impl/SaStepImpl.java | 658 +++ .../SAM/util/SAMAdapterFactory.java | 624 +++ .../SAM/util/SAMResourceFactoryImpl.java | 63 + .../SAM/util/SAMResourceImpl.java | 39 + .../MARTE_AnalysisModel/SAM/util/SAMSwitch.java | 622 +++ .../SAM/util/SAMXMLProcessor.java | 61 + .../MARTE/MARTE_Annexes/RSM/DefaultLink.java | 28 + .../MARTE/MARTE_Annexes/RSM/Distribute.java | 142 + .../MARTE/MARTE_Annexes/RSM/InterRepetition.java | 88 + .../MARTE/MARTE_Annexes/RSM/LinkTopology.java | 63 + .../MARTE/MARTE_Annexes/RSM/RSMFactory.java | 98 + .../MARTE/MARTE_Annexes/RSM/RSMPackage.java | 889 ++++ .../papyrus/MARTE/MARTE_Annexes/RSM/Reshape.java | 87 + .../papyrus/MARTE/MARTE_Annexes/RSM/Shaped.java | 90 + .../papyrus/MARTE/MARTE_Annexes/RSM/Tiler.java | 169 + .../MARTE_Annexes/RSM/impl/DefaultLinkImpl.java | 50 + .../MARTE_Annexes/RSM/impl/DistributeImpl.java | 337 ++ .../RSM/impl/InterRepetitionImpl.java | 227 + .../MARTE_Annexes/RSM/impl/LinkTopologyImpl.java | 169 + .../MARTE_Annexes/RSM/impl/RSMFactoryImpl.java | 161 + .../MARTE_Annexes/RSM/impl/RSMPackageImpl.java | 739 +++ .../MARTE/MARTE_Annexes/RSM/impl/ReshapeImpl.java | 227 + .../MARTE/MARTE_Annexes/RSM/impl/ShapedImpl.java | 237 + .../MARTE/MARTE_Annexes/RSM/impl/TilerImpl.java | 398 ++ .../MARTE_Annexes/RSM/util/RSMAdapterFactory.java | 259 + .../RSM/util/RSMResourceFactoryImpl.java | 63 + .../MARTE_Annexes/RSM/util/RSMResourceImpl.java | 39 + .../MARTE/MARTE_Annexes/RSM/util/RSMSwitch.java | 285 ++ .../MARTE_Annexes/RSM/util/RSMXMLProcessor.java | 61 + .../VSL/DataTypes/BoundedSubtype.java | 199 + .../MARTE_Annexes/VSL/DataTypes/ChoiceType.java | 110 + .../VSL/DataTypes/CollectionType.java | 91 + .../VSL/DataTypes/DataTypesFactory.java | 89 + .../VSL/DataTypes/DataTypesPackage.java | 709 +++ .../MARTE_Annexes/VSL/DataTypes/IntervalType.java | 91 + .../MARTE_Annexes/VSL/DataTypes/TupleType.java | 83 + .../VSL/DataTypes/impl/BoundedSubtypeImpl.java | 460 ++ .../VSL/DataTypes/impl/ChoiceTypeImpl.java | 271 ++ .../VSL/DataTypes/impl/CollectionTypeImpl.java | 230 + .../VSL/DataTypes/impl/DataTypesFactoryImpl.java | 150 + .../VSL/DataTypes/impl/DataTypesPackageImpl.java | 677 +++ .../VSL/DataTypes/impl/IntervalTypeImpl.java | 230 + .../VSL/DataTypes/impl/TupleTypeImpl.java | 211 + .../DataTypes/util/DataTypesAdapterFactory.java | 203 + .../util/DataTypesResourceFactoryImpl.java | 63 + .../VSL/DataTypes/util/DataTypesResourceImpl.java | 39 + .../VSL/DataTypes/util/DataTypesSwitch.java | 221 + .../VSL/DataTypes/util/DataTypesXMLProcessor.java | 61 + .../MARTE_Annexes/VSL/Operators/Operator.java | 110 + .../VSL/Operators/OperatorsFactory.java | 46 + .../VSL/Operators/OperatorsPackage.java | 210 + .../VSL/Operators/impl/OperatorImpl.java | 285 ++ .../VSL/Operators/impl/OperatorsFactoryImpl.java | 99 + .../VSL/Operators/impl/OperatorsPackageImpl.java | 457 ++ .../Operators/util/OperatorsAdapterFactory.java | 124 + .../util/OperatorsResourceFactoryImpl.java | 56 + .../VSL/Operators/util/OperatorsResourceImpl.java | 32 + .../VSL/Operators/util/OperatorsSwitch.java | 130 + .../VSL/Operators/util/OperatorsXMLProcessor.java | 54 + .../VSL/Variables/ExpressionContext.java | 63 + .../MARTE/MARTE_Annexes/VSL/Variables/Var.java | 94 + .../VSL/Variables/VariableDirectionKind.java | 246 + .../VSL/Variables/VariablesFactory.java | 62 + .../VSL/Variables/VariablesPackage.java | 287 ++ .../VSL/Variables/impl/ExpressionContextImpl.java | 169 + .../MARTE_Annexes/VSL/Variables/impl/VarImpl.java | 238 + .../VSL/Variables/impl/VariablesFactoryImpl.java | 168 + .../VSL/Variables/impl/VariablesPackageImpl.java | 509 ++ .../Variables/util/VariablesAdapterFactory.java | 149 + .../util/VariablesResourceFactoryImpl.java | 63 + .../VSL/Variables/util/VariablesResourceImpl.java | 39 + .../VSL/Variables/util/VariablesSwitch.java | 158 + .../VSL/Variables/util/VariablesXMLProcessor.java | 61 + .../MARTE_DesignModel/GCM/ClientServerFeature.java | 94 + .../MARTE_DesignModel/GCM/ClientServerKind.java | 246 + .../MARTE_DesignModel/GCM/ClientServerPort.java | 189 + .../GCM/ClientServerSpecification.java | 63 + .../MARTE/MARTE_DesignModel/GCM/DataEvent.java | 91 + .../MARTE/MARTE_DesignModel/GCM/DataPool.java | 149 + .../GCM/DataPoolOrderingKind.java | 246 + .../MARTE_DesignModel/GCM/FlowDirectionKind.java | 246 + .../MARTE/MARTE_DesignModel/GCM/FlowPort.java | 121 + .../MARTE/MARTE_DesignModel/GCM/FlowProperty.java | 94 + .../MARTE_DesignModel/GCM/FlowSpecification.java | 63 + .../MARTE/MARTE_DesignModel/GCM/GCMFactory.java | 143 + .../GCM/GCMInvocatingBehavior.java | 119 + .../MARTE_DesignModel/GCM/GCMInvocationAction.java | 91 + .../MARTE/MARTE_DesignModel/GCM/GCMPackage.java | 1456 ++++++ .../MARTE/MARTE_DesignModel/GCM/GCMTrigger.java | 91 + .../GCM/PortSpecificationKind.java | 246 + .../GCM/impl/ClientServerFeatureImpl.java | 238 + .../GCM/impl/ClientServerPortImpl.java | 512 ++ .../GCM/impl/ClientServerSpecificationImpl.java | 169 + .../MARTE_DesignModel/GCM/impl/DataEventImpl.java | 230 + .../MARTE_DesignModel/GCM/impl/DataPoolImpl.java | 359 ++ .../MARTE_DesignModel/GCM/impl/FlowPortImpl.java | 343 ++ .../GCM/impl/FlowPropertyImpl.java | 238 + .../GCM/impl/FlowSpecificationImpl.java | 169 + .../MARTE_DesignModel/GCM/impl/GCMFactoryImpl.java | 339 ++ .../GCM/impl/GCMInvocatingBehaviorImpl.java | 281 ++ .../GCM/impl/GCMInvocationActionImpl.java | 230 + .../MARTE_DesignModel/GCM/impl/GCMPackageImpl.java | 1054 ++++ .../MARTE_DesignModel/GCM/impl/GCMTriggerImpl.java | 230 + .../GCM/util/GCMAdapterFactory.java | 311 ++ .../GCM/util/GCMResourceFactoryImpl.java | 63 + .../GCM/util/GCMResourceImpl.java | 39 + .../MARTE_DesignModel/GCM/util/GCMSwitch.java | 347 ++ .../GCM/util/GCMXMLProcessor.java | 61 + .../HLAM/CallConcurrencyKind.java | 246 + .../MARTE_DesignModel/HLAM/ConcurrencyKind.java | 246 + .../MARTE_DesignModel/HLAM/ExecutionKind.java | 246 + .../MARTE/MARTE_DesignModel/HLAM/HLAMFactory.java | 98 + .../MARTE/MARTE_DesignModel/HLAM/HLAMPackage.java | 1655 +++++++ .../MARTE_DesignModel/HLAM/PoolMgtPolicyKind.java | 300 ++ .../MARTE/MARTE_DesignModel/HLAM/PpUnit.java | 120 + .../MARTE/MARTE_DesignModel/HLAM/RtAction.java | 176 + .../MARTE/MARTE_DesignModel/HLAM/RtFeature.java | 194 + .../MARTE/MARTE_DesignModel/HLAM/RtService.java | 181 + .../MARTE_DesignModel/HLAM/RtSpecification.java | 336 ++ .../MARTE/MARTE_DesignModel/HLAM/RtUnit.java | 371 ++ .../HLAM/SynchronizationKind.java | 300 ++ .../HLAM/impl/HLAMFactoryImpl.java | 308 ++ .../HLAM/impl/HLAMPackageImpl.java | 1147 +++++ .../MARTE_DesignModel/HLAM/impl/PpUnitImpl.java | 292 ++ .../MARTE_DesignModel/HLAM/impl/RtActionImpl.java | 407 ++ .../MARTE_DesignModel/HLAM/impl/RtFeatureImpl.java | 481 ++ .../MARTE_DesignModel/HLAM/impl/RtServiceImpl.java | 402 ++ .../HLAM/impl/RtSpecificationImpl.java | 723 +++ .../MARTE_DesignModel/HLAM/impl/RtUnitImpl.java | 794 +++ .../HLAM/util/HLAMAdapterFactory.java | 221 + .../HLAM/util/HLAMResourceFactoryImpl.java | 63 + .../HLAM/util/HLAMResourceImpl.java | 39 + .../MARTE_DesignModel/HLAM/util/HLAMSwitch.java | 242 + .../HLAM/util/HLAMXMLProcessor.java | 61 + .../HRM/HwGeneral/HwGeneralFactory.java | 62 + .../HRM/HwGeneral/HwGeneralPackage.java | 524 ++ .../HRM/HwGeneral/HwResource.java | 160 + .../HRM/HwGeneral/HwResourceService.java | 88 + .../HRM/HwGeneral/impl/HwGeneralFactoryImpl.java | 117 + .../HRM/HwGeneral/impl/HwGeneralPackageImpl.java | 565 +++ .../HRM/HwGeneral/impl/HwResourceImpl.java | 395 ++ .../HRM/HwGeneral/impl/HwResourceServiceImpl.java | 229 + .../HwGeneral/util/HwGeneralAdapterFactory.java | 188 + .../util/HwGeneralResourceFactoryImpl.java | 63 + .../HRM/HwGeneral/util/HwGeneralResourceImpl.java | 39 + .../HRM/HwGeneral/util/HwGeneralSwitch.java | 193 + .../HRM/HwGeneral/util/HwGeneralXMLProcessor.java | 61 + .../HRM/HwLogical/HwCommunication/HwArbiter.java | 53 + .../HRM/HwLogical/HwCommunication/HwBridge.java | 51 + .../HRM/HwLogical/HwCommunication/HwBus.java | 141 + .../HwCommunication/HwCommunicationFactory.java | 98 + .../HwCommunication/HwCommunicationPackage.java | 1601 ++++++ .../HwCommunication/HwCommunicationResource.java | 29 + .../HRM/HwLogical/HwCommunication/HwEndPoint.java | 53 + .../HRM/HwLogical/HwCommunication/HwMedia.java | 82 + .../HwCommunication/impl/HwArbiterImpl.java | 176 + .../HwCommunication/impl/HwBridgeImpl.java | 143 + .../HwLogical/HwCommunication/impl/HwBusImpl.java | 335 ++ .../impl/HwCommunicationFactoryImpl.java | 161 + .../impl/HwCommunicationPackageImpl.java | 642 +++ .../impl/HwCommunicationResourceImpl.java | 52 + .../HwCommunication/impl/HwEndPointImpl.java | 250 + .../HwCommunication/impl/HwMediaImpl.java | 557 +++ .../util/HwCommunicationAdapterFactory.java | 318 ++ .../util/HwCommunicationResourceFactoryImpl.java | 63 + .../util/HwCommunicationResourceImpl.java | 39 + .../util/HwCommunicationSwitch.java | 350 ++ .../util/HwCommunicationXMLProcessor.java | 61 + .../HRM/HwLogical/HwComputing/HwASIC.java | 28 + .../HwLogical/HwComputing/HwBranchPredictor.java | 29 + .../HwLogical/HwComputing/HwComputingFactory.java | 98 + .../HwLogical/HwComputing/HwComputingPackage.java | 1952 ++++++++ .../HwLogical/HwComputing/HwComputingResource.java | 63 + .../HRM/HwLogical/HwComputing/HwISA.java | 118 + .../HRM/HwLogical/HwComputing/HwPLD.java | 208 + .../HRM/HwLogical/HwComputing/HwProcessor.java | 322 ++ .../HRM/HwLogical/HwComputing/ISA_Type.java | 327 ++ .../HRM/HwLogical/HwComputing/PLD_Class.java | 327 ++ .../HRM/HwLogical/HwComputing/PLD_Technology.java | 300 ++ .../HRM/HwLogical/HwComputing/impl/HwASICImpl.java | 50 + .../HwComputing/impl/HwBranchPredictorImpl.java | 52 + .../HwComputing/impl/HwComputingFactoryImpl.java | 282 ++ .../HwComputing/impl/HwComputingPackageImpl.java | 966 ++++ .../HwComputing/impl/HwComputingResourceImpl.java | 339 ++ .../HRM/HwLogical/HwComputing/impl/HwISAImpl.java | 284 ++ .../HRM/HwLogical/HwComputing/impl/HwPLDImpl.java | 468 ++ .../HwComputing/impl/HwProcessorImpl.java | 738 +++ .../util/HwComputingAdapterFactory.java | 299 ++ .../util/HwComputingResourceFactoryImpl.java | 63 + .../HwComputing/util/HwComputingResourceImpl.java | 39 + .../HwComputing/util/HwComputingSwitch.java | 331 ++ .../HwComputing/util/HwComputingXMLProcessor.java | 61 + .../HRM/HwLogical/HwDevice/HWActuator.java | 28 + .../HRM/HwLogical/HwDevice/HWSensor.java | 28 + .../HRM/HwLogical/HwDevice/HwDevice.java | 31 + .../HRM/HwLogical/HwDevice/HwDeviceFactory.java | 89 + .../HRM/HwLogical/HwDevice/HwDevicePackage.java | 1009 ++++ .../HRM/HwLogical/HwDevice/HwI_O.java | 28 + .../HRM/HwLogical/HwDevice/HwSupport.java | 28 + .../HwLogical/HwDevice/impl/HWActuatorImpl.java | 50 + .../HRM/HwLogical/HwDevice/impl/HWSensorImpl.java | 50 + .../HwDevice/impl/HwDeviceFactoryImpl.java | 150 + .../HRM/HwLogical/HwDevice/impl/HwDeviceImpl.java | 285 ++ .../HwDevice/impl/HwDevicePackageImpl.java | 517 ++ .../HRM/HwLogical/HwDevice/impl/HwI_OImpl.java | 50 + .../HRM/HwLogical/HwDevice/impl/HwSupportImpl.java | 50 + .../HwDevice/util/HwDeviceAdapterFactory.java | 281 ++ .../HwDevice/util/HwDeviceResourceFactoryImpl.java | 63 + .../HwDevice/util/HwDeviceResourceImpl.java | 39 + .../HwLogical/HwDevice/util/HwDeviceSwitch.java | 313 ++ .../HwDevice/util/HwDeviceXMLProcessor.java | 61 + .../HwLogical/HwStorage/HwMemory/CacheType.java | 300 ++ .../HRM/HwLogical/HwStorage/HwMemory/HwCache.java | 177 + .../HRM/HwLogical/HwStorage/HwMemory/HwDrive.java | 87 + .../HRM/HwLogical/HwStorage/HwMemory/HwMemory.java | 136 + .../HwStorage/HwMemory/HwMemoryFactory.java | 89 + .../HwStorage/HwMemory/HwMemoryPackage.java | 1857 +++++++ .../HRM/HwLogical/HwStorage/HwMemory/HwRAM.java | 201 + .../HRM/HwLogical/HwStorage/HwMemory/HwROM.java | 90 + .../HRM/HwLogical/HwStorage/HwMemory/ROM_Type.java | 354 ++ .../HwLogical/HwStorage/HwMemory/Repl_Policy.java | 327 ++ .../HwLogical/HwStorage/HwMemory/WritePolicy.java | 273 ++ .../HwStorage/HwMemory/impl/HwCacheImpl.java | 392 ++ .../HwStorage/HwMemory/impl/HwDriveImpl.java | 235 + .../HwMemory/impl/HwMemoryFactoryImpl.java | 339 ++ .../HwStorage/HwMemory/impl/HwMemoryImpl.java | 415 ++ .../HwMemory/impl/HwMemoryPackageImpl.java | 918 ++++ .../HwStorage/HwMemory/impl/HwRAMImpl.java | 445 ++ .../HwStorage/HwMemory/impl/HwROMImpl.java | 228 + .../HwMemory/util/HwMemoryAdapterFactory.java | 262 + .../HwMemory/util/HwMemoryResourceFactoryImpl.java | 63 + .../HwMemory/util/HwMemoryResourceImpl.java | 39 + .../HwStorage/HwMemory/util/HwMemorySwitch.java | 290 ++ .../HwMemory/util/HwMemoryXMLProcessor.java | 61 + .../HwStorage/HwStorageManager/HwDMA.java | 109 + .../HwStorage/HwStorageManager/HwMMU.java | 161 + .../HwStorageManager/HwStorageManager.java | 57 + .../HwStorageManager/HwStorageManagerFactory.java | 71 + .../HwStorageManager/HwStorageManagerPackage.java | 897 ++++ .../HwStorage/HwStorageManager/impl/HwDMAImpl.java | 384 ++ .../HwStorage/HwStorageManager/impl/HwMMUImpl.java | 369 ++ .../impl/HwStorageManagerFactoryImpl.java | 128 + .../impl/HwStorageManagerImpl.java | 253 + .../impl/HwStorageManagerPackageImpl.java | 603 +++ .../util/HwStorageManagerAdapterFactory.java | 265 + .../util/HwStorageManagerResourceFactoryImpl.java | 63 + .../util/HwStorageManagerResourceImpl.java | 39 + .../util/HwStorageManagerSwitch.java | 275 ++ .../util/HwStorageManagerXMLProcessor.java | 61 + .../HRM/HwLogical/HwTiming/HwClock.java | 28 + .../HRM/HwLogical/HwTiming/HwTimer.java | 114 + .../HRM/HwLogical/HwTiming/HwTimingFactory.java | 71 + .../HRM/HwLogical/HwTiming/HwTimingPackage.java | 675 +++ .../HRM/HwLogical/HwTiming/HwTimingResource.java | 31 + .../HRM/HwLogical/HwTiming/impl/HwClockImpl.java | 50 + .../HRM/HwLogical/HwTiming/impl/HwTimerImpl.java | 289 ++ .../HwTiming/impl/HwTimingFactoryImpl.java | 128 + .../HwTiming/impl/HwTimingPackageImpl.java | 509 ++ .../HwTiming/impl/HwTimingResourceImpl.java | 52 + .../HwTiming/util/HwTimingAdapterFactory.java | 226 + .../HwTiming/util/HwTimingResourceFactoryImpl.java | 63 + .../HwTiming/util/HwTimingResourceImpl.java | 39 + .../HwLogical/HwTiming/util/HwTimingSwitch.java | 240 + .../HwTiming/util/HwTimingXMLProcessor.java | 61 + .../HRM/HwPhysical/HwLayout/ComponentKind.java | 354 ++ .../HRM/HwPhysical/HwLayout/ComponentState.java | 273 ++ .../HRM/HwPhysical/HwLayout/ConditionType.java | 354 ++ .../HRM/HwPhysical/HwLayout/HwComponent.java | 331 ++ .../HRM/HwPhysical/HwLayout/HwLayoutFactory.java | 53 + .../HRM/HwPhysical/HwLayout/HwLayoutPackage.java | 748 +++ .../HwPhysical/HwLayout/impl/HwComponentImpl.java | 776 +++ .../HwLayout/impl/HwLayoutFactoryImpl.java | 227 + .../HwLayout/impl/HwLayoutPackageImpl.java | 723 +++ .../HwLayout/util/HwLayoutAdapterFactory.java | 171 + .../HwLayout/util/HwLayoutResourceFactoryImpl.java | 63 + .../HwLayout/util/HwLayoutResourceImpl.java | 39 + .../HwPhysical/HwLayout/util/HwLayoutSwitch.java | 173 + .../HwLayout/util/HwLayoutXMLProcessor.java | 61 + .../HRM/HwPhysical/HwPower/HwCoolingSupply.java | 61 + .../HRM/HwPhysical/HwPower/HwPowerFactory.java | 62 + .../HRM/HwPhysical/HwPower/HwPowerPackage.java | 743 +++ .../HRM/HwPhysical/HwPower/HwPowerSupply.java | 88 + .../HwPower/impl/HwCoolingSupplyImpl.java | 175 + .../HwPower/impl/HwPowerFactoryImpl.java | 117 + .../HwPower/impl/HwPowerPackageImpl.java | 484 ++ .../HwPhysical/HwPower/impl/HwPowerSupplyImpl.java | 229 + .../HwPower/util/HwPowerAdapterFactory.java | 209 + .../HwPower/util/HwPowerResourceFactoryImpl.java | 63 + .../HwPower/util/HwPowerResourceImpl.java | 39 + .../HRM/HwPhysical/HwPower/util/HwPowerSwitch.java | 215 + .../HwPower/util/HwPowerXMLProcessor.java | 61 + .../SRM/SW_Brokering/AccessPolicyKind.java | 300 ++ .../SRM/SW_Brokering/DeviceBroker.java | 198 + .../SRM/SW_Brokering/MemoryBroker.java | 188 + .../SRM/SW_Brokering/SW_BrokeringFactory.java | 62 + .../SRM/SW_Brokering/SW_BrokeringPackage.java | 905 ++++ .../SRM/SW_Brokering/impl/DeviceBrokerImpl.java | 444 ++ .../SRM/SW_Brokering/impl/MemoryBrokerImpl.java | 424 ++ .../SW_Brokering/impl/SW_BrokeringFactoryImpl.java | 168 + .../SW_Brokering/impl/SW_BrokeringPackageImpl.java | 658 +++ .../util/SW_BrokeringAdapterFactory.java | 189 + .../util/SW_BrokeringResourceFactoryImpl.java | 63 + .../util/SW_BrokeringResourceImpl.java | 39 + .../SRM/SW_Brokering/util/SW_BrokeringSwitch.java | 196 + .../util/SW_BrokeringXMLProcessor.java | 61 + .../SRM/SW_Concurrency/Alarm.java | 80 + .../SRM/SW_Concurrency/EntryPoint.java | 90 + .../SRM/SW_Concurrency/InterruptKind.java | 300 ++ .../SRM/SW_Concurrency/InterruptResource.java | 162 + .../SRM/SW_Concurrency/MemoryPartition.java | 135 + .../SRM/SW_Concurrency/SW_ConcurrencyFactory.java | 98 + .../SRM/SW_Concurrency/SW_ConcurrencyPackage.java | 2931 +++++++++++ .../SRM/SW_Concurrency/SwConcurrentResource.java | 366 ++ .../SRM/SW_Concurrency/SwSchedulableResource.java | 223 + .../SRM/SW_Concurrency/SwTimerResource.java | 63 + .../SRM/SW_Concurrency/impl/AlarmImpl.java | 216 + .../SRM/SW_Concurrency/impl/EntryPointImpl.java | 238 + .../SW_Concurrency/impl/InterruptResourceImpl.java | 374 ++ .../SW_Concurrency/impl/MemoryPartitionImpl.java | 315 ++ .../impl/SW_ConcurrencyFactoryImpl.java | 212 + .../impl/SW_ConcurrencyPackageImpl.java | 1093 +++++ .../impl/SwConcurrentResourceImpl.java | 784 +++ .../impl/SwSchedulableResourceImpl.java | 782 +++ .../SW_Concurrency/impl/SwTimerResourceImpl.java | 170 + .../util/SW_ConcurrencyAdapterFactory.java | 356 ++ .../util/SW_ConcurrencyResourceFactoryImpl.java | 63 + .../util/SW_ConcurrencyResourceImpl.java | 39 + .../SW_Concurrency/util/SW_ConcurrencySwitch.java | 381 ++ .../util/SW_ConcurrencyXMLProcessor.java | 61 + .../ConcurrentAccessProtocolKind.java | 300 ++ .../SRM/SW_Interaction/MessageComResource.java | 192 + .../SRM/SW_Interaction/MessageResourceKind.java | 300 ++ .../MutualExclusionResourceKind.java | 300 ++ .../SRM/SW_Interaction/NotificationKind.java | 300 ++ .../SRM/SW_Interaction/NotificationResource.java | 199 + .../SW_Interaction/NotificationResourceKind.java | 273 ++ .../SRM/SW_Interaction/QueuePolicyKind.java | 300 ++ .../SRM/SW_Interaction/SW_InteractionFactory.java | 80 + .../SRM/SW_Interaction/SW_InteractionPackage.java | 2628 ++++++++++ .../SRM/SW_Interaction/SharedDataComResource.java | 70 + .../SW_Interaction/SwCommunicationResource.java | 29 + .../SRM/SW_Interaction/SwInteractionResource.java | 139 + .../SW_Interaction/SwMutualExclusionResource.java | 150 + .../SW_Interaction/SwSynchronizationResource.java | 29 + .../impl/MessageComResourceImpl.java | 429 ++ .../impl/NotificationResourceImpl.java | 443 ++ .../impl/SW_InteractionFactoryImpl.java | 310 ++ .../impl/SW_InteractionPackageImpl.java | 1006 ++++ .../impl/SharedDataComResourceImpl.java | 178 + .../impl/SwCommunicationResourceImpl.java | 582 +++ .../impl/SwInteractionResourceImpl.java | 327 ++ .../impl/SwMutualExclusionResourceImpl.java | 661 +++ .../impl/SwSynchronizationResourceImpl.java | 50 + .../util/SW_InteractionAdapterFactory.java | 355 ++ .../util/SW_InteractionResourceFactoryImpl.java | 63 + .../util/SW_InteractionResourceImpl.java | 39 + .../SW_Interaction/util/SW_InteractionSwitch.java | 395 ++ .../util/SW_InteractionXMLProcessor.java | 61 + .../SW_ResourceCore/SW_ResourceCoreFactory.java | 53 + .../SW_ResourceCore/SW_ResourceCorePackage.java | 524 ++ .../SRM/SW_ResourceCore/SwAccessService.java | 90 + .../SRM/SW_ResourceCore/SwResource.java | 151 + .../impl/SW_ResourceCoreFactoryImpl.java | 106 + .../impl/SW_ResourceCorePackageImpl.java | 541 +++ .../SW_ResourceCore/impl/SwAccessServiceImpl.java | 238 + .../SRM/SW_ResourceCore/impl/SwResourceImpl.java | 348 ++ .../util/SW_ResourceCoreAdapterFactory.java | 188 + .../util/SW_ResourceCoreResourceFactoryImpl.java | 63 + .../util/SW_ResourceCoreResourceImpl.java | 39 + .../util/SW_ResourceCoreSwitch.java | 193 + .../util/SW_ResourceCoreXMLProcessor.java | 61 + .../MARTE_Foundations/Alloc/AllocFactory.java | 89 + .../MARTE_Foundations/Alloc/AllocPackage.java | 944 ++++ .../MARTE/MARTE_Foundations/Alloc/Allocate.java | 144 + .../Alloc/AllocateActivityGroup.java | 91 + .../MARTE/MARTE_Foundations/Alloc/Allocated.java | 129 + .../MARTE_Foundations/Alloc/AllocationEndKind.java | 273 ++ .../MARTE_Foundations/Alloc/AllocationKind.java | 246 + .../MARTE_Foundations/Alloc/AllocationNature.java | 219 + .../MARTE/MARTE_Foundations/Alloc/Assign.java | 179 + .../MARTE_Foundations/Alloc/AssignmentKind.java | 246 + .../MARTE_Foundations/Alloc/AssignmentNature.java | 219 + .../MARTE/MARTE_Foundations/Alloc/NfpRefine.java | 84 + .../Alloc/impl/AllocFactoryImpl.java | 297 ++ .../Alloc/impl/AllocPackageImpl.java | 830 ++++ .../Alloc/impl/AllocateActivityGroupImpl.java | 237 + .../MARTE_Foundations/Alloc/impl/AllocateImpl.java | 336 ++ .../Alloc/impl/AllocatedImpl.java | 359 ++ .../MARTE_Foundations/Alloc/impl/AssignImpl.java | 405 ++ .../Alloc/impl/NfpRefineImpl.java | 212 + .../Alloc/util/AllocAdapterFactory.java | 203 + .../Alloc/util/AllocResourceFactoryImpl.java | 63 + .../Alloc/util/AllocResourceImpl.java | 39 + .../MARTE_Foundations/Alloc/util/AllocSwitch.java | 221 + .../Alloc/util/AllocXMLProcessor.java | 61 + .../CoreElements/Configuration.java | 109 + .../CoreElements/CoreElementsFactory.java | 80 + .../CoreElements/CoreElementsPackage.java | 417 ++ .../MARTE/MARTE_Foundations/CoreElements/Mode.java | 63 + .../CoreElements/ModeBehavior.java | 63 + .../CoreElements/ModeTransition.java | 63 + .../CoreElements/impl/ConfigurationImpl.java | 271 ++ .../CoreElements/impl/CoreElementsFactoryImpl.java | 139 + .../CoreElements/impl/CoreElementsPackageImpl.java | 556 +++ .../CoreElements/impl/ModeBehaviorImpl.java | 169 + .../CoreElements/impl/ModeImpl.java | 169 + .../CoreElements/impl/ModeTransitionImpl.java | 169 + .../util/CoreElementsAdapterFactory.java | 185 + .../util/CoreElementsResourceFactoryImpl.java | 63 + .../util/CoreElementsResourceImpl.java | 39 + .../CoreElements/util/CoreElementsSwitch.java | 200 + .../util/CoreElementsXMLProcessor.java | 61 + .../MARTE/MARTE_Foundations/GRM/Acquire.java | 60 + .../MARTE/MARTE_Foundations/GRM/ClockResource.java | 28 + .../GRM/CommunicationEndPoint.java | 60 + .../MARTE_Foundations/GRM/CommunicationMedia.java | 173 + .../MARTE_Foundations/GRM/ComputingResource.java | 28 + .../MARTE_Foundations/GRM/ConcurrencyResource.java | 28 + .../MARTE_Foundations/GRM/DeviceResource.java | 28 + .../MARTE/MARTE_Foundations/GRM/GRMFactory.java | 224 + .../MARTE/MARTE_Foundations/GRM/GRMPackage.java | 3644 ++++++++++++++ .../MARTE/MARTE_Foundations/GRM/GrService.java | 202 + .../GRM/MutualExclusionResource.java | 148 + .../MARTE_Foundations/GRM/ProcessingResource.java | 88 + .../MARTE/MARTE_Foundations/GRM/Release.java | 28 + .../MARTE/MARTE_Foundations/GRM/Resource.java | 257 + .../MARTE/MARTE_Foundations/GRM/ResourceUsage.java | 201 + .../MARTE_Foundations/GRM/SchedulableResource.java | 109 + .../MARTE/MARTE_Foundations/GRM/Scheduler.java | 231 + .../MARTE_Foundations/GRM/SecondaryScheduler.java | 53 + .../MARTE_Foundations/GRM/StorageResource.java | 60 + .../GRM/SynchronizationResource.java | 28 + .../MARTE/MARTE_Foundations/GRM/TimerResource.java | 87 + .../MARTE_Foundations/GRM/TimingResource.java | 28 + .../MARTE_Foundations/GRM/impl/AcquireImpl.java | 173 + .../GRM/impl/ClockResourceImpl.java | 50 + .../GRM/impl/CommunicationEndPointImpl.java | 173 + .../GRM/impl/CommunicationMediaImpl.java | 407 ++ .../GRM/impl/ComputingResourceImpl.java | 50 + .../GRM/impl/ConcurrencyResourceImpl.java | 50 + .../GRM/impl/DeviceResourceImpl.java | 50 + .../MARTE_Foundations/GRM/impl/GRMFactoryImpl.java | 315 ++ .../MARTE_Foundations/GRM/impl/GRMPackageImpl.java | 1420 ++++++ .../MARTE_Foundations/GRM/impl/GrServiceImpl.java | 474 ++ .../GRM/impl/MutualExclusionResourceImpl.java | 398 ++ .../GRM/impl/ProcessingResourceImpl.java | 235 + .../MARTE_Foundations/GRM/impl/ReleaseImpl.java | 50 + .../MARTE_Foundations/GRM/impl/ResourceImpl.java | 589 +++ .../GRM/impl/ResourceUsageImpl.java | 476 ++ .../GRM/impl/SchedulableResourceImpl.java | 366 ++ .../MARTE_Foundations/GRM/impl/SchedulerImpl.java | 547 +++ .../GRM/impl/SecondarySchedulerImpl.java | 176 + .../GRM/impl/StorageResourceImpl.java | 173 + .../GRM/impl/SynchronizationResourceImpl.java | 50 + .../GRM/impl/TimerResourceImpl.java | 227 + .../GRM/impl/TimingResourceImpl.java | 50 + .../GRM/util/GRMAdapterFactory.java | 473 ++ .../GRM/util/GRMResourceFactoryImpl.java | 63 + .../GRM/util/GRMResourceImpl.java | 39 + .../MARTE_Foundations/GRM/util/GRMSwitch.java | 559 +++ .../GRM/util/GRMXMLProcessor.java | 61 + .../MARTE_Foundations/NFPs/ConstraintKind.java | 246 + .../MARTE/MARTE_Foundations/NFPs/Dimension.java | 126 + .../MARTE/MARTE_Foundations/NFPs/NFPsFactory.java | 89 + .../MARTE/MARTE_Foundations/NFPs/NFPsPackage.java | 760 +++ .../papyrus/MARTE/MARTE_Foundations/NFPs/Nfp.java | 63 + .../MARTE_Foundations/NFPs/NfpConstraint.java | 114 + .../MARTE/MARTE_Foundations/NFPs/NfpType.java | 117 + .../papyrus/MARTE/MARTE_Foundations/NFPs/Unit.java | 144 + .../MARTE_Foundations/NFPs/impl/DimensionImpl.java | 315 ++ .../NFPs/impl/NFPsFactoryImpl.java | 201 + .../NFPs/impl/NFPsPackageImpl.java | 748 +++ .../NFPs/impl/NfpConstraintImpl.java | 281 ++ .../MARTE/MARTE_Foundations/NFPs/impl/NfpImpl.java | 169 + .../MARTE_Foundations/NFPs/impl/NfpTypeImpl.java | 290 ++ .../MARTE_Foundations/NFPs/impl/UnitImpl.java | 351 ++ .../NFPs/util/NFPsAdapterFactory.java | 223 + .../NFPs/util/NFPsResourceFactoryImpl.java | 63 + .../NFPs/util/NFPsResourceImpl.java | 39 + .../MARTE_Foundations/NFPs/util/NFPsSwitch.java | 239 + .../NFPs/util/NFPsXMLProcessor.java | 61 + .../MARTE/MARTE_Foundations/Time/Clock.java | 207 + .../MARTE_Foundations/Time/ClockConstraint.java | 115 + .../MARTE/MARTE_Foundations/Time/ClockType.java | 314 ++ .../MARTE/MARTE_Foundations/Time/TimeFactory.java | 134 + .../MARTE/MARTE_Foundations/Time/TimePackage.java | 1678 +++++++ .../MARTE_Foundations/Time/TimedConstraint.java | 66 + .../MARTE/MARTE_Foundations/Time/TimedDomain.java | 63 + .../Time/TimedDurationObservation.java | 84 + .../MARTE/MARTE_Foundations/Time/TimedElement.java | 53 + .../MARTE/MARTE_Foundations/Time/TimedEvent.java | 116 + .../Time/TimedInstantObservation.java | 93 + .../MARTE_Foundations/Time/TimedProcessing.java | 200 + .../Time/TimedValueSpecification.java | 93 + .../Time/impl/ClockConstraintImpl.java | 358 ++ .../MARTE_Foundations/Time/impl/ClockImpl.java | 484 ++ .../MARTE_Foundations/Time/impl/ClockTypeImpl.java | 715 +++ .../Time/impl/TimeFactoryImpl.java | 205 + .../Time/impl/TimePackageImpl.java | 1057 ++++ .../Time/impl/TimedConstraintImpl.java | 252 + .../Time/impl/TimedDomainImpl.java | 169 + .../Time/impl/TimedDurationObservationImpl.java | 227 + .../Time/impl/TimedElementImpl.java | 145 + .../Time/impl/TimedEventImpl.java | 316 ++ .../Time/impl/TimedInstantObservationImpl.java | 238 + .../Time/impl/TimedProcessingImpl.java | 491 ++ .../Time/impl/TimedValueSpecificationImpl.java | 238 + .../Time/util/TimeAdapterFactory.java | 331 ++ .../Time/util/TimeResourceFactoryImpl.java | 63 + .../Time/util/TimeResourceImpl.java | 39 + .../MARTE_Foundations/Time/util/TimeSwitch.java | 373 ++ .../Time/util/TimeXMLProcessor.java | 61 + .../src/org/eclipse/papyrus/MARTE/dummy.java | 167 + .../papyrus/MARTE/impl/MARTEFactoryImpl.java | 146 + .../papyrus/MARTE/impl/MARTEPackageImpl.java | 480 ++ .../eclipse/papyrus/MARTE/utils/MarteResource.java | 10 + .../eclipse/papyrus/MARTE/utils/MarteUtils.java | 33 + .../BasicNFP_Types/BasicNFP_TypesFactory.java | 44 + .../BasicNFP_Types/BasicNFP_TypesPackage.java | 989 ++++ .../BasicNFP_Types/DirectionKind.java | 219 + .../MARTE_Library/BasicNFP_Types/SourceKind.java | 273 ++ .../BasicNFP_Types/StatisticalQualifierKind.java | 408 ++ .../impl/BasicNFP_TypesFactoryImpl.java | 766 +++ .../impl/BasicNFP_TypesPackageImpl.java | 948 ++++ .../GRM_BasicTypes/GRM_BasicTypesFactory.java | 44 + .../GRM_BasicTypes/GRM_BasicTypesPackage.java | 431 ++ .../GRM_BasicTypes/PeriodicServerKind.java | 273 ++ .../GRM_BasicTypes/ProtectProtocolKind.java | 354 ++ .../GRM_BasicTypes/SchedPolicyKind.java | 381 ++ .../impl/GRM_BasicTypesFactoryImpl.java | 370 ++ .../impl/GRM_BasicTypesPackageImpl.java | 628 +++ .../MARTE_DataTypes/MARTE_DataTypesFactory.java | 44 + .../MARTE_DataTypes/MARTE_DataTypesPackage.java | 495 ++ .../MARTE_DataTypes/TransmModeKind.java | 246 + .../impl/MARTE_DataTypesFactoryImpl.java | 410 ++ .../impl/MARTE_DataTypesPackageImpl.java | 644 +++ .../MARTE_PrimitivesTypesFactory.java | 44 + .../MARTE_PrimitivesTypesPackage.java | 272 ++ .../impl/MARTE_PrimitivesTypesFactoryImpl.java | 254 + .../impl/MARTE_PrimitivesTypesPackageImpl.java | 509 ++ .../MeasurementUnits/AreaUnitKind.java | 219 + .../MeasurementUnits/DataSizeUnitKind.java | 300 ++ .../MeasurementUnits/DataTxRateUnitKind.java | 246 + .../MeasurementUnits/EnergyUnitKind.java | 300 ++ .../MeasurementUnits/FrequencyUnitKind.java | 300 ++ .../MeasurementUnits/LengthUnitKind.java | 246 + .../MeasurementUnits/MeasurementUnitsFactory.java | 44 + .../MeasurementUnits/MeasurementUnitsPackage.java | 362 ++ .../MeasurementUnits/PowerUnitKind.java | 246 + .../MeasurementUnits/TimeUnitKind.java | 354 ++ .../MeasurementUnits/WeightUnitKind.java | 246 + .../impl/MeasurementUnitsFactoryImpl.java | 338 ++ .../impl/MeasurementUnitsPackageImpl.java | 616 +++ .../RS_Library/RS_LibraryFactory.java | 44 + .../RS_Library/RS_LibraryPackage.java | 154 + .../RS_Library/impl/RS_LibraryFactoryImpl.java | 166 + .../RS_Library/impl/RS_LibraryPackageImpl.java | 437 ++ .../MARTE_Library/TimeLibrary/IdealClock.java | 37 + .../MARTE_Library/TimeLibrary/LogicalTimeUnit.java | 192 + .../TimeLibrary/TimeLibraryFactory.java | 53 + .../TimeLibrary/TimeLibraryPackage.java | 255 + .../MARTE_Library/TimeLibrary/TimeUnitKind.java | 354 ++ .../TimeLibrary/impl/IdealClockImpl.java | 63 + .../TimeLibrary/impl/TimeLibraryFactoryImpl.java | 225 + .../TimeLibrary/impl/TimeLibraryPackageImpl.java | 524 ++ .../util/TimeLibraryAdapterFactory.java | 131 + .../TimeLibrary/util/TimeLibrarySwitch.java | 137 + .../MARTE_Library/TimeTypesLibrary/EventKind.java | 300 ++ .../TimeTypesLibrary/TimeInterpretationKind.java | 219 + .../TimeTypesLibrary/TimeNatureKind.java | 219 + .../TimeTypesLibrary/TimeStandardKind.java | 462 ++ .../TimeTypesLibrary/TimeTypesLibraryFactory.java | 44 + .../TimeTypesLibrary/TimeTypesLibraryPackage.java | 212 + .../impl/TimeTypesLibraryFactoryImpl.java | 218 + .../impl/TimeTypesLibraryPackageImpl.java | 500 ++ 662 files changed, 186723 insertions(+) create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTEFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTEPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GQAMFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GQAMPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaAcqStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaAnalysisContext.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaCommChannel.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaCommHost.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaCommStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaEventTrace.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaExecHost.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaLatencyObs.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaRelStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaRequestedService.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaResourcesPlatform.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaScenario.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaTimedObs.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaWorkloadBehavior.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaWorkloadEvent.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaWorkloadGenerator.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/LaxityKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GQAMFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GQAMPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaAcqStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaAnalysisContextImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaCommChannelImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaCommHostImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaCommStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaEventTraceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaExecHostImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaLatencyObsImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaRelStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaRequestedServiceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaResourcesPlatformImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaScenarioImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaTimedObsImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaWorkloadBehaviorImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaWorkloadEventImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaWorkloadGeneratorImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PAMFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PAMPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaCommStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaLogicalResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaRequestedStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaResPassStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaRunTInstance.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PAMFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PAMPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaCommStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaLogicalResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaRequestedStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaResPassStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaRunTInstanceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/OptimallityCriterionKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SAMFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SAMPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaAnalysisContext.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaCommHost.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaCommStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaEndtoEndFlow.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaExecHost.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaSchedObs.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaSharedResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaStep.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SAMFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SAMPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaAnalysisContextImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaCommHostImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaCommStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaEndtoEndFlowImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaExecHostImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaSchedObsImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaSharedResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaStepImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/DefaultLink.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Distribute.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/InterRepetition.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/LinkTopology.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/RSMFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/RSMPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Reshape.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Shaped.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Tiler.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/DefaultLinkImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/DistributeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/InterRepetitionImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/LinkTopologyImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/RSMFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/RSMPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/ReshapeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/ShapedImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/TilerImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/BoundedSubtype.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/ChoiceType.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/CollectionType.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/DataTypesFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/DataTypesPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/IntervalType.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/TupleType.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/BoundedSubtypeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/ChoiceTypeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/CollectionTypeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/DataTypesFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/DataTypesPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/IntervalTypeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/TupleTypeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/Operator.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/OperatorsFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/OperatorsPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/impl/OperatorImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/impl/OperatorsFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/impl/OperatorsPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/ExpressionContext.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/Var.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/VariableDirectionKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/VariablesFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/VariablesPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/impl/ExpressionContextImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/impl/VarImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/impl/VariablesFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/impl/VariablesPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerFeature.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerPort.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerSpecification.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataEvent.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataPool.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataPoolOrderingKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowDirectionKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowPort.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowProperty.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowSpecification.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMInvocatingBehavior.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMInvocationAction.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMTrigger.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/PortSpecificationKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/ClientServerFeatureImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/ClientServerPortImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/ClientServerSpecificationImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/DataEventImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/DataPoolImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/FlowPortImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/FlowPropertyImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/FlowSpecificationImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/GCMFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/GCMInvocatingBehaviorImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/GCMInvocationActionImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/GCMPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/GCMTriggerImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/CallConcurrencyKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/ConcurrencyKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/ExecutionKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/HLAMFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/HLAMPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/PoolMgtPolicyKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/PpUnit.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtAction.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtFeature.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtService.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtSpecification.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtUnit.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/SynchronizationKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/HLAMFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/HLAMPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/PpUnitImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/RtActionImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/RtFeatureImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/RtServiceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/RtSpecificationImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/RtUnitImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/util/HLAMAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/util/HLAMResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/util/HLAMResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/util/HLAMSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/util/HLAMXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/HwGeneralFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/HwGeneralPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/HwResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/HwResourceService.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/impl/HwGeneralFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/impl/HwGeneralPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/impl/HwResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/impl/HwResourceServiceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/util/HwGeneralAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/util/HwGeneralResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/util/HwGeneralResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/util/HwGeneralSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwGeneral/util/HwGeneralXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/HwArbiter.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/HwBridge.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/HwBus.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/HwCommunicationFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/HwCommunicationPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/HwCommunicationResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/HwEndPoint.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/HwMedia.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/impl/HwArbiterImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/impl/HwBridgeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/impl/HwBusImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/impl/HwCommunicationFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/impl/HwCommunicationPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/impl/HwCommunicationResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/impl/HwEndPointImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/impl/HwMediaImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/util/HwCommunicationAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/util/HwCommunicationResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/util/HwCommunicationResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/util/HwCommunicationSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwCommunication/util/HwCommunicationXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/HwASIC.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/HwBranchPredictor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/HwComputingFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/HwComputingPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/HwComputingResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/HwISA.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/HwPLD.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/HwProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/ISA_Type.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/PLD_Class.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/PLD_Technology.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/impl/HwASICImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/impl/HwBranchPredictorImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/impl/HwComputingFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/impl/HwComputingPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/impl/HwComputingResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/impl/HwISAImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/impl/HwPLDImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/impl/HwProcessorImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/util/HwComputingAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/util/HwComputingResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/util/HwComputingResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/util/HwComputingSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/util/HwComputingXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/HWActuator.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/HWSensor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/HwDevice.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/HwDeviceFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/HwDevicePackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/HwI_O.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/HwSupport.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/impl/HWActuatorImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/impl/HWSensorImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/impl/HwDeviceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/impl/HwDeviceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/impl/HwDevicePackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/impl/HwI_OImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/impl/HwSupportImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/util/HwDeviceAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/util/HwDeviceResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/util/HwDeviceResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/util/HwDeviceSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwDevice/util/HwDeviceXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/CacheType.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/HwCache.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/HwDrive.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/HwMemory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/HwMemoryFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/HwMemoryPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/HwRAM.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/HwROM.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/ROM_Type.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/Repl_Policy.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/WritePolicy.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/impl/HwCacheImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/impl/HwDriveImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/impl/HwMemoryFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/impl/HwMemoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/impl/HwMemoryPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/impl/HwRAMImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/impl/HwROMImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/util/HwMemoryAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/util/HwMemoryResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/util/HwMemoryResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/util/HwMemorySwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwMemory/util/HwMemoryXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/HwDMA.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/HwMMU.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/HwStorageManager.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/HwStorageManagerFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/HwStorageManagerPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/impl/HwDMAImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/impl/HwMMUImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/impl/HwStorageManagerFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/impl/HwStorageManagerImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/impl/HwStorageManagerPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/util/HwStorageManagerAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/util/HwStorageManagerResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/util/HwStorageManagerResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/util/HwStorageManagerSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwStorage/HwStorageManager/util/HwStorageManagerXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/HwClock.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/HwTimer.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/HwTimingFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/HwTimingPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/HwTimingResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/impl/HwClockImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/impl/HwTimerImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/impl/HwTimingFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/impl/HwTimingPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/impl/HwTimingResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/util/HwTimingAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/util/HwTimingResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/util/HwTimingResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/util/HwTimingSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwTiming/util/HwTimingXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/ComponentKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/ComponentState.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/ConditionType.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/HwComponent.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/HwLayoutFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/HwLayoutPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/impl/HwComponentImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/impl/HwLayoutFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/impl/HwLayoutPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/util/HwLayoutAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/util/HwLayoutResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/util/HwLayoutResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/util/HwLayoutSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwLayout/util/HwLayoutXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/HwCoolingSupply.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/HwPowerFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/HwPowerPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/HwPowerSupply.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/impl/HwCoolingSupplyImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/impl/HwPowerFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/impl/HwPowerPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/impl/HwPowerSupplyImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/util/HwPowerAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/util/HwPowerResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/util/HwPowerResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/util/HwPowerSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwPhysical/HwPower/util/HwPowerXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/AccessPolicyKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/DeviceBroker.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/MemoryBroker.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/SW_BrokeringFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/SW_BrokeringPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/impl/DeviceBrokerImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/impl/MemoryBrokerImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/impl/SW_BrokeringFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/impl/SW_BrokeringPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/util/SW_BrokeringAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/util/SW_BrokeringResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/util/SW_BrokeringResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/util/SW_BrokeringSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Brokering/util/SW_BrokeringXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/Alarm.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/EntryPoint.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/InterruptKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/InterruptResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/MemoryPartition.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/SW_ConcurrencyFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/SW_ConcurrencyPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/SwConcurrentResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/SwSchedulableResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/SwTimerResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/impl/AlarmImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/impl/EntryPointImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/impl/InterruptResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/impl/MemoryPartitionImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/impl/SW_ConcurrencyFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/impl/SW_ConcurrencyPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/impl/SwConcurrentResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/impl/SwSchedulableResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/impl/SwTimerResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/util/SW_ConcurrencyAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/util/SW_ConcurrencyResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/util/SW_ConcurrencyResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/util/SW_ConcurrencySwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Concurrency/util/SW_ConcurrencyXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/ConcurrentAccessProtocolKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/MessageComResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/MessageResourceKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/MutualExclusionResourceKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/NotificationResourceKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/QueuePolicyKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/SW_InteractionFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/SW_InteractionPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/SharedDataComResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/SwCommunicationResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/SwInteractionResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/SwMutualExclusionResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/SwSynchronizationResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/impl/MessageComResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/impl/NotificationResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/impl/SW_InteractionFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/impl/SW_InteractionPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/impl/SharedDataComResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/impl/SwCommunicationResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/impl/SwInteractionResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/impl/SwMutualExclusionResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/impl/SwSynchronizationResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/util/SW_InteractionAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/util/SW_InteractionResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/util/SW_InteractionResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/util/SW_InteractionSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_Interaction/util/SW_InteractionXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/SW_ResourceCoreFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/SW_ResourceCorePackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/SwAccessService.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/SwResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/impl/SW_ResourceCoreFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/impl/SW_ResourceCorePackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/impl/SwAccessServiceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/impl/SwResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/util/SW_ResourceCoreAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/util/SW_ResourceCoreResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/util/SW_ResourceCoreResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/util/SW_ResourceCoreSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/SRM/SW_ResourceCore/util/SW_ResourceCoreXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/AllocFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/AllocPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/Allocate.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/AllocateActivityGroup.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/Allocated.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/AllocationEndKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/AllocationKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/AllocationNature.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/Assign.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/AssignmentKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/AssignmentNature.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/NfpRefine.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/impl/AllocFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/impl/AllocPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/impl/AllocateActivityGroupImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/impl/AllocateImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/impl/AllocatedImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/impl/AssignImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/impl/NfpRefineImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/util/AllocAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/util/AllocResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/util/AllocResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/util/AllocSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Alloc/util/AllocXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/Configuration.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/CoreElementsFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/CoreElementsPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/Mode.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/ModeBehavior.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/ModeTransition.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/ConfigurationImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/CoreElementsFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/CoreElementsPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/ModeBehaviorImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/ModeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/ModeTransitionImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/util/CoreElementsAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/util/CoreElementsResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/util/CoreElementsResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/util/CoreElementsSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/util/CoreElementsXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/Acquire.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/ClockResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/CommunicationEndPoint.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/CommunicationMedia.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/ComputingResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/ConcurrencyResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/DeviceResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/GRMFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/GRMPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/GrService.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/MutualExclusionResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/ProcessingResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/Release.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/Resource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/ResourceUsage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/SchedulableResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/Scheduler.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/SecondaryScheduler.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/StorageResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/SynchronizationResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/TimerResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/TimingResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/AcquireImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/ClockResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/CommunicationEndPointImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/CommunicationMediaImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/ComputingResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/ConcurrencyResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/DeviceResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/GRMFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/GRMPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/GrServiceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/MutualExclusionResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/ProcessingResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/ReleaseImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/ResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/ResourceUsageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/SchedulableResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/SchedulerImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/SecondarySchedulerImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/StorageResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/SynchronizationResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/TimerResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/impl/TimingResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/util/GRMAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/util/GRMResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/util/GRMResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/util/GRMSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/GRM/util/GRMXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/ConstraintKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/Dimension.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/NFPsFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/NFPsPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/Nfp.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/NfpConstraint.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/NfpType.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/Unit.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/impl/DimensionImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/impl/NFPsFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/impl/NFPsPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/impl/NfpConstraintImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/impl/NfpImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/impl/NfpTypeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/impl/UnitImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/util/NFPsAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/util/NFPsResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/util/NFPsResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/util/NFPsSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/NFPs/util/NFPsXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/Clock.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/ClockConstraint.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/ClockType.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimeFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimePackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimedConstraint.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimedDomain.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimedDurationObservation.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimedElement.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimedEvent.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimedInstantObservation.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimedProcessing.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/TimedValueSpecification.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/ClockConstraintImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/ClockImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/ClockTypeImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimeFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimePackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimedConstraintImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimedDomainImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimedDurationObservationImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimedElementImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimedEventImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimedInstantObservationImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimedProcessingImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/impl/TimedValueSpecificationImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/util/TimeAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/util/TimeResourceFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/util/TimeResourceImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/util/TimeSwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/Time/util/TimeXMLProcessor.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/dummy.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/impl/MARTEFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/impl/MARTEPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/utils/MarteResource.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/utils/MarteUtils.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/BasicNFP_TypesFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/BasicNFP_TypesPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/DirectionKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/SourceKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/StatisticalQualifierKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/impl/BasicNFP_TypesFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/impl/BasicNFP_TypesPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/GRM_BasicTypes/GRM_BasicTypesFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/GRM_BasicTypes/GRM_BasicTypesPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/GRM_BasicTypes/PeriodicServerKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/GRM_BasicTypes/ProtectProtocolKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/GRM_BasicTypes/SchedPolicyKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/GRM_BasicTypes/impl/GRM_BasicTypesFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/GRM_BasicTypes/impl/GRM_BasicTypesPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MARTE_DataTypes/MARTE_DataTypesFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MARTE_DataTypes/MARTE_DataTypesPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MARTE_DataTypes/TransmModeKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MARTE_DataTypes/impl/MARTE_DataTypesFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MARTE_DataTypes/impl/MARTE_DataTypesPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MARTE_PrimitivesTypes/MARTE_PrimitivesTypesFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MARTE_PrimitivesTypes/MARTE_PrimitivesTypesPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MARTE_PrimitivesTypes/impl/MARTE_PrimitivesTypesFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MARTE_PrimitivesTypes/impl/MARTE_PrimitivesTypesPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/AreaUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/DataSizeUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/DataTxRateUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/EnergyUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/FrequencyUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/LengthUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/MeasurementUnitsFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/MeasurementUnitsPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/PowerUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/TimeUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/WeightUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/impl/MeasurementUnitsFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/MeasurementUnits/impl/MeasurementUnitsPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/RS_Library/RS_LibraryFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/RS_Library/RS_LibraryPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/RS_Library/impl/RS_LibraryFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/RS_Library/impl/RS_LibraryPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/IdealClock.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/LogicalTimeUnit.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/TimeLibraryFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/TimeLibraryPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/TimeUnitKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/impl/IdealClockImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/impl/TimeLibraryFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/impl/TimeLibraryPackageImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/util/TimeLibraryAdapterFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeLibrary/util/TimeLibrarySwitch.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeTypesLibrary/EventKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeTypesLibrary/TimeInterpretationKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeTypesLibrary/TimeNatureKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeTypesLibrary/TimeStandardKind.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeTypesLibrary/TimeTypesLibraryFactory.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeTypesLibrary/TimeTypesLibraryPackage.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeTypesLibrary/impl/TimeTypesLibraryFactoryImpl.java create mode 100644 extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/TimeTypesLibrary/impl/TimeTypesLibraryPackageImpl.java (limited to 'extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src') diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTEFactory.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTEFactory.java new file mode 100644 index 00000000000..8b192676813 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTEFactory.java @@ -0,0 +1,44 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.papyrus.MARTE.MARTEPackage + * @generated + */ +public interface MARTEFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + MARTEFactory eINSTANCE = org.eclipse.papyrus.MARTE.impl.MARTEFactoryImpl.init(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + MARTEPackage getMARTEPackage(); + +} //MARTEFactory diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTEPackage.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTEPackage.java new file mode 100644 index 00000000000..03d3170d48c --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTEPackage.java @@ -0,0 +1,122 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE; + +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
+ * The following features are supported: + *
+ * If the meaning of the 'Acq Res' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Acq Res' reference. + * @see #setAcqRes(Resource) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaAcqStep_AcqRes() + * @model ordered="false" + * @generated + */ + Resource getAcqRes(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAcqStep#getAcqRes Acq Res}' reference. + * + * + * @param value the new value of the 'Acq Res' reference. + * @see #getAcqRes() + * @generated + */ + void setAcqRes(Resource value); + + /** + * Returns the value of the 'Res Units' attribute. + * The default value is"1"
.
+ *
+ * + * If the meaning of the 'Res Units' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Res Units' attribute. + * @see #setResUnits(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaAcqStep_ResUnits() + * @model default="1" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + String getResUnits(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAcqStep#getResUnits Res Units}' attribute. + * + * + * @param value the new value of the 'Res Units' attribute. + * @see #getResUnits() + * @generated + */ + void setResUnits(String value); + +} // GaAcqStep diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaAnalysisContext.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaAnalysisContext.java new file mode 100644 index 00000000000..510d0d0e23d --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaAnalysisContext.java @@ -0,0 +1,89 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.Configuration; + +/** + * + * A representation of the model object 'Ga Analysis Context'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Context' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Context' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaAnalysisContext_Context() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_String" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Workload' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Workload' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaAnalysisContext_Workload() + * @model required="true" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Platform' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Platform' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaAnalysisContext_Platform() + * @model required="true" ordered="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Packet Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Packet Size' attribute. + * @see #setPacketSize(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaCommChannel_PacketSize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_DataSize" ordered="false" + * @generated + */ + String getPacketSize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommChannel#getPacketSize Packet Size}' attribute. + * + * + * @param value the new value of the 'Packet Size' attribute. + * @see #getPacketSize() + * @generated + */ + void setPacketSize(String value); + + /** + * Returns the value of the 'Utilization' attribute. + * + *+ * If the meaning of the 'Utilization' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Utilization' attribute. + * @see #setUtilization(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaCommChannel_Utilization() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getUtilization(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommChannel#getUtilization Utilization}' attribute. + * + * + * @param value the new value of the 'Utilization' attribute. + * @see #getUtilization() + * @generated + */ + void setUtilization(String value); + +} // GaCommChannel diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaCommHost.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaCommHost.java new file mode 100644 index 00000000000..9efbdc520f4 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaCommHost.java @@ -0,0 +1,71 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.CommunicationMedia; +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Scheduler; + +/** + * + * A representation of the model object 'Ga Comm Host'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Throughput' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Throughput' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaCommHost_Throughput() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Frequency" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Utilization' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Utilization' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaCommHost_Utilization() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Content' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Content' attribute. + * @see #setContent(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaEventTrace_Content() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.String" ordered="false" + * @generated + */ + String getContent(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaEventTrace#getContent Content}' attribute. + * + * + * @param value the new value of the 'Content' attribute. + * @see #getContent() + * @generated + */ + void setContent(String value); + + /** + * Returns the value of the 'Format' attribute. + * + *+ * If the meaning of the 'Format' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Format' attribute. + * @see #setFormat(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaEventTrace_Format() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.String" ordered="false" + * @generated + */ + String getFormat(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaEventTrace#getFormat Format}' attribute. + * + * + * @param value the new value of the 'Format' attribute. + * @see #getFormat() + * @generated + */ + void setFormat(String value); + + /** + * Returns the value of the 'Location' attribute. + * + *+ * If the meaning of the 'Location' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Location' attribute. + * @see #setLocation(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaEventTrace_Location() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.String" ordered="false" + * @generated + */ + String getLocation(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaEventTrace#getLocation Location}' attribute. + * + * + * @param value the new value of the 'Location' attribute. + * @see #getLocation() + * @generated + */ + void setLocation(String value); + + /** + * Returns the value of the 'Base Named Element' reference. + * + *+ * If the meaning of the 'Base Named Element' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Named Element' reference. + * @see #setBase_NamedElement(NamedElement) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaEventTrace_Base_NamedElement() + * @model required="true" ordered="false" + * @generated + */ + NamedElement getBase_NamedElement(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaEventTrace#getBase_NamedElement Base Named Element}' reference. + * + * + * @param value the new value of the 'Base Named Element' reference. + * @see #getBase_NamedElement() + * @generated + */ + void setBase_NamedElement(NamedElement value); + +} // GaEventTrace diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaExecHost.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaExecHost.java new file mode 100644 index 00000000000..514e817978c --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaExecHost.java @@ -0,0 +1,233 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ComputingResource; +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Scheduler; + +/** + * + * A representation of the model object 'Ga Exec Host'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Comm Tx Ovh' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Comm Tx Ovh' attribute. + * @see #setCommTxOvh(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaExecHost_CommTxOvh() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getCommTxOvh(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost#getCommTxOvh Comm Tx Ovh}' attribute. + * + * + * @param value the new value of the 'Comm Tx Ovh' attribute. + * @see #getCommTxOvh() + * @generated + */ + void setCommTxOvh(String value); + + /** + * Returns the value of the 'Comm Rcv Ovh' attribute. + * + *+ * If the meaning of the 'Comm Rcv Ovh' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Comm Rcv Ovh' attribute. + * @see #setCommRcvOvh(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaExecHost_CommRcvOvh() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getCommRcvOvh(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost#getCommRcvOvh Comm Rcv Ovh}' attribute. + * + * + * @param value the new value of the 'Comm Rcv Ovh' attribute. + * @see #getCommRcvOvh() + * @generated + */ + void setCommRcvOvh(String value); + + /** + * Returns the value of the 'Cntxt Sw T' attribute. + * + *+ * If the meaning of the 'Cntxt Sw T' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cntxt Sw T' attribute. + * @see #setCntxtSwT(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaExecHost_CntxtSwT() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getCntxtSwT(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost#getCntxtSwT Cntxt Sw T}' attribute. + * + * + * @param value the new value of the 'Cntxt Sw T' attribute. + * @see #getCntxtSwT() + * @generated + */ + void setCntxtSwT(String value); + + /** + * Returns the value of the 'Clock Ovh' attribute. + * + *+ * If the meaning of the 'Clock Ovh' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Clock Ovh' attribute. + * @see #setClockOvh(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaExecHost_ClockOvh() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getClockOvh(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost#getClockOvh Clock Ovh}' attribute. + * + * + * @param value the new value of the 'Clock Ovh' attribute. + * @see #getClockOvh() + * @generated + */ + void setClockOvh(String value); + + /** + * Returns the value of the 'Sched Pri Range' attribute. + * + *+ * If the meaning of the 'Sched Pri Range' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sched Pri Range' attribute. + * @see #setSchedPriRange(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaExecHost_SchedPriRange() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.IntegerInterval" ordered="false" + * @generated + */ + String getSchedPriRange(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost#getSchedPriRange Sched Pri Range}' attribute. + * + * + * @param value the new value of the 'Sched Pri Range' attribute. + * @see #getSchedPriRange() + * @generated + */ + void setSchedPriRange(String value); + + /** + * Returns the value of the 'Mem Size' attribute. + * + *+ * If the meaning of the 'Mem Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Mem Size' attribute. + * @see #setMemSize(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaExecHost_MemSize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_DataSize" ordered="false" + * @generated + */ + String getMemSize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost#getMemSize Mem Size}' attribute. + * + * + * @param value the new value of the 'Mem Size' attribute. + * @see #getMemSize() + * @generated + */ + void setMemSize(String value); + + /** + * Returns the value of the 'Utilization' attribute list. + * The list contents are of type {@link java.lang.String}. + * + *+ * If the meaning of the 'Utilization' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Utilization' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaExecHost_Utilization() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Throughput' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Throughput' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaExecHost_Throughput() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Frequency" ordered="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Latency' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Latency' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaLatencyObs_Latency() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Miss' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Miss' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaLatencyObs_Miss() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Utility' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Utility' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaLatencyObs_Utility() + * @model dataType="org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.UtilityType" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Max Jitter' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Max Jitter' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaLatencyObs_MaxJitter() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Rel Res' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Rel Res' reference. + * @see #setRelRes(Resource) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaRelStep_RelRes() + * @model ordered="false" + * @generated + */ + Resource getRelRes(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRelStep#getRelRes Rel Res}' reference. + * + * + * @param value the new value of the 'Rel Res' reference. + * @see #getRelRes() + * @generated + */ + void setRelRes(Resource value); + + /** + * Returns the value of the 'Res Units' attribute. + * The default value is"1"
.
+ *
+ * + * If the meaning of the 'Res Units' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Res Units' attribute. + * @see #setResUnits(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaRelStep_ResUnits() + * @model default="1" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + String getResUnits(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRelStep#getResUnits Res Units}' attribute. + * + * + * @param value the new value of the 'Res Units' attribute. + * @see #getResUnits() + * @generated + */ + void setResUnits(String value); + +} // GaRelStep diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaRequestedService.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaRequestedService.java new file mode 100644 index 00000000000..4a53b51a8d3 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaRequestedService.java @@ -0,0 +1,61 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import org.eclipse.uml2.uml.Operation; + +/** + * + * A representation of the model object 'Ga Requested Service'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Base Operation' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Operation' reference. + * @see #setBase_Operation(Operation) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaRequestedService_Base_Operation() + * @model required="true" ordered="false" + * @generated + */ + Operation getBase_Operation(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRequestedService#getBase_Operation Base Operation}' reference. + * + * + * @param value the new value of the 'Base Operation' reference. + * @see #getBase_Operation() + * @generated + */ + void setBase_Operation(Operation value); + +} // GaRequestedService diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaResourcesPlatform.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaResourcesPlatform.java new file mode 100644 index 00000000000..856e2723138 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaResourcesPlatform.java @@ -0,0 +1,84 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource; + +import org.eclipse.uml2.uml.Classifier; + +/** + * + * A representation of the model object 'Ga Resources Platform'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Resources' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Resources' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaResourcesPlatform_Resources() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Base Classifier' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Classifier' reference. + * @see #setBase_Classifier(Classifier) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaResourcesPlatform_Base_Classifier() + * @model required="true" ordered="false" + * @generated + */ + Classifier getBase_Classifier(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaResourcesPlatform#getBase_Classifier Base Classifier}' reference. + * + * + * @param value the new value of the 'Base Classifier' reference. + * @see #getBase_Classifier() + * @generated + */ + void setBase_Classifier(Classifier value); + +} // GaResourcesPlatform diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaScenario.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaScenario.java new file mode 100644 index 00000000000..cdd1dae6fb9 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaScenario.java @@ -0,0 +1,266 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing; + +/** + * + * A representation of the model object 'Ga Scenario'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Cause' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cause' reference. + * @see #setCause(GaWorkloadEvent) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_Cause() + * @model ordered="false" + * @generated + */ + GaWorkloadEvent getCause(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario#getCause Cause}' reference. + * + * + * @param value the new value of the 'Cause' reference. + * @see #getCause() + * @generated + */ + void setCause(GaWorkloadEvent value); + + /** + * Returns the value of the 'Host Demand' attribute list. + * The list contents are of type {@link java.lang.String}. + * + *+ * If the meaning of the 'Host Demand' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Host Demand' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_HostDemand() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Host Demand Ops' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Host Demand Ops' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_HostDemandOps() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Inter Occ T' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Inter Occ T' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_InterOccT() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Throughput' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Throughput' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_Throughput() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Frequency" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Resp T' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Resp T' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_RespT() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Utilization' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Utilization' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_Utilization() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Utilization On Host' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Utilization On Host' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_UtilizationOnHost() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Root' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Root' reference. + * @see #setRoot(GaStep) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_Root() + * @model ordered="false" + * @generated + */ + GaStep getRoot(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario#getRoot Root}' reference. + * + * + * @param value the new value of the 'Root' reference. + * @see #getRoot() + * @generated + */ + void setRoot(GaStep value); + + /** + * Returns the value of the 'Steps' reference list. + * The list contents are of type {@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep}. + * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getScenario Scenario}'. + * + *+ * If the meaning of the 'Steps' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Steps' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_Steps() + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getScenario + * @model opposite="scenario" required="true" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Parent Step' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Parent Step' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_ParentStep() + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getChildScenario + * @model opposite="childScenario" required="true" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Timing' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Timing' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaScenario_Timing() + * @model ordered="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Is Atomic' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Atomic' attribute. + * @see #setIsAtomic(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_IsAtomic() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Boolean" ordered="false" + * @generated + */ + String getIsAtomic(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getIsAtomic Is Atomic}' attribute. + * + * + * @param value the new value of the 'Is Atomic' attribute. + * @see #getIsAtomic() + * @generated + */ + void setIsAtomic(String value); + + /** + * Returns the value of the 'Block T' attribute. + * + *+ * If the meaning of the 'Block T' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Block T' attribute. + * @see #setBlockT(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_BlockT() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getBlockT(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getBlockT Block T}' attribute. + * + * + * @param value the new value of the 'Block T' attribute. + * @see #getBlockT() + * @generated + */ + void setBlockT(String value); + + /** + * Returns the value of the 'Rep' attribute. + * The default value is"1.0"
.
+ *
+ * + * If the meaning of the 'Rep' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Rep' attribute. + * @see #setRep(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_Rep() + * @model default="1.0" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getRep(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getRep Rep}' attribute. + * + * + * @param value the new value of the 'Rep' attribute. + * @see #getRep() + * @generated + */ + void setRep(String value); + + /** + * Returns the value of the 'Prob' attribute. + * The default value is"1.0"
.
+ *
+ * + * If the meaning of the 'Prob' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Prob' attribute. + * @see #setProb(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_Prob() + * @model default="1.0" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getProb(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getProb Prob}' attribute. + * + * + * @param value the new value of the 'Prob' attribute. + * @see #getProb() + * @generated + */ + void setProb(String value); + + /** + * Returns the value of the 'Priority' attribute. + * + *+ * If the meaning of the 'Priority' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Priority' attribute. + * @see #setPriority(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_Priority() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + String getPriority(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getPriority Priority}' attribute. + * + * + * @param value the new value of the 'Priority' attribute. + * @see #getPriority() + * @generated + */ + void setPriority(String value); + + /** + * Returns the value of the 'Concur Res' reference. + * + *+ * If the meaning of the 'Concur Res' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Concur Res' reference. + * @see #setConcurRes(SchedulableResource) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_ConcurRes() + * @model ordered="false" + * @generated + */ + SchedulableResource getConcurRes(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getConcurRes Concur Res}' reference. + * + * + * @param value the new value of the 'Concur Res' reference. + * @see #getConcurRes() + * @generated + */ + void setConcurRes(SchedulableResource value); + + /** + * Returns the value of the 'Host' reference. + * + *+ * If the meaning of the 'Host' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Host' reference. + * @see #setHost(GaExecHost) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_Host() + * @model ordered="false" + * @generated + */ + GaExecHost getHost(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getHost Host}' reference. + * + * + * @param value the new value of the 'Host' reference. + * @see #getHost() + * @generated + */ + void setHost(GaExecHost value); + + /** + * Returns the value of the 'Serv Demand' reference list. + * The list contents are of type {@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRequestedService}. + * + *+ * If the meaning of the 'Serv Demand' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Serv Demand' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_ServDemand() + * @model + * @generated + */ + EList+ * If the meaning of the 'Serv Count' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Serv Count' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_ServCount() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" + * @generated + */ + EList+ * If the meaning of the 'Self Delay' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Self Delay' attribute. + * @see #setSelfDelay(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_SelfDelay() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getSelfDelay(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getSelfDelay Self Delay}' attribute. + * + * + * @param value the new value of the 'Self Delay' attribute. + * @see #getSelfDelay() + * @generated + */ + void setSelfDelay(String value); + + /** + * Returns the value of the 'Scenario' reference. + * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario#getSteps Steps}'. + * + *+ * If the meaning of the 'Scenario' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Scenario' reference. + * @see #setScenario(GaScenario) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_Scenario() + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario#getSteps + * @model opposite="steps" ordered="false" + * @generated + */ + GaScenario getScenario(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getScenario Scenario}' reference. + * + * + * @param value the new value of the 'Scenario' reference. + * @see #getScenario() + * @generated + */ + void setScenario(GaScenario value); + + /** + * Returns the value of the 'Child Scenario' reference. + * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario#getParentStep Parent Step}'. + * + *+ * If the meaning of the 'Child Scenario' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Child Scenario' reference. + * @see #setChildScenario(GaScenario) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaStep_ChildScenario() + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario#getParentStep + * @model opposite="parentStep" ordered="false" + * @generated + */ + GaScenario getChildScenario(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep#getChildScenario Child Scenario}' reference. + * + * + * @param value the new value of the 'Child Scenario' reference. + * @see #getChildScenario() + * @generated + */ + void setChildScenario(GaScenario value); + +} // GaStep diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaTimedObs.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaTimedObs.java new file mode 100644 index 00000000000..8ce1fce7046 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaTimedObs.java @@ -0,0 +1,102 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint; + +import org.eclipse.uml2.uml.TimeObservation; + +/** + * + * A representation of the model object 'Ga Timed Obs'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Laxity' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Laxity' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.LaxityKind + * @see #setLaxity(LaxityKind) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaTimedObs_Laxity() + * @model unique="false" + * @generated + */ + LaxityKind getLaxity(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaTimedObs#getLaxity Laxity}' attribute. + * + * + * @param value the new value of the 'Laxity' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.LaxityKind + * @see #getLaxity() + * @generated + */ + void setLaxity(LaxityKind value); + + /** + * Returns the value of the 'Start Obs' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.TimeObservation}. + * + *+ * If the meaning of the 'Start Obs' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Start Obs' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaTimedObs_StartObs() + * @model + * @generated + */ + EList+ * If the meaning of the 'End Obs' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'End Obs' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaTimedObs_EndObs() + * @model + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Behavior' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Behavior' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadBehavior_Behavior() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Demand' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Demand' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadBehavior_Demand() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Base Named Element' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Named Element' reference. + * @see #setBase_NamedElement(NamedElement) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadBehavior_Base_NamedElement() + * @model required="true" ordered="false" + * @generated + */ + NamedElement getBase_NamedElement(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadBehavior#getBase_NamedElement Base Named Element}' reference. + * + * + * @param value the new value of the 'Base Named Element' reference. + * @see #getBase_NamedElement() + * @generated + */ + void setBase_NamedElement(NamedElement value); + +} // GaWorkloadBehavior diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaWorkloadEvent.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaWorkloadEvent.java new file mode 100644 index 00000000000..d8d44e7ea8b --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaWorkloadEvent.java @@ -0,0 +1,199 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.TimeEvent; + +/** + * + * A representation of the model object 'Ga Workload Event'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Pattern' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Pattern' attribute. + * @see #setPattern(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadEvent_Pattern() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.ArrivalPattern" ordered="false" + * @generated + */ + String getPattern(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadEvent#getPattern Pattern}' attribute. + * + * + * @param value the new value of the 'Pattern' attribute. + * @see #getPattern() + * @generated + */ + void setPattern(String value); + + /** + * Returns the value of the 'Generator' reference. + * + *+ * If the meaning of the 'Generator' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Generator' reference. + * @see #setGenerator(GaWorkloadGenerator) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadEvent_Generator() + * @model ordered="false" + * @generated + */ + GaWorkloadGenerator getGenerator(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadEvent#getGenerator Generator}' reference. + * + * + * @param value the new value of the 'Generator' reference. + * @see #getGenerator() + * @generated + */ + void setGenerator(GaWorkloadGenerator value); + + /** + * Returns the value of the 'Trace' reference. + * + *+ * If the meaning of the 'Trace' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Trace' reference. + * @see #setTrace(GaEventTrace) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadEvent_Trace() + * @model ordered="false" + * @generated + */ + GaEventTrace getTrace(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadEvent#getTrace Trace}' reference. + * + * + * @param value the new value of the 'Trace' reference. + * @see #getTrace() + * @generated + */ + void setTrace(GaEventTrace value); + + /** + * Returns the value of the 'Effect' reference. + * + *+ * If the meaning of the 'Effect' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Effect' reference. + * @see #setEffect(GaScenario) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadEvent_Effect() + * @model ordered="false" + * @generated + */ + GaScenario getEffect(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadEvent#getEffect Effect}' reference. + * + * + * @param value the new value of the 'Effect' reference. + * @see #getEffect() + * @generated + */ + void setEffect(GaScenario value); + + /** + * Returns the value of the 'Timed Event' reference. + * + *+ * If the meaning of the 'Timed Event' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Timed Event' reference. + * @see #setTimedEvent(TimeEvent) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadEvent_TimedEvent() + * @model ordered="false" + * @generated + */ + TimeEvent getTimedEvent(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadEvent#getTimedEvent Timed Event}' reference. + * + * + * @param value the new value of the 'Timed Event' reference. + * @see #getTimedEvent() + * @generated + */ + void setTimedEvent(TimeEvent value); + + /** + * Returns the value of the 'Base Named Element' reference. + * + *+ * If the meaning of the 'Base Named Element' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Named Element' reference. + * @see #setBase_NamedElement(NamedElement) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadEvent_Base_NamedElement() + * @model required="true" ordered="false" + * @generated + */ + NamedElement getBase_NamedElement(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadEvent#getBase_NamedElement Base Named Element}' reference. + * + * + * @param value the new value of the 'Base Named Element' reference. + * @see #getBase_NamedElement() + * @generated + */ + void setBase_NamedElement(NamedElement value); + +} // GaWorkloadEvent diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaWorkloadGenerator.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaWorkloadGenerator.java new file mode 100644 index 00000000000..f05a818f2c6 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/GaWorkloadGenerator.java @@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Behavior; + +/** + * + * A representation of the model object 'Ga Workload Generator'. + * + * + *+ * The following features are supported: + *
"1"
.
+ *
+ * + * If the meaning of the 'Pop' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Pop' attribute. + * @see #setPop(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadGenerator_Pop() + * @model default="1" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + String getPop(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadGenerator#getPop Pop}' attribute. + * + * + * @param value the new value of the 'Pop' attribute. + * @see #getPop() + * @generated + */ + void setPop(String value); + + /** + * Returns the value of the 'Base Behavior' reference. + * + *+ * If the meaning of the 'Base Behavior' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behavior' reference. + * @see #setBase_Behavior(Behavior) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getGaWorkloadGenerator_Base_Behavior() + * @model required="true" ordered="false" + * @generated + */ + Behavior getBase_Behavior(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadGenerator#getBase_Behavior Base Behavior}' reference. + * + * + * @param value the new value of the 'Base Behavior' reference. + * @see #getBase_Behavior() + * @generated + */ + void setBase_Behavior(Behavior value); + +} // GaWorkloadGenerator diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/LaxityKind.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/LaxityKind.java new file mode 100644 index 00000000000..b642e3f45e7 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/LaxityKind.java @@ -0,0 +1,246 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Laxity Kind', + * and utility methods for working with them. + * + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#getLaxityKind() + * @model + * @generated + */ +public enum LaxityKind implements Enumerator { + /** + * The 'Hard' literal object. + * + * + * @see #HARD_VALUE + * @generated + * @ordered + */ + HARD(0, "hard", "hard"), + + /** + * The 'Soft' literal object. + * + * + * @see #SOFT_VALUE + * @generated + * @ordered + */ + SOFT(1, "soft", "soft"), + + /** + * The 'Other' literal object. + * + * + * @see #OTHER_VALUE + * @generated + * @ordered + */ + OTHER(2, "other", "other"); + + /** + * The 'Hard' literal value. + * + *+ * If the meaning of 'Hard' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #HARD + * @model name="hard" + * @generated + * @ordered + */ + public static final int HARD_VALUE = 0; + + /** + * The 'Soft' literal value. + * + *+ * If the meaning of 'Soft' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #SOFT + * @model name="soft" + * @generated + * @ordered + */ + public static final int SOFT_VALUE = 1; + + /** + * The 'Other' literal value. + * + *+ * If the meaning of 'Other' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OTHER + * @model name="other" + * @generated + * @ordered + */ + public static final int OTHER_VALUE = 2; + + /** + * An array of all the 'Laxity Kind' enumerators. + * + * + * @generated + */ + private static final LaxityKind[] VALUES_ARRAY = + new LaxityKind[] { + HARD, + SOFT, + OTHER, + }; + + /** + * A public read-only list of all the 'Laxity Kind' enumerators. + * + * + * @generated + */ + public static final ListNote: 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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage#eNS_URI + * @see #init() + * @generated + */ + private GQAMPackageImpl() { + super(eNS_URI, GQAMFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link GQAMPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static GQAMPackage init() { + if (isInited) return (GQAMPackage)EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI); + + // Obtain or create and register package + GQAMPackageImpl theGQAMPackage = (GQAMPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof GQAMPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new GQAMPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + MARTEPackageImpl theMARTEPackage = (MARTEPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) instanceof MARTEPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) : MARTEPackage.eINSTANCE); + NFPsPackageImpl theNFPsPackage = (NFPsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) instanceof NFPsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) : NFPsPackage.eINSTANCE); + CoreElementsPackageImpl theCoreElementsPackage = (CoreElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) instanceof CoreElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) : CoreElementsPackage.eINSTANCE); + AllocPackageImpl theAllocPackage = (AllocPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) instanceof AllocPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) : AllocPackage.eINSTANCE); + TimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE); + GRMPackageImpl theGRMPackage = (GRMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) instanceof GRMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) : GRMPackage.eINSTANCE); + RSMPackageImpl theRSMPackage = (RSMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) instanceof RSMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) : RSMPackage.eINSTANCE); + VariablesPackageImpl theVariablesPackage = (VariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) instanceof VariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) : VariablesPackage.eINSTANCE); + OperatorsPackageImpl theOperatorsPackage = (OperatorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) instanceof OperatorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) : OperatorsPackage.eINSTANCE); + DataTypesPackageImpl theDataTypesPackage = (DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) instanceof DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) : DataTypesPackage.eINSTANCE); + HLAMPackageImpl theHLAMPackage = (HLAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) instanceof HLAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) : HLAMPackage.eINSTANCE); + HwComputingPackageImpl theHwComputingPackage = (HwComputingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) instanceof HwComputingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) : HwComputingPackage.eINSTANCE); + HwCommunicationPackageImpl theHwCommunicationPackage = (HwCommunicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) instanceof HwCommunicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) : HwCommunicationPackage.eINSTANCE); + HwStorageManagerPackageImpl theHwStorageManagerPackage = (HwStorageManagerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) instanceof HwStorageManagerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) : HwStorageManagerPackage.eINSTANCE); + HwMemoryPackageImpl theHwMemoryPackage = (HwMemoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) instanceof HwMemoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) : HwMemoryPackage.eINSTANCE); + HwTimingPackageImpl theHwTimingPackage = (HwTimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) instanceof HwTimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) : HwTimingPackage.eINSTANCE); + HwDevicePackageImpl theHwDevicePackage = (HwDevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) instanceof HwDevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) : HwDevicePackage.eINSTANCE); + HwGeneralPackageImpl theHwGeneralPackage = (HwGeneralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) instanceof HwGeneralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) : HwGeneralPackage.eINSTANCE); + HwLayoutPackageImpl theHwLayoutPackage = (HwLayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) instanceof HwLayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) : HwLayoutPackage.eINSTANCE); + HwPowerPackageImpl theHwPowerPackage = (HwPowerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) instanceof HwPowerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) : HwPowerPackage.eINSTANCE); + SW_ResourceCorePackageImpl theSW_ResourceCorePackage = (SW_ResourceCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) instanceof SW_ResourceCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) : SW_ResourceCorePackage.eINSTANCE); + SW_ConcurrencyPackageImpl theSW_ConcurrencyPackage = (SW_ConcurrencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) instanceof SW_ConcurrencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) : SW_ConcurrencyPackage.eINSTANCE); + SW_BrokeringPackageImpl theSW_BrokeringPackage = (SW_BrokeringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) instanceof SW_BrokeringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) : SW_BrokeringPackage.eINSTANCE); + SW_InteractionPackageImpl theSW_InteractionPackage = (SW_InteractionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) instanceof SW_InteractionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) : SW_InteractionPackage.eINSTANCE); + GCMPackageImpl theGCMPackage = (GCMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) instanceof GCMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) : GCMPackage.eINSTANCE); + SAMPackageImpl theSAMPackage = (SAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) instanceof SAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) : SAMPackage.eINSTANCE); + PAMPackageImpl thePAMPackage = (PAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) instanceof PAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) : PAMPackage.eINSTANCE); + MeasurementUnitsPackageImpl theMeasurementUnitsPackage = (MeasurementUnitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) instanceof MeasurementUnitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) : MeasurementUnitsPackage.eINSTANCE); + GRM_BasicTypesPackageImpl theGRM_BasicTypesPackage = (GRM_BasicTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) instanceof GRM_BasicTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) : GRM_BasicTypesPackage.eINSTANCE); + MARTE_DataTypesPackageImpl theMARTE_DataTypesPackage = (MARTE_DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) instanceof MARTE_DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) : MARTE_DataTypesPackage.eINSTANCE); + BasicNFP_TypesPackageImpl theBasicNFP_TypesPackage = (BasicNFP_TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) instanceof BasicNFP_TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) : BasicNFP_TypesPackage.eINSTANCE); + TimeTypesLibraryPackageImpl theTimeTypesLibraryPackage = (TimeTypesLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) instanceof TimeTypesLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) : TimeTypesLibraryPackage.eINSTANCE); + TimeLibraryPackageImpl theTimeLibraryPackage = (TimeLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) instanceof TimeLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) : TimeLibraryPackage.eINSTANCE); + RS_LibraryPackageImpl theRS_LibraryPackage = (RS_LibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) instanceof RS_LibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) : RS_LibraryPackage.eINSTANCE); + MARTE_PrimitivesTypesPackageImpl theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) instanceof MARTE_PrimitivesTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) : MARTE_PrimitivesTypesPackage.eINSTANCE); + + // Create package meta-data objects + theGQAMPackage.createPackageContents(); + theMARTEPackage.createPackageContents(); + theNFPsPackage.createPackageContents(); + theCoreElementsPackage.createPackageContents(); + theAllocPackage.createPackageContents(); + theTimePackage.createPackageContents(); + theGRMPackage.createPackageContents(); + theRSMPackage.createPackageContents(); + theVariablesPackage.createPackageContents(); + theOperatorsPackage.createPackageContents(); + theDataTypesPackage.createPackageContents(); + theHLAMPackage.createPackageContents(); + theHwComputingPackage.createPackageContents(); + theHwCommunicationPackage.createPackageContents(); + theHwStorageManagerPackage.createPackageContents(); + theHwMemoryPackage.createPackageContents(); + theHwTimingPackage.createPackageContents(); + theHwDevicePackage.createPackageContents(); + theHwGeneralPackage.createPackageContents(); + theHwLayoutPackage.createPackageContents(); + theHwPowerPackage.createPackageContents(); + theSW_ResourceCorePackage.createPackageContents(); + theSW_ConcurrencyPackage.createPackageContents(); + theSW_BrokeringPackage.createPackageContents(); + theSW_InteractionPackage.createPackageContents(); + theGCMPackage.createPackageContents(); + theSAMPackage.createPackageContents(); + thePAMPackage.createPackageContents(); + theMeasurementUnitsPackage.createPackageContents(); + theGRM_BasicTypesPackage.createPackageContents(); + theMARTE_DataTypesPackage.createPackageContents(); + theBasicNFP_TypesPackage.createPackageContents(); + theTimeTypesLibraryPackage.createPackageContents(); + theTimeLibraryPackage.createPackageContents(); + theRS_LibraryPackage.createPackageContents(); + theMARTE_PrimitivesTypesPackage.createPackageContents(); + + // Initialize created meta-data + theGQAMPackage.initializePackageContents(); + theMARTEPackage.initializePackageContents(); + theNFPsPackage.initializePackageContents(); + theCoreElementsPackage.initializePackageContents(); + theAllocPackage.initializePackageContents(); + theTimePackage.initializePackageContents(); + theGRMPackage.initializePackageContents(); + theRSMPackage.initializePackageContents(); + theVariablesPackage.initializePackageContents(); + theOperatorsPackage.initializePackageContents(); + theDataTypesPackage.initializePackageContents(); + theHLAMPackage.initializePackageContents(); + theHwComputingPackage.initializePackageContents(); + theHwCommunicationPackage.initializePackageContents(); + theHwStorageManagerPackage.initializePackageContents(); + theHwMemoryPackage.initializePackageContents(); + theHwTimingPackage.initializePackageContents(); + theHwDevicePackage.initializePackageContents(); + theHwGeneralPackage.initializePackageContents(); + theHwLayoutPackage.initializePackageContents(); + theHwPowerPackage.initializePackageContents(); + theSW_ResourceCorePackage.initializePackageContents(); + theSW_ConcurrencyPackage.initializePackageContents(); + theSW_BrokeringPackage.initializePackageContents(); + theSW_InteractionPackage.initializePackageContents(); + theGCMPackage.initializePackageContents(); + theSAMPackage.initializePackageContents(); + thePAMPackage.initializePackageContents(); + theMeasurementUnitsPackage.initializePackageContents(); + theGRM_BasicTypesPackage.initializePackageContents(); + theMARTE_DataTypesPackage.initializePackageContents(); + theBasicNFP_TypesPackage.initializePackageContents(); + theTimeTypesLibraryPackage.initializePackageContents(); + theTimeLibraryPackage.initializePackageContents(); + theRS_LibraryPackage.initializePackageContents(); + theMARTE_PrimitivesTypesPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theGQAMPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(GQAMPackage.eNS_URI, theGQAMPackage); + return theGQAMPackage; + } + + /** + * + * + * @generated + */ + public EClass getGaWorkloadGenerator() { + return gaWorkloadGeneratorEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaWorkloadGenerator_Pop() { + return (EAttribute)gaWorkloadGeneratorEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getGaWorkloadGenerator_Base_Behavior() { + return (EReference)gaWorkloadGeneratorEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getGaEventTrace() { + return gaEventTraceEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaEventTrace_Content() { + return (EAttribute)gaEventTraceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getGaEventTrace_Format() { + return (EAttribute)gaEventTraceEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getGaEventTrace_Location() { + return (EAttribute)gaEventTraceEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getGaEventTrace_Base_NamedElement() { + return (EReference)gaEventTraceEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getGaWorkloadEvent() { + return gaWorkloadEventEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaWorkloadEvent_Pattern() { + return (EAttribute)gaWorkloadEventEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getGaWorkloadEvent_Generator() { + return (EReference)gaWorkloadEventEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getGaWorkloadEvent_Trace() { + return (EReference)gaWorkloadEventEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getGaWorkloadEvent_Effect() { + return (EReference)gaWorkloadEventEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getGaWorkloadEvent_TimedEvent() { + return (EReference)gaWorkloadEventEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getGaWorkloadEvent_Base_NamedElement() { + return (EReference)gaWorkloadEventEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getGaScenario() { + return gaScenarioEClass; + } + + /** + * + * + * @generated + */ + public EReference getGaScenario_Cause() { + return (EReference)gaScenarioEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getGaScenario_HostDemand() { + return (EAttribute)gaScenarioEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getGaScenario_HostDemandOps() { + return (EAttribute)gaScenarioEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getGaScenario_InterOccT() { + return (EAttribute)gaScenarioEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getGaScenario_Throughput() { + return (EAttribute)gaScenarioEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getGaScenario_RespT() { + return (EAttribute)gaScenarioEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EAttribute getGaScenario_Utilization() { + return (EAttribute)gaScenarioEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EAttribute getGaScenario_UtilizationOnHost() { + return (EAttribute)gaScenarioEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + public EReference getGaScenario_Root() { + return (EReference)gaScenarioEClass.getEStructuralFeatures().get(8); + } + + /** + * + * + * @generated + */ + public EReference getGaScenario_Steps() { + return (EReference)gaScenarioEClass.getEStructuralFeatures().get(9); + } + + /** + * + * + * @generated + */ + public EReference getGaScenario_ParentStep() { + return (EReference)gaScenarioEClass.getEStructuralFeatures().get(10); + } + + /** + * + * + * @generated + */ + public EReference getGaScenario_Timing() { + return (EReference)gaScenarioEClass.getEStructuralFeatures().get(11); + } + + /** + * + * + * @generated + */ + public EClass getGaStep() { + return gaStepEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaStep_IsAtomic() { + return (EAttribute)gaStepEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getGaStep_BlockT() { + return (EAttribute)gaStepEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getGaStep_Rep() { + return (EAttribute)gaStepEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getGaStep_Prob() { + return (EAttribute)gaStepEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getGaStep_Priority() { + return (EAttribute)gaStepEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getGaStep_ConcurRes() { + return (EReference)gaStepEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EReference getGaStep_Host() { + return (EReference)gaStepEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EReference getGaStep_ServDemand() { + return (EReference)gaStepEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + public EAttribute getGaStep_ServCount() { + return (EAttribute)gaStepEClass.getEStructuralFeatures().get(8); + } + + /** + * + * + * @generated + */ + public EAttribute getGaStep_SelfDelay() { + return (EAttribute)gaStepEClass.getEStructuralFeatures().get(9); + } + + /** + * + * + * @generated + */ + public EReference getGaStep_Scenario() { + return (EReference)gaStepEClass.getEStructuralFeatures().get(10); + } + + /** + * + * + * @generated + */ + public EReference getGaStep_ChildScenario() { + return (EReference)gaStepEClass.getEStructuralFeatures().get(11); + } + + /** + * + * + * @generated + */ + public EClass getGaExecHost() { + return gaExecHostEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaExecHost_CommTxOvh() { + return (EAttribute)gaExecHostEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getGaExecHost_CommRcvOvh() { + return (EAttribute)gaExecHostEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getGaExecHost_CntxtSwT() { + return (EAttribute)gaExecHostEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getGaExecHost_ClockOvh() { + return (EAttribute)gaExecHostEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getGaExecHost_SchedPriRange() { + return (EAttribute)gaExecHostEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getGaExecHost_MemSize() { + return (EAttribute)gaExecHostEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EAttribute getGaExecHost_Utilization() { + return (EAttribute)gaExecHostEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EAttribute getGaExecHost_Throughput() { + return (EAttribute)gaExecHostEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + public EClass getGaRequestedService() { + return gaRequestedServiceEClass; + } + + /** + * + * + * @generated + */ + public EReference getGaRequestedService_Base_Operation() { + return (EReference)gaRequestedServiceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getGaTimedObs() { + return gaTimedObsEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaTimedObs_Laxity() { + return (EAttribute)gaTimedObsEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getGaTimedObs_StartObs() { + return (EReference)gaTimedObsEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getGaTimedObs_EndObs() { + return (EReference)gaTimedObsEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getGaCommStep() { + return gaCommStepEClass; + } + + /** + * + * + * @generated + */ + public EClass getGaAcqStep() { + return gaAcqStepEClass; + } + + /** + * + * + * @generated + */ + public EReference getGaAcqStep_AcqRes() { + return (EReference)gaAcqStepEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getGaAcqStep_ResUnits() { + return (EAttribute)gaAcqStepEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getGaRelStep() { + return gaRelStepEClass; + } + + /** + * + * + * @generated + */ + public EReference getGaRelStep_RelRes() { + return (EReference)gaRelStepEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getGaRelStep_ResUnits() { + return (EAttribute)gaRelStepEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getGaLatencyObs() { + return gaLatencyObsEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaLatencyObs_Latency() { + return (EAttribute)gaLatencyObsEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getGaLatencyObs_Miss() { + return (EAttribute)gaLatencyObsEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getGaLatencyObs_Utility() { + return (EAttribute)gaLatencyObsEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getGaLatencyObs_MaxJitter() { + return (EAttribute)gaLatencyObsEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getGaCommHost() { + return gaCommHostEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaCommHost_Throughput() { + return (EAttribute)gaCommHostEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getGaCommHost_Utilization() { + return (EAttribute)gaCommHostEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getGaCommChannel() { + return gaCommChannelEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaCommChannel_PacketSize() { + return (EAttribute)gaCommChannelEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getGaCommChannel_Utilization() { + return (EAttribute)gaCommChannelEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getGaWorkloadBehavior() { + return gaWorkloadBehaviorEClass; + } + + /** + * + * + * @generated + */ + public EReference getGaWorkloadBehavior_Behavior() { + return (EReference)gaWorkloadBehaviorEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getGaWorkloadBehavior_Demand() { + return (EReference)gaWorkloadBehaviorEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getGaWorkloadBehavior_Base_NamedElement() { + return (EReference)gaWorkloadBehaviorEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getGaAnalysisContext() { + return gaAnalysisContextEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getGaAnalysisContext_Context() { + return (EAttribute)gaAnalysisContextEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getGaAnalysisContext_Workload() { + return (EReference)gaAnalysisContextEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getGaAnalysisContext_Platform() { + return (EReference)gaAnalysisContextEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getGaResourcesPlatform() { + return gaResourcesPlatformEClass; + } + + /** + * + * + * @generated + */ + public EReference getGaResourcesPlatform_Resources() { + return (EReference)gaResourcesPlatformEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getGaResourcesPlatform_Base_Classifier() { + return (EReference)gaResourcesPlatformEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EEnum getLaxityKind() { + return laxityKindEEnum; + } + + /** + * + * + * @generated + */ + public GQAMFactory getGQAMFactory() { + return (GQAMFactory)getEFactoryInstance(); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + gaWorkloadGeneratorEClass = createEClass(GA_WORKLOAD_GENERATOR); + createEAttribute(gaWorkloadGeneratorEClass, GA_WORKLOAD_GENERATOR__POP); + createEReference(gaWorkloadGeneratorEClass, GA_WORKLOAD_GENERATOR__BASE_BEHAVIOR); + + gaEventTraceEClass = createEClass(GA_EVENT_TRACE); + createEAttribute(gaEventTraceEClass, GA_EVENT_TRACE__CONTENT); + createEAttribute(gaEventTraceEClass, GA_EVENT_TRACE__FORMAT); + createEAttribute(gaEventTraceEClass, GA_EVENT_TRACE__LOCATION); + createEReference(gaEventTraceEClass, GA_EVENT_TRACE__BASE_NAMED_ELEMENT); + + gaWorkloadEventEClass = createEClass(GA_WORKLOAD_EVENT); + createEAttribute(gaWorkloadEventEClass, GA_WORKLOAD_EVENT__PATTERN); + createEReference(gaWorkloadEventEClass, GA_WORKLOAD_EVENT__GENERATOR); + createEReference(gaWorkloadEventEClass, GA_WORKLOAD_EVENT__TRACE); + createEReference(gaWorkloadEventEClass, GA_WORKLOAD_EVENT__EFFECT); + createEReference(gaWorkloadEventEClass, GA_WORKLOAD_EVENT__TIMED_EVENT); + createEReference(gaWorkloadEventEClass, GA_WORKLOAD_EVENT__BASE_NAMED_ELEMENT); + + gaScenarioEClass = createEClass(GA_SCENARIO); + createEReference(gaScenarioEClass, GA_SCENARIO__CAUSE); + createEAttribute(gaScenarioEClass, GA_SCENARIO__HOST_DEMAND); + createEAttribute(gaScenarioEClass, GA_SCENARIO__HOST_DEMAND_OPS); + createEAttribute(gaScenarioEClass, GA_SCENARIO__INTER_OCC_T); + createEAttribute(gaScenarioEClass, GA_SCENARIO__THROUGHPUT); + createEAttribute(gaScenarioEClass, GA_SCENARIO__RESP_T); + createEAttribute(gaScenarioEClass, GA_SCENARIO__UTILIZATION); + createEAttribute(gaScenarioEClass, GA_SCENARIO__UTILIZATION_ON_HOST); + createEReference(gaScenarioEClass, GA_SCENARIO__ROOT); + createEReference(gaScenarioEClass, GA_SCENARIO__STEPS); + createEReference(gaScenarioEClass, GA_SCENARIO__PARENT_STEP); + createEReference(gaScenarioEClass, GA_SCENARIO__TIMING); + + gaStepEClass = createEClass(GA_STEP); + createEAttribute(gaStepEClass, GA_STEP__IS_ATOMIC); + createEAttribute(gaStepEClass, GA_STEP__BLOCK_T); + createEAttribute(gaStepEClass, GA_STEP__REP); + createEAttribute(gaStepEClass, GA_STEP__PROB); + createEAttribute(gaStepEClass, GA_STEP__PRIORITY); + createEReference(gaStepEClass, GA_STEP__CONCUR_RES); + createEReference(gaStepEClass, GA_STEP__HOST); + createEReference(gaStepEClass, GA_STEP__SERV_DEMAND); + createEAttribute(gaStepEClass, GA_STEP__SERV_COUNT); + createEAttribute(gaStepEClass, GA_STEP__SELF_DELAY); + createEReference(gaStepEClass, GA_STEP__SCENARIO); + createEReference(gaStepEClass, GA_STEP__CHILD_SCENARIO); + + gaExecHostEClass = createEClass(GA_EXEC_HOST); + createEAttribute(gaExecHostEClass, GA_EXEC_HOST__COMM_TX_OVH); + createEAttribute(gaExecHostEClass, GA_EXEC_HOST__COMM_RCV_OVH); + createEAttribute(gaExecHostEClass, GA_EXEC_HOST__CNTXT_SW_T); + createEAttribute(gaExecHostEClass, GA_EXEC_HOST__CLOCK_OVH); + createEAttribute(gaExecHostEClass, GA_EXEC_HOST__SCHED_PRI_RANGE); + createEAttribute(gaExecHostEClass, GA_EXEC_HOST__MEM_SIZE); + createEAttribute(gaExecHostEClass, GA_EXEC_HOST__UTILIZATION); + createEAttribute(gaExecHostEClass, GA_EXEC_HOST__THROUGHPUT); + + gaRequestedServiceEClass = createEClass(GA_REQUESTED_SERVICE); + createEReference(gaRequestedServiceEClass, GA_REQUESTED_SERVICE__BASE_OPERATION); + + gaTimedObsEClass = createEClass(GA_TIMED_OBS); + createEAttribute(gaTimedObsEClass, GA_TIMED_OBS__LAXITY); + createEReference(gaTimedObsEClass, GA_TIMED_OBS__START_OBS); + createEReference(gaTimedObsEClass, GA_TIMED_OBS__END_OBS); + + gaCommStepEClass = createEClass(GA_COMM_STEP); + + gaAcqStepEClass = createEClass(GA_ACQ_STEP); + createEReference(gaAcqStepEClass, GA_ACQ_STEP__ACQ_RES); + createEAttribute(gaAcqStepEClass, GA_ACQ_STEP__RES_UNITS); + + gaRelStepEClass = createEClass(GA_REL_STEP); + createEReference(gaRelStepEClass, GA_REL_STEP__REL_RES); + createEAttribute(gaRelStepEClass, GA_REL_STEP__RES_UNITS); + + gaLatencyObsEClass = createEClass(GA_LATENCY_OBS); + createEAttribute(gaLatencyObsEClass, GA_LATENCY_OBS__LATENCY); + createEAttribute(gaLatencyObsEClass, GA_LATENCY_OBS__MISS); + createEAttribute(gaLatencyObsEClass, GA_LATENCY_OBS__UTILITY); + createEAttribute(gaLatencyObsEClass, GA_LATENCY_OBS__MAX_JITTER); + + gaCommHostEClass = createEClass(GA_COMM_HOST); + createEAttribute(gaCommHostEClass, GA_COMM_HOST__THROUGHPUT); + createEAttribute(gaCommHostEClass, GA_COMM_HOST__UTILIZATION); + + gaCommChannelEClass = createEClass(GA_COMM_CHANNEL); + createEAttribute(gaCommChannelEClass, GA_COMM_CHANNEL__PACKET_SIZE); + createEAttribute(gaCommChannelEClass, GA_COMM_CHANNEL__UTILIZATION); + + gaWorkloadBehaviorEClass = createEClass(GA_WORKLOAD_BEHAVIOR); + createEReference(gaWorkloadBehaviorEClass, GA_WORKLOAD_BEHAVIOR__BEHAVIOR); + createEReference(gaWorkloadBehaviorEClass, GA_WORKLOAD_BEHAVIOR__DEMAND); + createEReference(gaWorkloadBehaviorEClass, GA_WORKLOAD_BEHAVIOR__BASE_NAMED_ELEMENT); + + gaAnalysisContextEClass = createEClass(GA_ANALYSIS_CONTEXT); + createEAttribute(gaAnalysisContextEClass, GA_ANALYSIS_CONTEXT__CONTEXT); + createEReference(gaAnalysisContextEClass, GA_ANALYSIS_CONTEXT__WORKLOAD); + createEReference(gaAnalysisContextEClass, GA_ANALYSIS_CONTEXT__PLATFORM); + + gaResourcesPlatformEClass = createEClass(GA_RESOURCES_PLATFORM); + createEReference(gaResourcesPlatformEClass, GA_RESOURCES_PLATFORM__RESOURCES); + createEReference(gaResourcesPlatformEClass, GA_RESOURCES_PLATFORM__BASE_CLASSIFIER); + + // Create enums + laxityKindEEnum = createEEnum(LAXITY_KIND); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + BasicNFP_TypesPackage theBasicNFP_TypesPackage = (BasicNFP_TypesPackage)EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI); + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + MARTE_PrimitivesTypesPackage theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI); + GRMPackage theGRMPackage = (GRMPackage)EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI); + TimePackage theTimePackage = (TimePackage)EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI); + MARTE_DataTypesPackage theMARTE_DataTypesPackage = (MARTE_DataTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI); + NFPsPackage theNFPsPackage = (NFPsPackage)EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI); + CoreElementsPackage theCoreElementsPackage = (CoreElementsPackage)EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI); + VariablesPackage theVariablesPackage = (VariablesPackage)EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + gaScenarioEClass.getESuperTypes().add(theGRMPackage.getResourceUsage()); + gaScenarioEClass.getESuperTypes().add(theTimePackage.getTimedProcessing()); + gaStepEClass.getESuperTypes().add(this.getGaScenario()); + gaExecHostEClass.getESuperTypes().add(theGRMPackage.getScheduler()); + gaExecHostEClass.getESuperTypes().add(theGRMPackage.getComputingResource()); + gaRequestedServiceEClass.getESuperTypes().add(this.getGaStep()); + gaTimedObsEClass.getESuperTypes().add(theNFPsPackage.getNfpConstraint()); + gaCommStepEClass.getESuperTypes().add(this.getGaStep()); + gaAcqStepEClass.getESuperTypes().add(this.getGaStep()); + gaRelStepEClass.getESuperTypes().add(this.getGaStep()); + gaLatencyObsEClass.getESuperTypes().add(this.getGaTimedObs()); + gaCommHostEClass.getESuperTypes().add(theGRMPackage.getCommunicationMedia()); + gaCommHostEClass.getESuperTypes().add(theGRMPackage.getScheduler()); + gaCommChannelEClass.getESuperTypes().add(theGRMPackage.getSchedulableResource()); + gaAnalysisContextEClass.getESuperTypes().add(theCoreElementsPackage.getConfiguration()); + gaAnalysisContextEClass.getESuperTypes().add(theVariablesPackage.getExpressionContext()); + + // Initialize classes and features; add operations and parameters + initEClass(gaWorkloadGeneratorEClass, GaWorkloadGenerator.class, "GaWorkloadGenerator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaWorkloadGenerator_Pop(), theBasicNFP_TypesPackage.getNFP_Integer(), "pop", "1", 0, 1, GaWorkloadGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaWorkloadGenerator_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 1, 1, GaWorkloadGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaEventTraceEClass, GaEventTrace.class, "GaEventTrace", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaEventTrace_Content(), theMARTE_PrimitivesTypesPackage.getString(), "content", null, 0, 1, GaEventTrace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaEventTrace_Format(), theMARTE_PrimitivesTypesPackage.getString(), "format", null, 0, 1, GaEventTrace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaEventTrace_Location(), theMARTE_PrimitivesTypesPackage.getString(), "location", null, 0, 1, GaEventTrace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaEventTrace_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, GaEventTrace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaWorkloadEventEClass, GaWorkloadEvent.class, "GaWorkloadEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaWorkloadEvent_Pattern(), theBasicNFP_TypesPackage.getArrivalPattern(), "pattern", null, 0, 1, GaWorkloadEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaWorkloadEvent_Generator(), this.getGaWorkloadGenerator(), null, "generator", null, 0, 1, GaWorkloadEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaWorkloadEvent_Trace(), this.getGaEventTrace(), null, "trace", null, 0, 1, GaWorkloadEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaWorkloadEvent_Effect(), this.getGaScenario(), null, "effect", null, 0, 1, GaWorkloadEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaWorkloadEvent_TimedEvent(), theUMLPackage.getTimeEvent(), null, "timedEvent", null, 0, 1, GaWorkloadEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaWorkloadEvent_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, GaWorkloadEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaScenarioEClass, GaScenario.class, "GaScenario", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGaScenario_Cause(), this.getGaWorkloadEvent(), null, "cause", null, 0, 1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaScenario_HostDemand(), theBasicNFP_TypesPackage.getNFP_Duration(), "hostDemand", null, 0, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaScenario_HostDemandOps(), theBasicNFP_TypesPackage.getNFP_Real(), "hostDemandOps", null, 0, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaScenario_InterOccT(), theBasicNFP_TypesPackage.getNFP_Duration(), "interOccT", null, 0, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaScenario_Throughput(), theBasicNFP_TypesPackage.getNFP_Frequency(), "throughput", null, 0, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaScenario_RespT(), theBasicNFP_TypesPackage.getNFP_Duration(), "respT", null, 0, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaScenario_Utilization(), theBasicNFP_TypesPackage.getNFP_Real(), "utilization", null, 0, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaScenario_UtilizationOnHost(), theBasicNFP_TypesPackage.getNFP_Real(), "utilizationOnHost", null, 0, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaScenario_Root(), this.getGaStep(), null, "root", null, 0, 1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaScenario_Steps(), this.getGaStep(), this.getGaStep_Scenario(), "steps", null, 1, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaScenario_ParentStep(), this.getGaStep(), this.getGaStep_ChildScenario(), "parentStep", null, 1, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaScenario_Timing(), this.getGaTimedObs(), null, "timing", null, 0, -1, GaScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaStepEClass, GaStep.class, "GaStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaStep_IsAtomic(), theBasicNFP_TypesPackage.getNFP_Boolean(), "isAtomic", null, 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaStep_BlockT(), theBasicNFP_TypesPackage.getNFP_Duration(), "blockT", null, 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaStep_Rep(), theBasicNFP_TypesPackage.getNFP_Real(), "rep", "1.0", 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaStep_Prob(), theBasicNFP_TypesPackage.getNFP_Real(), "prob", "1.0", 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaStep_Priority(), theBasicNFP_TypesPackage.getNFP_Integer(), "priority", null, 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaStep_ConcurRes(), theGRMPackage.getSchedulableResource(), null, "concurRes", null, 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaStep_Host(), this.getGaExecHost(), null, "host", null, 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaStep_ServDemand(), this.getGaRequestedService(), null, "servDemand", null, 0, -1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGaStep_ServCount(), theBasicNFP_TypesPackage.getNFP_Real(), "servCount", null, 0, -1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGaStep_SelfDelay(), theBasicNFP_TypesPackage.getNFP_Duration(), "selfDelay", null, 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaStep_Scenario(), this.getGaScenario(), this.getGaScenario_Steps(), "scenario", null, 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaStep_ChildScenario(), this.getGaScenario(), this.getGaScenario_ParentStep(), "childScenario", null, 0, 1, GaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaExecHostEClass, GaExecHost.class, "GaExecHost", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaExecHost_CommTxOvh(), theBasicNFP_TypesPackage.getNFP_Duration(), "commTxOvh", null, 0, 1, GaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaExecHost_CommRcvOvh(), theBasicNFP_TypesPackage.getNFP_Duration(), "commRcvOvh", null, 0, 1, GaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaExecHost_CntxtSwT(), theBasicNFP_TypesPackage.getNFP_Duration(), "cntxtSwT", null, 0, 1, GaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaExecHost_ClockOvh(), theBasicNFP_TypesPackage.getNFP_Duration(), "clockOvh", null, 0, 1, GaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaExecHost_SchedPriRange(), theMARTE_DataTypesPackage.getIntegerInterval(), "schedPriRange", null, 0, 1, GaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaExecHost_MemSize(), theBasicNFP_TypesPackage.getNFP_DataSize(), "memSize", null, 0, 1, GaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaExecHost_Utilization(), theBasicNFP_TypesPackage.getNFP_Real(), "utilization", null, 0, -1, GaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaExecHost_Throughput(), theBasicNFP_TypesPackage.getNFP_Frequency(), "throughput", null, 0, -1, GaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaRequestedServiceEClass, GaRequestedService.class, "GaRequestedService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGaRequestedService_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, GaRequestedService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaTimedObsEClass, GaTimedObs.class, "GaTimedObs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaTimedObs_Laxity(), this.getLaxityKind(), "laxity", null, 0, 1, GaTimedObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGaTimedObs_StartObs(), theUMLPackage.getTimeObservation(), null, "startObs", null, 0, -1, GaTimedObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGaTimedObs_EndObs(), theUMLPackage.getTimeObservation(), null, "endObs", null, 0, -1, GaTimedObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(gaCommStepEClass, GaCommStep.class, "GaCommStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(gaAcqStepEClass, GaAcqStep.class, "GaAcqStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGaAcqStep_AcqRes(), theGRMPackage.getResource(), null, "acqRes", null, 0, 1, GaAcqStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaAcqStep_ResUnits(), theBasicNFP_TypesPackage.getNFP_Integer(), "resUnits", "1", 0, 1, GaAcqStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaRelStepEClass, GaRelStep.class, "GaRelStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGaRelStep_RelRes(), theGRMPackage.getResource(), null, "relRes", null, 0, 1, GaRelStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaRelStep_ResUnits(), theBasicNFP_TypesPackage.getNFP_Integer(), "resUnits", "1", 0, 1, GaRelStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaLatencyObsEClass, GaLatencyObs.class, "GaLatencyObs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaLatencyObs_Latency(), theBasicNFP_TypesPackage.getNFP_Duration(), "latency", null, 0, -1, GaLatencyObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaLatencyObs_Miss(), theBasicNFP_TypesPackage.getNFP_Real(), "miss", null, 0, -1, GaLatencyObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaLatencyObs_Utility(), theMARTE_DataTypesPackage.getUtilityType(), "utility", null, 0, -1, GaLatencyObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaLatencyObs_MaxJitter(), theBasicNFP_TypesPackage.getNFP_Duration(), "maxJitter", null, 0, -1, GaLatencyObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaCommHostEClass, GaCommHost.class, "GaCommHost", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaCommHost_Throughput(), theBasicNFP_TypesPackage.getNFP_Frequency(), "throughput", null, 0, -1, GaCommHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaCommHost_Utilization(), theBasicNFP_TypesPackage.getNFP_Real(), "utilization", null, 0, -1, GaCommHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaCommChannelEClass, GaCommChannel.class, "GaCommChannel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaCommChannel_PacketSize(), theBasicNFP_TypesPackage.getNFP_DataSize(), "packetSize", null, 0, 1, GaCommChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGaCommChannel_Utilization(), theBasicNFP_TypesPackage.getNFP_Real(), "utilization", null, 0, 1, GaCommChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaWorkloadBehaviorEClass, GaWorkloadBehavior.class, "GaWorkloadBehavior", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGaWorkloadBehavior_Behavior(), this.getGaScenario(), null, "behavior", null, 0, -1, GaWorkloadBehavior.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaWorkloadBehavior_Demand(), this.getGaWorkloadEvent(), null, "demand", null, 0, -1, GaWorkloadBehavior.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaWorkloadBehavior_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, GaWorkloadBehavior.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaAnalysisContextEClass, GaAnalysisContext.class, "GaAnalysisContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGaAnalysisContext_Context(), theBasicNFP_TypesPackage.getNFP_String(), "context", null, 0, -1, GaAnalysisContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaAnalysisContext_Workload(), this.getGaWorkloadBehavior(), null, "workload", null, 1, -1, GaAnalysisContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaAnalysisContext_Platform(), this.getGaResourcesPlatform(), null, "platform", null, 1, -1, GaAnalysisContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gaResourcesPlatformEClass, GaResourcesPlatform.class, "GaResourcesPlatform", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGaResourcesPlatform_Resources(), theGRMPackage.getResource(), null, "resources", null, 0, -1, GaResourcesPlatform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGaResourcesPlatform_Base_Classifier(), theUMLPackage.getClassifier(), null, "base_Classifier", null, 1, 1, GaResourcesPlatform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(laxityKindEEnum, LaxityKind.class, "LaxityKind"); + addEEnumLiteral(laxityKindEEnum, LaxityKind.HARD); + addEEnumLiteral(laxityKindEEnum, LaxityKind.SOFT); + addEEnumLiteral(laxityKindEEnum, LaxityKind.OTHER); + } + +} //GQAMPackageImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaAcqStepImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaAcqStepImpl.java new file mode 100644 index 00000000000..7f9316023b2 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaAcqStepImpl.java @@ -0,0 +1,236 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.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.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAcqStep; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource; + +/** + * + * An implementation of the model object 'Ga Acq Step'. + * + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ *
+ * + * @generated + */ +public class GaCommStepImpl extends GaStepImpl implements GaCommStep { + /** + * + * + * @generated + */ + protected GaCommStepImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return GQAMPackage.Literals.GA_COMM_STEP; + } + +} //GaCommStepImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaEventTraceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaEventTraceImpl.java new file mode 100644 index 00000000000..774f473e6d2 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaEventTraceImpl.java @@ -0,0 +1,345 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.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.emf.ecore.impl.EObjectImpl; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaEventTrace; + +import org.eclipse.uml2.uml.NamedElement; + +/** + * + * An implementation of the model object 'Ga Event Trace'. + * + *+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
createXXX
method for each class of the model.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage
+ * @generated
+ */
+public class GQAMAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static GQAMPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public GQAMAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = GQAMPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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 createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected GQAMSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @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.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadGenerator Ga Workload Generator}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadGenerator
+ * @generated
+ */
+ public Adapter createGaWorkloadGeneratorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaEventTrace Ga Event Trace}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaEventTrace
+ * @generated
+ */
+ public Adapter createGaEventTraceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadEvent Ga Workload Event}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadEvent
+ * @generated
+ */
+ public Adapter createGaWorkloadEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario Ga Scenario}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario
+ * @generated
+ */
+ public Adapter createGaScenarioAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep Ga Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep
+ * @generated
+ */
+ public Adapter createGaStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost Ga Exec Host}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost
+ * @generated
+ */
+ public Adapter createGaExecHostAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRequestedService Ga Requested Service}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRequestedService
+ * @generated
+ */
+ public Adapter createGaRequestedServiceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaTimedObs Ga Timed Obs}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaTimedObs
+ * @generated
+ */
+ public Adapter createGaTimedObsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommStep Ga Comm Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommStep
+ * @generated
+ */
+ public Adapter createGaCommStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAcqStep Ga Acq Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAcqStep
+ * @generated
+ */
+ public Adapter createGaAcqStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRelStep Ga Rel Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRelStep
+ * @generated
+ */
+ public Adapter createGaRelStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaLatencyObs Ga Latency Obs}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaLatencyObs
+ * @generated
+ */
+ public Adapter createGaLatencyObsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommHost Ga Comm Host}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommHost
+ * @generated
+ */
+ public Adapter createGaCommHostAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommChannel Ga Comm Channel}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommChannel
+ * @generated
+ */
+ public Adapter createGaCommChannelAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadBehavior Ga Workload Behavior}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaWorkloadBehavior
+ * @generated
+ */
+ public Adapter createGaWorkloadBehaviorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAnalysisContext Ga Analysis Context}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAnalysisContext
+ * @generated
+ */
+ public Adapter createGaAnalysisContextAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaResourcesPlatform Ga Resources Platform}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaResourcesPlatform
+ * @generated
+ */
+ public Adapter createGaResourcesPlatformAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage Resource Usage}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage
+ * @generated
+ */
+ public Adapter createResourceUsageAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedElement Timed Element}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedElement
+ * @generated
+ */
+ public Adapter createTimedElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing Timed Processing}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing
+ * @generated
+ */
+ public Adapter createTimedProcessingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource
+ * @generated
+ */
+ public Adapter createResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Scheduler Scheduler}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Scheduler
+ * @generated
+ */
+ public Adapter createSchedulerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ProcessingResource Processing Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ProcessingResource
+ * @generated
+ */
+ public Adapter createProcessingResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ComputingResource Computing Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ComputingResource
+ * @generated
+ */
+ public Adapter createComputingResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint Nfp Constraint}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint
+ * @generated
+ */
+ public Adapter createNfpConstraintAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.CommunicationMedia Communication Media}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.CommunicationMedia
+ * @generated
+ */
+ public Adapter createCommunicationMediaAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.SchedulableResource Schedulable Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.SchedulableResource
+ * @generated
+ */
+ public Adapter createSchedulableResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.Configuration Configuration}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.Configuration
+ * @generated
+ */
+ public Adapter createConfigurationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext Expression Context}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext
+ * @generated
+ */
+ public Adapter createExpressionContextAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //GQAMAdapterFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMResourceFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMResourceFactoryImpl.java
new file mode 100644
index 00000000000..6ddb64c3abe
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMResourceFactoryImpl.java
@@ -0,0 +1,63 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ *
+ * The Resource Factory associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.util.GQAMResourceImpl
+ * @generated
+ */
+public class GQAMResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ *
+ *
+ * @generated
+ */
+ public GQAMResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new GQAMResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //GQAMResourceFactoryImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMResourceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMResourceImpl.java
new file mode 100644
index 00000000000..37f6973cc70
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMResourceImpl.java
@@ -0,0 +1,39 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ *
+ * The Resource associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.util.GQAMResourceFactoryImpl
+ * @generated
+ */
+public class GQAMResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public GQAMResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //GQAMResourceImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMSwitch.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMSwitch.java
new file mode 100644
index 00000000000..c02c3e9e5aa
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMSwitch.java
@@ -0,0 +1,712 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.*;
+
+import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.Configuration;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.CommunicationMedia;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ComputingResource;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ProcessingResource;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.SchedulableResource;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Scheduler;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedElement;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
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.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage
+ * @generated
+ */
+public class GQAMSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ ListcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case GQAMPackage.GA_WORKLOAD_GENERATOR: {
+ GaWorkloadGenerator gaWorkloadGenerator = (GaWorkloadGenerator)theEObject;
+ T result = caseGaWorkloadGenerator(gaWorkloadGenerator);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_EVENT_TRACE: {
+ GaEventTrace gaEventTrace = (GaEventTrace)theEObject;
+ T result = caseGaEventTrace(gaEventTrace);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_WORKLOAD_EVENT: {
+ GaWorkloadEvent gaWorkloadEvent = (GaWorkloadEvent)theEObject;
+ T result = caseGaWorkloadEvent(gaWorkloadEvent);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_SCENARIO: {
+ GaScenario gaScenario = (GaScenario)theEObject;
+ T result = caseGaScenario(gaScenario);
+ if (result == null) result = caseResourceUsage(gaScenario);
+ if (result == null) result = caseTimedProcessing(gaScenario);
+ if (result == null) result = caseTimedElement(gaScenario);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_STEP: {
+ GaStep gaStep = (GaStep)theEObject;
+ T result = caseGaStep(gaStep);
+ if (result == null) result = caseGaScenario(gaStep);
+ if (result == null) result = caseResourceUsage(gaStep);
+ if (result == null) result = caseTimedProcessing(gaStep);
+ if (result == null) result = caseTimedElement(gaStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_EXEC_HOST: {
+ GaExecHost gaExecHost = (GaExecHost)theEObject;
+ T result = caseGaExecHost(gaExecHost);
+ if (result == null) result = caseScheduler(gaExecHost);
+ if (result == null) result = caseComputingResource(gaExecHost);
+ if (result == null) result = caseProcessingResource(gaExecHost);
+ if (result == null) result = caseResource(gaExecHost);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_REQUESTED_SERVICE: {
+ GaRequestedService gaRequestedService = (GaRequestedService)theEObject;
+ T result = caseGaRequestedService(gaRequestedService);
+ if (result == null) result = caseGaStep(gaRequestedService);
+ if (result == null) result = caseGaScenario(gaRequestedService);
+ if (result == null) result = caseResourceUsage(gaRequestedService);
+ if (result == null) result = caseTimedProcessing(gaRequestedService);
+ if (result == null) result = caseTimedElement(gaRequestedService);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_TIMED_OBS: {
+ GaTimedObs gaTimedObs = (GaTimedObs)theEObject;
+ T result = caseGaTimedObs(gaTimedObs);
+ if (result == null) result = caseNfpConstraint(gaTimedObs);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_COMM_STEP: {
+ GaCommStep gaCommStep = (GaCommStep)theEObject;
+ T result = caseGaCommStep(gaCommStep);
+ if (result == null) result = caseGaStep(gaCommStep);
+ if (result == null) result = caseGaScenario(gaCommStep);
+ if (result == null) result = caseResourceUsage(gaCommStep);
+ if (result == null) result = caseTimedProcessing(gaCommStep);
+ if (result == null) result = caseTimedElement(gaCommStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_ACQ_STEP: {
+ GaAcqStep gaAcqStep = (GaAcqStep)theEObject;
+ T result = caseGaAcqStep(gaAcqStep);
+ if (result == null) result = caseGaStep(gaAcqStep);
+ if (result == null) result = caseGaScenario(gaAcqStep);
+ if (result == null) result = caseResourceUsage(gaAcqStep);
+ if (result == null) result = caseTimedProcessing(gaAcqStep);
+ if (result == null) result = caseTimedElement(gaAcqStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_REL_STEP: {
+ GaRelStep gaRelStep = (GaRelStep)theEObject;
+ T result = caseGaRelStep(gaRelStep);
+ if (result == null) result = caseGaStep(gaRelStep);
+ if (result == null) result = caseGaScenario(gaRelStep);
+ if (result == null) result = caseResourceUsage(gaRelStep);
+ if (result == null) result = caseTimedProcessing(gaRelStep);
+ if (result == null) result = caseTimedElement(gaRelStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_LATENCY_OBS: {
+ GaLatencyObs gaLatencyObs = (GaLatencyObs)theEObject;
+ T result = caseGaLatencyObs(gaLatencyObs);
+ if (result == null) result = caseGaTimedObs(gaLatencyObs);
+ if (result == null) result = caseNfpConstraint(gaLatencyObs);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_COMM_HOST: {
+ GaCommHost gaCommHost = (GaCommHost)theEObject;
+ T result = caseGaCommHost(gaCommHost);
+ if (result == null) result = caseCommunicationMedia(gaCommHost);
+ if (result == null) result = caseScheduler(gaCommHost);
+ if (result == null) result = caseProcessingResource(gaCommHost);
+ if (result == null) result = caseResource(gaCommHost);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_COMM_CHANNEL: {
+ GaCommChannel gaCommChannel = (GaCommChannel)theEObject;
+ T result = caseGaCommChannel(gaCommChannel);
+ if (result == null) result = caseSchedulableResource(gaCommChannel);
+ if (result == null) result = caseResource(gaCommChannel);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_WORKLOAD_BEHAVIOR: {
+ GaWorkloadBehavior gaWorkloadBehavior = (GaWorkloadBehavior)theEObject;
+ T result = caseGaWorkloadBehavior(gaWorkloadBehavior);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_ANALYSIS_CONTEXT: {
+ GaAnalysisContext gaAnalysisContext = (GaAnalysisContext)theEObject;
+ T result = caseGaAnalysisContext(gaAnalysisContext);
+ if (result == null) result = caseConfiguration(gaAnalysisContext);
+ if (result == null) result = caseExpressionContext(gaAnalysisContext);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GQAMPackage.GA_RESOURCES_PLATFORM: {
+ GaResourcesPlatform gaResourcesPlatform = (GaResourcesPlatform)theEObject;
+ T result = caseGaResourcesPlatform(gaResourcesPlatform);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Workload Generator'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Workload Generator'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaWorkloadGenerator(GaWorkloadGenerator object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Event Trace'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Event Trace'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaEventTrace(GaEventTrace object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Workload Event'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Workload Event'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaWorkloadEvent(GaWorkloadEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Scenario'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Scenario'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaScenario(GaScenario object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaStep(GaStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Exec Host'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Exec Host'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaExecHost(GaExecHost object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Requested Service'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Requested Service'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaRequestedService(GaRequestedService object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Timed Obs'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Timed Obs'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaTimedObs(GaTimedObs object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Comm Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Comm Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaCommStep(GaCommStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Acq Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Acq Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaAcqStep(GaAcqStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Rel Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Rel Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaRelStep(GaRelStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Latency Obs'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Latency Obs'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaLatencyObs(GaLatencyObs object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Comm Host'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Comm Host'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaCommHost(GaCommHost object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Comm Channel'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Comm Channel'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaCommChannel(GaCommChannel object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Workload Behavior'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Workload Behavior'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaWorkloadBehavior(GaWorkloadBehavior object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Analysis Context'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Analysis Context'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaAnalysisContext(GaAnalysisContext object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Resources Platform'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Resources Platform'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaResourcesPlatform(GaResourcesPlatform object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Resource Usage'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Resource Usage'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResourceUsage(ResourceUsage object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Timed Element'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Timed Element'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTimedElement(TimedElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Timed Processing'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Timed Processing'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTimedProcessing(TimedProcessing object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResource(Resource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Scheduler'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Scheduler'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseScheduler(Scheduler object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Processing Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Processing Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProcessingResource(ProcessingResource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Computing Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Computing Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseComputingResource(ComputingResource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Nfp Constraint'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Nfp Constraint'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNfpConstraint(NfpConstraint object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Communication Media'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Communication Media'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCommunicationMedia(CommunicationMedia object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Schedulable Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Schedulable Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSchedulableResource(SchedulableResource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Configuration'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Configuration'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConfiguration(Configuration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Expression Context'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Expression Context'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExpressionContext(ExpressionContext object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //GQAMSwitch
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMXMLProcessor.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMXMLProcessor.java
new file mode 100644
index 00000000000..adb077d7ea2
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/util/GQAMXMLProcessor.java
@@ -0,0 +1,61 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ *
+ *
+ * @generated
+ */
+public class GQAMXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ *
+ *
+ * @generated
+ */
+ public GQAMXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ GQAMPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the GQAMResourceFactoryImpl factory.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected Map+ * The following features are supported: + *
+ * If the meaning of the 'Utilization' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Utilization' attribute. + * @see #setUtilization(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaLogicalResource_Utilization() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getUtilization(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaLogicalResource#getUtilization Utilization}' attribute. + * + * + * @param value the new value of the 'Utilization' attribute. + * @see #getUtilization() + * @generated + */ + void setUtilization(String value); + + /** + * Returns the value of the 'Throughput' attribute. + * + *+ * If the meaning of the 'Throughput' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Throughput' attribute. + * @see #setThroughput(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaLogicalResource_Throughput() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Frequency" ordered="false" + * @generated + */ + String getThroughput(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaLogicalResource#getThroughput Throughput}' attribute. + * + * + * @param value the new value of the 'Throughput' attribute. + * @see #getThroughput() + * @generated + */ + void setThroughput(String value); + + /** + * Returns the value of the 'Pool Size' attribute. + * + *+ * If the meaning of the 'Pool Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Pool Size' attribute. + * @see #setPoolSize(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaLogicalResource_PoolSize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" required="true" ordered="false" + * @generated + */ + String getPoolSize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaLogicalResource#getPoolSize Pool Size}' attribute. + * + * + * @param value the new value of the 'Pool Size' attribute. + * @see #getPoolSize() + * @generated + */ + void setPoolSize(String value); + +} // PaLogicalResource diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaRequestedStep.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaRequestedStep.java new file mode 100644 index 00000000000..b76cc2c01a8 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaRequestedStep.java @@ -0,0 +1,29 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRequestedService; + +/** + * + * A representation of the model object 'Pa Requested Step'. + * + * + * + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaRequestedStep() + * @model + * @generated + */ +public interface PaRequestedStep extends PaStep, GaRequestedService { +} // PaRequestedStep diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaResPassStep.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaResPassStep.java new file mode 100644 index 00000000000..7f90e75986b --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaResPassStep.java @@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource; + +/** + * + * A representation of the model object 'Pa Res Pass Step'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Resource' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Resource' reference. + * @see #setResource(Resource) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaResPassStep_Resource() + * @model ordered="false" + * @generated + */ + Resource getResource(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaResPassStep#getResource Resource}' reference. + * + * + * @param value the new value of the 'Resource' reference. + * @see #getResource() + * @generated + */ + void setResource(Resource value); + + /** + * Returns the value of the 'Res Units' attribute. + * The default value is"1"
.
+ *
+ * + * If the meaning of the 'Res Units' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Res Units' attribute. + * @see #setResUnits(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaResPassStep_ResUnits() + * @model default="1" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + String getResUnits(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaResPassStep#getResUnits Res Units}' attribute. + * + * + * @param value the new value of the 'Res Units' attribute. + * @see #getResUnits() + * @generated + */ + void setResUnits(String value); + +} // PaResPassStep diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaRunTInstance.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaRunTInstance.java new file mode 100644 index 00000000000..d04d76fbad7 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaRunTInstance.java @@ -0,0 +1,230 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.SchedulableResource; + +import org.eclipse.uml2.uml.NamedElement; + +/** + * + * A representation of the model object 'Pa Run TInstance'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Pool Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Pool Size' attribute. + * @see #setPoolSize(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaRunTInstance_PoolSize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + String getPoolSize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRunTInstance#getPoolSize Pool Size}' attribute. + * + * + * @param value the new value of the 'Pool Size' attribute. + * @see #getPoolSize() + * @generated + */ + void setPoolSize(String value); + + /** + * Returns the value of the 'Unbdd Pool' attribute. + * The default value is"false"
.
+ *
+ * + * If the meaning of the 'Unbdd Pool' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Unbdd Pool' attribute. + * @see #setUnbddPool(boolean) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaRunTInstance_UnbddPool() + * @model default="false" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Boolean" ordered="false" + * @generated + */ + boolean isUnbddPool(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRunTInstance#isUnbddPool Unbdd Pool}' attribute. + * + * + * @param value the new value of the 'Unbdd Pool' attribute. + * @see #isUnbddPool() + * @generated + */ + void setUnbddPool(boolean value); + + /** + * Returns the value of the 'Instance' reference. + * + *+ * If the meaning of the 'Instance' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Instance' reference. + * @see #setInstance(SchedulableResource) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaRunTInstance_Instance() + * @model ordered="false" + * @generated + */ + SchedulableResource getInstance(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRunTInstance#getInstance Instance}' reference. + * + * + * @param value the new value of the 'Instance' reference. + * @see #getInstance() + * @generated + */ + void setInstance(SchedulableResource value); + + /** + * Returns the value of the 'Host' reference. + * + *+ * If the meaning of the 'Host' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Host' reference. + * @see #setHost(GaExecHost) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaRunTInstance_Host() + * @model ordered="false" + * @generated + */ + GaExecHost getHost(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRunTInstance#getHost Host}' reference. + * + * + * @param value the new value of the 'Host' reference. + * @see #getHost() + * @generated + */ + void setHost(GaExecHost value); + + /** + * Returns the value of the 'Utilization' attribute. + * + *+ * If the meaning of the 'Utilization' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Utilization' attribute. + * @see #setUtilization(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaRunTInstance_Utilization() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getUtilization(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRunTInstance#getUtilization Utilization}' attribute. + * + * + * @param value the new value of the 'Utilization' attribute. + * @see #getUtilization() + * @generated + */ + void setUtilization(String value); + + /** + * Returns the value of the 'Throughput' attribute. + * + *+ * If the meaning of the 'Throughput' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Throughput' attribute. + * @see #setThroughput(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaRunTInstance_Throughput() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Frequency" ordered="false" + * @generated + */ + String getThroughput(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRunTInstance#getThroughput Throughput}' attribute. + * + * + * @param value the new value of the 'Throughput' attribute. + * @see #getThroughput() + * @generated + */ + void setThroughput(String value); + + /** + * Returns the value of the 'Base Named Element' reference. + * + *+ * If the meaning of the 'Base Named Element' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Named Element' reference. + * @see #setBase_NamedElement(NamedElement) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaRunTInstance_Base_NamedElement() + * @model required="true" ordered="false" + * @generated + */ + NamedElement getBase_NamedElement(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRunTInstance#getBase_NamedElement Base Named Element}' reference. + * + * + * @param value the new value of the 'Base Named Element' reference. + * @see #getBase_NamedElement() + * @generated + */ + void setBase_NamedElement(NamedElement value); + +} // PaRunTInstance diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaStep.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaStep.java new file mode 100644 index 00000000000..db29d4f12f4 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/PaStep.java @@ -0,0 +1,133 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep; + +/** + * + * A representation of the model object 'Pa Step'. + * + * + *+ * The following features are supported: + *
"false"
.
+ *
+ * + * If the meaning of the 'No Sync' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'No Sync' attribute. + * @see #setNoSync(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaStep_NoSync() + * @model default="false" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Boolean" ordered="false" + * @generated + */ + String getNoSync(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaStep#getNoSync No Sync}' attribute. + * + * + * @param value the new value of the 'No Sync' attribute. + * @see #getNoSync() + * @generated + */ + void setNoSync(String value); + + /** + * Returns the value of the 'Ext Op Demand' attribute list. + * The list contents are of type {@link java.lang.String}. + * + *+ * If the meaning of the 'Ext Op Demand' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Ext Op Demand' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaStep_ExtOpDemand() + * @model dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.String" + * @generated + */ + EList+ * If the meaning of the 'Ext Op Count' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Ext Op Count' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaStep_ExtOpCount() + * @model default="1" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" + * @generated + */ + EList+ * If the meaning of the 'Behav Demand' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Behav Demand' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaStep_BehavDemand() + * @model + * @generated + */ + EList+ * If the meaning of the 'Behav Count' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Behav Count' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#getPaStep_BehavCount() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" + * @generated + */ + EListNote: 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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage#eNS_URI + * @see #init() + * @generated + */ + private PAMPackageImpl() { + super(eNS_URI, PAMFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link PAMPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static PAMPackage init() { + if (isInited) return (PAMPackage)EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI); + + // Obtain or create and register package + PAMPackageImpl thePAMPackage = (PAMPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PAMPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PAMPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + MARTEPackageImpl theMARTEPackage = (MARTEPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) instanceof MARTEPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) : MARTEPackage.eINSTANCE); + NFPsPackageImpl theNFPsPackage = (NFPsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) instanceof NFPsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) : NFPsPackage.eINSTANCE); + CoreElementsPackageImpl theCoreElementsPackage = (CoreElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) instanceof CoreElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) : CoreElementsPackage.eINSTANCE); + AllocPackageImpl theAllocPackage = (AllocPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) instanceof AllocPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) : AllocPackage.eINSTANCE); + TimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE); + GRMPackageImpl theGRMPackage = (GRMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) instanceof GRMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) : GRMPackage.eINSTANCE); + RSMPackageImpl theRSMPackage = (RSMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) instanceof RSMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) : RSMPackage.eINSTANCE); + VariablesPackageImpl theVariablesPackage = (VariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) instanceof VariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) : VariablesPackage.eINSTANCE); + OperatorsPackageImpl theOperatorsPackage = (OperatorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) instanceof OperatorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) : OperatorsPackage.eINSTANCE); + DataTypesPackageImpl theDataTypesPackage = (DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) instanceof DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) : DataTypesPackage.eINSTANCE); + HLAMPackageImpl theHLAMPackage = (HLAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) instanceof HLAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) : HLAMPackage.eINSTANCE); + HwComputingPackageImpl theHwComputingPackage = (HwComputingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) instanceof HwComputingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) : HwComputingPackage.eINSTANCE); + HwCommunicationPackageImpl theHwCommunicationPackage = (HwCommunicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) instanceof HwCommunicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) : HwCommunicationPackage.eINSTANCE); + HwStorageManagerPackageImpl theHwStorageManagerPackage = (HwStorageManagerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) instanceof HwStorageManagerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) : HwStorageManagerPackage.eINSTANCE); + HwMemoryPackageImpl theHwMemoryPackage = (HwMemoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) instanceof HwMemoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) : HwMemoryPackage.eINSTANCE); + HwTimingPackageImpl theHwTimingPackage = (HwTimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) instanceof HwTimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) : HwTimingPackage.eINSTANCE); + HwDevicePackageImpl theHwDevicePackage = (HwDevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) instanceof HwDevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) : HwDevicePackage.eINSTANCE); + HwGeneralPackageImpl theHwGeneralPackage = (HwGeneralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) instanceof HwGeneralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) : HwGeneralPackage.eINSTANCE); + HwLayoutPackageImpl theHwLayoutPackage = (HwLayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) instanceof HwLayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) : HwLayoutPackage.eINSTANCE); + HwPowerPackageImpl theHwPowerPackage = (HwPowerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) instanceof HwPowerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) : HwPowerPackage.eINSTANCE); + SW_ResourceCorePackageImpl theSW_ResourceCorePackage = (SW_ResourceCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) instanceof SW_ResourceCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) : SW_ResourceCorePackage.eINSTANCE); + SW_ConcurrencyPackageImpl theSW_ConcurrencyPackage = (SW_ConcurrencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) instanceof SW_ConcurrencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) : SW_ConcurrencyPackage.eINSTANCE); + SW_BrokeringPackageImpl theSW_BrokeringPackage = (SW_BrokeringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) instanceof SW_BrokeringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) : SW_BrokeringPackage.eINSTANCE); + SW_InteractionPackageImpl theSW_InteractionPackage = (SW_InteractionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) instanceof SW_InteractionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) : SW_InteractionPackage.eINSTANCE); + GCMPackageImpl theGCMPackage = (GCMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) instanceof GCMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) : GCMPackage.eINSTANCE); + GQAMPackageImpl theGQAMPackage = (GQAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) instanceof GQAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) : GQAMPackage.eINSTANCE); + SAMPackageImpl theSAMPackage = (SAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) instanceof SAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) : SAMPackage.eINSTANCE); + MeasurementUnitsPackageImpl theMeasurementUnitsPackage = (MeasurementUnitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) instanceof MeasurementUnitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) : MeasurementUnitsPackage.eINSTANCE); + GRM_BasicTypesPackageImpl theGRM_BasicTypesPackage = (GRM_BasicTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) instanceof GRM_BasicTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) : GRM_BasicTypesPackage.eINSTANCE); + MARTE_DataTypesPackageImpl theMARTE_DataTypesPackage = (MARTE_DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) instanceof MARTE_DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) : MARTE_DataTypesPackage.eINSTANCE); + BasicNFP_TypesPackageImpl theBasicNFP_TypesPackage = (BasicNFP_TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) instanceof BasicNFP_TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) : BasicNFP_TypesPackage.eINSTANCE); + TimeTypesLibraryPackageImpl theTimeTypesLibraryPackage = (TimeTypesLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) instanceof TimeTypesLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) : TimeTypesLibraryPackage.eINSTANCE); + TimeLibraryPackageImpl theTimeLibraryPackage = (TimeLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) instanceof TimeLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) : TimeLibraryPackage.eINSTANCE); + RS_LibraryPackageImpl theRS_LibraryPackage = (RS_LibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) instanceof RS_LibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) : RS_LibraryPackage.eINSTANCE); + MARTE_PrimitivesTypesPackageImpl theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) instanceof MARTE_PrimitivesTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) : MARTE_PrimitivesTypesPackage.eINSTANCE); + + // Create package meta-data objects + thePAMPackage.createPackageContents(); + theMARTEPackage.createPackageContents(); + theNFPsPackage.createPackageContents(); + theCoreElementsPackage.createPackageContents(); + theAllocPackage.createPackageContents(); + theTimePackage.createPackageContents(); + theGRMPackage.createPackageContents(); + theRSMPackage.createPackageContents(); + theVariablesPackage.createPackageContents(); + theOperatorsPackage.createPackageContents(); + theDataTypesPackage.createPackageContents(); + theHLAMPackage.createPackageContents(); + theHwComputingPackage.createPackageContents(); + theHwCommunicationPackage.createPackageContents(); + theHwStorageManagerPackage.createPackageContents(); + theHwMemoryPackage.createPackageContents(); + theHwTimingPackage.createPackageContents(); + theHwDevicePackage.createPackageContents(); + theHwGeneralPackage.createPackageContents(); + theHwLayoutPackage.createPackageContents(); + theHwPowerPackage.createPackageContents(); + theSW_ResourceCorePackage.createPackageContents(); + theSW_ConcurrencyPackage.createPackageContents(); + theSW_BrokeringPackage.createPackageContents(); + theSW_InteractionPackage.createPackageContents(); + theGCMPackage.createPackageContents(); + theGQAMPackage.createPackageContents(); + theSAMPackage.createPackageContents(); + theMeasurementUnitsPackage.createPackageContents(); + theGRM_BasicTypesPackage.createPackageContents(); + theMARTE_DataTypesPackage.createPackageContents(); + theBasicNFP_TypesPackage.createPackageContents(); + theTimeTypesLibraryPackage.createPackageContents(); + theTimeLibraryPackage.createPackageContents(); + theRS_LibraryPackage.createPackageContents(); + theMARTE_PrimitivesTypesPackage.createPackageContents(); + + // Initialize created meta-data + thePAMPackage.initializePackageContents(); + theMARTEPackage.initializePackageContents(); + theNFPsPackage.initializePackageContents(); + theCoreElementsPackage.initializePackageContents(); + theAllocPackage.initializePackageContents(); + theTimePackage.initializePackageContents(); + theGRMPackage.initializePackageContents(); + theRSMPackage.initializePackageContents(); + theVariablesPackage.initializePackageContents(); + theOperatorsPackage.initializePackageContents(); + theDataTypesPackage.initializePackageContents(); + theHLAMPackage.initializePackageContents(); + theHwComputingPackage.initializePackageContents(); + theHwCommunicationPackage.initializePackageContents(); + theHwStorageManagerPackage.initializePackageContents(); + theHwMemoryPackage.initializePackageContents(); + theHwTimingPackage.initializePackageContents(); + theHwDevicePackage.initializePackageContents(); + theHwGeneralPackage.initializePackageContents(); + theHwLayoutPackage.initializePackageContents(); + theHwPowerPackage.initializePackageContents(); + theSW_ResourceCorePackage.initializePackageContents(); + theSW_ConcurrencyPackage.initializePackageContents(); + theSW_BrokeringPackage.initializePackageContents(); + theSW_InteractionPackage.initializePackageContents(); + theGCMPackage.initializePackageContents(); + theGQAMPackage.initializePackageContents(); + theSAMPackage.initializePackageContents(); + theMeasurementUnitsPackage.initializePackageContents(); + theGRM_BasicTypesPackage.initializePackageContents(); + theMARTE_DataTypesPackage.initializePackageContents(); + theBasicNFP_TypesPackage.initializePackageContents(); + theTimeTypesLibraryPackage.initializePackageContents(); + theTimeLibraryPackage.initializePackageContents(); + theRS_LibraryPackage.initializePackageContents(); + theMARTE_PrimitivesTypesPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + thePAMPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(PAMPackage.eNS_URI, thePAMPackage); + return thePAMPackage; + } + + /** + * + * + * @generated + */ + public EClass getPaStep() { + return paStepEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getPaStep_NoSync() { + return (EAttribute)paStepEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getPaStep_ExtOpDemand() { + return (EAttribute)paStepEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getPaStep_ExtOpCount() { + return (EAttribute)paStepEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getPaStep_BehavDemand() { + return (EReference)paStepEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getPaStep_BehavCount() { + return (EAttribute)paStepEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EClass getPaRequestedStep() { + return paRequestedStepEClass; + } + + /** + * + * + * @generated + */ + public EClass getPaCommStep() { + return paCommStepEClass; + } + + /** + * + * + * @generated + */ + public EClass getPaResPassStep() { + return paResPassStepEClass; + } + + /** + * + * + * @generated + */ + public EReference getPaResPassStep_Resource() { + return (EReference)paResPassStepEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getPaResPassStep_ResUnits() { + return (EAttribute)paResPassStepEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getPaLogicalResource() { + return paLogicalResourceEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getPaLogicalResource_Utilization() { + return (EAttribute)paLogicalResourceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getPaLogicalResource_Throughput() { + return (EAttribute)paLogicalResourceEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getPaLogicalResource_PoolSize() { + return (EAttribute)paLogicalResourceEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getPaRunTInstance() { + return paRunTInstanceEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getPaRunTInstance_PoolSize() { + return (EAttribute)paRunTInstanceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getPaRunTInstance_UnbddPool() { + return (EAttribute)paRunTInstanceEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getPaRunTInstance_Instance() { + return (EReference)paRunTInstanceEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getPaRunTInstance_Host() { + return (EReference)paRunTInstanceEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getPaRunTInstance_Utilization() { + return (EAttribute)paRunTInstanceEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getPaRunTInstance_Throughput() { + return (EAttribute)paRunTInstanceEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EReference getPaRunTInstance_Base_NamedElement() { + return (EReference)paRunTInstanceEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public PAMFactory getPAMFactory() { + return (PAMFactory)getEFactoryInstance(); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + paStepEClass = createEClass(PA_STEP); + createEAttribute(paStepEClass, PA_STEP__NO_SYNC); + createEAttribute(paStepEClass, PA_STEP__EXT_OP_DEMAND); + createEAttribute(paStepEClass, PA_STEP__EXT_OP_COUNT); + createEReference(paStepEClass, PA_STEP__BEHAV_DEMAND); + createEAttribute(paStepEClass, PA_STEP__BEHAV_COUNT); + + paRequestedStepEClass = createEClass(PA_REQUESTED_STEP); + + paCommStepEClass = createEClass(PA_COMM_STEP); + + paResPassStepEClass = createEClass(PA_RES_PASS_STEP); + createEReference(paResPassStepEClass, PA_RES_PASS_STEP__RESOURCE); + createEAttribute(paResPassStepEClass, PA_RES_PASS_STEP__RES_UNITS); + + paLogicalResourceEClass = createEClass(PA_LOGICAL_RESOURCE); + createEAttribute(paLogicalResourceEClass, PA_LOGICAL_RESOURCE__UTILIZATION); + createEAttribute(paLogicalResourceEClass, PA_LOGICAL_RESOURCE__THROUGHPUT); + createEAttribute(paLogicalResourceEClass, PA_LOGICAL_RESOURCE__POOL_SIZE); + + paRunTInstanceEClass = createEClass(PA_RUN_TINSTANCE); + createEAttribute(paRunTInstanceEClass, PA_RUN_TINSTANCE__POOL_SIZE); + createEAttribute(paRunTInstanceEClass, PA_RUN_TINSTANCE__UNBDD_POOL); + createEReference(paRunTInstanceEClass, PA_RUN_TINSTANCE__INSTANCE); + createEReference(paRunTInstanceEClass, PA_RUN_TINSTANCE__HOST); + createEAttribute(paRunTInstanceEClass, PA_RUN_TINSTANCE__UTILIZATION); + createEAttribute(paRunTInstanceEClass, PA_RUN_TINSTANCE__THROUGHPUT); + createEReference(paRunTInstanceEClass, PA_RUN_TINSTANCE__BASE_NAMED_ELEMENT); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + GQAMPackage theGQAMPackage = (GQAMPackage)EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI); + BasicNFP_TypesPackage theBasicNFP_TypesPackage = (BasicNFP_TypesPackage)EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI); + MARTE_PrimitivesTypesPackage theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI); + GRMPackage theGRMPackage = (GRMPackage)EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI); + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + paStepEClass.getESuperTypes().add(theGQAMPackage.getGaStep()); + paRequestedStepEClass.getESuperTypes().add(this.getPaStep()); + paRequestedStepEClass.getESuperTypes().add(theGQAMPackage.getGaRequestedService()); + paCommStepEClass.getESuperTypes().add(this.getPaStep()); + paCommStepEClass.getESuperTypes().add(theGQAMPackage.getGaCommStep()); + paResPassStepEClass.getESuperTypes().add(theGQAMPackage.getGaStep()); + paLogicalResourceEClass.getESuperTypes().add(theGRMPackage.getResource()); + + // Initialize classes and features; add operations and parameters + initEClass(paStepEClass, PaStep.class, "PaStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPaStep_NoSync(), theBasicNFP_TypesPackage.getNFP_Boolean(), "noSync", "false", 0, 1, PaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getPaStep_ExtOpDemand(), theMARTE_PrimitivesTypesPackage.getString(), "extOpDemand", null, 0, -1, PaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPaStep_ExtOpCount(), theBasicNFP_TypesPackage.getNFP_Real(), "extOpCount", "1", 0, -1, PaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPaStep_BehavDemand(), theGQAMPackage.getGaScenario(), null, "behavDemand", null, 0, -1, PaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPaStep_BehavCount(), theBasicNFP_TypesPackage.getNFP_Real(), "behavCount", null, 0, -1, PaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(paRequestedStepEClass, PaRequestedStep.class, "PaRequestedStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(paCommStepEClass, PaCommStep.class, "PaCommStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(paResPassStepEClass, PaResPassStep.class, "PaResPassStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPaResPassStep_Resource(), theGRMPackage.getResource(), null, "resource", null, 0, 1, PaResPassStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getPaResPassStep_ResUnits(), theBasicNFP_TypesPackage.getNFP_Integer(), "resUnits", "1", 0, 1, PaResPassStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(paLogicalResourceEClass, PaLogicalResource.class, "PaLogicalResource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPaLogicalResource_Utilization(), theBasicNFP_TypesPackage.getNFP_Real(), "utilization", null, 0, 1, PaLogicalResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getPaLogicalResource_Throughput(), theBasicNFP_TypesPackage.getNFP_Frequency(), "throughput", null, 0, 1, PaLogicalResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getPaLogicalResource_PoolSize(), theBasicNFP_TypesPackage.getNFP_Integer(), "poolSize", null, 1, 1, PaLogicalResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(paRunTInstanceEClass, PaRunTInstance.class, "PaRunTInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPaRunTInstance_PoolSize(), theBasicNFP_TypesPackage.getNFP_Integer(), "poolSize", null, 0, 1, PaRunTInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getPaRunTInstance_UnbddPool(), theMARTE_PrimitivesTypesPackage.getBoolean(), "unbddPool", "false", 0, 1, PaRunTInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPaRunTInstance_Instance(), theGRMPackage.getSchedulableResource(), null, "instance", null, 0, 1, PaRunTInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPaRunTInstance_Host(), theGQAMPackage.getGaExecHost(), null, "host", null, 0, 1, PaRunTInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getPaRunTInstance_Utilization(), theBasicNFP_TypesPackage.getNFP_Real(), "utilization", null, 0, 1, PaRunTInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getPaRunTInstance_Throughput(), theBasicNFP_TypesPackage.getNFP_Frequency(), "throughput", null, 0, 1, PaRunTInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPaRunTInstance_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, PaRunTInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + } + +} //PAMPackageImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaCommStepImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaCommStepImpl.java new file mode 100644 index 00000000000..3de4220d801 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaCommStepImpl.java @@ -0,0 +1,50 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaCommStep; + +/** + * + * An implementation of the model object 'Pa Comm Step'. + * + *
+ *
+ * + * @generated + */ +public class PaCommStepImpl extends PaStepImpl implements PaCommStep { + /** + * + * + * @generated + */ + protected PaCommStepImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return PAMPackage.Literals.PA_COMM_STEP; + } + +} //PaCommStepImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaLogicalResourceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaLogicalResourceImpl.java new file mode 100644 index 00000000000..e040940cf61 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/impl/PaLogicalResourceImpl.java @@ -0,0 +1,283 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.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.MARTE.MARTE_AnalysisModel.PAM.PAMPackage; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaLogicalResource; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.impl.ResourceImpl; + +/** + * + * An implementation of the model object 'Pa Logical Resource'. + * + *+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
createXXX
method for each class of the model.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage
+ * @generated
+ */
+public class PAMAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static PAMPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public PAMAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = PAMPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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 createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected PAMSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @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.MARTE.MARTE_AnalysisModel.PAM.PaStep Pa Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaStep
+ * @generated
+ */
+ public Adapter createPaStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRequestedStep Pa Requested Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRequestedStep
+ * @generated
+ */
+ public Adapter createPaRequestedStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaCommStep Pa Comm Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaCommStep
+ * @generated
+ */
+ public Adapter createPaCommStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaResPassStep Pa Res Pass Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaResPassStep
+ * @generated
+ */
+ public Adapter createPaResPassStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaLogicalResource Pa Logical Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaLogicalResource
+ * @generated
+ */
+ public Adapter createPaLogicalResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRunTInstance Pa Run TInstance}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PaRunTInstance
+ * @generated
+ */
+ public Adapter createPaRunTInstanceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage Resource Usage}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage
+ * @generated
+ */
+ public Adapter createResourceUsageAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedElement Timed Element}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedElement
+ * @generated
+ */
+ public Adapter createTimedElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing Timed Processing}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing
+ * @generated
+ */
+ public Adapter createTimedProcessingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario Ga Scenario}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario
+ * @generated
+ */
+ public Adapter createGaScenarioAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep Ga Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep
+ * @generated
+ */
+ public Adapter createGaStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRequestedService Ga Requested Service}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRequestedService
+ * @generated
+ */
+ public Adapter createGaRequestedServiceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommStep Ga Comm Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommStep
+ * @generated
+ */
+ public Adapter createGaCommStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource
+ * @generated
+ */
+ public Adapter createResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //PAMAdapterFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMResourceFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMResourceFactoryImpl.java
new file mode 100644
index 00000000000..145ccc8f44e
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMResourceFactoryImpl.java
@@ -0,0 +1,63 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ *
+ * The Resource Factory associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.util.PAMResourceImpl
+ * @generated
+ */
+public class PAMResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ *
+ *
+ * @generated
+ */
+ public PAMResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new PAMResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //PAMResourceFactoryImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMResourceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMResourceImpl.java
new file mode 100644
index 00000000000..3b3cd9574bb
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMResourceImpl.java
@@ -0,0 +1,39 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ *
+ * The Resource associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.util.PAMResourceFactoryImpl
+ * @generated
+ */
+public class PAMResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public PAMResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //PAMResourceImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMSwitch.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMSwitch.java
new file mode 100644
index 00000000000..b5c17c1e6b8
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMSwitch.java
@@ -0,0 +1,398 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommStep;
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaRequestedService;
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario;
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep;
+
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.*;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedElement;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
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.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage
+ * @generated
+ */
+public class PAMSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ ListcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case PAMPackage.PA_STEP: {
+ PaStep paStep = (PaStep)theEObject;
+ T result = casePaStep(paStep);
+ if (result == null) result = caseGaStep(paStep);
+ if (result == null) result = caseGaScenario(paStep);
+ if (result == null) result = caseResourceUsage(paStep);
+ if (result == null) result = caseTimedProcessing(paStep);
+ if (result == null) result = caseTimedElement(paStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case PAMPackage.PA_REQUESTED_STEP: {
+ PaRequestedStep paRequestedStep = (PaRequestedStep)theEObject;
+ T result = casePaRequestedStep(paRequestedStep);
+ if (result == null) result = casePaStep(paRequestedStep);
+ if (result == null) result = caseGaRequestedService(paRequestedStep);
+ if (result == null) result = caseGaStep(paRequestedStep);
+ if (result == null) result = caseGaScenario(paRequestedStep);
+ if (result == null) result = caseResourceUsage(paRequestedStep);
+ if (result == null) result = caseTimedProcessing(paRequestedStep);
+ if (result == null) result = caseTimedElement(paRequestedStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case PAMPackage.PA_COMM_STEP: {
+ PaCommStep paCommStep = (PaCommStep)theEObject;
+ T result = casePaCommStep(paCommStep);
+ if (result == null) result = casePaStep(paCommStep);
+ if (result == null) result = caseGaCommStep(paCommStep);
+ if (result == null) result = caseGaStep(paCommStep);
+ if (result == null) result = caseGaScenario(paCommStep);
+ if (result == null) result = caseResourceUsage(paCommStep);
+ if (result == null) result = caseTimedProcessing(paCommStep);
+ if (result == null) result = caseTimedElement(paCommStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case PAMPackage.PA_RES_PASS_STEP: {
+ PaResPassStep paResPassStep = (PaResPassStep)theEObject;
+ T result = casePaResPassStep(paResPassStep);
+ if (result == null) result = caseGaStep(paResPassStep);
+ if (result == null) result = caseGaScenario(paResPassStep);
+ if (result == null) result = caseResourceUsage(paResPassStep);
+ if (result == null) result = caseTimedProcessing(paResPassStep);
+ if (result == null) result = caseTimedElement(paResPassStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case PAMPackage.PA_LOGICAL_RESOURCE: {
+ PaLogicalResource paLogicalResource = (PaLogicalResource)theEObject;
+ T result = casePaLogicalResource(paLogicalResource);
+ if (result == null) result = caseResource(paLogicalResource);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case PAMPackage.PA_RUN_TINSTANCE: {
+ PaRunTInstance paRunTInstance = (PaRunTInstance)theEObject;
+ T result = casePaRunTInstance(paRunTInstance);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Pa Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Pa Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePaStep(PaStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Pa Requested Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Pa Requested Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePaRequestedStep(PaRequestedStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Pa Comm Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Pa Comm Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePaCommStep(PaCommStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Pa Res Pass Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Pa Res Pass Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePaResPassStep(PaResPassStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Pa Logical Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Pa Logical Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePaLogicalResource(PaLogicalResource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Pa Run TInstance'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Pa Run TInstance'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePaRunTInstance(PaRunTInstance object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Resource Usage'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Resource Usage'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResourceUsage(ResourceUsage object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Timed Element'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Timed Element'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTimedElement(TimedElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Timed Processing'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Timed Processing'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTimedProcessing(TimedProcessing object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Scenario'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Scenario'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaScenario(GaScenario object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaStep(GaStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Requested Service'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Requested Service'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaRequestedService(GaRequestedService object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Comm Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Comm Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaCommStep(GaCommStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResource(Resource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //PAMSwitch
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMXMLProcessor.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMXMLProcessor.java
new file mode 100644
index 00000000000..f907bfd2714
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/PAM/util/PAMXMLProcessor.java
@@ -0,0 +1,61 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ *
+ *
+ * @generated
+ */
+public class PAMXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ *
+ *
+ * @generated
+ */
+ public PAMXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ PAMPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the PAMResourceFactoryImpl factory.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected Map+ * If the meaning of 'Meet Hard Deadlines' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #MEET_HARD_DEADLINES + * @model name="meetHardDeadlines" + * @generated + * @ordered + */ + public static final int MEET_HARD_DEADLINES_VALUE = 0; + + /** + * The 'Minimize Missed Deadlines' literal value. + * + *+ * If the meaning of 'Minimize Missed Deadlines' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #MINIMIZE_MISSED_DEADLINES + * @model name="minimizeMissedDeadlines" + * @generated + * @ordered + */ + public static final int MINIMIZE_MISSED_DEADLINES_VALUE = 1; + + /** + * The 'Minimized Mean Tardiness' literal value. + * + *+ * If the meaning of 'Minimized Mean Tardiness' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #MINIMIZED_MEAN_TARDINESS + * @model name="minimizedMeanTardiness" + * @generated + * @ordered + */ + public static final int MINIMIZED_MEAN_TARDINESS_VALUE = 2; + + /** + * The 'Undef' literal value. + * + *+ * If the meaning of 'Undef' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #UNDEF + * @model name="undef" + * @generated + * @ordered + */ + public static final int UNDEF_VALUE = 3; + + /** + * The 'Other' literal value. + * + *+ * If the meaning of 'Other' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OTHER + * @model name="other" + * @generated + * @ordered + */ + public static final int OTHER_VALUE = 4; + + /** + * An array of all the 'Optimallity Criterion Kind' enumerators. + * + * + * @generated + */ + private static final OptimallityCriterionKind[] VALUES_ARRAY = + new OptimallityCriterionKind[] { + MEET_HARD_DEADLINES, + MINIMIZE_MISSED_DEADLINES, + MINIMIZED_MEAN_TARDINESS, + UNDEF, + OTHER, + }; + + /** + * A public read-only list of all the 'Optimallity Criterion Kind' enumerators. + * + * + * @generated + */ + public static final List+ * The following features are supported: + *
+ * If the meaning of the 'Is Sched' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Sched' attribute. + * @see #setIsSched(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaAnalysisContext_IsSched() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Boolean" ordered="false" + * @generated + */ + String getIsSched(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaAnalysisContext#getIsSched Is Sched}' attribute. + * + * + * @param value the new value of the 'Is Sched' attribute. + * @see #getIsSched() + * @generated + */ + void setIsSched(String value); + + /** + * Returns the value of the 'Opt Criterion' attribute. + * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.OptimallityCriterionKind}. + * + *+ * If the meaning of the 'Opt Criterion' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Opt Criterion' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.OptimallityCriterionKind + * @see #setOptCriterion(OptimallityCriterionKind) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaAnalysisContext_OptCriterion() + * @model unique="false" ordered="false" + * @generated + */ + OptimallityCriterionKind getOptCriterion(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaAnalysisContext#getOptCriterion Opt Criterion}' attribute. + * + * + * @param value the new value of the 'Opt Criterion' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.OptimallityCriterionKind + * @see #getOptCriterion() + * @generated + */ + void setOptCriterion(OptimallityCriterionKind value); + +} // SaAnalysisContext diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaCommHost.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaCommHost.java new file mode 100644 index 00000000000..da0f2a27c68 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaCommHost.java @@ -0,0 +1,88 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommHost; + +/** + * + * A representation of the model object 'Sa Comm Host'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Is Sched' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Sched' attribute. + * @see #setIsSched(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaCommHost_IsSched() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Boolean" ordered="false" + * @generated + */ + String getIsSched(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommHost#getIsSched Is Sched}' attribute. + * + * + * @param value the new value of the 'Is Sched' attribute. + * @see #getIsSched() + * @generated + */ + void setIsSched(String value); + + /** + * Returns the value of the 'Sch Slack' attribute. + * + *+ * If the meaning of the 'Sch Slack' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sch Slack' attribute. + * @see #setSchSlack(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaCommHost_SchSlack() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getSchSlack(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommHost#getSchSlack Sch Slack}' attribute. + * + * + * @param value the new value of the 'Sch Slack' attribute. + * @see #getSchSlack() + * @generated + */ + void setSchSlack(String value); + +} // SaCommHost diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaCommStep.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaCommStep.java new file mode 100644 index 00000000000..15650927d7e --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaCommStep.java @@ -0,0 +1,144 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommStep; + +import org.eclipse.uml2.uml.BehavioralFeature; + +/** + * + * A representation of the model object 'Sa Comm Step'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Deadline' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Deadline' attribute. + * @see #setDeadline(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaCommStep_Deadline() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getDeadline(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommStep#getDeadline Deadline}' attribute. + * + * + * @param value the new value of the 'Deadline' attribute. + * @see #getDeadline() + * @generated + */ + void setDeadline(String value); + + /** + * Returns the value of the 'Spare Cap' attribute. + * + *+ * If the meaning of the 'Spare Cap' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Spare Cap' attribute. + * @see #setSpareCap(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaCommStep_SpareCap() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getSpareCap(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommStep#getSpareCap Spare Cap}' attribute. + * + * + * @param value the new value of the 'Spare Cap' attribute. + * @see #getSpareCap() + * @generated + */ + void setSpareCap(String value); + + /** + * Returns the value of the 'Sch Slack' attribute. + * + *+ * If the meaning of the 'Sch Slack' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sch Slack' attribute. + * @see #setSchSlack(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaCommStep_SchSlack() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getSchSlack(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommStep#getSchSlack Sch Slack}' attribute. + * + * + * @param value the new value of the 'Sch Slack' attribute. + * @see #getSchSlack() + * @generated + */ + void setSchSlack(String value); + + /** + * Returns the value of the 'Base Behavioral Feature' reference. + * + *+ * If the meaning of the 'Base Behavioral Feature' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behavioral Feature' reference. + * @see #setBase_BehavioralFeature(BehavioralFeature) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaCommStep_Base_BehavioralFeature() + * @model required="true" ordered="false" + * @generated + */ + BehavioralFeature getBase_BehavioralFeature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommStep#getBase_BehavioralFeature Base Behavioral Feature}' reference. + * + * + * @param value the new value of the 'Base Behavioral Feature' reference. + * @see #getBase_BehavioralFeature() + * @generated + */ + void setBase_BehavioralFeature(BehavioralFeature value); + +} // SaCommStep diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaEndtoEndFlow.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaEndtoEndFlow.java new file mode 100644 index 00000000000..f52f41a0f8e --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaEndtoEndFlow.java @@ -0,0 +1,172 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaTimedObs; + +import org.eclipse.uml2.uml.NamedElement; + +/** + * + * A representation of the model object 'Sa Endto End Flow'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Is Sched' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Sched' attribute. + * @see #setIsSched(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaEndtoEndFlow_IsSched() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Boolean" ordered="false" + * @generated + */ + String getIsSched(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaEndtoEndFlow#getIsSched Is Sched}' attribute. + * + * + * @param value the new value of the 'Is Sched' attribute. + * @see #getIsSched() + * @generated + */ + void setIsSched(String value); + + /** + * Returns the value of the 'Sch Slack' attribute. + * + *+ * If the meaning of the 'Sch Slack' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sch Slack' attribute. + * @see #setSchSlack(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaEndtoEndFlow_SchSlack() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getSchSlack(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaEndtoEndFlow#getSchSlack Sch Slack}' attribute. + * + * + * @param value the new value of the 'Sch Slack' attribute. + * @see #getSchSlack() + * @generated + */ + void setSchSlack(String value); + + /** + * Returns the value of the 'End2 End T' attribute list. + * The list contents are of type {@link java.lang.String}. + * + *+ * If the meaning of the 'End2 End T' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'End2 End T' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaEndtoEndFlow_End2EndT() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'End2 End D' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'End2 End D' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaEndtoEndFlow_End2EndD() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Timing' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Timing' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaEndtoEndFlow_Timing() + * @model + * @generated + */ + EList+ * If the meaning of the 'Base Named Element' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Named Element' reference. + * @see #setBase_NamedElement(NamedElement) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaEndtoEndFlow_Base_NamedElement() + * @model required="true" ordered="false" + * @generated + */ + NamedElement getBase_NamedElement(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaEndtoEndFlow#getBase_NamedElement Base Named Element}' reference. + * + * + * @param value the new value of the 'Base Named Element' reference. + * @see #getBase_NamedElement() + * @generated + */ + void setBase_NamedElement(NamedElement value); + +} // SaEndtoEndFlow diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaExecHost.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaExecHost.java new file mode 100644 index 00000000000..a63af8dc4d1 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaExecHost.java @@ -0,0 +1,169 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost; + +/** + * + * A representation of the model object 'Sa Exec Host'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Is Sched' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Sched' attribute. + * @see #setIsSched(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaExecHost_IsSched() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Boolean" ordered="false" + * @generated + */ + String getIsSched(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaExecHost#getIsSched Is Sched}' attribute. + * + * + * @param value the new value of the 'Is Sched' attribute. + * @see #getIsSched() + * @generated + */ + void setIsSched(String value); + + /** + * Returns the value of the 'Sch Slack' attribute. + * + *+ * If the meaning of the 'Sch Slack' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sch Slack' attribute. + * @see #setSchSlack(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaExecHost_SchSlack() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getSchSlack(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaExecHost#getSchSlack Sch Slack}' attribute. + * + * + * @param value the new value of the 'Sch Slack' attribute. + * @see #getSchSlack() + * @generated + */ + void setSchSlack(String value); + + /** + * Returns the value of the 'Sched Utiliz' attribute. + * + *+ * If the meaning of the 'Sched Utiliz' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sched Utiliz' attribute. + * @see #setSchedUtiliz(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaExecHost_SchedUtiliz() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getSchedUtiliz(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaExecHost#getSchedUtiliz Sched Utiliz}' attribute. + * + * + * @param value the new value of the 'Sched Utiliz' attribute. + * @see #getSchedUtiliz() + * @generated + */ + void setSchedUtiliz(String value); + + /** + * Returns the value of the 'IS Rswitch T' attribute. + * + *+ * If the meaning of the 'IS Rswitch T' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'IS Rswitch T' attribute. + * @see #setISRswitchT(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaExecHost_ISRswitchT() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getISRswitchT(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaExecHost#getISRswitchT IS Rswitch T}' attribute. + * + * + * @param value the new value of the 'IS Rswitch T' attribute. + * @see #getISRswitchT() + * @generated + */ + void setISRswitchT(String value); + + /** + * Returns the value of the 'IS Rprio Range' attribute. + * + *+ * If the meaning of the 'IS Rprio Range' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'IS Rprio Range' attribute. + * @see #setISRprioRange(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaExecHost_ISRprioRange() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.IntegerInterval" ordered="false" + * @generated + */ + String getISRprioRange(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaExecHost#getISRprioRange IS Rprio Range}' attribute. + * + * + * @param value the new value of the 'IS Rprio Range' attribute. + * @see #getISRprioRange() + * @generated + */ + void setISRprioRange(String value); + +} // SaExecHost diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaSchedObs.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaSchedObs.java new file mode 100644 index 00000000000..34087dcd916 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/SaSchedObs.java @@ -0,0 +1,87 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaTimedObs; + +/** + * + * A representation of the model object 'Sa Sched Obs'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Suspentions' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Suspentions' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaSchedObs_Suspentions() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Block T' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Block T' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaSchedObs_BlockT() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Overlaps' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Overlaps' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaSchedObs_Overlaps() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Capacity' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Capacity' attribute. + * @see #setCapacity(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaSharedResource_Capacity() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + String getCapacity(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSharedResource#getCapacity Capacity}' attribute. + * + * + * @param value the new value of the 'Capacity' attribute. + * @see #getCapacity() + * @generated + */ + void setCapacity(String value); + + /** + * Returns the value of the 'Is Preemp' attribute. + * + *+ * If the meaning of the 'Is Preemp' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Preemp' attribute. + * @see #setIsPreemp(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaSharedResource_IsPreemp() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Boolean" ordered="false" + * @generated + */ + String getIsPreemp(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSharedResource#getIsPreemp Is Preemp}' attribute. + * + * + * @param value the new value of the 'Is Preemp' attribute. + * @see #getIsPreemp() + * @generated + */ + void setIsPreemp(String value); + + /** + * Returns the value of the 'Is Consum' attribute. + * + *+ * If the meaning of the 'Is Consum' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Consum' attribute. + * @see #setIsConsum(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaSharedResource_IsConsum() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Boolean" ordered="false" + * @generated + */ + String getIsConsum(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSharedResource#getIsConsum Is Consum}' attribute. + * + * + * @param value the new value of the 'Is Consum' attribute. + * @see #getIsConsum() + * @generated + */ + void setIsConsum(String value); + + /** + * Returns the value of the 'Acquis T' attribute list. + * The list contents are of type {@link java.lang.String}. + * + *+ * If the meaning of the 'Acquis T' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Acquis T' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaSharedResource_AcquisT() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Release T' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Release T' attribute list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaSharedResource_ReleaseT() + * @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Base Behavioral Feature' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behavioral Feature' reference. + * @see #setBase_BehavioralFeature(BehavioralFeature) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_Base_BehavioralFeature() + * @model required="true" ordered="false" + * @generated + */ + BehavioralFeature getBase_BehavioralFeature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep#getBase_BehavioralFeature Base Behavioral Feature}' reference. + * + * + * @param value the new value of the 'Base Behavioral Feature' reference. + * @see #getBase_BehavioralFeature() + * @generated + */ + void setBase_BehavioralFeature(BehavioralFeature value); + + /** + * Returns the value of the 'Deadline' attribute. + * + *+ * If the meaning of the 'Deadline' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Deadline' attribute. + * @see #setDeadline(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_Deadline() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getDeadline(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep#getDeadline Deadline}' attribute. + * + * + * @param value the new value of the 'Deadline' attribute. + * @see #getDeadline() + * @generated + */ + void setDeadline(String value); + + /** + * Returns the value of the 'Spare Cap' attribute. + * + *+ * If the meaning of the 'Spare Cap' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Spare Cap' attribute. + * @see #setSpareCap(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_SpareCap() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getSpareCap(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep#getSpareCap Spare Cap}' attribute. + * + * + * @param value the new value of the 'Spare Cap' attribute. + * @see #getSpareCap() + * @generated + */ + void setSpareCap(String value); + + /** + * Returns the value of the 'Sch Slack' attribute. + * + *+ * If the meaning of the 'Sch Slack' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sch Slack' attribute. + * @see #setSchSlack(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_SchSlack() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false" + * @generated + */ + String getSchSlack(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep#getSchSlack Sch Slack}' attribute. + * + * + * @param value the new value of the 'Sch Slack' attribute. + * @see #getSchSlack() + * @generated + */ + void setSchSlack(String value); + + /** + * Returns the value of the 'Preempt T' attribute. + * + *+ * If the meaning of the 'Preempt T' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Preempt T' attribute. + * @see #setPreemptT(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_PreemptT() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getPreemptT(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep#getPreemptT Preempt T}' attribute. + * + * + * @param value the new value of the 'Preempt T' attribute. + * @see #getPreemptT() + * @generated + */ + void setPreemptT(String value); + + /** + * Returns the value of the 'Ready T' attribute. + * + *+ * If the meaning of the 'Ready T' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Ready T' attribute. + * @see #setReadyT(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_ReadyT() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getReadyT(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep#getReadyT Ready T}' attribute. + * + * + * @param value the new value of the 'Ready T' attribute. + * @see #getReadyT() + * @generated + */ + void setReadyT(String value); + + /** + * Returns the value of the 'Nonpreemption Blocking' attribute. + * + *+ * If the meaning of the 'Nonpreemption Blocking' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Nonpreemption Blocking' attribute. + * @see #setNonpreemptionBlocking(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_NonpreemptionBlocking() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getNonpreemptionBlocking(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep#getNonpreemptionBlocking Nonpreemption Blocking}' attribute. + * + * + * @param value the new value of the 'Nonpreemption Blocking' attribute. + * @see #getNonpreemptionBlocking() + * @generated + */ + void setNonpreemptionBlocking(String value); + + /** + * Returns the value of the 'Shared Res' reference list. + * The list contents are of type {@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSharedResource}. + * + *+ * If the meaning of the 'Shared Res' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Shared Res' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_SharedRes() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Self Suspension Blocking' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Self Suspension Blocking' attribute. + * @see #setSelfSuspensionBlocking(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_SelfSuspensionBlocking() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getSelfSuspensionBlocking(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep#getSelfSuspensionBlocking Self Suspension Blocking}' attribute. + * + * + * @param value the new value of the 'Self Suspension Blocking' attribute. + * @see #getSelfSuspensionBlocking() + * @generated + */ + void setSelfSuspensionBlocking(String value); + + /** + * Returns the value of the 'Number Self Suspensions' attribute. + * + *+ * If the meaning of the 'Number Self Suspensions' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Number Self Suspensions' attribute. + * @see #setNumberSelfSuspensions(String) + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#getSaStep_NumberSelfSuspensions() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + String getNumberSelfSuspensions(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep#getNumberSelfSuspensions Number Self Suspensions}' attribute. + * + * + * @param value the new value of the 'Number Self Suspensions' attribute. + * @see #getNumberSelfSuspensions() + * @generated + */ + void setNumberSelfSuspensions(String value); + +} // SaStep diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SAMFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SAMFactoryImpl.java new file mode 100644 index 00000000000..544772820f8 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SAMFactoryImpl.java @@ -0,0 +1,234 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.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.MARTE.MARTE_AnalysisModel.SAM.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class SAMFactoryImpl extends EFactoryImpl implements SAMFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static SAMFactory init() { + try { + SAMFactory theSAMFactory = (SAMFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/SAM/1"); + if (theSAMFactory != null) { + return theSAMFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new SAMFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public SAMFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case SAMPackage.SA_ANALYSIS_CONTEXT: return createSaAnalysisContext(); + case SAMPackage.SA_ENDTO_END_FLOW: return createSaEndtoEndFlow(); + case SAMPackage.SA_COMM_STEP: return createSaCommStep(); + case SAMPackage.SA_STEP: return createSaStep(); + case SAMPackage.SA_SHARED_RESOURCE: return createSaSharedResource(); + case SAMPackage.SA_SCHED_OBS: return createSaSchedObs(); + case SAMPackage.SA_COMM_HOST: return createSaCommHost(); + case SAMPackage.SA_EXEC_HOST: return createSaExecHost(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case SAMPackage.OPTIMALLITY_CRITERION_KIND: + return createOptimallityCriterionKindFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case SAMPackage.OPTIMALLITY_CRITERION_KIND: + return convertOptimallityCriterionKindToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public SaAnalysisContext createSaAnalysisContext() { + SaAnalysisContextImpl saAnalysisContext = new SaAnalysisContextImpl(); + return saAnalysisContext; + } + + /** + * + * + * @generated + */ + public SaEndtoEndFlow createSaEndtoEndFlow() { + SaEndtoEndFlowImpl saEndtoEndFlow = new SaEndtoEndFlowImpl(); + return saEndtoEndFlow; + } + + /** + * + * + * @generated + */ + public SaCommStep createSaCommStep() { + SaCommStepImpl saCommStep = new SaCommStepImpl(); + return saCommStep; + } + + /** + * + * + * @generated + */ + public SaStep createSaStep() { + SaStepImpl saStep = new SaStepImpl(); + return saStep; + } + + /** + * + * + * @generated + */ + public SaSharedResource createSaSharedResource() { + SaSharedResourceImpl saSharedResource = new SaSharedResourceImpl(); + return saSharedResource; + } + + /** + * + * + * @generated + */ + public SaSchedObs createSaSchedObs() { + SaSchedObsImpl saSchedObs = new SaSchedObsImpl(); + return saSchedObs; + } + + /** + * + * + * @generated + */ + public SaCommHost createSaCommHost() { + SaCommHostImpl saCommHost = new SaCommHostImpl(); + return saCommHost; + } + + /** + * + * + * @generated + */ + public SaExecHost createSaExecHost() { + SaExecHostImpl saExecHost = new SaExecHostImpl(); + return saExecHost; + } + + /** + * + * + * @generated + */ + public OptimallityCriterionKind createOptimallityCriterionKindFromString(EDataType eDataType, String initialValue) { + OptimallityCriterionKind result = OptimallityCriterionKind.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertOptimallityCriterionKindToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public SAMPackage getSAMPackage() { + return (SAMPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static SAMPackage getPackage() { + return SAMPackage.eINSTANCE; + } + +} //SAMFactoryImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SAMPackageImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SAMPackageImpl.java new file mode 100644 index 00000000000..760c83b9eeb --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SAMPackageImpl.java @@ -0,0 +1,1046 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.impl; + +import org.eclipse.emf.common.util.URI; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTEPackage; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.impl.GQAMPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.impl.PAMPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.OptimallityCriterionKind; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMFactory; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaAnalysisContext; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommHost; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommStep; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaEndtoEndFlow; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaExecHost; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSchedObs; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSharedResource; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.impl.RSMPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.impl.DataTypesPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.OperatorsPackage; +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.impl.OperatorsPackageImpl; +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariablesPackage; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.impl.VariablesPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.impl.GCMPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.impl.HLAMPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwGeneral.HwGeneralPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwGeneral.impl.HwGeneralPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwCommunication.HwCommunicationPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwCommunication.impl.HwCommunicationPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwComputing.HwComputingPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwComputing.impl.HwComputingPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwDevice.HwDevicePackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwDevice.impl.HwDevicePackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwStorage.HwMemory.HwMemoryPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwStorage.HwMemory.impl.HwMemoryPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwStorage.HwStorageManager.HwStorageManagerPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwStorage.HwStorageManager.impl.HwStorageManagerPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwTiming.HwTimingPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwTiming.impl.HwTimingPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwPhysical.HwLayout.HwLayoutPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwPhysical.HwLayout.impl.HwLayoutPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwPhysical.HwPower.HwPowerPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwPhysical.HwPower.impl.HwPowerPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.SRM.SW_Brokering.SW_BrokeringPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.SRM.SW_Brokering.impl.SW_BrokeringPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.SRM.SW_Concurrency.SW_ConcurrencyPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.SRM.SW_Concurrency.impl.SW_ConcurrencyPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.SRM.SW_Interaction.SW_InteractionPackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.SRM.SW_Interaction.impl.SW_InteractionPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.SRM.SW_ResourceCore.SW_ResourceCorePackage; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.SRM.SW_ResourceCore.impl.SW_ResourceCorePackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.AllocPackage; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.impl.AllocPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.CoreElementsPackage; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.impl.CoreElementsPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.GRMPackage; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.impl.GRMPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NFPsPackage; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.impl.NFPsPackageImpl; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.impl.TimePackageImpl; + +import org.eclipse.papyrus.MARTE.impl.MARTEPackageImpl; + +import org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.BasicNFP_TypesPackage; + +import org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.impl.BasicNFP_TypesPackageImpl; + +import org.eclipse.papyrus.MARTE_Library.GRM_BasicTypes.GRM_BasicTypesPackage; + +import org.eclipse.papyrus.MARTE_Library.GRM_BasicTypes.impl.GRM_BasicTypesPackageImpl; + +import org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.MARTE_DataTypesPackage; + +import org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.impl.MARTE_DataTypesPackageImpl; + +import org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.MARTE_PrimitivesTypesPackage; + +import org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.impl.MARTE_PrimitivesTypesPackageImpl; + +import org.eclipse.papyrus.MARTE_Library.MeasurementUnits.MeasurementUnitsPackage; + +import org.eclipse.papyrus.MARTE_Library.MeasurementUnits.impl.MeasurementUnitsPackageImpl; + +import org.eclipse.papyrus.MARTE_Library.RS_Library.RS_LibraryPackage; + +import org.eclipse.papyrus.MARTE_Library.RS_Library.impl.RS_LibraryPackageImpl; + +import org.eclipse.papyrus.MARTE_Library.TimeLibrary.TimeLibraryPackage; + +import org.eclipse.papyrus.MARTE_Library.TimeLibrary.impl.TimeLibraryPackageImpl; + +import org.eclipse.papyrus.MARTE_Library.TimeTypesLibrary.TimeTypesLibraryPackage; + +import org.eclipse.papyrus.MARTE_Library.TimeTypesLibrary.impl.TimeTypesLibraryPackageImpl; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class SAMPackageImpl extends EPackageImpl implements SAMPackage { + /** + * + * + * @generated + */ + private EClass saAnalysisContextEClass = null; + + /** + * + * + * @generated + */ + private EClass saEndtoEndFlowEClass = null; + + /** + * + * + * @generated + */ + private EClass saCommStepEClass = null; + + /** + * + * + * @generated + */ + private EClass saStepEClass = null; + + /** + * + * + * @generated + */ + private EClass saSharedResourceEClass = null; + + /** + * + * + * @generated + */ + private EClass saSchedObsEClass = null; + + /** + * + * + * @generated + */ + private EClass saCommHostEClass = null; + + /** + * + * + * @generated + */ + private EClass saExecHostEClass = null; + + /** + * + * + * @generated + */ + private EEnum optimallityCriterionKindEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage#eNS_URI + * @see #init() + * @generated + */ + private SAMPackageImpl() { + super(eNS_URI, SAMFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link SAMPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static SAMPackage init() { + if (isInited) return (SAMPackage)EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI); + + // Obtain or create and register package + SAMPackageImpl theSAMPackage = (SAMPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SAMPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SAMPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + MARTEPackageImpl theMARTEPackage = (MARTEPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) instanceof MARTEPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) : MARTEPackage.eINSTANCE); + NFPsPackageImpl theNFPsPackage = (NFPsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) instanceof NFPsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) : NFPsPackage.eINSTANCE); + CoreElementsPackageImpl theCoreElementsPackage = (CoreElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) instanceof CoreElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) : CoreElementsPackage.eINSTANCE); + AllocPackageImpl theAllocPackage = (AllocPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) instanceof AllocPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) : AllocPackage.eINSTANCE); + TimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE); + GRMPackageImpl theGRMPackage = (GRMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) instanceof GRMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) : GRMPackage.eINSTANCE); + RSMPackageImpl theRSMPackage = (RSMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) instanceof RSMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) : RSMPackage.eINSTANCE); + VariablesPackageImpl theVariablesPackage = (VariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) instanceof VariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) : VariablesPackage.eINSTANCE); + OperatorsPackageImpl theOperatorsPackage = (OperatorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) instanceof OperatorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) : OperatorsPackage.eINSTANCE); + DataTypesPackageImpl theDataTypesPackage = (DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) instanceof DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) : DataTypesPackage.eINSTANCE); + HLAMPackageImpl theHLAMPackage = (HLAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) instanceof HLAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) : HLAMPackage.eINSTANCE); + HwComputingPackageImpl theHwComputingPackage = (HwComputingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) instanceof HwComputingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) : HwComputingPackage.eINSTANCE); + HwCommunicationPackageImpl theHwCommunicationPackage = (HwCommunicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) instanceof HwCommunicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) : HwCommunicationPackage.eINSTANCE); + HwStorageManagerPackageImpl theHwStorageManagerPackage = (HwStorageManagerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) instanceof HwStorageManagerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) : HwStorageManagerPackage.eINSTANCE); + HwMemoryPackageImpl theHwMemoryPackage = (HwMemoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) instanceof HwMemoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) : HwMemoryPackage.eINSTANCE); + HwTimingPackageImpl theHwTimingPackage = (HwTimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) instanceof HwTimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) : HwTimingPackage.eINSTANCE); + HwDevicePackageImpl theHwDevicePackage = (HwDevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) instanceof HwDevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) : HwDevicePackage.eINSTANCE); + HwGeneralPackageImpl theHwGeneralPackage = (HwGeneralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) instanceof HwGeneralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) : HwGeneralPackage.eINSTANCE); + HwLayoutPackageImpl theHwLayoutPackage = (HwLayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) instanceof HwLayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) : HwLayoutPackage.eINSTANCE); + HwPowerPackageImpl theHwPowerPackage = (HwPowerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) instanceof HwPowerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) : HwPowerPackage.eINSTANCE); + SW_ResourceCorePackageImpl theSW_ResourceCorePackage = (SW_ResourceCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) instanceof SW_ResourceCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) : SW_ResourceCorePackage.eINSTANCE); + SW_ConcurrencyPackageImpl theSW_ConcurrencyPackage = (SW_ConcurrencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) instanceof SW_ConcurrencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) : SW_ConcurrencyPackage.eINSTANCE); + SW_BrokeringPackageImpl theSW_BrokeringPackage = (SW_BrokeringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) instanceof SW_BrokeringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) : SW_BrokeringPackage.eINSTANCE); + SW_InteractionPackageImpl theSW_InteractionPackage = (SW_InteractionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) instanceof SW_InteractionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) : SW_InteractionPackage.eINSTANCE); + GCMPackageImpl theGCMPackage = (GCMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) instanceof GCMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) : GCMPackage.eINSTANCE); + GQAMPackageImpl theGQAMPackage = (GQAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) instanceof GQAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) : GQAMPackage.eINSTANCE); + PAMPackageImpl thePAMPackage = (PAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) instanceof PAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) : PAMPackage.eINSTANCE); + MeasurementUnitsPackageImpl theMeasurementUnitsPackage = (MeasurementUnitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) instanceof MeasurementUnitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) : MeasurementUnitsPackage.eINSTANCE); + GRM_BasicTypesPackageImpl theGRM_BasicTypesPackage = (GRM_BasicTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) instanceof GRM_BasicTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) : GRM_BasicTypesPackage.eINSTANCE); + MARTE_DataTypesPackageImpl theMARTE_DataTypesPackage = (MARTE_DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) instanceof MARTE_DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) : MARTE_DataTypesPackage.eINSTANCE); + BasicNFP_TypesPackageImpl theBasicNFP_TypesPackage = (BasicNFP_TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) instanceof BasicNFP_TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) : BasicNFP_TypesPackage.eINSTANCE); + TimeTypesLibraryPackageImpl theTimeTypesLibraryPackage = (TimeTypesLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) instanceof TimeTypesLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) : TimeTypesLibraryPackage.eINSTANCE); + TimeLibraryPackageImpl theTimeLibraryPackage = (TimeLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) instanceof TimeLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) : TimeLibraryPackage.eINSTANCE); + RS_LibraryPackageImpl theRS_LibraryPackage = (RS_LibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) instanceof RS_LibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) : RS_LibraryPackage.eINSTANCE); + MARTE_PrimitivesTypesPackageImpl theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) instanceof MARTE_PrimitivesTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) : MARTE_PrimitivesTypesPackage.eINSTANCE); + + // Create package meta-data objects + theSAMPackage.createPackageContents(); + theMARTEPackage.createPackageContents(); + theNFPsPackage.createPackageContents(); + theCoreElementsPackage.createPackageContents(); + theAllocPackage.createPackageContents(); + theTimePackage.createPackageContents(); + theGRMPackage.createPackageContents(); + theRSMPackage.createPackageContents(); + theVariablesPackage.createPackageContents(); + theOperatorsPackage.createPackageContents(); + theDataTypesPackage.createPackageContents(); + theHLAMPackage.createPackageContents(); + theHwComputingPackage.createPackageContents(); + theHwCommunicationPackage.createPackageContents(); + theHwStorageManagerPackage.createPackageContents(); + theHwMemoryPackage.createPackageContents(); + theHwTimingPackage.createPackageContents(); + theHwDevicePackage.createPackageContents(); + theHwGeneralPackage.createPackageContents(); + theHwLayoutPackage.createPackageContents(); + theHwPowerPackage.createPackageContents(); + theSW_ResourceCorePackage.createPackageContents(); + theSW_ConcurrencyPackage.createPackageContents(); + theSW_BrokeringPackage.createPackageContents(); + theSW_InteractionPackage.createPackageContents(); + theGCMPackage.createPackageContents(); + theGQAMPackage.createPackageContents(); + thePAMPackage.createPackageContents(); + theMeasurementUnitsPackage.createPackageContents(); + theGRM_BasicTypesPackage.createPackageContents(); + theMARTE_DataTypesPackage.createPackageContents(); + theBasicNFP_TypesPackage.createPackageContents(); + theTimeTypesLibraryPackage.createPackageContents(); + theTimeLibraryPackage.createPackageContents(); + theRS_LibraryPackage.createPackageContents(); + theMARTE_PrimitivesTypesPackage.createPackageContents(); + + // Initialize created meta-data + theSAMPackage.initializePackageContents(); + theMARTEPackage.initializePackageContents(); + theNFPsPackage.initializePackageContents(); + theCoreElementsPackage.initializePackageContents(); + theAllocPackage.initializePackageContents(); + theTimePackage.initializePackageContents(); + theGRMPackage.initializePackageContents(); + theRSMPackage.initializePackageContents(); + theVariablesPackage.initializePackageContents(); + theOperatorsPackage.initializePackageContents(); + theDataTypesPackage.initializePackageContents(); + theHLAMPackage.initializePackageContents(); + theHwComputingPackage.initializePackageContents(); + theHwCommunicationPackage.initializePackageContents(); + theHwStorageManagerPackage.initializePackageContents(); + theHwMemoryPackage.initializePackageContents(); + theHwTimingPackage.initializePackageContents(); + theHwDevicePackage.initializePackageContents(); + theHwGeneralPackage.initializePackageContents(); + theHwLayoutPackage.initializePackageContents(); + theHwPowerPackage.initializePackageContents(); + theSW_ResourceCorePackage.initializePackageContents(); + theSW_ConcurrencyPackage.initializePackageContents(); + theSW_BrokeringPackage.initializePackageContents(); + theSW_InteractionPackage.initializePackageContents(); + theGCMPackage.initializePackageContents(); + theGQAMPackage.initializePackageContents(); + thePAMPackage.initializePackageContents(); + theMeasurementUnitsPackage.initializePackageContents(); + theGRM_BasicTypesPackage.initializePackageContents(); + theMARTE_DataTypesPackage.initializePackageContents(); + theBasicNFP_TypesPackage.initializePackageContents(); + theTimeTypesLibraryPackage.initializePackageContents(); + theTimeLibraryPackage.initializePackageContents(); + theRS_LibraryPackage.initializePackageContents(); + theMARTE_PrimitivesTypesPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theSAMPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(SAMPackage.eNS_URI, theSAMPackage); + return theSAMPackage; + } + + /** + * + * + * @generated + */ + public EClass getSaAnalysisContext() { + return saAnalysisContextEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSaAnalysisContext_IsSched() { + return (EAttribute)saAnalysisContextEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSaAnalysisContext_OptCriterion() { + return (EAttribute)saAnalysisContextEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getSaEndtoEndFlow() { + return saEndtoEndFlowEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSaEndtoEndFlow_IsSched() { + return (EAttribute)saEndtoEndFlowEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSaEndtoEndFlow_SchSlack() { + return (EAttribute)saEndtoEndFlowEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSaEndtoEndFlow_End2EndT() { + return (EAttribute)saEndtoEndFlowEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getSaEndtoEndFlow_End2EndD() { + return (EAttribute)saEndtoEndFlowEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getSaEndtoEndFlow_Timing() { + return (EReference)saEndtoEndFlowEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getSaEndtoEndFlow_Base_NamedElement() { + return (EReference)saEndtoEndFlowEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getSaCommStep() { + return saCommStepEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSaCommStep_Deadline() { + return (EAttribute)saCommStepEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSaCommStep_SpareCap() { + return (EAttribute)saCommStepEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSaCommStep_SchSlack() { + return (EAttribute)saCommStepEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getSaCommStep_Base_BehavioralFeature() { + return (EReference)saCommStepEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getSaStep() { + return saStepEClass; + } + + /** + * + * + * @generated + */ + public EReference getSaStep_Base_BehavioralFeature() { + return (EReference)saStepEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSaStep_Deadline() { + return (EAttribute)saStepEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSaStep_SpareCap() { + return (EAttribute)saStepEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getSaStep_SchSlack() { + return (EAttribute)saStepEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getSaStep_PreemptT() { + return (EAttribute)saStepEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getSaStep_ReadyT() { + return (EAttribute)saStepEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EAttribute getSaStep_NonpreemptionBlocking() { + return (EAttribute)saStepEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EReference getSaStep_SharedRes() { + return (EReference)saStepEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + public EAttribute getSaStep_SelfSuspensionBlocking() { + return (EAttribute)saStepEClass.getEStructuralFeatures().get(8); + } + + /** + * + * + * @generated + */ + public EAttribute getSaStep_NumberSelfSuspensions() { + return (EAttribute)saStepEClass.getEStructuralFeatures().get(9); + } + + /** + * + * + * @generated + */ + public EClass getSaSharedResource() { + return saSharedResourceEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSaSharedResource_Capacity() { + return (EAttribute)saSharedResourceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSaSharedResource_IsPreemp() { + return (EAttribute)saSharedResourceEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSaSharedResource_IsConsum() { + return (EAttribute)saSharedResourceEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getSaSharedResource_AcquisT() { + return (EAttribute)saSharedResourceEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getSaSharedResource_ReleaseT() { + return (EAttribute)saSharedResourceEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EClass getSaSchedObs() { + return saSchedObsEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSaSchedObs_Suspentions() { + return (EAttribute)saSchedObsEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSaSchedObs_BlockT() { + return (EAttribute)saSchedObsEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSaSchedObs_Overlaps() { + return (EAttribute)saSchedObsEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getSaCommHost() { + return saCommHostEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSaCommHost_IsSched() { + return (EAttribute)saCommHostEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSaCommHost_SchSlack() { + return (EAttribute)saCommHostEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getSaExecHost() { + return saExecHostEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSaExecHost_IsSched() { + return (EAttribute)saExecHostEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSaExecHost_SchSlack() { + return (EAttribute)saExecHostEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSaExecHost_SchedUtiliz() { + return (EAttribute)saExecHostEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getSaExecHost_ISRswitchT() { + return (EAttribute)saExecHostEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getSaExecHost_ISRprioRange() { + return (EAttribute)saExecHostEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EEnum getOptimallityCriterionKind() { + return optimallityCriterionKindEEnum; + } + + /** + * + * + * @generated + */ + public SAMFactory getSAMFactory() { + return (SAMFactory)getEFactoryInstance(); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + saAnalysisContextEClass = createEClass(SA_ANALYSIS_CONTEXT); + createEAttribute(saAnalysisContextEClass, SA_ANALYSIS_CONTEXT__IS_SCHED); + createEAttribute(saAnalysisContextEClass, SA_ANALYSIS_CONTEXT__OPT_CRITERION); + + saEndtoEndFlowEClass = createEClass(SA_ENDTO_END_FLOW); + createEAttribute(saEndtoEndFlowEClass, SA_ENDTO_END_FLOW__IS_SCHED); + createEAttribute(saEndtoEndFlowEClass, SA_ENDTO_END_FLOW__SCH_SLACK); + createEAttribute(saEndtoEndFlowEClass, SA_ENDTO_END_FLOW__END2_END_T); + createEAttribute(saEndtoEndFlowEClass, SA_ENDTO_END_FLOW__END2_END_D); + createEReference(saEndtoEndFlowEClass, SA_ENDTO_END_FLOW__TIMING); + createEReference(saEndtoEndFlowEClass, SA_ENDTO_END_FLOW__BASE_NAMED_ELEMENT); + + saCommStepEClass = createEClass(SA_COMM_STEP); + createEAttribute(saCommStepEClass, SA_COMM_STEP__DEADLINE); + createEAttribute(saCommStepEClass, SA_COMM_STEP__SPARE_CAP); + createEAttribute(saCommStepEClass, SA_COMM_STEP__SCH_SLACK); + createEReference(saCommStepEClass, SA_COMM_STEP__BASE_BEHAVIORAL_FEATURE); + + saStepEClass = createEClass(SA_STEP); + createEReference(saStepEClass, SA_STEP__BASE_BEHAVIORAL_FEATURE); + createEAttribute(saStepEClass, SA_STEP__DEADLINE); + createEAttribute(saStepEClass, SA_STEP__SPARE_CAP); + createEAttribute(saStepEClass, SA_STEP__SCH_SLACK); + createEAttribute(saStepEClass, SA_STEP__PREEMPT_T); + createEAttribute(saStepEClass, SA_STEP__READY_T); + createEAttribute(saStepEClass, SA_STEP__NONPREEMPTION_BLOCKING); + createEReference(saStepEClass, SA_STEP__SHARED_RES); + createEAttribute(saStepEClass, SA_STEP__SELF_SUSPENSION_BLOCKING); + createEAttribute(saStepEClass, SA_STEP__NUMBER_SELF_SUSPENSIONS); + + saSharedResourceEClass = createEClass(SA_SHARED_RESOURCE); + createEAttribute(saSharedResourceEClass, SA_SHARED_RESOURCE__CAPACITY); + createEAttribute(saSharedResourceEClass, SA_SHARED_RESOURCE__IS_PREEMP); + createEAttribute(saSharedResourceEClass, SA_SHARED_RESOURCE__IS_CONSUM); + createEAttribute(saSharedResourceEClass, SA_SHARED_RESOURCE__ACQUIS_T); + createEAttribute(saSharedResourceEClass, SA_SHARED_RESOURCE__RELEASE_T); + + saSchedObsEClass = createEClass(SA_SCHED_OBS); + createEAttribute(saSchedObsEClass, SA_SCHED_OBS__SUSPENTIONS); + createEAttribute(saSchedObsEClass, SA_SCHED_OBS__BLOCK_T); + createEAttribute(saSchedObsEClass, SA_SCHED_OBS__OVERLAPS); + + saCommHostEClass = createEClass(SA_COMM_HOST); + createEAttribute(saCommHostEClass, SA_COMM_HOST__IS_SCHED); + createEAttribute(saCommHostEClass, SA_COMM_HOST__SCH_SLACK); + + saExecHostEClass = createEClass(SA_EXEC_HOST); + createEAttribute(saExecHostEClass, SA_EXEC_HOST__IS_SCHED); + createEAttribute(saExecHostEClass, SA_EXEC_HOST__SCH_SLACK); + createEAttribute(saExecHostEClass, SA_EXEC_HOST__SCHED_UTILIZ); + createEAttribute(saExecHostEClass, SA_EXEC_HOST__IS_RSWITCH_T); + createEAttribute(saExecHostEClass, SA_EXEC_HOST__IS_RPRIO_RANGE); + + // Create enums + optimallityCriterionKindEEnum = createEEnum(OPTIMALLITY_CRITERION_KIND); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + GQAMPackage theGQAMPackage = (GQAMPackage)EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI); + BasicNFP_TypesPackage theBasicNFP_TypesPackage = (BasicNFP_TypesPackage)EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI); + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + GRMPackage theGRMPackage = (GRMPackage)EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI); + MARTE_DataTypesPackage theMARTE_DataTypesPackage = (MARTE_DataTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + saAnalysisContextEClass.getESuperTypes().add(theGQAMPackage.getGaAnalysisContext()); + saCommStepEClass.getESuperTypes().add(theGQAMPackage.getGaCommStep()); + saStepEClass.getESuperTypes().add(theGQAMPackage.getGaStep()); + saSharedResourceEClass.getESuperTypes().add(theGRMPackage.getMutualExclusionResource()); + saSchedObsEClass.getESuperTypes().add(theGQAMPackage.getGaTimedObs()); + saCommHostEClass.getESuperTypes().add(theGQAMPackage.getGaCommHost()); + saExecHostEClass.getESuperTypes().add(theGQAMPackage.getGaExecHost()); + + // Initialize classes and features; add operations and parameters + initEClass(saAnalysisContextEClass, SaAnalysisContext.class, "SaAnalysisContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSaAnalysisContext_IsSched(), theBasicNFP_TypesPackage.getNFP_Boolean(), "isSched", null, 0, 1, SaAnalysisContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaAnalysisContext_OptCriterion(), this.getOptimallityCriterionKind(), "optCriterion", null, 0, 1, SaAnalysisContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(saEndtoEndFlowEClass, SaEndtoEndFlow.class, "SaEndtoEndFlow", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSaEndtoEndFlow_IsSched(), theBasicNFP_TypesPackage.getNFP_Boolean(), "isSched", null, 0, 1, SaEndtoEndFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaEndtoEndFlow_SchSlack(), theBasicNFP_TypesPackage.getNFP_Real(), "schSlack", null, 0, 1, SaEndtoEndFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaEndtoEndFlow_End2EndT(), theBasicNFP_TypesPackage.getNFP_Duration(), "end2EndT", null, 0, -1, SaEndtoEndFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaEndtoEndFlow_End2EndD(), theBasicNFP_TypesPackage.getNFP_Duration(), "end2EndD", null, 0, -1, SaEndtoEndFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getSaEndtoEndFlow_Timing(), theGQAMPackage.getGaTimedObs(), null, "timing", null, 0, -1, SaEndtoEndFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSaEndtoEndFlow_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, SaEndtoEndFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(saCommStepEClass, SaCommStep.class, "SaCommStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSaCommStep_Deadline(), theBasicNFP_TypesPackage.getNFP_Duration(), "deadline", null, 0, 1, SaCommStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaCommStep_SpareCap(), theBasicNFP_TypesPackage.getNFP_Duration(), "spareCap", null, 0, 1, SaCommStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaCommStep_SchSlack(), theBasicNFP_TypesPackage.getNFP_Real(), "schSlack", null, 0, 1, SaCommStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getSaCommStep_Base_BehavioralFeature(), theUMLPackage.getBehavioralFeature(), null, "base_BehavioralFeature", null, 1, 1, SaCommStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(saStepEClass, SaStep.class, "SaStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSaStep_Base_BehavioralFeature(), theUMLPackage.getBehavioralFeature(), null, "base_BehavioralFeature", null, 1, 1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaStep_Deadline(), theBasicNFP_TypesPackage.getNFP_Duration(), "deadline", null, 0, 1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaStep_SpareCap(), theBasicNFP_TypesPackage.getNFP_Duration(), "spareCap", null, 0, 1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaStep_SchSlack(), theBasicNFP_TypesPackage.getNFP_Real(), "schSlack", null, 0, 1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaStep_PreemptT(), theBasicNFP_TypesPackage.getNFP_Duration(), "preemptT", null, 0, 1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaStep_ReadyT(), theBasicNFP_TypesPackage.getNFP_Duration(), "readyT", null, 0, 1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaStep_NonpreemptionBlocking(), theBasicNFP_TypesPackage.getNFP_Duration(), "nonpreemptionBlocking", null, 0, 1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getSaStep_SharedRes(), this.getSaSharedResource(), null, "sharedRes", null, 0, -1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaStep_SelfSuspensionBlocking(), theBasicNFP_TypesPackage.getNFP_Duration(), "selfSuspensionBlocking", null, 0, 1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaStep_NumberSelfSuspensions(), theBasicNFP_TypesPackage.getNFP_Integer(), "numberSelfSuspensions", null, 0, 1, SaStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(saSharedResourceEClass, SaSharedResource.class, "SaSharedResource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSaSharedResource_Capacity(), theBasicNFP_TypesPackage.getNFP_Integer(), "capacity", null, 0, 1, SaSharedResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaSharedResource_IsPreemp(), theBasicNFP_TypesPackage.getNFP_Boolean(), "isPreemp", null, 0, 1, SaSharedResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaSharedResource_IsConsum(), theBasicNFP_TypesPackage.getNFP_Boolean(), "isConsum", null, 0, 1, SaSharedResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaSharedResource_AcquisT(), theBasicNFP_TypesPackage.getNFP_Duration(), "acquisT", null, 0, -1, SaSharedResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaSharedResource_ReleaseT(), theBasicNFP_TypesPackage.getNFP_Duration(), "releaseT", null, 0, -1, SaSharedResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(saSchedObsEClass, SaSchedObs.class, "SaSchedObs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSaSchedObs_Suspentions(), theBasicNFP_TypesPackage.getNFP_Integer(), "suspentions", null, 0, -1, SaSchedObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaSchedObs_BlockT(), theBasicNFP_TypesPackage.getNFP_Duration(), "blockT", null, 0, -1, SaSchedObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaSchedObs_Overlaps(), theBasicNFP_TypesPackage.getNFP_Integer(), "overlaps", null, 0, -1, SaSchedObs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(saCommHostEClass, SaCommHost.class, "SaCommHost", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSaCommHost_IsSched(), theBasicNFP_TypesPackage.getNFP_Boolean(), "isSched", null, 0, 1, SaCommHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaCommHost_SchSlack(), theBasicNFP_TypesPackage.getNFP_Real(), "schSlack", null, 0, 1, SaCommHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(saExecHostEClass, SaExecHost.class, "SaExecHost", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSaExecHost_IsSched(), theBasicNFP_TypesPackage.getNFP_Boolean(), "isSched", null, 0, 1, SaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaExecHost_SchSlack(), theBasicNFP_TypesPackage.getNFP_Real(), "schSlack", null, 0, 1, SaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaExecHost_SchedUtiliz(), theBasicNFP_TypesPackage.getNFP_Real(), "schedUtiliz", null, 0, 1, SaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaExecHost_ISRswitchT(), theBasicNFP_TypesPackage.getNFP_Duration(), "ISRswitchT", null, 0, 1, SaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSaExecHost_ISRprioRange(), theMARTE_DataTypesPackage.getIntegerInterval(), "ISRprioRange", null, 0, 1, SaExecHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(optimallityCriterionKindEEnum, OptimallityCriterionKind.class, "OptimallityCriterionKind"); + addEEnumLiteral(optimallityCriterionKindEEnum, OptimallityCriterionKind.MEET_HARD_DEADLINES); + addEEnumLiteral(optimallityCriterionKindEEnum, OptimallityCriterionKind.MINIMIZE_MISSED_DEADLINES); + addEEnumLiteral(optimallityCriterionKindEEnum, OptimallityCriterionKind.MINIMIZED_MEAN_TARDINESS); + addEEnumLiteral(optimallityCriterionKindEEnum, OptimallityCriterionKind.UNDEF); + addEEnumLiteral(optimallityCriterionKindEEnum, OptimallityCriterionKind.OTHER); + + // Create annotations + // redefines + createRedefinesAnnotations(); + } + + /** + * Initializes the annotations for redefines. + * + * + * @generated + */ + protected void createRedefinesAnnotations() { + String source = "redefines"; + addAnnotation + (getSaStep_SharedRes(), + source, + new String[] { + }, + new URI[] { + URI.createURI(MARTEPackage.eNS_URI).appendFragment("//MARTE_Foundations/GRM/ResourceUsage/usedResources") + }); + } + +} //SAMPackageImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaAnalysisContextImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaAnalysisContextImpl.java new file mode 100644 index 00000000000..4be5d9397e0 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/impl/SaAnalysisContextImpl.java @@ -0,0 +1,230 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.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.MARTE.MARTE_AnalysisModel.GQAM.impl.GaAnalysisContextImpl; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.OptimallityCriterionKind; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage; +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaAnalysisContext; + +/** + * + * An implementation of the model object 'Sa Analysis Context'. + * + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
createXXX
method for each class of the model.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage
+ * @generated
+ */
+public class SAMAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static SAMPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public SAMAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = SAMPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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 createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected SAMSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @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.MARTE.MARTE_AnalysisModel.SAM.SaAnalysisContext Sa Analysis Context}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaAnalysisContext
+ * @generated
+ */
+ public Adapter createSaAnalysisContextAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaEndtoEndFlow Sa Endto End Flow}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaEndtoEndFlow
+ * @generated
+ */
+ public Adapter createSaEndtoEndFlowAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommStep Sa Comm Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommStep
+ * @generated
+ */
+ public Adapter createSaCommStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep Sa Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaStep
+ * @generated
+ */
+ public Adapter createSaStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSharedResource Sa Shared Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSharedResource
+ * @generated
+ */
+ public Adapter createSaSharedResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSchedObs Sa Sched Obs}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaSchedObs
+ * @generated
+ */
+ public Adapter createSaSchedObsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommHost Sa Comm Host}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaCommHost
+ * @generated
+ */
+ public Adapter createSaCommHostAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaExecHost Sa Exec Host}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaExecHost
+ * @generated
+ */
+ public Adapter createSaExecHostAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.Configuration Configuration}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.Configuration
+ * @generated
+ */
+ public Adapter createConfigurationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext Expression Context}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext
+ * @generated
+ */
+ public Adapter createExpressionContextAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAnalysisContext Ga Analysis Context}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAnalysisContext
+ * @generated
+ */
+ public Adapter createGaAnalysisContextAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage Resource Usage}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage
+ * @generated
+ */
+ public Adapter createResourceUsageAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedElement Timed Element}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedElement
+ * @generated
+ */
+ public Adapter createTimedElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing Timed Processing}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing
+ * @generated
+ */
+ public Adapter createTimedProcessingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario Ga Scenario}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario
+ * @generated
+ */
+ public Adapter createGaScenarioAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep Ga Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep
+ * @generated
+ */
+ public Adapter createGaStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommStep Ga Comm Step}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommStep
+ * @generated
+ */
+ public Adapter createGaCommStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource
+ * @generated
+ */
+ public Adapter createResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.MutualExclusionResource Mutual Exclusion Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.MutualExclusionResource
+ * @generated
+ */
+ public Adapter createMutualExclusionResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint Nfp Constraint}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint
+ * @generated
+ */
+ public Adapter createNfpConstraintAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaTimedObs Ga Timed Obs}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaTimedObs
+ * @generated
+ */
+ public Adapter createGaTimedObsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ProcessingResource Processing Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ProcessingResource
+ * @generated
+ */
+ public Adapter createProcessingResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.CommunicationMedia Communication Media}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.CommunicationMedia
+ * @generated
+ */
+ public Adapter createCommunicationMediaAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Scheduler Scheduler}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Scheduler
+ * @generated
+ */
+ public Adapter createSchedulerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommHost Ga Comm Host}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommHost
+ * @generated
+ */
+ public Adapter createGaCommHostAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ComputingResource Computing Resource}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ComputingResource
+ * @generated
+ */
+ public Adapter createComputingResourceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost Ga Exec Host}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost
+ * @generated
+ */
+ public Adapter createGaExecHostAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //SAMAdapterFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMResourceFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMResourceFactoryImpl.java
new file mode 100644
index 00000000000..c9f1ae58352
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMResourceFactoryImpl.java
@@ -0,0 +1,63 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ *
+ * The Resource Factory associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.util.SAMResourceImpl
+ * @generated
+ */
+public class SAMResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ *
+ *
+ * @generated
+ */
+ public SAMResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new SAMResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //SAMResourceFactoryImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMResourceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMResourceImpl.java
new file mode 100644
index 00000000000..4eb6fc9ab9c
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMResourceImpl.java
@@ -0,0 +1,39 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ *
+ * The Resource associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.util.SAMResourceFactoryImpl
+ * @generated
+ */
+public class SAMResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public SAMResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //SAMResourceImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMSwitch.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMSwitch.java
new file mode 100644
index 00000000000..7f7d2a82b34
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMSwitch.java
@@ -0,0 +1,622 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaAnalysisContext;
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommHost;
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaCommStep;
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost;
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaScenario;
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaStep;
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaTimedObs;
+
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.*;
+
+import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.Configuration;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.CommunicationMedia;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ComputingResource;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.MutualExclusionResource;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ProcessingResource;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ResourceUsage;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Scheduler;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedElement;
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedProcessing;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
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.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage
+ * @generated
+ */
+public class SAMSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ ListcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case SAMPackage.SA_ANALYSIS_CONTEXT: {
+ SaAnalysisContext saAnalysisContext = (SaAnalysisContext)theEObject;
+ T result = caseSaAnalysisContext(saAnalysisContext);
+ if (result == null) result = caseGaAnalysisContext(saAnalysisContext);
+ if (result == null) result = caseConfiguration(saAnalysisContext);
+ if (result == null) result = caseExpressionContext(saAnalysisContext);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SAMPackage.SA_ENDTO_END_FLOW: {
+ SaEndtoEndFlow saEndtoEndFlow = (SaEndtoEndFlow)theEObject;
+ T result = caseSaEndtoEndFlow(saEndtoEndFlow);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SAMPackage.SA_COMM_STEP: {
+ SaCommStep saCommStep = (SaCommStep)theEObject;
+ T result = caseSaCommStep(saCommStep);
+ if (result == null) result = caseGaCommStep(saCommStep);
+ if (result == null) result = caseGaStep(saCommStep);
+ if (result == null) result = caseGaScenario(saCommStep);
+ if (result == null) result = caseResourceUsage(saCommStep);
+ if (result == null) result = caseTimedProcessing(saCommStep);
+ if (result == null) result = caseTimedElement(saCommStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SAMPackage.SA_STEP: {
+ SaStep saStep = (SaStep)theEObject;
+ T result = caseSaStep(saStep);
+ if (result == null) result = caseGaStep(saStep);
+ if (result == null) result = caseGaScenario(saStep);
+ if (result == null) result = caseResourceUsage(saStep);
+ if (result == null) result = caseTimedProcessing(saStep);
+ if (result == null) result = caseTimedElement(saStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SAMPackage.SA_SHARED_RESOURCE: {
+ SaSharedResource saSharedResource = (SaSharedResource)theEObject;
+ T result = caseSaSharedResource(saSharedResource);
+ if (result == null) result = caseMutualExclusionResource(saSharedResource);
+ if (result == null) result = caseResource(saSharedResource);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SAMPackage.SA_SCHED_OBS: {
+ SaSchedObs saSchedObs = (SaSchedObs)theEObject;
+ T result = caseSaSchedObs(saSchedObs);
+ if (result == null) result = caseGaTimedObs(saSchedObs);
+ if (result == null) result = caseNfpConstraint(saSchedObs);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SAMPackage.SA_COMM_HOST: {
+ SaCommHost saCommHost = (SaCommHost)theEObject;
+ T result = caseSaCommHost(saCommHost);
+ if (result == null) result = caseGaCommHost(saCommHost);
+ if (result == null) result = caseCommunicationMedia(saCommHost);
+ if (result == null) result = caseScheduler(saCommHost);
+ if (result == null) result = caseProcessingResource(saCommHost);
+ if (result == null) result = caseResource(saCommHost);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SAMPackage.SA_EXEC_HOST: {
+ SaExecHost saExecHost = (SaExecHost)theEObject;
+ T result = caseSaExecHost(saExecHost);
+ if (result == null) result = caseGaExecHost(saExecHost);
+ if (result == null) result = caseScheduler(saExecHost);
+ if (result == null) result = caseComputingResource(saExecHost);
+ if (result == null) result = caseProcessingResource(saExecHost);
+ if (result == null) result = caseResource(saExecHost);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Sa Analysis Context'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Sa Analysis Context'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSaAnalysisContext(SaAnalysisContext object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Sa Endto End Flow'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Sa Endto End Flow'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSaEndtoEndFlow(SaEndtoEndFlow object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Sa Comm Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Sa Comm Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSaCommStep(SaCommStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Sa Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Sa Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSaStep(SaStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Sa Shared Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Sa Shared Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSaSharedResource(SaSharedResource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Sa Sched Obs'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Sa Sched Obs'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSaSchedObs(SaSchedObs object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Sa Comm Host'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Sa Comm Host'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSaCommHost(SaCommHost object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Sa Exec Host'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Sa Exec Host'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSaExecHost(SaExecHost object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Configuration'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Configuration'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConfiguration(Configuration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Expression Context'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Expression Context'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExpressionContext(ExpressionContext object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Analysis Context'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Analysis Context'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaAnalysisContext(GaAnalysisContext object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Resource Usage'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Resource Usage'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResourceUsage(ResourceUsage object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Timed Element'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Timed Element'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTimedElement(TimedElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Timed Processing'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Timed Processing'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTimedProcessing(TimedProcessing object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Scenario'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Scenario'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaScenario(GaScenario object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaStep(GaStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Comm Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Comm Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaCommStep(GaCommStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResource(Resource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Mutual Exclusion Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Mutual Exclusion Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMutualExclusionResource(MutualExclusionResource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Nfp Constraint'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Nfp Constraint'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNfpConstraint(NfpConstraint object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Timed Obs'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Timed Obs'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaTimedObs(GaTimedObs object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Processing Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Processing Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProcessingResource(ProcessingResource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Communication Media'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Communication Media'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCommunicationMedia(CommunicationMedia object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Scheduler'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Scheduler'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseScheduler(Scheduler object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Comm Host'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Comm Host'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaCommHost(GaCommHost object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Computing Resource'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Computing Resource'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseComputingResource(ComputingResource object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Ga Exec Host'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Ga Exec Host'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGaExecHost(GaExecHost object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //SAMSwitch
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMXMLProcessor.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMXMLProcessor.java
new file mode 100644
index 00000000000..050a229496f
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/SAM/util/SAMXMLProcessor.java
@@ -0,0 +1,61 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SAMPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ *
+ *
+ * @generated
+ */
+public class SAMXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ *
+ *
+ * @generated
+ */
+ public SAMXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ SAMPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the SAMResourceFactoryImpl factory.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected Map+ * The following features are supported: + *
+ * If the meaning of the 'Pattern Shape' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Pattern Shape' attribute. + * @see #setPatternShape(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getDistribute_PatternShape() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.RS_Library.ShapeSpecification" required="true" ordered="false" + * @generated + */ + String getPatternShape(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Distribute#getPatternShape Pattern Shape}' attribute. + * + * + * @param value the new value of the 'Pattern Shape' attribute. + * @see #getPatternShape() + * @generated + */ + void setPatternShape(String value); + + /** + * Returns the value of the 'Repetition Space' attribute. + * + *+ * If the meaning of the 'Repetition Space' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Repetition Space' attribute. + * @see #setRepetitionSpace(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getDistribute_RepetitionSpace() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.RS_Library.ShapeSpecification" required="true" ordered="false" + * @generated + */ + String getRepetitionSpace(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Distribute#getRepetitionSpace Repetition Space}' attribute. + * + * + * @param value the new value of the 'Repetition Space' attribute. + * @see #getRepetitionSpace() + * @generated + */ + void setRepetitionSpace(String value); + + /** + * Returns the value of the 'From Tiler' attribute. + * + *+ * If the meaning of the 'From Tiler' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'From Tiler' attribute. + * @see #setFromTiler(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getDistribute_FromTiler() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.RS_Library.TilerSpecification" required="true" ordered="false" + * @generated + */ + String getFromTiler(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Distribute#getFromTiler From Tiler}' attribute. + * + * + * @param value the new value of the 'From Tiler' attribute. + * @see #getFromTiler() + * @generated + */ + void setFromTiler(String value); + + /** + * Returns the value of the 'To Tiler' attribute. + * + *+ * If the meaning of the 'To Tiler' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'To Tiler' attribute. + * @see #setToTiler(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getDistribute_ToTiler() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.RS_Library.TilerSpecification" required="true" ordered="false" + * @generated + */ + String getToTiler(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Distribute#getToTiler To Tiler}' attribute. + * + * + * @param value the new value of the 'To Tiler' attribute. + * @see #getToTiler() + * @generated + */ + void setToTiler(String value); + +} // Distribute diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/InterRepetition.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/InterRepetition.java new file mode 100644 index 00000000000..f009d1d5ee8 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/InterRepetition.java @@ -0,0 +1,88 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM; + + +/** + * + * A representation of the model object 'Inter Repetition'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Repetition Shape Dependence' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Repetition Shape Dependence' attribute. + * @see #setRepetitionShapeDependence(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getInterRepetition_RepetitionShapeDependence() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.IntegerVector" required="true" ordered="false" + * @generated + */ + String getRepetitionShapeDependence(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.InterRepetition#getRepetitionShapeDependence Repetition Shape Dependence}' attribute. + * + * + * @param value the new value of the 'Repetition Shape Dependence' attribute. + * @see #getRepetitionShapeDependence() + * @generated + */ + void setRepetitionShapeDependence(String value); + + /** + * Returns the value of the 'Is Modulo' attribute. + * The default value is"false"
.
+ *
+ * + * If the meaning of the 'Is Modulo' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Modulo' attribute. + * @see #setIsModulo(boolean) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getInterRepetition_IsModulo() + * @model default="false" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Boolean" ordered="false" + * @generated + */ + boolean isIsModulo(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.InterRepetition#isIsModulo Is Modulo}' attribute. + * + * + * @param value the new value of the 'Is Modulo' attribute. + * @see #isIsModulo() + * @generated + */ + void setIsModulo(boolean value); + +} // InterRepetition diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/LinkTopology.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/LinkTopology.java new file mode 100644 index 00000000000..f3718def1ce --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/LinkTopology.java @@ -0,0 +1,63 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Connector; + +/** + * + * A representation of the model object 'Link Topology'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Base Connector' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Connector' reference. + * @see #setBase_Connector(Connector) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getLinkTopology_Base_Connector() + * @model required="true" ordered="false" + * @generated + */ + Connector getBase_Connector(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.LinkTopology#getBase_Connector Base Connector}' reference. + * + * + * @param value the new value of the 'Base Connector' reference. + * @see #getBase_Connector() + * @generated + */ + void setBase_Connector(Connector value); + +} // LinkTopology diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/RSMFactory.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/RSMFactory.java new file mode 100644 index 00000000000..09be1c4f278 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/RSMFactory.java @@ -0,0 +1,98 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage + * @generated + */ +public interface RSMFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + RSMFactory eINSTANCE = org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.impl.RSMFactoryImpl.init(); + + /** + * Returns a new object of class 'Default Link'. + * + * + * @return a new object of class 'Default Link'. + * @generated + */ + DefaultLink createDefaultLink(); + + /** + * Returns a new object of class 'Inter Repetition'. + * + * + * @return a new object of class 'Inter Repetition'. + * @generated + */ + InterRepetition createInterRepetition(); + + /** + * Returns a new object of class 'Distribute'. + * + * + * @return a new object of class 'Distribute'. + * @generated + */ + Distribute createDistribute(); + + /** + * Returns a new object of class 'Reshape'. + * + * + * @return a new object of class 'Reshape'. + * @generated + */ + Reshape createReshape(); + + /** + * Returns a new object of class 'Tiler'. + * + * + * @return a new object of class 'Tiler'. + * @generated + */ + Tiler createTiler(); + + /** + * Returns a new object of class 'Shaped'. + * + * + * @return a new object of class 'Shaped'. + * @generated + */ + Shaped createShaped(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + RSMPackage getRSMPackage(); + +} //RSMFactory diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/RSMPackage.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/RSMPackage.java new file mode 100644 index 00000000000..b212262faa9 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/RSMPackage.java @@ -0,0 +1,889 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.AllocPackage; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *+ * The following features are supported: + *
+ * If the meaning of the 'Pattern Shape' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Pattern Shape' attribute. + * @see #setPatternShape(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getReshape_PatternShape() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.RS_Library.ShapeSpecification" required="true" ordered="false" + * @generated + */ + String getPatternShape(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Reshape#getPatternShape Pattern Shape}' attribute. + * + * + * @param value the new value of the 'Pattern Shape' attribute. + * @see #getPatternShape() + * @generated + */ + void setPatternShape(String value); + + /** + * Returns the value of the 'Repetiton Shape' attribute. + * + *+ * If the meaning of the 'Repetiton Shape' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Repetiton Shape' attribute. + * @see #setRepetitonShape(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getReshape_RepetitonShape() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.RS_Library.ShapeSpecification" required="true" ordered="false" + * @generated + */ + String getRepetitonShape(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Reshape#getRepetitonShape Repetiton Shape}' attribute. + * + * + * @param value the new value of the 'Repetiton Shape' attribute. + * @see #getRepetitonShape() + * @generated + */ + void setRepetitonShape(String value); + +} // Reshape diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Shaped.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Shaped.java new file mode 100644 index 00000000000..e4d6346f891 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Shaped.java @@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.MultiplicityElement; + +/** + * + * A representation of the model object 'Shaped'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Shape' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Shape' attribute. + * @see #setShape(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getShaped_Shape() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.RS_Library.ShapeSpecification" required="true" ordered="false" + * @generated + */ + String getShape(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Shaped#getShape Shape}' attribute. + * + * + * @param value the new value of the 'Shape' attribute. + * @see #getShape() + * @generated + */ + void setShape(String value); + + /** + * Returns the value of the 'Base Multiplicity Element' reference. + * + *+ * If the meaning of the 'Base Multiplicity Element' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Multiplicity Element' reference. + * @see #setBase_MultiplicityElement(MultiplicityElement) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getShaped_Base_MultiplicityElement() + * @model required="true" ordered="false" + * @generated + */ + MultiplicityElement getBase_MultiplicityElement(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Shaped#getBase_MultiplicityElement Base Multiplicity Element}' reference. + * + * + * @param value the new value of the 'Base Multiplicity Element' reference. + * @see #getBase_MultiplicityElement() + * @generated + */ + void setBase_MultiplicityElement(MultiplicityElement value); + +} // Shaped diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Tiler.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Tiler.java new file mode 100644 index 00000000000..641b1d068fd --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/Tiler.java @@ -0,0 +1,169 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM; + +import org.eclipse.uml2.uml.ConnectorEnd; + +/** + * + * A representation of the model object 'Tiler'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Origin' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Origin' attribute. + * @see #setOrigin(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getTiler_Origin() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.IntegerVector" ordered="false" + * @generated + */ + String getOrigin(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Tiler#getOrigin Origin}' attribute. + * + * + * @param value the new value of the 'Origin' attribute. + * @see #getOrigin() + * @generated + */ + void setOrigin(String value); + + /** + * Returns the value of the 'Paving' attribute. + * + *+ * If the meaning of the 'Paving' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Paving' attribute. + * @see #setPaving(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getTiler_Paving() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.IntegerMatrix" ordered="false" + * @generated + */ + String getPaving(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Tiler#getPaving Paving}' attribute. + * + * + * @param value the new value of the 'Paving' attribute. + * @see #getPaving() + * @generated + */ + void setPaving(String value); + + /** + * Returns the value of the 'Fitting' attribute. + * + *+ * If the meaning of the 'Fitting' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Fitting' attribute. + * @see #setFitting(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getTiler_Fitting() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.IntegerMatrix" ordered="false" + * @generated + */ + String getFitting(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Tiler#getFitting Fitting}' attribute. + * + * + * @param value the new value of the 'Fitting' attribute. + * @see #getFitting() + * @generated + */ + void setFitting(String value); + + /** + * Returns the value of the 'Tiler' attribute. + * + *+ * If the meaning of the 'Tiler' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Tiler' attribute. + * @see #setTiler(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getTiler_Tiler() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.RS_Library.TilerSpecification" ordered="false" + * @generated + */ + String getTiler(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Tiler#getTiler Tiler}' attribute. + * + * + * @param value the new value of the 'Tiler' attribute. + * @see #getTiler() + * @generated + */ + void setTiler(String value); + + /** + * Returns the value of the 'Base Connector End' reference. + * + *+ * If the meaning of the 'Base Connector End' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Connector End' reference. + * @see #setBase_ConnectorEnd(ConnectorEnd) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#getTiler_Base_ConnectorEnd() + * @model required="true" ordered="false" + * @generated + */ + ConnectorEnd getBase_ConnectorEnd(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Tiler#getBase_ConnectorEnd Base Connector End}' reference. + * + * + * @param value the new value of the 'Base Connector End' reference. + * @see #getBase_ConnectorEnd() + * @generated + */ + void setBase_ConnectorEnd(ConnectorEnd value); + +} // Tiler diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/DefaultLinkImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/DefaultLinkImpl.java new file mode 100644 index 00000000000..b7382cfbe9d --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/DefaultLinkImpl.java @@ -0,0 +1,50 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.DefaultLink; +import org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage; + +/** + * + * An implementation of the model object 'Default Link'. + * + *+ *
+ * + * @generated + */ +public class DefaultLinkImpl extends LinkTopologyImpl implements DefaultLink { + /** + * + * + * @generated + */ + protected DefaultLinkImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return RSMPackage.Literals.DEFAULT_LINK; + } + +} //DefaultLinkImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/DistributeImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/DistributeImpl.java new file mode 100644 index 00000000000..e2a5335dac1 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/DistributeImpl.java @@ -0,0 +1,337 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.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.MARTE.MARTE_Annexes.RSM.Distribute; +import org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.impl.AllocateImpl; + +/** + * + * An implementation of the model object 'Distribute'. + * + *+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage#eNS_URI + * @see #init() + * @generated + */ + private RSMPackageImpl() { + super(eNS_URI, RSMFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link RSMPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static RSMPackage init() { + if (isInited) return (RSMPackage)EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI); + + // Obtain or create and register package + RSMPackageImpl theRSMPackage = (RSMPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RSMPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RSMPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + MARTEPackageImpl theMARTEPackage = (MARTEPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) instanceof MARTEPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) : MARTEPackage.eINSTANCE); + NFPsPackageImpl theNFPsPackage = (NFPsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) instanceof NFPsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) : NFPsPackage.eINSTANCE); + CoreElementsPackageImpl theCoreElementsPackage = (CoreElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) instanceof CoreElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) : CoreElementsPackage.eINSTANCE); + AllocPackageImpl theAllocPackage = (AllocPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) instanceof AllocPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) : AllocPackage.eINSTANCE); + TimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE); + GRMPackageImpl theGRMPackage = (GRMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) instanceof GRMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) : GRMPackage.eINSTANCE); + VariablesPackageImpl theVariablesPackage = (VariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) instanceof VariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) : VariablesPackage.eINSTANCE); + OperatorsPackageImpl theOperatorsPackage = (OperatorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) instanceof OperatorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) : OperatorsPackage.eINSTANCE); + DataTypesPackageImpl theDataTypesPackage = (DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) instanceof DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) : DataTypesPackage.eINSTANCE); + HLAMPackageImpl theHLAMPackage = (HLAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) instanceof HLAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) : HLAMPackage.eINSTANCE); + HwComputingPackageImpl theHwComputingPackage = (HwComputingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) instanceof HwComputingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) : HwComputingPackage.eINSTANCE); + HwCommunicationPackageImpl theHwCommunicationPackage = (HwCommunicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) instanceof HwCommunicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) : HwCommunicationPackage.eINSTANCE); + HwStorageManagerPackageImpl theHwStorageManagerPackage = (HwStorageManagerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) instanceof HwStorageManagerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) : HwStorageManagerPackage.eINSTANCE); + HwMemoryPackageImpl theHwMemoryPackage = (HwMemoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) instanceof HwMemoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) : HwMemoryPackage.eINSTANCE); + HwTimingPackageImpl theHwTimingPackage = (HwTimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) instanceof HwTimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) : HwTimingPackage.eINSTANCE); + HwDevicePackageImpl theHwDevicePackage = (HwDevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) instanceof HwDevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) : HwDevicePackage.eINSTANCE); + HwGeneralPackageImpl theHwGeneralPackage = (HwGeneralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) instanceof HwGeneralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) : HwGeneralPackage.eINSTANCE); + HwLayoutPackageImpl theHwLayoutPackage = (HwLayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) instanceof HwLayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) : HwLayoutPackage.eINSTANCE); + HwPowerPackageImpl theHwPowerPackage = (HwPowerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) instanceof HwPowerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) : HwPowerPackage.eINSTANCE); + SW_ResourceCorePackageImpl theSW_ResourceCorePackage = (SW_ResourceCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) instanceof SW_ResourceCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) : SW_ResourceCorePackage.eINSTANCE); + SW_ConcurrencyPackageImpl theSW_ConcurrencyPackage = (SW_ConcurrencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) instanceof SW_ConcurrencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) : SW_ConcurrencyPackage.eINSTANCE); + SW_BrokeringPackageImpl theSW_BrokeringPackage = (SW_BrokeringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) instanceof SW_BrokeringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) : SW_BrokeringPackage.eINSTANCE); + SW_InteractionPackageImpl theSW_InteractionPackage = (SW_InteractionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) instanceof SW_InteractionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) : SW_InteractionPackage.eINSTANCE); + GCMPackageImpl theGCMPackage = (GCMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) instanceof GCMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) : GCMPackage.eINSTANCE); + GQAMPackageImpl theGQAMPackage = (GQAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) instanceof GQAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) : GQAMPackage.eINSTANCE); + SAMPackageImpl theSAMPackage = (SAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) instanceof SAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) : SAMPackage.eINSTANCE); + PAMPackageImpl thePAMPackage = (PAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) instanceof PAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) : PAMPackage.eINSTANCE); + MeasurementUnitsPackageImpl theMeasurementUnitsPackage = (MeasurementUnitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) instanceof MeasurementUnitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) : MeasurementUnitsPackage.eINSTANCE); + GRM_BasicTypesPackageImpl theGRM_BasicTypesPackage = (GRM_BasicTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) instanceof GRM_BasicTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) : GRM_BasicTypesPackage.eINSTANCE); + MARTE_DataTypesPackageImpl theMARTE_DataTypesPackage = (MARTE_DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) instanceof MARTE_DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) : MARTE_DataTypesPackage.eINSTANCE); + BasicNFP_TypesPackageImpl theBasicNFP_TypesPackage = (BasicNFP_TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) instanceof BasicNFP_TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) : BasicNFP_TypesPackage.eINSTANCE); + TimeTypesLibraryPackageImpl theTimeTypesLibraryPackage = (TimeTypesLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) instanceof TimeTypesLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) : TimeTypesLibraryPackage.eINSTANCE); + TimeLibraryPackageImpl theTimeLibraryPackage = (TimeLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) instanceof TimeLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) : TimeLibraryPackage.eINSTANCE); + RS_LibraryPackageImpl theRS_LibraryPackage = (RS_LibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) instanceof RS_LibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) : RS_LibraryPackage.eINSTANCE); + MARTE_PrimitivesTypesPackageImpl theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) instanceof MARTE_PrimitivesTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) : MARTE_PrimitivesTypesPackage.eINSTANCE); + + // Create package meta-data objects + theRSMPackage.createPackageContents(); + theMARTEPackage.createPackageContents(); + theNFPsPackage.createPackageContents(); + theCoreElementsPackage.createPackageContents(); + theAllocPackage.createPackageContents(); + theTimePackage.createPackageContents(); + theGRMPackage.createPackageContents(); + theVariablesPackage.createPackageContents(); + theOperatorsPackage.createPackageContents(); + theDataTypesPackage.createPackageContents(); + theHLAMPackage.createPackageContents(); + theHwComputingPackage.createPackageContents(); + theHwCommunicationPackage.createPackageContents(); + theHwStorageManagerPackage.createPackageContents(); + theHwMemoryPackage.createPackageContents(); + theHwTimingPackage.createPackageContents(); + theHwDevicePackage.createPackageContents(); + theHwGeneralPackage.createPackageContents(); + theHwLayoutPackage.createPackageContents(); + theHwPowerPackage.createPackageContents(); + theSW_ResourceCorePackage.createPackageContents(); + theSW_ConcurrencyPackage.createPackageContents(); + theSW_BrokeringPackage.createPackageContents(); + theSW_InteractionPackage.createPackageContents(); + theGCMPackage.createPackageContents(); + theGQAMPackage.createPackageContents(); + theSAMPackage.createPackageContents(); + thePAMPackage.createPackageContents(); + theMeasurementUnitsPackage.createPackageContents(); + theGRM_BasicTypesPackage.createPackageContents(); + theMARTE_DataTypesPackage.createPackageContents(); + theBasicNFP_TypesPackage.createPackageContents(); + theTimeTypesLibraryPackage.createPackageContents(); + theTimeLibraryPackage.createPackageContents(); + theRS_LibraryPackage.createPackageContents(); + theMARTE_PrimitivesTypesPackage.createPackageContents(); + + // Initialize created meta-data + theRSMPackage.initializePackageContents(); + theMARTEPackage.initializePackageContents(); + theNFPsPackage.initializePackageContents(); + theCoreElementsPackage.initializePackageContents(); + theAllocPackage.initializePackageContents(); + theTimePackage.initializePackageContents(); + theGRMPackage.initializePackageContents(); + theVariablesPackage.initializePackageContents(); + theOperatorsPackage.initializePackageContents(); + theDataTypesPackage.initializePackageContents(); + theHLAMPackage.initializePackageContents(); + theHwComputingPackage.initializePackageContents(); + theHwCommunicationPackage.initializePackageContents(); + theHwStorageManagerPackage.initializePackageContents(); + theHwMemoryPackage.initializePackageContents(); + theHwTimingPackage.initializePackageContents(); + theHwDevicePackage.initializePackageContents(); + theHwGeneralPackage.initializePackageContents(); + theHwLayoutPackage.initializePackageContents(); + theHwPowerPackage.initializePackageContents(); + theSW_ResourceCorePackage.initializePackageContents(); + theSW_ConcurrencyPackage.initializePackageContents(); + theSW_BrokeringPackage.initializePackageContents(); + theSW_InteractionPackage.initializePackageContents(); + theGCMPackage.initializePackageContents(); + theGQAMPackage.initializePackageContents(); + theSAMPackage.initializePackageContents(); + thePAMPackage.initializePackageContents(); + theMeasurementUnitsPackage.initializePackageContents(); + theGRM_BasicTypesPackage.initializePackageContents(); + theMARTE_DataTypesPackage.initializePackageContents(); + theBasicNFP_TypesPackage.initializePackageContents(); + theTimeTypesLibraryPackage.initializePackageContents(); + theTimeLibraryPackage.initializePackageContents(); + theRS_LibraryPackage.initializePackageContents(); + theMARTE_PrimitivesTypesPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theRSMPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(RSMPackage.eNS_URI, theRSMPackage); + return theRSMPackage; + } + + /** + * + * + * @generated + */ + public EClass getLinkTopology() { + return linkTopologyEClass; + } + + /** + * + * + * @generated + */ + public EReference getLinkTopology_Base_Connector() { + return (EReference)linkTopologyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getDefaultLink() { + return defaultLinkEClass; + } + + /** + * + * + * @generated + */ + public EClass getInterRepetition() { + return interRepetitionEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getInterRepetition_RepetitionShapeDependence() { + return (EAttribute)interRepetitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getInterRepetition_IsModulo() { + return (EAttribute)interRepetitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getDistribute() { + return distributeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getDistribute_PatternShape() { + return (EAttribute)distributeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getDistribute_RepetitionSpace() { + return (EAttribute)distributeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getDistribute_FromTiler() { + return (EAttribute)distributeEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getDistribute_ToTiler() { + return (EAttribute)distributeEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getReshape() { + return reshapeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getReshape_PatternShape() { + return (EAttribute)reshapeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getReshape_RepetitonShape() { + return (EAttribute)reshapeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getTiler() { + return tilerEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getTiler_Origin() { + return (EAttribute)tilerEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getTiler_Paving() { + return (EAttribute)tilerEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getTiler_Fitting() { + return (EAttribute)tilerEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getTiler_Tiler() { + return (EAttribute)tilerEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getTiler_Base_ConnectorEnd() { + return (EReference)tilerEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EClass getShaped() { + return shapedEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getShaped_Shape() { + return (EAttribute)shapedEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getShaped_Base_MultiplicityElement() { + return (EReference)shapedEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public RSMFactory getRSMFactory() { + return (RSMFactory)getEFactoryInstance(); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + linkTopologyEClass = createEClass(LINK_TOPOLOGY); + createEReference(linkTopologyEClass, LINK_TOPOLOGY__BASE_CONNECTOR); + + defaultLinkEClass = createEClass(DEFAULT_LINK); + + interRepetitionEClass = createEClass(INTER_REPETITION); + createEAttribute(interRepetitionEClass, INTER_REPETITION__REPETITION_SHAPE_DEPENDENCE); + createEAttribute(interRepetitionEClass, INTER_REPETITION__IS_MODULO); + + distributeEClass = createEClass(DISTRIBUTE); + createEAttribute(distributeEClass, DISTRIBUTE__PATTERN_SHAPE); + createEAttribute(distributeEClass, DISTRIBUTE__REPETITION_SPACE); + createEAttribute(distributeEClass, DISTRIBUTE__FROM_TILER); + createEAttribute(distributeEClass, DISTRIBUTE__TO_TILER); + + reshapeEClass = createEClass(RESHAPE); + createEAttribute(reshapeEClass, RESHAPE__PATTERN_SHAPE); + createEAttribute(reshapeEClass, RESHAPE__REPETITON_SHAPE); + + tilerEClass = createEClass(TILER); + createEAttribute(tilerEClass, TILER__ORIGIN); + createEAttribute(tilerEClass, TILER__PAVING); + createEAttribute(tilerEClass, TILER__FITTING); + createEAttribute(tilerEClass, TILER__TILER); + createEReference(tilerEClass, TILER__BASE_CONNECTOR_END); + + shapedEClass = createEClass(SHAPED); + createEAttribute(shapedEClass, SHAPED__SHAPE); + createEReference(shapedEClass, SHAPED__BASE_MULTIPLICITY_ELEMENT); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + MARTE_DataTypesPackage theMARTE_DataTypesPackage = (MARTE_DataTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI); + MARTE_PrimitivesTypesPackage theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI); + AllocPackage theAllocPackage = (AllocPackage)EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI); + RS_LibraryPackage theRS_LibraryPackage = (RS_LibraryPackage)EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + defaultLinkEClass.getESuperTypes().add(this.getLinkTopology()); + interRepetitionEClass.getESuperTypes().add(this.getLinkTopology()); + distributeEClass.getESuperTypes().add(theAllocPackage.getAllocate()); + reshapeEClass.getESuperTypes().add(this.getLinkTopology()); + tilerEClass.getESuperTypes().add(this.getLinkTopology()); + + // Initialize classes and features; add operations and parameters + initEClass(linkTopologyEClass, LinkTopology.class, "LinkTopology", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLinkTopology_Base_Connector(), theUMLPackage.getConnector(), null, "base_Connector", null, 1, 1, LinkTopology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(defaultLinkEClass, DefaultLink.class, "DefaultLink", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(interRepetitionEClass, InterRepetition.class, "InterRepetition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getInterRepetition_RepetitionShapeDependence(), theMARTE_DataTypesPackage.getIntegerVector(), "repetitionShapeDependence", null, 1, 1, InterRepetition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getInterRepetition_IsModulo(), theMARTE_PrimitivesTypesPackage.getBoolean(), "isModulo", "false", 0, 1, InterRepetition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(distributeEClass, Distribute.class, "Distribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDistribute_PatternShape(), theRS_LibraryPackage.getShapeSpecification(), "patternShape", null, 1, 1, Distribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getDistribute_RepetitionSpace(), theRS_LibraryPackage.getShapeSpecification(), "repetitionSpace", null, 1, 1, Distribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getDistribute_FromTiler(), theRS_LibraryPackage.getTilerSpecification(), "fromTiler", null, 1, 1, Distribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getDistribute_ToTiler(), theRS_LibraryPackage.getTilerSpecification(), "toTiler", null, 1, 1, Distribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(reshapeEClass, Reshape.class, "Reshape", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getReshape_PatternShape(), theRS_LibraryPackage.getShapeSpecification(), "patternShape", null, 1, 1, Reshape.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getReshape_RepetitonShape(), theRS_LibraryPackage.getShapeSpecification(), "repetitonShape", null, 1, 1, Reshape.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(tilerEClass, Tiler.class, "Tiler", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTiler_Origin(), theMARTE_DataTypesPackage.getIntegerVector(), "origin", null, 0, 1, Tiler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getTiler_Paving(), theMARTE_DataTypesPackage.getIntegerMatrix(), "paving", null, 0, 1, Tiler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getTiler_Fitting(), theMARTE_DataTypesPackage.getIntegerMatrix(), "fitting", null, 0, 1, Tiler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getTiler_Tiler(), theRS_LibraryPackage.getTilerSpecification(), "tiler", null, 0, 1, Tiler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getTiler_Base_ConnectorEnd(), theUMLPackage.getConnectorEnd(), null, "base_ConnectorEnd", null, 1, 1, Tiler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(shapedEClass, Shaped.class, "Shaped", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getShaped_Shape(), theRS_LibraryPackage.getShapeSpecification(), "shape", null, 1, 1, Shaped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getShaped_Base_MultiplicityElement(), theUMLPackage.getMultiplicityElement(), null, "base_MultiplicityElement", null, 1, 1, Shaped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + } + +} //RSMPackageImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/ReshapeImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/ReshapeImpl.java new file mode 100644 index 00000000000..0977f1eeffa --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/impl/ReshapeImpl.java @@ -0,0 +1,227 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.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.MARTE.MARTE_Annexes.RSM.RSMPackage; +import org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Reshape; + +/** + * + * An implementation of the model object 'Reshape'. + * + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
createXXX
method for each class of the model.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage
+ * @generated
+ */
+public class RSMAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static RSMPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public RSMAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = RSMPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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 createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected RSMSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @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.MARTE.MARTE_Annexes.RSM.LinkTopology Link Topology}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.LinkTopology
+ * @generated
+ */
+ public Adapter createLinkTopologyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.DefaultLink Default Link}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.DefaultLink
+ * @generated
+ */
+ public Adapter createDefaultLinkAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.InterRepetition Inter Repetition}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.InterRepetition
+ * @generated
+ */
+ public Adapter createInterRepetitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Distribute Distribute}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Distribute
+ * @generated
+ */
+ public Adapter createDistributeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Reshape Reshape}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Reshape
+ * @generated
+ */
+ public Adapter createReshapeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Tiler Tiler}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Tiler
+ * @generated
+ */
+ public Adapter createTilerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Shaped Shaped}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.Shaped
+ * @generated
+ */
+ public Adapter createShapedAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Allocate Allocate}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Allocate
+ * @generated
+ */
+ public Adapter createAllocateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //RSMAdapterFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMResourceFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMResourceFactoryImpl.java
new file mode 100644
index 00000000000..867b3ca59b1
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMResourceFactoryImpl.java
@@ -0,0 +1,63 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ *
+ * The Resource Factory associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.util.RSMResourceImpl
+ * @generated
+ */
+public class RSMResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ *
+ *
+ * @generated
+ */
+ public RSMResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new RSMResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //RSMResourceFactoryImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMResourceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMResourceImpl.java
new file mode 100644
index 00000000000..f40b6c6f2d6
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMResourceImpl.java
@@ -0,0 +1,39 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ *
+ * The Resource associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.util.RSMResourceFactoryImpl
+ * @generated
+ */
+public class RSMResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public RSMResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //RSMResourceImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMSwitch.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMSwitch.java
new file mode 100644
index 00000000000..68a0cbcfd9a
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMSwitch.java
@@ -0,0 +1,285 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.*;
+
+import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Allocate;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
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.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage
+ * @generated
+ */
+public class RSMSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ ListcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case RSMPackage.LINK_TOPOLOGY: {
+ LinkTopology linkTopology = (LinkTopology)theEObject;
+ T result = caseLinkTopology(linkTopology);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case RSMPackage.DEFAULT_LINK: {
+ DefaultLink defaultLink = (DefaultLink)theEObject;
+ T result = caseDefaultLink(defaultLink);
+ if (result == null) result = caseLinkTopology(defaultLink);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case RSMPackage.INTER_REPETITION: {
+ InterRepetition interRepetition = (InterRepetition)theEObject;
+ T result = caseInterRepetition(interRepetition);
+ if (result == null) result = caseLinkTopology(interRepetition);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case RSMPackage.DISTRIBUTE: {
+ Distribute distribute = (Distribute)theEObject;
+ T result = caseDistribute(distribute);
+ if (result == null) result = caseAllocate(distribute);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case RSMPackage.RESHAPE: {
+ Reshape reshape = (Reshape)theEObject;
+ T result = caseReshape(reshape);
+ if (result == null) result = caseLinkTopology(reshape);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case RSMPackage.TILER: {
+ Tiler tiler = (Tiler)theEObject;
+ T result = caseTiler(tiler);
+ if (result == null) result = caseLinkTopology(tiler);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case RSMPackage.SHAPED: {
+ Shaped shaped = (Shaped)theEObject;
+ T result = caseShaped(shaped);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Link Topology'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Link Topology'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLinkTopology(LinkTopology object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Default Link'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Default Link'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDefaultLink(DefaultLink object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Inter Repetition'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Inter Repetition'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInterRepetition(InterRepetition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Distribute'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Distribute'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDistribute(Distribute object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Reshape'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Reshape'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseReshape(Reshape object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Tiler'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Tiler'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTiler(Tiler object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Shaped'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Shaped'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseShaped(Shaped object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Allocate'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Allocate'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAllocate(Allocate object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //RSMSwitch
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMXMLProcessor.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMXMLProcessor.java
new file mode 100644
index 00000000000..83418b996ca
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/RSM/util/RSMXMLProcessor.java
@@ -0,0 +1,61 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.eclipse.papyrus.MARTE.MARTE_Annexes.RSM.RSMPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ *
+ *
+ * @generated
+ */
+public class RSMXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ *
+ *
+ * @generated
+ */
+ public RSMXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ RSMPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the RSMResourceFactoryImpl factory.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected Map+ * The following features are supported: + *
+ * If the meaning of the 'Base Type' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Type' reference. + * @see #setBaseType(Property) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getBoundedSubtype_BaseType() + * @model required="true" ordered="false" + * @generated + */ + Property getBaseType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.BoundedSubtype#getBaseType Base Type}' reference. + * + * + * @param value the new value of the 'Base Type' reference. + * @see #getBaseType() + * @generated + */ + void setBaseType(Property value); + + /** + * Returns the value of the 'Min Value' attribute. + * + *+ * If the meaning of the 'Min Value' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Min Value' attribute. + * @see #setMinValue(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getBoundedSubtype_MinValue() + * @model unique="false" required="true" ordered="false" + * @generated + */ + String getMinValue(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.BoundedSubtype#getMinValue Min Value}' attribute. + * + * + * @param value the new value of the 'Min Value' attribute. + * @see #getMinValue() + * @generated + */ + void setMinValue(String value); + + /** + * Returns the value of the 'Max Value' attribute. + * + *+ * If the meaning of the 'Max Value' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Max Value' attribute. + * @see #setMaxValue(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getBoundedSubtype_MaxValue() + * @model unique="false" required="true" ordered="false" + * @generated + */ + String getMaxValue(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.BoundedSubtype#getMaxValue Max Value}' attribute. + * + * + * @param value the new value of the 'Max Value' attribute. + * @see #getMaxValue() + * @generated + */ + void setMaxValue(String value); + + /** + * Returns the value of the 'Is Min Open' attribute. + * + *+ * If the meaning of the 'Is Min Open' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Min Open' attribute. + * @see #setIsMinOpen(boolean) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getBoundedSubtype_IsMinOpen() + * @model unique="false" required="true" ordered="false" + * @generated + */ + boolean isIsMinOpen(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.BoundedSubtype#isIsMinOpen Is Min Open}' attribute. + * + * + * @param value the new value of the 'Is Min Open' attribute. + * @see #isIsMinOpen() + * @generated + */ + void setIsMinOpen(boolean value); + + /** + * Returns the value of the 'Is Max Open' attribute. + * + *+ * If the meaning of the 'Is Max Open' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Max Open' attribute. + * @see #setIsMaxOpen(boolean) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getBoundedSubtype_IsMaxOpen() + * @model unique="false" required="true" ordered="false" + * @generated + */ + boolean isIsMaxOpen(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.BoundedSubtype#isIsMaxOpen Is Max Open}' attribute. + * + * + * @param value the new value of the 'Is Max Open' attribute. + * @see #isIsMaxOpen() + * @generated + */ + void setIsMaxOpen(boolean value); + + /** + * Returns the value of the 'Base Data Type' reference. + * + *+ * If the meaning of the 'Base Data Type' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Data Type' reference. + * @see #setBase_DataType(DataType) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getBoundedSubtype_Base_DataType() + * @model required="true" ordered="false" + * @generated + */ + DataType getBase_DataType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.BoundedSubtype#getBase_DataType Base Data Type}' reference. + * + * + * @param value the new value of the 'Base Data Type' reference. + * @see #getBase_DataType() + * @generated + */ + void setBase_DataType(DataType value); + +} // BoundedSubtype diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/ChoiceType.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/ChoiceType.java new file mode 100644 index 00000000000..4f8390a95ca --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/ChoiceType.java @@ -0,0 +1,110 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.DataType; +import org.eclipse.uml2.uml.Property; + +/** + * + * A representation of the model object 'Choice Type'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Choice Attrib' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Choice Attrib' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getChoiceType_ChoiceAttrib() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Default Attrib' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Default Attrib' reference. + * @see #setDefaultAttrib(Property) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getChoiceType_DefaultAttrib() + * @model ordered="false" + * @generated + */ + Property getDefaultAttrib(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.ChoiceType#getDefaultAttrib Default Attrib}' reference. + * + * + * @param value the new value of the 'Default Attrib' reference. + * @see #getDefaultAttrib() + * @generated + */ + void setDefaultAttrib(Property value); + + /** + * Returns the value of the 'Base Data Type' reference. + * + *+ * If the meaning of the 'Base Data Type' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Data Type' reference. + * @see #setBase_DataType(DataType) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getChoiceType_Base_DataType() + * @model required="true" ordered="false" + * @generated + */ + DataType getBase_DataType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.ChoiceType#getBase_DataType Base Data Type}' reference. + * + * + * @param value the new value of the 'Base Data Type' reference. + * @see #getBase_DataType() + * @generated + */ + void setBase_DataType(DataType value); + +} // ChoiceType diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/CollectionType.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/CollectionType.java new file mode 100644 index 00000000000..18d18e87fe2 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/CollectionType.java @@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.DataType; +import org.eclipse.uml2.uml.Property; + +/** + * + * A representation of the model object 'Collection Type'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Collection Attrib' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Collection Attrib' reference. + * @see #setCollectionAttrib(Property) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getCollectionType_CollectionAttrib() + * @model required="true" ordered="false" + * @generated + */ + Property getCollectionAttrib(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.CollectionType#getCollectionAttrib Collection Attrib}' reference. + * + * + * @param value the new value of the 'Collection Attrib' reference. + * @see #getCollectionAttrib() + * @generated + */ + void setCollectionAttrib(Property value); + + /** + * Returns the value of the 'Base Data Type' reference. + * + *+ * If the meaning of the 'Base Data Type' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Data Type' reference. + * @see #setBase_DataType(DataType) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getCollectionType_Base_DataType() + * @model required="true" ordered="false" + * @generated + */ + DataType getBase_DataType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.CollectionType#getBase_DataType Base Data Type}' reference. + * + * + * @param value the new value of the 'Base Data Type' reference. + * @see #getBase_DataType() + * @generated + */ + void setBase_DataType(DataType value); + +} // CollectionType diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/DataTypesFactory.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/DataTypesFactory.java new file mode 100644 index 00000000000..4fe2cc6f034 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/DataTypesFactory.java @@ -0,0 +1,89 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage + * @generated + */ +public interface DataTypesFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + DataTypesFactory eINSTANCE = org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.impl.DataTypesFactoryImpl.init(); + + /** + * Returns a new object of class 'Bounded Subtype'. + * + * + * @return a new object of class 'Bounded Subtype'. + * @generated + */ + BoundedSubtype createBoundedSubtype(); + + /** + * Returns a new object of class 'Interval Type'. + * + * + * @return a new object of class 'Interval Type'. + * @generated + */ + IntervalType createIntervalType(); + + /** + * Returns a new object of class 'Collection Type'. + * + * + * @return a new object of class 'Collection Type'. + * @generated + */ + CollectionType createCollectionType(); + + /** + * Returns a new object of class 'Choice Type'. + * + * + * @return a new object of class 'Choice Type'. + * @generated + */ + ChoiceType createChoiceType(); + + /** + * Returns a new object of class 'Tuple Type'. + * + * + * @return a new object of class 'Tuple Type'. + * @generated + */ + TupleType createTupleType(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + DataTypesPackage getDataTypesPackage(); + +} //DataTypesFactory diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/DataTypesPackage.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/DataTypesPackage.java new file mode 100644 index 00000000000..f2b4e32bfc2 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/DataTypesPackage.java @@ -0,0 +1,709 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *+ * The following features are supported: + *
+ * If the meaning of the 'Interval Attrib' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Interval Attrib' reference. + * @see #setIntervalAttrib(Property) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getIntervalType_IntervalAttrib() + * @model required="true" ordered="false" + * @generated + */ + Property getIntervalAttrib(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.IntervalType#getIntervalAttrib Interval Attrib}' reference. + * + * + * @param value the new value of the 'Interval Attrib' reference. + * @see #getIntervalAttrib() + * @generated + */ + void setIntervalAttrib(Property value); + + /** + * Returns the value of the 'Base Data Type' reference. + * + *+ * If the meaning of the 'Base Data Type' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Data Type' reference. + * @see #setBase_DataType(DataType) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getIntervalType_Base_DataType() + * @model required="true" ordered="false" + * @generated + */ + DataType getBase_DataType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.IntervalType#getBase_DataType Base Data Type}' reference. + * + * + * @param value the new value of the 'Base Data Type' reference. + * @see #getBase_DataType() + * @generated + */ + void setBase_DataType(DataType value); + +} // IntervalType diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/TupleType.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/TupleType.java new file mode 100644 index 00000000000..7f0fa8fef17 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/TupleType.java @@ -0,0 +1,83 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.DataType; +import org.eclipse.uml2.uml.Property; + +/** + * + * A representation of the model object 'Tuple Type'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Tuple Attrib' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Tuple Attrib' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getTupleType_TupleAttrib() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Base Data Type' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Data Type' reference. + * @see #setBase_DataType(DataType) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#getTupleType_Base_DataType() + * @model required="true" ordered="false" + * @generated + */ + DataType getBase_DataType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.TupleType#getBase_DataType Base Data Type}' reference. + * + * + * @param value the new value of the 'Base Data Type' reference. + * @see #getBase_DataType() + * @generated + */ + void setBase_DataType(DataType value); + +} // TupleType diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/BoundedSubtypeImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/BoundedSubtypeImpl.java new file mode 100644 index 00000000000..b20b4dd5905 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/BoundedSubtypeImpl.java @@ -0,0 +1,460 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.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.emf.ecore.impl.EObjectImpl; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.BoundedSubtype; +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage; + +import org.eclipse.uml2.uml.DataType; +import org.eclipse.uml2.uml.Property; + +/** + * + * An implementation of the model object 'Bounded Subtype'. + * + *+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage#eNS_URI + * @see #init() + * @generated + */ + private DataTypesPackageImpl() { + super(eNS_URI, DataTypesFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link DataTypesPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static DataTypesPackage init() { + if (isInited) return (DataTypesPackage)EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI); + + // Obtain or create and register package + DataTypesPackageImpl theDataTypesPackage = (DataTypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DataTypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DataTypesPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + MARTEPackageImpl theMARTEPackage = (MARTEPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) instanceof MARTEPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) : MARTEPackage.eINSTANCE); + NFPsPackageImpl theNFPsPackage = (NFPsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) instanceof NFPsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) : NFPsPackage.eINSTANCE); + CoreElementsPackageImpl theCoreElementsPackage = (CoreElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) instanceof CoreElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) : CoreElementsPackage.eINSTANCE); + AllocPackageImpl theAllocPackage = (AllocPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) instanceof AllocPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) : AllocPackage.eINSTANCE); + TimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE); + GRMPackageImpl theGRMPackage = (GRMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) instanceof GRMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) : GRMPackage.eINSTANCE); + RSMPackageImpl theRSMPackage = (RSMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) instanceof RSMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) : RSMPackage.eINSTANCE); + VariablesPackageImpl theVariablesPackage = (VariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) instanceof VariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) : VariablesPackage.eINSTANCE); + OperatorsPackageImpl theOperatorsPackage = (OperatorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) instanceof OperatorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) : OperatorsPackage.eINSTANCE); + HLAMPackageImpl theHLAMPackage = (HLAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) instanceof HLAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) : HLAMPackage.eINSTANCE); + HwComputingPackageImpl theHwComputingPackage = (HwComputingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) instanceof HwComputingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) : HwComputingPackage.eINSTANCE); + HwCommunicationPackageImpl theHwCommunicationPackage = (HwCommunicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) instanceof HwCommunicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) : HwCommunicationPackage.eINSTANCE); + HwStorageManagerPackageImpl theHwStorageManagerPackage = (HwStorageManagerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) instanceof HwStorageManagerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) : HwStorageManagerPackage.eINSTANCE); + HwMemoryPackageImpl theHwMemoryPackage = (HwMemoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) instanceof HwMemoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) : HwMemoryPackage.eINSTANCE); + HwTimingPackageImpl theHwTimingPackage = (HwTimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) instanceof HwTimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) : HwTimingPackage.eINSTANCE); + HwDevicePackageImpl theHwDevicePackage = (HwDevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) instanceof HwDevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) : HwDevicePackage.eINSTANCE); + HwGeneralPackageImpl theHwGeneralPackage = (HwGeneralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) instanceof HwGeneralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) : HwGeneralPackage.eINSTANCE); + HwLayoutPackageImpl theHwLayoutPackage = (HwLayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) instanceof HwLayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) : HwLayoutPackage.eINSTANCE); + HwPowerPackageImpl theHwPowerPackage = (HwPowerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) instanceof HwPowerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) : HwPowerPackage.eINSTANCE); + SW_ResourceCorePackageImpl theSW_ResourceCorePackage = (SW_ResourceCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) instanceof SW_ResourceCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) : SW_ResourceCorePackage.eINSTANCE); + SW_ConcurrencyPackageImpl theSW_ConcurrencyPackage = (SW_ConcurrencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) instanceof SW_ConcurrencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) : SW_ConcurrencyPackage.eINSTANCE); + SW_BrokeringPackageImpl theSW_BrokeringPackage = (SW_BrokeringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) instanceof SW_BrokeringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) : SW_BrokeringPackage.eINSTANCE); + SW_InteractionPackageImpl theSW_InteractionPackage = (SW_InteractionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) instanceof SW_InteractionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) : SW_InteractionPackage.eINSTANCE); + GCMPackageImpl theGCMPackage = (GCMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) instanceof GCMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) : GCMPackage.eINSTANCE); + GQAMPackageImpl theGQAMPackage = (GQAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) instanceof GQAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) : GQAMPackage.eINSTANCE); + SAMPackageImpl theSAMPackage = (SAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) instanceof SAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) : SAMPackage.eINSTANCE); + PAMPackageImpl thePAMPackage = (PAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) instanceof PAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) : PAMPackage.eINSTANCE); + MeasurementUnitsPackageImpl theMeasurementUnitsPackage = (MeasurementUnitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) instanceof MeasurementUnitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) : MeasurementUnitsPackage.eINSTANCE); + GRM_BasicTypesPackageImpl theGRM_BasicTypesPackage = (GRM_BasicTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) instanceof GRM_BasicTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) : GRM_BasicTypesPackage.eINSTANCE); + MARTE_DataTypesPackageImpl theMARTE_DataTypesPackage = (MARTE_DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) instanceof MARTE_DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) : MARTE_DataTypesPackage.eINSTANCE); + BasicNFP_TypesPackageImpl theBasicNFP_TypesPackage = (BasicNFP_TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) instanceof BasicNFP_TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) : BasicNFP_TypesPackage.eINSTANCE); + TimeTypesLibraryPackageImpl theTimeTypesLibraryPackage = (TimeTypesLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) instanceof TimeTypesLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) : TimeTypesLibraryPackage.eINSTANCE); + TimeLibraryPackageImpl theTimeLibraryPackage = (TimeLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) instanceof TimeLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) : TimeLibraryPackage.eINSTANCE); + RS_LibraryPackageImpl theRS_LibraryPackage = (RS_LibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) instanceof RS_LibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) : RS_LibraryPackage.eINSTANCE); + MARTE_PrimitivesTypesPackageImpl theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) instanceof MARTE_PrimitivesTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) : MARTE_PrimitivesTypesPackage.eINSTANCE); + + // Create package meta-data objects + theDataTypesPackage.createPackageContents(); + theMARTEPackage.createPackageContents(); + theNFPsPackage.createPackageContents(); + theCoreElementsPackage.createPackageContents(); + theAllocPackage.createPackageContents(); + theTimePackage.createPackageContents(); + theGRMPackage.createPackageContents(); + theRSMPackage.createPackageContents(); + theVariablesPackage.createPackageContents(); + theOperatorsPackage.createPackageContents(); + theHLAMPackage.createPackageContents(); + theHwComputingPackage.createPackageContents(); + theHwCommunicationPackage.createPackageContents(); + theHwStorageManagerPackage.createPackageContents(); + theHwMemoryPackage.createPackageContents(); + theHwTimingPackage.createPackageContents(); + theHwDevicePackage.createPackageContents(); + theHwGeneralPackage.createPackageContents(); + theHwLayoutPackage.createPackageContents(); + theHwPowerPackage.createPackageContents(); + theSW_ResourceCorePackage.createPackageContents(); + theSW_ConcurrencyPackage.createPackageContents(); + theSW_BrokeringPackage.createPackageContents(); + theSW_InteractionPackage.createPackageContents(); + theGCMPackage.createPackageContents(); + theGQAMPackage.createPackageContents(); + theSAMPackage.createPackageContents(); + thePAMPackage.createPackageContents(); + theMeasurementUnitsPackage.createPackageContents(); + theGRM_BasicTypesPackage.createPackageContents(); + theMARTE_DataTypesPackage.createPackageContents(); + theBasicNFP_TypesPackage.createPackageContents(); + theTimeTypesLibraryPackage.createPackageContents(); + theTimeLibraryPackage.createPackageContents(); + theRS_LibraryPackage.createPackageContents(); + theMARTE_PrimitivesTypesPackage.createPackageContents(); + + // Initialize created meta-data + theDataTypesPackage.initializePackageContents(); + theMARTEPackage.initializePackageContents(); + theNFPsPackage.initializePackageContents(); + theCoreElementsPackage.initializePackageContents(); + theAllocPackage.initializePackageContents(); + theTimePackage.initializePackageContents(); + theGRMPackage.initializePackageContents(); + theRSMPackage.initializePackageContents(); + theVariablesPackage.initializePackageContents(); + theOperatorsPackage.initializePackageContents(); + theHLAMPackage.initializePackageContents(); + theHwComputingPackage.initializePackageContents(); + theHwCommunicationPackage.initializePackageContents(); + theHwStorageManagerPackage.initializePackageContents(); + theHwMemoryPackage.initializePackageContents(); + theHwTimingPackage.initializePackageContents(); + theHwDevicePackage.initializePackageContents(); + theHwGeneralPackage.initializePackageContents(); + theHwLayoutPackage.initializePackageContents(); + theHwPowerPackage.initializePackageContents(); + theSW_ResourceCorePackage.initializePackageContents(); + theSW_ConcurrencyPackage.initializePackageContents(); + theSW_BrokeringPackage.initializePackageContents(); + theSW_InteractionPackage.initializePackageContents(); + theGCMPackage.initializePackageContents(); + theGQAMPackage.initializePackageContents(); + theSAMPackage.initializePackageContents(); + thePAMPackage.initializePackageContents(); + theMeasurementUnitsPackage.initializePackageContents(); + theGRM_BasicTypesPackage.initializePackageContents(); + theMARTE_DataTypesPackage.initializePackageContents(); + theBasicNFP_TypesPackage.initializePackageContents(); + theTimeTypesLibraryPackage.initializePackageContents(); + theTimeLibraryPackage.initializePackageContents(); + theRS_LibraryPackage.initializePackageContents(); + theMARTE_PrimitivesTypesPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theDataTypesPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(DataTypesPackage.eNS_URI, theDataTypesPackage); + return theDataTypesPackage; + } + + /** + * + * + * @generated + */ + public EClass getBoundedSubtype() { + return boundedSubtypeEClass; + } + + /** + * + * + * @generated + */ + public EReference getBoundedSubtype_BaseType() { + return (EReference)boundedSubtypeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getBoundedSubtype_MinValue() { + return (EAttribute)boundedSubtypeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getBoundedSubtype_MaxValue() { + return (EAttribute)boundedSubtypeEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getBoundedSubtype_IsMinOpen() { + return (EAttribute)boundedSubtypeEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getBoundedSubtype_IsMaxOpen() { + return (EAttribute)boundedSubtypeEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getBoundedSubtype_Base_DataType() { + return (EReference)boundedSubtypeEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getIntervalType() { + return intervalTypeEClass; + } + + /** + * + * + * @generated + */ + public EReference getIntervalType_IntervalAttrib() { + return (EReference)intervalTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getIntervalType_Base_DataType() { + return (EReference)intervalTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getCollectionType() { + return collectionTypeEClass; + } + + /** + * + * + * @generated + */ + public EReference getCollectionType_CollectionAttrib() { + return (EReference)collectionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getCollectionType_Base_DataType() { + return (EReference)collectionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getChoiceType() { + return choiceTypeEClass; + } + + /** + * + * + * @generated + */ + public EReference getChoiceType_ChoiceAttrib() { + return (EReference)choiceTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getChoiceType_DefaultAttrib() { + return (EReference)choiceTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getChoiceType_Base_DataType() { + return (EReference)choiceTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getTupleType() { + return tupleTypeEClass; + } + + /** + * + * + * @generated + */ + public EReference getTupleType_TupleAttrib() { + return (EReference)tupleTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getTupleType_Base_DataType() { + return (EReference)tupleTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public DataTypesFactory getDataTypesFactory() { + return (DataTypesFactory)getEFactoryInstance(); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + boundedSubtypeEClass = createEClass(BOUNDED_SUBTYPE); + createEReference(boundedSubtypeEClass, BOUNDED_SUBTYPE__BASE_TYPE); + createEAttribute(boundedSubtypeEClass, BOUNDED_SUBTYPE__MIN_VALUE); + createEAttribute(boundedSubtypeEClass, BOUNDED_SUBTYPE__MAX_VALUE); + createEAttribute(boundedSubtypeEClass, BOUNDED_SUBTYPE__IS_MIN_OPEN); + createEAttribute(boundedSubtypeEClass, BOUNDED_SUBTYPE__IS_MAX_OPEN); + createEReference(boundedSubtypeEClass, BOUNDED_SUBTYPE__BASE_DATA_TYPE); + + intervalTypeEClass = createEClass(INTERVAL_TYPE); + createEReference(intervalTypeEClass, INTERVAL_TYPE__INTERVAL_ATTRIB); + createEReference(intervalTypeEClass, INTERVAL_TYPE__BASE_DATA_TYPE); + + collectionTypeEClass = createEClass(COLLECTION_TYPE); + createEReference(collectionTypeEClass, COLLECTION_TYPE__COLLECTION_ATTRIB); + createEReference(collectionTypeEClass, COLLECTION_TYPE__BASE_DATA_TYPE); + + choiceTypeEClass = createEClass(CHOICE_TYPE); + createEReference(choiceTypeEClass, CHOICE_TYPE__CHOICE_ATTRIB); + createEReference(choiceTypeEClass, CHOICE_TYPE__DEFAULT_ATTRIB); + createEReference(choiceTypeEClass, CHOICE_TYPE__BASE_DATA_TYPE); + + tupleTypeEClass = createEClass(TUPLE_TYPE); + createEReference(tupleTypeEClass, TUPLE_TYPE__TUPLE_ATTRIB); + createEReference(tupleTypeEClass, TUPLE_TYPE__BASE_DATA_TYPE); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes and features; add operations and parameters + initEClass(boundedSubtypeEClass, BoundedSubtype.class, "BoundedSubtype", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getBoundedSubtype_BaseType(), theUMLPackage.getProperty(), null, "baseType", null, 1, 1, BoundedSubtype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getBoundedSubtype_MinValue(), ecorePackage.getEString(), "minValue", null, 1, 1, BoundedSubtype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getBoundedSubtype_MaxValue(), ecorePackage.getEString(), "maxValue", null, 1, 1, BoundedSubtype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getBoundedSubtype_IsMinOpen(), ecorePackage.getEBoolean(), "isMinOpen", null, 1, 1, BoundedSubtype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getBoundedSubtype_IsMaxOpen(), ecorePackage.getEBoolean(), "isMaxOpen", null, 1, 1, BoundedSubtype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getBoundedSubtype_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, BoundedSubtype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(intervalTypeEClass, IntervalType.class, "IntervalType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getIntervalType_IntervalAttrib(), theUMLPackage.getProperty(), null, "intervalAttrib", null, 1, 1, IntervalType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getIntervalType_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, IntervalType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(collectionTypeEClass, CollectionType.class, "CollectionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getCollectionType_CollectionAttrib(), theUMLPackage.getProperty(), null, "collectionAttrib", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getCollectionType_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(choiceTypeEClass, ChoiceType.class, "ChoiceType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getChoiceType_ChoiceAttrib(), theUMLPackage.getProperty(), null, "choiceAttrib", null, 0, -1, ChoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getChoiceType_DefaultAttrib(), theUMLPackage.getProperty(), null, "defaultAttrib", null, 0, 1, ChoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getChoiceType_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, ChoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(tupleTypeEClass, TupleType.class, "TupleType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getTupleType_TupleAttrib(), theUMLPackage.getProperty(), null, "tupleAttrib", null, 0, -1, TupleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getTupleType_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, TupleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + } + +} //DataTypesPackageImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/IntervalTypeImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/IntervalTypeImpl.java new file mode 100644 index 00000000000..0a2c94273f8 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/impl/IntervalTypeImpl.java @@ -0,0 +1,230 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.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.emf.ecore.impl.EObjectImpl; + +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage; +import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.IntervalType; + +import org.eclipse.uml2.uml.DataType; +import org.eclipse.uml2.uml.Property; + +/** + * + * An implementation of the model object 'Interval Type'. + * + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
createXXX
method for each class of the model.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage
+ * @generated
+ */
+public class DataTypesAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static DataTypesPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public DataTypesAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = DataTypesPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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 createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected DataTypesSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @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.MARTE.MARTE_Annexes.VSL.DataTypes.BoundedSubtype Bounded Subtype}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.BoundedSubtype
+ * @generated
+ */
+ public Adapter createBoundedSubtypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.IntervalType Interval Type}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.IntervalType
+ * @generated
+ */
+ public Adapter createIntervalTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.CollectionType Collection Type}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.CollectionType
+ * @generated
+ */
+ public Adapter createCollectionTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.ChoiceType Choice Type}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.ChoiceType
+ * @generated
+ */
+ public Adapter createChoiceTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.TupleType Tuple Type}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.TupleType
+ * @generated
+ */
+ public Adapter createTupleTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //DataTypesAdapterFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesResourceFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesResourceFactoryImpl.java
new file mode 100644
index 00000000000..3cdaf0ff4ee
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesResourceFactoryImpl.java
@@ -0,0 +1,63 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ *
+ * The Resource Factory associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.util.DataTypesResourceImpl
+ * @generated
+ */
+public class DataTypesResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ *
+ *
+ * @generated
+ */
+ public DataTypesResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new DataTypesResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //DataTypesResourceFactoryImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesResourceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesResourceImpl.java
new file mode 100644
index 00000000000..4dbe40c220a
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesResourceImpl.java
@@ -0,0 +1,39 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ *
+ * The Resource associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.util.DataTypesResourceFactoryImpl
+ * @generated
+ */
+public class DataTypesResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public DataTypesResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //DataTypesResourceImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesSwitch.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesSwitch.java
new file mode 100644
index 00000000000..0d9eea85772
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesSwitch.java
@@ -0,0 +1,221 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.*;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
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.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage
+ * @generated
+ */
+public class DataTypesSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ ListcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case DataTypesPackage.BOUNDED_SUBTYPE: {
+ BoundedSubtype boundedSubtype = (BoundedSubtype)theEObject;
+ T result = caseBoundedSubtype(boundedSubtype);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DataTypesPackage.INTERVAL_TYPE: {
+ IntervalType intervalType = (IntervalType)theEObject;
+ T result = caseIntervalType(intervalType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DataTypesPackage.COLLECTION_TYPE: {
+ CollectionType collectionType = (CollectionType)theEObject;
+ T result = caseCollectionType(collectionType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DataTypesPackage.CHOICE_TYPE: {
+ ChoiceType choiceType = (ChoiceType)theEObject;
+ T result = caseChoiceType(choiceType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DataTypesPackage.TUPLE_TYPE: {
+ TupleType tupleType = (TupleType)theEObject;
+ T result = caseTupleType(tupleType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Bounded Subtype'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Bounded Subtype'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBoundedSubtype(BoundedSubtype object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Interval Type'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Interval Type'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseIntervalType(IntervalType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Collection Type'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Collection Type'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCollectionType(CollectionType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Choice Type'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Choice Type'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseChoiceType(ChoiceType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Tuple Type'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Tuple Type'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTupleType(TupleType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //DataTypesSwitch
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesXMLProcessor.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesXMLProcessor.java
new file mode 100644
index 00000000000..9f8d717254e
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/DataTypes/util/DataTypesXMLProcessor.java
@@ -0,0 +1,61 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.DataTypes.DataTypesPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ *
+ *
+ * @generated
+ */
+public class DataTypesXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ *
+ *
+ * @generated
+ */
+ public DataTypesXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ DataTypesPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the DataTypesResourceFactoryImpl factory.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected Map+ * The following features are supported: + *
+ * If the meaning of the 'Symbol' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Symbol' attribute. + * @see #setSymbol(String) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.OperatorsPackage#getOperator_Symbol() + * @model dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.String" required="true" ordered="false" + * @generated + */ + String getSymbol(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.Operator#getSymbol Symbol}' attribute. + * + * + * @param value the new value of the 'Symbol' attribute. + * @see #getSymbol() + * @generated + */ + void setSymbol(String value); + + /** + * Returns the value of the 'Arity' attribute. + * + *+ * If the meaning of the 'Arity' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Arity' attribute. + * @see #setArity(int) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.OperatorsPackage#getOperator_Arity() + * @model dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Integer" required="true" volatile="true" derived="true" ordered="false" + * @generated + */ + int getArity(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.Operator#getArity Arity}' attribute. + * + * + * @param value the new value of the 'Arity' attribute. + * @see #getArity() + * @generated + */ + void setArity(int value); + + /** + * Returns the value of the 'Base Behavior' reference. + * + *+ * If the meaning of the 'Base Behavior' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behavior' reference. + * @see #setBase_Behavior(Behavior) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.OperatorsPackage#getOperator_Base_Behavior() + * @model required="true" ordered="false" + * @generated + */ + Behavior getBase_Behavior(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.Operator#getBase_Behavior Base Behavior}' reference. + * + * + * @param value the new value of the 'Base Behavior' reference. + * @see #getBase_Behavior() + * @generated + */ + void setBase_Behavior(Behavior value); + +} // Operator diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/OperatorsFactory.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/OperatorsFactory.java new file mode 100644 index 00000000000..13784f0cd3d --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/OperatorsFactory.java @@ -0,0 +1,46 @@ +/** + *+ * The following features are implemented: + *
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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.OperatorsPackage#eNS_URI + * @see #init() + * @generated + */ + private OperatorsPackageImpl() { + super(eNS_URI, OperatorsFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link OperatorsPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ *
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static OperatorsPackage init() {
+ if (isInited) return (OperatorsPackage)EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI);
+
+ // Obtain or create and register package
+ OperatorsPackageImpl theOperatorsPackage = (OperatorsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OperatorsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OperatorsPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ UMLPackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ MARTEPackageImpl theMARTEPackage = (MARTEPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) instanceof MARTEPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) : MARTEPackage.eINSTANCE);
+ NFPsPackageImpl theNFPsPackage = (NFPsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) instanceof NFPsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) : NFPsPackage.eINSTANCE);
+ CoreElementsPackageImpl theCoreElementsPackage = (CoreElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) instanceof CoreElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) : CoreElementsPackage.eINSTANCE);
+ AllocPackageImpl theAllocPackage = (AllocPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) instanceof AllocPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) : AllocPackage.eINSTANCE);
+ TimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE);
+ GRMPackageImpl theGRMPackage = (GRMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) instanceof GRMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) : GRMPackage.eINSTANCE);
+ RSMPackageImpl theRSMPackage = (RSMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) instanceof RSMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) : RSMPackage.eINSTANCE);
+ VariablesPackageImpl theVariablesPackage = (VariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) instanceof VariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) : VariablesPackage.eINSTANCE);
+ DataTypesPackageImpl theDataTypesPackage = (DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) instanceof DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) : DataTypesPackage.eINSTANCE);
+ HLAMPackageImpl theHLAMPackage = (HLAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) instanceof HLAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) : HLAMPackage.eINSTANCE);
+ HwComputingPackageImpl theHwComputingPackage = (HwComputingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) instanceof HwComputingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) : HwComputingPackage.eINSTANCE);
+ HwCommunicationPackageImpl theHwCommunicationPackage = (HwCommunicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) instanceof HwCommunicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) : HwCommunicationPackage.eINSTANCE);
+ HwStorageManagerPackageImpl theHwStorageManagerPackage = (HwStorageManagerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) instanceof HwStorageManagerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) : HwStorageManagerPackage.eINSTANCE);
+ HwMemoryPackageImpl theHwMemoryPackage = (HwMemoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) instanceof HwMemoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) : HwMemoryPackage.eINSTANCE);
+ HwTimingPackageImpl theHwTimingPackage = (HwTimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) instanceof HwTimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) : HwTimingPackage.eINSTANCE);
+ HwDevicePackageImpl theHwDevicePackage = (HwDevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) instanceof HwDevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) : HwDevicePackage.eINSTANCE);
+ HwGeneralPackageImpl theHwGeneralPackage = (HwGeneralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) instanceof HwGeneralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) : HwGeneralPackage.eINSTANCE);
+ HwLayoutPackageImpl theHwLayoutPackage = (HwLayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) instanceof HwLayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) : HwLayoutPackage.eINSTANCE);
+ HwPowerPackageImpl theHwPowerPackage = (HwPowerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) instanceof HwPowerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) : HwPowerPackage.eINSTANCE);
+ SW_ResourceCorePackageImpl theSW_ResourceCorePackage = (SW_ResourceCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) instanceof SW_ResourceCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) : SW_ResourceCorePackage.eINSTANCE);
+ SW_ConcurrencyPackageImpl theSW_ConcurrencyPackage = (SW_ConcurrencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) instanceof SW_ConcurrencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) : SW_ConcurrencyPackage.eINSTANCE);
+ SW_BrokeringPackageImpl theSW_BrokeringPackage = (SW_BrokeringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) instanceof SW_BrokeringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) : SW_BrokeringPackage.eINSTANCE);
+ SW_InteractionPackageImpl theSW_InteractionPackage = (SW_InteractionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) instanceof SW_InteractionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) : SW_InteractionPackage.eINSTANCE);
+ GCMPackageImpl theGCMPackage = (GCMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) instanceof GCMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) : GCMPackage.eINSTANCE);
+ GQAMPackageImpl theGQAMPackage = (GQAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) instanceof GQAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) : GQAMPackage.eINSTANCE);
+ SAMPackageImpl theSAMPackage = (SAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) instanceof SAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) : SAMPackage.eINSTANCE);
+ PAMPackageImpl thePAMPackage = (PAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) instanceof PAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) : PAMPackage.eINSTANCE);
+ MeasurementUnitsPackageImpl theMeasurementUnitsPackage = (MeasurementUnitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) instanceof MeasurementUnitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) : MeasurementUnitsPackage.eINSTANCE);
+ GRM_BasicTypesPackageImpl theGRM_BasicTypesPackage = (GRM_BasicTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) instanceof GRM_BasicTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) : GRM_BasicTypesPackage.eINSTANCE);
+ MARTE_DataTypesPackageImpl theMARTE_DataTypesPackage = (MARTE_DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) instanceof MARTE_DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) : MARTE_DataTypesPackage.eINSTANCE);
+ BasicNFP_TypesPackageImpl theBasicNFP_TypesPackage = (BasicNFP_TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) instanceof BasicNFP_TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) : BasicNFP_TypesPackage.eINSTANCE);
+ TimeTypesLibraryPackageImpl theTimeTypesLibraryPackage = (TimeTypesLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) instanceof TimeTypesLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) : TimeTypesLibraryPackage.eINSTANCE);
+ TimeLibraryPackageImpl theTimeLibraryPackage = (TimeLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) instanceof TimeLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) : TimeLibraryPackage.eINSTANCE);
+ RS_LibraryPackageImpl theRS_LibraryPackage = (RS_LibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) instanceof RS_LibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) : RS_LibraryPackage.eINSTANCE);
+ MARTE_PrimitivesTypesPackageImpl theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) instanceof MARTE_PrimitivesTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) : MARTE_PrimitivesTypesPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theOperatorsPackage.createPackageContents();
+ theMARTEPackage.createPackageContents();
+ theNFPsPackage.createPackageContents();
+ theCoreElementsPackage.createPackageContents();
+ theAllocPackage.createPackageContents();
+ theTimePackage.createPackageContents();
+ theGRMPackage.createPackageContents();
+ theRSMPackage.createPackageContents();
+ theVariablesPackage.createPackageContents();
+ theDataTypesPackage.createPackageContents();
+ theHLAMPackage.createPackageContents();
+ theHwComputingPackage.createPackageContents();
+ theHwCommunicationPackage.createPackageContents();
+ theHwStorageManagerPackage.createPackageContents();
+ theHwMemoryPackage.createPackageContents();
+ theHwTimingPackage.createPackageContents();
+ theHwDevicePackage.createPackageContents();
+ theHwGeneralPackage.createPackageContents();
+ theHwLayoutPackage.createPackageContents();
+ theHwPowerPackage.createPackageContents();
+ theSW_ResourceCorePackage.createPackageContents();
+ theSW_ConcurrencyPackage.createPackageContents();
+ theSW_BrokeringPackage.createPackageContents();
+ theSW_InteractionPackage.createPackageContents();
+ theGCMPackage.createPackageContents();
+ theGQAMPackage.createPackageContents();
+ theSAMPackage.createPackageContents();
+ thePAMPackage.createPackageContents();
+ theMeasurementUnitsPackage.createPackageContents();
+ theGRM_BasicTypesPackage.createPackageContents();
+ theMARTE_DataTypesPackage.createPackageContents();
+ theBasicNFP_TypesPackage.createPackageContents();
+ theTimeTypesLibraryPackage.createPackageContents();
+ theTimeLibraryPackage.createPackageContents();
+ theRS_LibraryPackage.createPackageContents();
+ theMARTE_PrimitivesTypesPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theOperatorsPackage.initializePackageContents();
+ theMARTEPackage.initializePackageContents();
+ theNFPsPackage.initializePackageContents();
+ theCoreElementsPackage.initializePackageContents();
+ theAllocPackage.initializePackageContents();
+ theTimePackage.initializePackageContents();
+ theGRMPackage.initializePackageContents();
+ theRSMPackage.initializePackageContents();
+ theVariablesPackage.initializePackageContents();
+ theDataTypesPackage.initializePackageContents();
+ theHLAMPackage.initializePackageContents();
+ theHwComputingPackage.initializePackageContents();
+ theHwCommunicationPackage.initializePackageContents();
+ theHwStorageManagerPackage.initializePackageContents();
+ theHwMemoryPackage.initializePackageContents();
+ theHwTimingPackage.initializePackageContents();
+ theHwDevicePackage.initializePackageContents();
+ theHwGeneralPackage.initializePackageContents();
+ theHwLayoutPackage.initializePackageContents();
+ theHwPowerPackage.initializePackageContents();
+ theSW_ResourceCorePackage.initializePackageContents();
+ theSW_ConcurrencyPackage.initializePackageContents();
+ theSW_BrokeringPackage.initializePackageContents();
+ theSW_InteractionPackage.initializePackageContents();
+ theGCMPackage.initializePackageContents();
+ theGQAMPackage.initializePackageContents();
+ theSAMPackage.initializePackageContents();
+ thePAMPackage.initializePackageContents();
+ theMeasurementUnitsPackage.initializePackageContents();
+ theGRM_BasicTypesPackage.initializePackageContents();
+ theMARTE_DataTypesPackage.initializePackageContents();
+ theBasicNFP_TypesPackage.initializePackageContents();
+ theTimeTypesLibraryPackage.initializePackageContents();
+ theTimeLibraryPackage.initializePackageContents();
+ theRS_LibraryPackage.initializePackageContents();
+ theMARTE_PrimitivesTypesPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theOperatorsPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(OperatorsPackage.eNS_URI, theOperatorsPackage);
+ return theOperatorsPackage;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getOperator() {
+ return operatorEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getOperator_Symbol() {
+ return (EAttribute)operatorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getOperator_Arity() {
+ return (EAttribute)operatorEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getOperator_Base_Behavior() {
+ return (EReference)operatorEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public OperatorsFactory getOperatorsFactory() {
+ return (OperatorsFactory)getEFactoryInstance();
+ }
+
+ /**
+ *
+ *
+ * @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.
+ *
+ *
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ operatorEClass = createEClass(OPERATOR);
+ createEAttribute(operatorEClass, OPERATOR__SYMBOL);
+ createEAttribute(operatorEClass, OPERATOR__ARITY);
+ createEReference(operatorEClass, OPERATOR__BASE_BEHAVIOR);
+ }
+
+ /**
+ *
+ *
+ * @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.
+ *
+ *
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ MARTE_PrimitivesTypesPackage theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(operatorEClass, Operator.class, "Operator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getOperator_Symbol(), theMARTE_PrimitivesTypesPackage.getString(), "symbol", null, 1, 1, Operator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getOperator_Arity(), theMARTE_PrimitivesTypesPackage.getInteger(), "arity", null, 1, 1, Operator.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getOperator_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 1, 1, Operator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ }
+
+} //OperatorsPackageImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsAdapterFactory.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsAdapterFactory.java
new file mode 100644
index 00000000000..c101fc5f2c3
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsAdapterFactory.java
@@ -0,0 +1,124 @@
+/**
+ *
+ * The following features are supported:
+ * createXXX
method for each class of the model.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.OperatorsPackage
+ * @generated
+ */
+public class OperatorsAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static OperatorsPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public OperatorsAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = OperatorsPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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 createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected OperatorsSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @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.MARTE.MARTE_Annexes.VSL.Operators.Operator Operator}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.Operator
+ * @generated
+ */
+ public Adapter createOperatorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //OperatorsAdapterFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsResourceFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsResourceFactoryImpl.java
new file mode 100644
index 00000000000..e7b62ec1345
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsResourceFactoryImpl.java
@@ -0,0 +1,56 @@
+/**
+ * caseXXX
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.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Operators.OperatorsPackage
+ * @generated
+ */
+public class OperatorsSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ ListcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case OperatorsPackage.OPERATOR: {
+ Operator operator = (Operator)theEObject;
+ T result = caseOperator(operator);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Operator'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Operator'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOperator(Operator object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //OperatorsSwitch
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsXMLProcessor.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsXMLProcessor.java
new file mode 100644
index 00000000000..8422fe2b771
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Operators/util/OperatorsXMLProcessor.java
@@ -0,0 +1,54 @@
+/**
+ *
+ *
+ *
+ * If the meaning of the 'Base Named Element' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Named Element' reference. + * @see #setBase_NamedElement(NamedElement) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariablesPackage#getExpressionContext_Base_NamedElement() + * @model required="true" ordered="false" + * @generated + */ + NamedElement getBase_NamedElement(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext#getBase_NamedElement Base Named Element}' reference. + * + * + * @param value the new value of the 'Base Named Element' reference. + * @see #getBase_NamedElement() + * @generated + */ + void setBase_NamedElement(NamedElement value); + +} // ExpressionContext diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/Var.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/Var.java new file mode 100644 index 00000000000..6c3e6a93fc2 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/Var.java @@ -0,0 +1,94 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Property; + +/** + * + * A representation of the model object 'Var'. + * + * + *+ * The following features are supported: + *
"inout"
.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariableDirectionKind}.
+ *
+ * + * If the meaning of the 'Dir' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Dir' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariableDirectionKind + * @see #setDir(VariableDirectionKind) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariablesPackage#getVar_Dir() + * @model default="inout" unique="false" ordered="false" + * @generated + */ + VariableDirectionKind getDir(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.Var#getDir Dir}' attribute. + * + * + * @param value the new value of the 'Dir' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariableDirectionKind + * @see #getDir() + * @generated + */ + void setDir(VariableDirectionKind value); + + /** + * Returns the value of the 'Base Property' reference. + * + *+ * If the meaning of the 'Base Property' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Property' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariablesPackage#getVar_Base_Property() + * @model required="true" ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.Var#getBase_Property Base Property}' reference. + * + * + * @param value the new value of the 'Base Property' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + +} // Var diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/VariableDirectionKind.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/VariableDirectionKind.java new file mode 100644 index 00000000000..9af3365bce9 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/VariableDirectionKind.java @@ -0,0 +1,246 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Variable Direction Kind', + * and utility methods for working with them. + * + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariablesPackage#getVariableDirectionKind() + * @model + * @generated + */ +public enum VariableDirectionKind implements Enumerator { + /** + * The 'In' literal object. + * + * + * @see #IN_VALUE + * @generated + * @ordered + */ + IN(0, "in", "in"), + + /** + * The 'Out' literal object. + * + * + * @see #OUT_VALUE + * @generated + * @ordered + */ + OUT(1, "out", "out"), + + /** + * The 'Inout' literal object. + * + * + * @see #INOUT_VALUE + * @generated + * @ordered + */ + INOUT(2, "inout", "inout"); + + /** + * The 'In' literal value. + * + *+ * If the meaning of 'In' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #IN + * @model name="in" + * @generated + * @ordered + */ + public static final int IN_VALUE = 0; + + /** + * The 'Out' literal value. + * + *+ * If the meaning of 'Out' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OUT + * @model name="out" + * @generated + * @ordered + */ + public static final int OUT_VALUE = 1; + + /** + * The 'Inout' literal value. + * + *+ * If the meaning of 'Inout' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #INOUT + * @model name="inout" + * @generated + * @ordered + */ + public static final int INOUT_VALUE = 2; + + /** + * An array of all the 'Variable Direction Kind' enumerators. + * + * + * @generated + */ + private static final VariableDirectionKind[] VALUES_ARRAY = + new VariableDirectionKind[] { + IN, + OUT, + INOUT, + }; + + /** + * A public read-only list of all the 'Variable Direction Kind' enumerators. + * + * + * @generated + */ + public static final List+ * The following features are implemented: + *
+ * The following features are implemented: + *
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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariablesPackage#eNS_URI + * @see #init() + * @generated + */ + private VariablesPackageImpl() { + super(eNS_URI, VariablesFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link VariablesPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ *
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static VariablesPackage init() {
+ if (isInited) return (VariablesPackage)EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI);
+
+ // Obtain or create and register package
+ VariablesPackageImpl theVariablesPackage = (VariablesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof VariablesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new VariablesPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ UMLPackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ MARTEPackageImpl theMARTEPackage = (MARTEPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) instanceof MARTEPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) : MARTEPackage.eINSTANCE);
+ NFPsPackageImpl theNFPsPackage = (NFPsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) instanceof NFPsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) : NFPsPackage.eINSTANCE);
+ CoreElementsPackageImpl theCoreElementsPackage = (CoreElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) instanceof CoreElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) : CoreElementsPackage.eINSTANCE);
+ AllocPackageImpl theAllocPackage = (AllocPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) instanceof AllocPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) : AllocPackage.eINSTANCE);
+ TimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE);
+ GRMPackageImpl theGRMPackage = (GRMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) instanceof GRMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) : GRMPackage.eINSTANCE);
+ RSMPackageImpl theRSMPackage = (RSMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) instanceof RSMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) : RSMPackage.eINSTANCE);
+ OperatorsPackageImpl theOperatorsPackage = (OperatorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) instanceof OperatorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) : OperatorsPackage.eINSTANCE);
+ DataTypesPackageImpl theDataTypesPackage = (DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) instanceof DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) : DataTypesPackage.eINSTANCE);
+ HLAMPackageImpl theHLAMPackage = (HLAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) instanceof HLAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) : HLAMPackage.eINSTANCE);
+ HwComputingPackageImpl theHwComputingPackage = (HwComputingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) instanceof HwComputingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) : HwComputingPackage.eINSTANCE);
+ HwCommunicationPackageImpl theHwCommunicationPackage = (HwCommunicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) instanceof HwCommunicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) : HwCommunicationPackage.eINSTANCE);
+ HwStorageManagerPackageImpl theHwStorageManagerPackage = (HwStorageManagerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) instanceof HwStorageManagerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) : HwStorageManagerPackage.eINSTANCE);
+ HwMemoryPackageImpl theHwMemoryPackage = (HwMemoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) instanceof HwMemoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) : HwMemoryPackage.eINSTANCE);
+ HwTimingPackageImpl theHwTimingPackage = (HwTimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) instanceof HwTimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) : HwTimingPackage.eINSTANCE);
+ HwDevicePackageImpl theHwDevicePackage = (HwDevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) instanceof HwDevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) : HwDevicePackage.eINSTANCE);
+ HwGeneralPackageImpl theHwGeneralPackage = (HwGeneralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) instanceof HwGeneralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) : HwGeneralPackage.eINSTANCE);
+ HwLayoutPackageImpl theHwLayoutPackage = (HwLayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) instanceof HwLayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) : HwLayoutPackage.eINSTANCE);
+ HwPowerPackageImpl theHwPowerPackage = (HwPowerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) instanceof HwPowerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) : HwPowerPackage.eINSTANCE);
+ SW_ResourceCorePackageImpl theSW_ResourceCorePackage = (SW_ResourceCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) instanceof SW_ResourceCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) : SW_ResourceCorePackage.eINSTANCE);
+ SW_ConcurrencyPackageImpl theSW_ConcurrencyPackage = (SW_ConcurrencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) instanceof SW_ConcurrencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) : SW_ConcurrencyPackage.eINSTANCE);
+ SW_BrokeringPackageImpl theSW_BrokeringPackage = (SW_BrokeringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) instanceof SW_BrokeringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) : SW_BrokeringPackage.eINSTANCE);
+ SW_InteractionPackageImpl theSW_InteractionPackage = (SW_InteractionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) instanceof SW_InteractionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) : SW_InteractionPackage.eINSTANCE);
+ GCMPackageImpl theGCMPackage = (GCMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) instanceof GCMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) : GCMPackage.eINSTANCE);
+ GQAMPackageImpl theGQAMPackage = (GQAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) instanceof GQAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) : GQAMPackage.eINSTANCE);
+ SAMPackageImpl theSAMPackage = (SAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) instanceof SAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) : SAMPackage.eINSTANCE);
+ PAMPackageImpl thePAMPackage = (PAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) instanceof PAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) : PAMPackage.eINSTANCE);
+ MeasurementUnitsPackageImpl theMeasurementUnitsPackage = (MeasurementUnitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) instanceof MeasurementUnitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) : MeasurementUnitsPackage.eINSTANCE);
+ GRM_BasicTypesPackageImpl theGRM_BasicTypesPackage = (GRM_BasicTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) instanceof GRM_BasicTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) : GRM_BasicTypesPackage.eINSTANCE);
+ MARTE_DataTypesPackageImpl theMARTE_DataTypesPackage = (MARTE_DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) instanceof MARTE_DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) : MARTE_DataTypesPackage.eINSTANCE);
+ BasicNFP_TypesPackageImpl theBasicNFP_TypesPackage = (BasicNFP_TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) instanceof BasicNFP_TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) : BasicNFP_TypesPackage.eINSTANCE);
+ TimeTypesLibraryPackageImpl theTimeTypesLibraryPackage = (TimeTypesLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) instanceof TimeTypesLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) : TimeTypesLibraryPackage.eINSTANCE);
+ TimeLibraryPackageImpl theTimeLibraryPackage = (TimeLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) instanceof TimeLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) : TimeLibraryPackage.eINSTANCE);
+ RS_LibraryPackageImpl theRS_LibraryPackage = (RS_LibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) instanceof RS_LibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) : RS_LibraryPackage.eINSTANCE);
+ MARTE_PrimitivesTypesPackageImpl theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) instanceof MARTE_PrimitivesTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) : MARTE_PrimitivesTypesPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theVariablesPackage.createPackageContents();
+ theMARTEPackage.createPackageContents();
+ theNFPsPackage.createPackageContents();
+ theCoreElementsPackage.createPackageContents();
+ theAllocPackage.createPackageContents();
+ theTimePackage.createPackageContents();
+ theGRMPackage.createPackageContents();
+ theRSMPackage.createPackageContents();
+ theOperatorsPackage.createPackageContents();
+ theDataTypesPackage.createPackageContents();
+ theHLAMPackage.createPackageContents();
+ theHwComputingPackage.createPackageContents();
+ theHwCommunicationPackage.createPackageContents();
+ theHwStorageManagerPackage.createPackageContents();
+ theHwMemoryPackage.createPackageContents();
+ theHwTimingPackage.createPackageContents();
+ theHwDevicePackage.createPackageContents();
+ theHwGeneralPackage.createPackageContents();
+ theHwLayoutPackage.createPackageContents();
+ theHwPowerPackage.createPackageContents();
+ theSW_ResourceCorePackage.createPackageContents();
+ theSW_ConcurrencyPackage.createPackageContents();
+ theSW_BrokeringPackage.createPackageContents();
+ theSW_InteractionPackage.createPackageContents();
+ theGCMPackage.createPackageContents();
+ theGQAMPackage.createPackageContents();
+ theSAMPackage.createPackageContents();
+ thePAMPackage.createPackageContents();
+ theMeasurementUnitsPackage.createPackageContents();
+ theGRM_BasicTypesPackage.createPackageContents();
+ theMARTE_DataTypesPackage.createPackageContents();
+ theBasicNFP_TypesPackage.createPackageContents();
+ theTimeTypesLibraryPackage.createPackageContents();
+ theTimeLibraryPackage.createPackageContents();
+ theRS_LibraryPackage.createPackageContents();
+ theMARTE_PrimitivesTypesPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theVariablesPackage.initializePackageContents();
+ theMARTEPackage.initializePackageContents();
+ theNFPsPackage.initializePackageContents();
+ theCoreElementsPackage.initializePackageContents();
+ theAllocPackage.initializePackageContents();
+ theTimePackage.initializePackageContents();
+ theGRMPackage.initializePackageContents();
+ theRSMPackage.initializePackageContents();
+ theOperatorsPackage.initializePackageContents();
+ theDataTypesPackage.initializePackageContents();
+ theHLAMPackage.initializePackageContents();
+ theHwComputingPackage.initializePackageContents();
+ theHwCommunicationPackage.initializePackageContents();
+ theHwStorageManagerPackage.initializePackageContents();
+ theHwMemoryPackage.initializePackageContents();
+ theHwTimingPackage.initializePackageContents();
+ theHwDevicePackage.initializePackageContents();
+ theHwGeneralPackage.initializePackageContents();
+ theHwLayoutPackage.initializePackageContents();
+ theHwPowerPackage.initializePackageContents();
+ theSW_ResourceCorePackage.initializePackageContents();
+ theSW_ConcurrencyPackage.initializePackageContents();
+ theSW_BrokeringPackage.initializePackageContents();
+ theSW_InteractionPackage.initializePackageContents();
+ theGCMPackage.initializePackageContents();
+ theGQAMPackage.initializePackageContents();
+ theSAMPackage.initializePackageContents();
+ thePAMPackage.initializePackageContents();
+ theMeasurementUnitsPackage.initializePackageContents();
+ theGRM_BasicTypesPackage.initializePackageContents();
+ theMARTE_DataTypesPackage.initializePackageContents();
+ theBasicNFP_TypesPackage.initializePackageContents();
+ theTimeTypesLibraryPackage.initializePackageContents();
+ theTimeLibraryPackage.initializePackageContents();
+ theRS_LibraryPackage.initializePackageContents();
+ theMARTE_PrimitivesTypesPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theVariablesPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(VariablesPackage.eNS_URI, theVariablesPackage);
+ return theVariablesPackage;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getVar() {
+ return varEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVar_Dir() {
+ return (EAttribute)varEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVar_Base_Property() {
+ return (EReference)varEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getExpressionContext() {
+ return expressionContextEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getExpressionContext_Base_NamedElement() {
+ return (EReference)expressionContextEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EEnum getVariableDirectionKind() {
+ return variableDirectionKindEEnum;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public VariablesFactory getVariablesFactory() {
+ return (VariablesFactory)getEFactoryInstance();
+ }
+
+ /**
+ *
+ *
+ * @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.
+ *
+ *
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ varEClass = createEClass(VAR);
+ createEAttribute(varEClass, VAR__DIR);
+ createEReference(varEClass, VAR__BASE_PROPERTY);
+
+ expressionContextEClass = createEClass(EXPRESSION_CONTEXT);
+ createEReference(expressionContextEClass, EXPRESSION_CONTEXT__BASE_NAMED_ELEMENT);
+
+ // Create enums
+ variableDirectionKindEEnum = createEEnum(VARIABLE_DIRECTION_KIND);
+ }
+
+ /**
+ *
+ *
+ * @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.
+ *
+ *
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(varEClass, Var.class, "Var", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getVar_Dir(), this.getVariableDirectionKind(), "dir", "inout", 0, 1, Var.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getVar_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, Var.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(expressionContextEClass, ExpressionContext.class, "ExpressionContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getExpressionContext_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, ExpressionContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(variableDirectionKindEEnum, VariableDirectionKind.class, "VariableDirectionKind");
+ addEEnumLiteral(variableDirectionKindEEnum, VariableDirectionKind.IN);
+ addEEnumLiteral(variableDirectionKindEEnum, VariableDirectionKind.OUT);
+ addEEnumLiteral(variableDirectionKindEEnum, VariableDirectionKind.INOUT);
+ }
+
+} //VariablesPackageImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesAdapterFactory.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesAdapterFactory.java
new file mode 100644
index 00000000000..e33609ad634
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesAdapterFactory.java
@@ -0,0 +1,149 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.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.MARTE.MARTE_Annexes.VSL.Variables.*;
+
+/**
+ *
+ * The Adapter Factory for the model.
+ * It provides an adapter
+ * The following features are supported:
+ * createXXX
method for each class of the model.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariablesPackage
+ * @generated
+ */
+public class VariablesAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static VariablesPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public VariablesAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = VariablesPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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 createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected VariablesSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @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.MARTE.MARTE_Annexes.VSL.Variables.Var Var}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.Var
+ * @generated
+ */
+ public Adapter createVarAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext Expression Context}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.ExpressionContext
+ * @generated
+ */
+ public Adapter createExpressionContextAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //VariablesAdapterFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesResourceFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesResourceFactoryImpl.java
new file mode 100644
index 00000000000..9da29d5b76c
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesResourceFactoryImpl.java
@@ -0,0 +1,63 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ *
+ * The Resource Factory associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.util.VariablesResourceImpl
+ * @generated
+ */
+public class VariablesResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ *
+ *
+ * @generated
+ */
+ public VariablesResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new VariablesResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //VariablesResourceFactoryImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesResourceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesResourceImpl.java
new file mode 100644
index 00000000000..b906d42cf34
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesResourceImpl.java
@@ -0,0 +1,39 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ *
+ * The Resource associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.util.VariablesResourceFactoryImpl
+ * @generated
+ */
+public class VariablesResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public VariablesResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //VariablesResourceImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesSwitch.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesSwitch.java
new file mode 100644
index 00000000000..071fbb41fde
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesSwitch.java
@@ -0,0 +1,158 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.*;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
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.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariablesPackage
+ * @generated
+ */
+public class VariablesSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ ListcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case VariablesPackage.VAR: {
+ Var var = (Var)theEObject;
+ T result = caseVar(var);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VariablesPackage.EXPRESSION_CONTEXT: {
+ ExpressionContext expressionContext = (ExpressionContext)theEObject;
+ T result = caseExpressionContext(expressionContext);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Var'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Var'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVar(Var object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Expression Context'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Expression Context'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExpressionContext(ExpressionContext object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //VariablesSwitch
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesXMLProcessor.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesXMLProcessor.java
new file mode 100644
index 00000000000..f419243edc1
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Annexes/VSL/Variables/util/VariablesXMLProcessor.java
@@ -0,0 +1,61 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.eclipse.papyrus.MARTE.MARTE_Annexes.VSL.Variables.VariablesPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ *
+ *
+ * @generated
+ */
+public class VariablesXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ *
+ *
+ * @generated
+ */
+ public VariablesXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ VariablesPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the VariablesResourceFactoryImpl factory.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected Map
+ *
+ *
"proreq"
.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerKind}.
+ *
+ * + * If the meaning of the 'Kind' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerKind + * @see #setKind(ClientServerKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerFeature_Kind() + * @model default="proreq" unique="false" required="true" ordered="false" + * @generated + */ + ClientServerKind getKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerFeature#getKind Kind}' attribute. + * + * + * @param value the new value of the 'Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerKind + * @see #getKind() + * @generated + */ + void setKind(ClientServerKind value); + + /** + * Returns the value of the 'Base Behavioral Feature' reference. + * + *+ * If the meaning of the 'Base Behavioral Feature' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behavioral Feature' reference. + * @see #setBase_BehavioralFeature(BehavioralFeature) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerFeature_Base_BehavioralFeature() + * @model required="true" ordered="false" + * @generated + */ + BehavioralFeature getBase_BehavioralFeature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerFeature#getBase_BehavioralFeature Base Behavioral Feature}' reference. + * + * + * @param value the new value of the 'Base Behavioral Feature' reference. + * @see #getBase_BehavioralFeature() + * @generated + */ + void setBase_BehavioralFeature(BehavioralFeature value); + +} // ClientServerFeature diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerKind.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerKind.java new file mode 100644 index 00000000000..b6f797ce2ea --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerKind.java @@ -0,0 +1,246 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Client Server Kind', + * and utility methods for working with them. + * + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerKind() + * @model + * @generated + */ +public enum ClientServerKind implements Enumerator { + /** + * The 'Required' literal object. + * + * + * @see #REQUIRED_VALUE + * @generated + * @ordered + */ + REQUIRED(0, "required", "required"), + + /** + * The 'Provided' literal object. + * + * + * @see #PROVIDED_VALUE + * @generated + * @ordered + */ + PROVIDED(1, "provided", "provided"), + + /** + * The 'Proreq' literal object. + * + * + * @see #PROREQ_VALUE + * @generated + * @ordered + */ + PROREQ(2, "proreq", "proreq"); + + /** + * The 'Required' literal value. + * + *+ * If the meaning of 'Required' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #REQUIRED + * @model name="required" + * @generated + * @ordered + */ + public static final int REQUIRED_VALUE = 0; + + /** + * The 'Provided' literal value. + * + *+ * If the meaning of 'Provided' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #PROVIDED + * @model name="provided" + * @generated + * @ordered + */ + public static final int PROVIDED_VALUE = 1; + + /** + * The 'Proreq' literal value. + * + *+ * If the meaning of 'Proreq' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #PROREQ + * @model name="proreq" + * @generated + * @ordered + */ + public static final int PROREQ_VALUE = 2; + + /** + * An array of all the 'Client Server Kind' enumerators. + * + * + * @generated + */ + private static final ClientServerKind[] VALUES_ARRAY = + new ClientServerKind[] { + REQUIRED, + PROVIDED, + PROREQ, + }; + + /** + * A public read-only list of all the 'Client Server Kind' enumerators. + * + * + * @generated + */ + public static final List+ * The following features are supported: + *
+ * If the meaning of the 'Base Port' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Port' reference. + * @see #setBase_Port(Port) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerPort_Base_Port() + * @model required="true" ordered="false" + * @generated + */ + Port getBase_Port(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerPort#getBase_Port Base Port}' reference. + * + * + * @param value the new value of the 'Base Port' reference. + * @see #getBase_Port() + * @generated + */ + void setBase_Port(Port value); + + /** + * Returns the value of the 'Specification Kind' attribute. + * The default value is"interfaceBased"
.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.PortSpecificationKind}.
+ *
+ * + * If the meaning of the 'Specification Kind' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Specification Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.PortSpecificationKind + * @see #setSpecificationKind(PortSpecificationKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerPort_SpecificationKind() + * @model default="interfaceBased" unique="false" required="true" transient="true" volatile="true" derived="true" ordered="false" + * @generated + */ + PortSpecificationKind getSpecificationKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerPort#getSpecificationKind Specification Kind}' attribute. + * + * + * @param value the new value of the 'Specification Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.PortSpecificationKind + * @see #getSpecificationKind() + * @generated + */ + void setSpecificationKind(PortSpecificationKind value); + + /** + * Returns the value of the 'Kind' attribute. + * The default value is"proreq"
.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerKind}.
+ *
+ * + * If the meaning of the 'Kind' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerKind + * @see #setKind(ClientServerKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerPort_Kind() + * @model default="proreq" unique="false" required="true" ordered="false" + * @generated + */ + ClientServerKind getKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerPort#getKind Kind}' attribute. + * + * + * @param value the new value of the 'Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerKind + * @see #getKind() + * @generated + */ + void setKind(ClientServerKind value); + + /** + * Returns the value of the 'Prov Interface' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Interface}. + * + *+ * If the meaning of the 'Prov Interface' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Prov Interface' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerPort_ProvInterface() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Req Interface' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Req Interface' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerPort_ReqInterface() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Features Spec' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Features Spec' reference. + * @see #setFeaturesSpec(ClientServerSpecification) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerPort_FeaturesSpec() + * @model ordered="false" + * @generated + */ + ClientServerSpecification getFeaturesSpec(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerPort#getFeaturesSpec Features Spec}' reference. + * + * + * @param value the new value of the 'Features Spec' reference. + * @see #getFeaturesSpec() + * @generated + */ + void setFeaturesSpec(ClientServerSpecification value); + +} // ClientServerPort diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerSpecification.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerSpecification.java new file mode 100644 index 00000000000..a57befda459 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/ClientServerSpecification.java @@ -0,0 +1,63 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Interface; + +/** + * + * A representation of the model object 'Client Server Specification'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Base Interface' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Interface' reference. + * @see #setBase_Interface(Interface) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getClientServerSpecification_Base_Interface() + * @model required="true" ordered="false" + * @generated + */ + Interface getBase_Interface(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerSpecification#getBase_Interface Base Interface}' reference. + * + * + * @param value the new value of the 'Base Interface' reference. + * @see #getBase_Interface() + * @generated + */ + void setBase_Interface(Interface value); + +} // ClientServerSpecification diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataEvent.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataEvent.java new file mode 100644 index 00000000000..9298b9ee99f --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataEvent.java @@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.AnyReceiveEvent; +import org.eclipse.uml2.uml.Classifier; + +/** + * + * A representation of the model object 'Data Event'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Base Any Receive Event' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Any Receive Event' reference. + * @see #setBase_AnyReceiveEvent(AnyReceiveEvent) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getDataEvent_Base_AnyReceiveEvent() + * @model required="true" ordered="false" + * @generated + */ + AnyReceiveEvent getBase_AnyReceiveEvent(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataEvent#getBase_AnyReceiveEvent Base Any Receive Event}' reference. + * + * + * @param value the new value of the 'Base Any Receive Event' reference. + * @see #getBase_AnyReceiveEvent() + * @generated + */ + void setBase_AnyReceiveEvent(AnyReceiveEvent value); + + /** + * Returns the value of the 'Classifier' reference. + * + *+ * If the meaning of the 'Classifier' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Classifier' reference. + * @see #setClassifier(Classifier) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getDataEvent_Classifier() + * @model required="true" ordered="false" + * @generated + */ + Classifier getClassifier(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataEvent#getClassifier Classifier}' reference. + * + * + * @param value the new value of the 'Classifier' reference. + * @see #getClassifier() + * @generated + */ + void setClassifier(Classifier value); + +} // DataEvent diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataPool.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataPool.java new file mode 100644 index 00000000000..51e7b9b3c7a --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataPool.java @@ -0,0 +1,149 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Property; + +/** + * + * A representation of the model object 'Data Pool'. + * + * + *+ * The following features are supported: + *
"FIFO"
.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataPoolOrderingKind}.
+ *
+ * + * If the meaning of the 'Ordering' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Ordering' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataPoolOrderingKind + * @see #setOrdering(DataPoolOrderingKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getDataPool_Ordering() + * @model default="FIFO" unique="false" required="true" ordered="false" + * @generated + */ + DataPoolOrderingKind getOrdering(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataPool#getOrdering Ordering}' attribute. + * + * + * @param value the new value of the 'Ordering' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataPoolOrderingKind + * @see #getOrdering() + * @generated + */ + void setOrdering(DataPoolOrderingKind value); + + /** + * Returns the value of the 'Base Property' reference. + * + *+ * If the meaning of the 'Base Property' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Property' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getDataPool_Base_Property() + * @model required="true" ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataPool#getBase_Property Base Property}' reference. + * + * + * @param value the new value of the 'Base Property' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + + /** + * Returns the value of the 'Insertion' reference. + * + *+ * If the meaning of the 'Insertion' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Insertion' reference. + * @see #setInsertion(Behavior) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getDataPool_Insertion() + * @model ordered="false" + * @generated + */ + Behavior getInsertion(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataPool#getInsertion Insertion}' reference. + * + * + * @param value the new value of the 'Insertion' reference. + * @see #getInsertion() + * @generated + */ + void setInsertion(Behavior value); + + /** + * Returns the value of the 'Selection' reference. + * + *+ * If the meaning of the 'Selection' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Selection' reference. + * @see #setSelection(Behavior) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getDataPool_Selection() + * @model ordered="false" + * @generated + */ + Behavior getSelection(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataPool#getSelection Selection}' reference. + * + * + * @param value the new value of the 'Selection' reference. + * @see #getSelection() + * @generated + */ + void setSelection(Behavior value); + +} // DataPool diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataPoolOrderingKind.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataPoolOrderingKind.java new file mode 100644 index 00000000000..23319ce19c5 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/DataPoolOrderingKind.java @@ -0,0 +1,246 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Data Pool Ordering Kind', + * and utility methods for working with them. + * + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getDataPoolOrderingKind() + * @model + * @generated + */ +public enum DataPoolOrderingKind implements Enumerator { + /** + * The 'FIFO' literal object. + * + * + * @see #FIFO_VALUE + * @generated + * @ordered + */ + FIFO(0, "FIFO", "FIFO"), + + /** + * The 'LIFO' literal object. + * + * + * @see #LIFO_VALUE + * @generated + * @ordered + */ + LIFO(1, "LIFO", "LIFO"), + + /** + * The 'User Defined' literal object. + * + * + * @see #USER_DEFINED_VALUE + * @generated + * @ordered + */ + USER_DEFINED(2, "UserDefined", "UserDefined"); + + /** + * The 'FIFO' literal value. + * + *+ * If the meaning of 'FIFO' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #FIFO + * @model + * @generated + * @ordered + */ + public static final int FIFO_VALUE = 0; + + /** + * The 'LIFO' literal value. + * + *+ * If the meaning of 'LIFO' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #LIFO + * @model + * @generated + * @ordered + */ + public static final int LIFO_VALUE = 1; + + /** + * The 'User Defined' literal value. + * + *+ * If the meaning of 'User Defined' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #USER_DEFINED + * @model name="UserDefined" + * @generated + * @ordered + */ + public static final int USER_DEFINED_VALUE = 2; + + /** + * An array of all the 'Data Pool Ordering Kind' enumerators. + * + * + * @generated + */ + private static final DataPoolOrderingKind[] VALUES_ARRAY = + new DataPoolOrderingKind[] { + FIFO, + LIFO, + USER_DEFINED, + }; + + /** + * A public read-only list of all the 'Data Pool Ordering Kind' enumerators. + * + * + * @generated + */ + public static final List+ * If the meaning of 'In' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #IN + * @model name="in" + * @generated + * @ordered + */ + public static final int IN_VALUE = 0; + + /** + * The 'Out' literal value. + * + *+ * If the meaning of 'Out' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OUT + * @model name="out" + * @generated + * @ordered + */ + public static final int OUT_VALUE = 1; + + /** + * The 'Inout' literal value. + * + *+ * If the meaning of 'Inout' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #INOUT + * @model name="inout" + * @generated + * @ordered + */ + public static final int INOUT_VALUE = 2; + + /** + * An array of all the 'Flow Direction Kind' enumerators. + * + * + * @generated + */ + private static final FlowDirectionKind[] VALUES_ARRAY = + new FlowDirectionKind[] { + IN, + OUT, + INOUT, + }; + + /** + * A public read-only list of all the 'Flow Direction Kind' enumerators. + * + * + * @generated + */ + public static final List+ * The following features are supported: + *
+ * If the meaning of the 'Is Atomic' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Atomic' attribute. + * @see #setIsAtomic(boolean) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getFlowPort_IsAtomic() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Boolean" required="true" transient="true" volatile="true" derived="true" ordered="false" + * @generated + */ + boolean isIsAtomic(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowPort#isIsAtomic Is Atomic}' attribute. + * + * + * @param value the new value of the 'Is Atomic' attribute. + * @see #isIsAtomic() + * @generated + */ + void setIsAtomic(boolean value); + + /** + * Returns the value of the 'Direction' attribute. + * The default value is"inout"
.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowDirectionKind}.
+ *
+ * + * If the meaning of the 'Direction' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Direction' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowDirectionKind + * @see #setDirection(FlowDirectionKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getFlowPort_Direction() + * @model default="inout" unique="false" required="true" ordered="false" + * @generated + */ + FlowDirectionKind getDirection(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowPort#getDirection Direction}' attribute. + * + * + * @param value the new value of the 'Direction' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowDirectionKind + * @see #getDirection() + * @generated + */ + void setDirection(FlowDirectionKind value); + + /** + * Returns the value of the 'Base Port' reference. + * + *+ * If the meaning of the 'Base Port' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Port' reference. + * @see #setBase_Port(Port) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getFlowPort_Base_Port() + * @model required="true" ordered="false" + * @generated + */ + Port getBase_Port(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowPort#getBase_Port Base Port}' reference. + * + * + * @param value the new value of the 'Base Port' reference. + * @see #getBase_Port() + * @generated + */ + void setBase_Port(Port value); + +} // FlowPort diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowProperty.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowProperty.java new file mode 100644 index 00000000000..7dad4993de4 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowProperty.java @@ -0,0 +1,94 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Property; + +/** + * + * A representation of the model object 'Flow Property'. + * + * + *+ * The following features are supported: + *
"inout"
.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowDirectionKind}.
+ *
+ * + * If the meaning of the 'Direction' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Direction' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowDirectionKind + * @see #setDirection(FlowDirectionKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getFlowProperty_Direction() + * @model default="inout" unique="false" required="true" ordered="false" + * @generated + */ + FlowDirectionKind getDirection(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowProperty#getDirection Direction}' attribute. + * + * + * @param value the new value of the 'Direction' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowDirectionKind + * @see #getDirection() + * @generated + */ + void setDirection(FlowDirectionKind value); + + /** + * Returns the value of the 'Base Property' reference. + * + *+ * If the meaning of the 'Base Property' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Property' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getFlowProperty_Base_Property() + * @model required="true" ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowProperty#getBase_Property Base Property}' reference. + * + * + * @param value the new value of the 'Base Property' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + +} // FlowProperty diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowSpecification.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowSpecification.java new file mode 100644 index 00000000000..df186355d87 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/FlowSpecification.java @@ -0,0 +1,63 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Interface; + +/** + * + * A representation of the model object 'Flow Specification'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Base Interface' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Interface' reference. + * @see #setBase_Interface(Interface) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getFlowSpecification_Base_Interface() + * @model required="true" ordered="false" + * @generated + */ + Interface getBase_Interface(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowSpecification#getBase_Interface Base Interface}' reference. + * + * + * @param value the new value of the 'Base Interface' reference. + * @see #getBase_Interface() + * @generated + */ + void setBase_Interface(Interface value); + +} // FlowSpecification diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMFactory.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMFactory.java new file mode 100644 index 00000000000..afdfcbf0533 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMFactory.java @@ -0,0 +1,143 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage + * @generated + */ +public interface GCMFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + GCMFactory eINSTANCE = org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.impl.GCMFactoryImpl.init(); + + /** + * Returns a new object of class 'Flow Property'. + * + * + * @return a new object of class 'Flow Property'. + * @generated + */ + FlowProperty createFlowProperty(); + + /** + * Returns a new object of class 'Flow Port'. + * + * + * @return a new object of class 'Flow Port'. + * @generated + */ + FlowPort createFlowPort(); + + /** + * Returns a new object of class 'Client Server Port'. + * + * + * @return a new object of class 'Client Server Port'. + * @generated + */ + ClientServerPort createClientServerPort(); + + /** + * Returns a new object of class 'Client Server Specification'. + * + * + * @return a new object of class 'Client Server Specification'. + * @generated + */ + ClientServerSpecification createClientServerSpecification(); + + /** + * Returns a new object of class 'Flow Specification'. + * + * + * @return a new object of class 'Flow Specification'. + * @generated + */ + FlowSpecification createFlowSpecification(); + + /** + * Returns a new object of class 'Client Server Feature'. + * + * + * @return a new object of class 'Client Server Feature'. + * @generated + */ + ClientServerFeature createClientServerFeature(); + + /** + * Returns a new object of class 'Trigger'. + * + * + * @return a new object of class 'Trigger'. + * @generated + */ + GCMTrigger createGCMTrigger(); + + /** + * Returns a new object of class 'Invocation Action'. + * + * + * @return a new object of class 'Invocation Action'. + * @generated + */ + GCMInvocationAction createGCMInvocationAction(); + + /** + * Returns a new object of class 'Data Event'. + * + * + * @return a new object of class 'Data Event'. + * @generated + */ + DataEvent createDataEvent(); + + /** + * Returns a new object of class 'Data Pool'. + * + * + * @return a new object of class 'Data Pool'. + * @generated + */ + DataPool createDataPool(); + + /** + * Returns a new object of class 'Invocating Behavior'. + * + * + * @return a new object of class 'Invocating Behavior'. + * @generated + */ + GCMInvocatingBehavior createGCMInvocatingBehavior(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + GCMPackage getGCMPackage(); + +} //GCMFactory diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMInvocatingBehavior.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMInvocatingBehavior.java new file mode 100644 index 00000000000..d2be2aaefb5 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMInvocatingBehavior.java @@ -0,0 +1,119 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Feature; +import org.eclipse.uml2.uml.InvocationAction; +import org.eclipse.uml2.uml.Port; + +/** + * + * A representation of the model object 'Invocating Behavior'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Base Behavior' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behavior' reference. + * @see #setBase_Behavior(Behavior) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getGCMInvocatingBehavior_Base_Behavior() + * @model required="true" ordered="false" + * @generated + */ + Behavior getBase_Behavior(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMInvocatingBehavior#getBase_Behavior Base Behavior}' reference. + * + * + * @param value the new value of the 'Base Behavior' reference. + * @see #getBase_Behavior() + * @generated + */ + void setBase_Behavior(Behavior value); + + /** + * Returns the value of the 'On Ports' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Port}. + * + *+ * If the meaning of the 'On Ports' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'On Ports' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getGCMInvocatingBehavior_OnPorts() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'On Features' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'On Features' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getGCMInvocatingBehavior_OnFeatures() + * @model ordered="false" + * @generated + */ + EList+ * If the meaning of the 'Invocations' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Invocations' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getGCMInvocatingBehavior_Invocations() + * @model ordered="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Base Invocation Action' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Invocation Action' reference. + * @see #setBase_InvocationAction(InvocationAction) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getGCMInvocationAction_Base_InvocationAction() + * @model required="true" ordered="false" + * @generated + */ + InvocationAction getBase_InvocationAction(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMInvocationAction#getBase_InvocationAction Base Invocation Action}' reference. + * + * + * @param value the new value of the 'Base Invocation Action' reference. + * @see #getBase_InvocationAction() + * @generated + */ + void setBase_InvocationAction(InvocationAction value); + + /** + * Returns the value of the 'On Feature' reference. + * + *+ * If the meaning of the 'On Feature' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'On Feature' reference. + * @see #setOnFeature(Feature) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getGCMInvocationAction_OnFeature() + * @model required="true" ordered="false" + * @generated + */ + Feature getOnFeature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMInvocationAction#getOnFeature On Feature}' reference. + * + * + * @param value the new value of the 'On Feature' reference. + * @see #getOnFeature() + * @generated + */ + void setOnFeature(Feature value); + +} // GCMInvocationAction diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMPackage.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMPackage.java new file mode 100644 index 00000000000..90cc89c4ac9 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/GCMPackage.java @@ -0,0 +1,1456 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *+ * The following features are supported: + *
+ * If the meaning of the 'Base Trigger' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Trigger' reference. + * @see #setBase_Trigger(Trigger) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getGCMTrigger_Base_Trigger() + * @model required="true" ordered="false" + * @generated + */ + Trigger getBase_Trigger(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMTrigger#getBase_Trigger Base Trigger}' reference. + * + * + * @param value the new value of the 'Base Trigger' reference. + * @see #getBase_Trigger() + * @generated + */ + void setBase_Trigger(Trigger value); + + /** + * Returns the value of the 'Feature' reference. + * + *+ * If the meaning of the 'Feature' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Feature' reference. + * @see #setFeature(Feature) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getGCMTrigger_Feature() + * @model required="true" ordered="false" + * @generated + */ + Feature getFeature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMTrigger#getFeature Feature}' reference. + * + * + * @param value the new value of the 'Feature' reference. + * @see #getFeature() + * @generated + */ + void setFeature(Feature value); + +} // GCMTrigger diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/PortSpecificationKind.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/PortSpecificationKind.java new file mode 100644 index 00000000000..fd8d2326f91 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/PortSpecificationKind.java @@ -0,0 +1,246 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Port Specification Kind', + * and utility methods for working with them. + * + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#getPortSpecificationKind() + * @model + * @generated + */ +public enum PortSpecificationKind implements Enumerator { + /** + * The 'Atomic' literal object. + * + * + * @see #ATOMIC_VALUE + * @generated + * @ordered + */ + ATOMIC(0, "atomic", "atomic"), + + /** + * The 'Interface Based' literal object. + * + * + * @see #INTERFACE_BASED_VALUE + * @generated + * @ordered + */ + INTERFACE_BASED(1, "interfaceBased", "interfaceBased"), + + /** + * The 'Feature Based' literal object. + * + * + * @see #FEATURE_BASED_VALUE + * @generated + * @ordered + */ + FEATURE_BASED(2, "featureBased", "featureBased"); + + /** + * The 'Atomic' literal value. + * + *+ * If the meaning of 'Atomic' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #ATOMIC + * @model name="atomic" + * @generated + * @ordered + */ + public static final int ATOMIC_VALUE = 0; + + /** + * The 'Interface Based' literal value. + * + *+ * If the meaning of 'Interface Based' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #INTERFACE_BASED + * @model name="interfaceBased" + * @generated + * @ordered + */ + public static final int INTERFACE_BASED_VALUE = 1; + + /** + * The 'Feature Based' literal value. + * + *+ * If the meaning of 'Feature Based' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #FEATURE_BASED + * @model name="featureBased" + * @generated + * @ordered + */ + public static final int FEATURE_BASED_VALUE = 2; + + /** + * An array of all the 'Port Specification Kind' enumerators. + * + * + * @generated + */ + private static final PortSpecificationKind[] VALUES_ARRAY = + new PortSpecificationKind[] { + ATOMIC, + INTERFACE_BASED, + FEATURE_BASED, + }; + + /** + * A public read-only list of all the 'Port Specification Kind' enumerators. + * + * + * @generated + */ + public static final List+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage#eNS_URI + * @see #init() + * @generated + */ + private GCMPackageImpl() { + super(eNS_URI, GCMFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link GCMPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static GCMPackage init() { + if (isInited) return (GCMPackage)EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI); + + // Obtain or create and register package + GCMPackageImpl theGCMPackage = (GCMPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof GCMPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new GCMPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + MARTEPackageImpl theMARTEPackage = (MARTEPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) instanceof MARTEPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) : MARTEPackage.eINSTANCE); + NFPsPackageImpl theNFPsPackage = (NFPsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) instanceof NFPsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) : NFPsPackage.eINSTANCE); + CoreElementsPackageImpl theCoreElementsPackage = (CoreElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) instanceof CoreElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) : CoreElementsPackage.eINSTANCE); + AllocPackageImpl theAllocPackage = (AllocPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) instanceof AllocPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) : AllocPackage.eINSTANCE); + TimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE); + GRMPackageImpl theGRMPackage = (GRMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) instanceof GRMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) : GRMPackage.eINSTANCE); + RSMPackageImpl theRSMPackage = (RSMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) instanceof RSMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) : RSMPackage.eINSTANCE); + VariablesPackageImpl theVariablesPackage = (VariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) instanceof VariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) : VariablesPackage.eINSTANCE); + OperatorsPackageImpl theOperatorsPackage = (OperatorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) instanceof OperatorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) : OperatorsPackage.eINSTANCE); + DataTypesPackageImpl theDataTypesPackage = (DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) instanceof DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) : DataTypesPackage.eINSTANCE); + HLAMPackageImpl theHLAMPackage = (HLAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) instanceof HLAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI) : HLAMPackage.eINSTANCE); + HwComputingPackageImpl theHwComputingPackage = (HwComputingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) instanceof HwComputingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) : HwComputingPackage.eINSTANCE); + HwCommunicationPackageImpl theHwCommunicationPackage = (HwCommunicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) instanceof HwCommunicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) : HwCommunicationPackage.eINSTANCE); + HwStorageManagerPackageImpl theHwStorageManagerPackage = (HwStorageManagerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) instanceof HwStorageManagerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) : HwStorageManagerPackage.eINSTANCE); + HwMemoryPackageImpl theHwMemoryPackage = (HwMemoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) instanceof HwMemoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) : HwMemoryPackage.eINSTANCE); + HwTimingPackageImpl theHwTimingPackage = (HwTimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) instanceof HwTimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) : HwTimingPackage.eINSTANCE); + HwDevicePackageImpl theHwDevicePackage = (HwDevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) instanceof HwDevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) : HwDevicePackage.eINSTANCE); + HwGeneralPackageImpl theHwGeneralPackage = (HwGeneralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) instanceof HwGeneralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) : HwGeneralPackage.eINSTANCE); + HwLayoutPackageImpl theHwLayoutPackage = (HwLayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) instanceof HwLayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) : HwLayoutPackage.eINSTANCE); + HwPowerPackageImpl theHwPowerPackage = (HwPowerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) instanceof HwPowerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) : HwPowerPackage.eINSTANCE); + SW_ResourceCorePackageImpl theSW_ResourceCorePackage = (SW_ResourceCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) instanceof SW_ResourceCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) : SW_ResourceCorePackage.eINSTANCE); + SW_ConcurrencyPackageImpl theSW_ConcurrencyPackage = (SW_ConcurrencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) instanceof SW_ConcurrencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) : SW_ConcurrencyPackage.eINSTANCE); + SW_BrokeringPackageImpl theSW_BrokeringPackage = (SW_BrokeringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) instanceof SW_BrokeringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) : SW_BrokeringPackage.eINSTANCE); + SW_InteractionPackageImpl theSW_InteractionPackage = (SW_InteractionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) instanceof SW_InteractionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) : SW_InteractionPackage.eINSTANCE); + GQAMPackageImpl theGQAMPackage = (GQAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) instanceof GQAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) : GQAMPackage.eINSTANCE); + SAMPackageImpl theSAMPackage = (SAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) instanceof SAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) : SAMPackage.eINSTANCE); + PAMPackageImpl thePAMPackage = (PAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) instanceof PAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) : PAMPackage.eINSTANCE); + MeasurementUnitsPackageImpl theMeasurementUnitsPackage = (MeasurementUnitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) instanceof MeasurementUnitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) : MeasurementUnitsPackage.eINSTANCE); + GRM_BasicTypesPackageImpl theGRM_BasicTypesPackage = (GRM_BasicTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) instanceof GRM_BasicTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) : GRM_BasicTypesPackage.eINSTANCE); + MARTE_DataTypesPackageImpl theMARTE_DataTypesPackage = (MARTE_DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) instanceof MARTE_DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) : MARTE_DataTypesPackage.eINSTANCE); + BasicNFP_TypesPackageImpl theBasicNFP_TypesPackage = (BasicNFP_TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) instanceof BasicNFP_TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) : BasicNFP_TypesPackage.eINSTANCE); + TimeTypesLibraryPackageImpl theTimeTypesLibraryPackage = (TimeTypesLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) instanceof TimeTypesLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) : TimeTypesLibraryPackage.eINSTANCE); + TimeLibraryPackageImpl theTimeLibraryPackage = (TimeLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) instanceof TimeLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) : TimeLibraryPackage.eINSTANCE); + RS_LibraryPackageImpl theRS_LibraryPackage = (RS_LibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) instanceof RS_LibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) : RS_LibraryPackage.eINSTANCE); + MARTE_PrimitivesTypesPackageImpl theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) instanceof MARTE_PrimitivesTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) : MARTE_PrimitivesTypesPackage.eINSTANCE); + + // Create package meta-data objects + theGCMPackage.createPackageContents(); + theMARTEPackage.createPackageContents(); + theNFPsPackage.createPackageContents(); + theCoreElementsPackage.createPackageContents(); + theAllocPackage.createPackageContents(); + theTimePackage.createPackageContents(); + theGRMPackage.createPackageContents(); + theRSMPackage.createPackageContents(); + theVariablesPackage.createPackageContents(); + theOperatorsPackage.createPackageContents(); + theDataTypesPackage.createPackageContents(); + theHLAMPackage.createPackageContents(); + theHwComputingPackage.createPackageContents(); + theHwCommunicationPackage.createPackageContents(); + theHwStorageManagerPackage.createPackageContents(); + theHwMemoryPackage.createPackageContents(); + theHwTimingPackage.createPackageContents(); + theHwDevicePackage.createPackageContents(); + theHwGeneralPackage.createPackageContents(); + theHwLayoutPackage.createPackageContents(); + theHwPowerPackage.createPackageContents(); + theSW_ResourceCorePackage.createPackageContents(); + theSW_ConcurrencyPackage.createPackageContents(); + theSW_BrokeringPackage.createPackageContents(); + theSW_InteractionPackage.createPackageContents(); + theGQAMPackage.createPackageContents(); + theSAMPackage.createPackageContents(); + thePAMPackage.createPackageContents(); + theMeasurementUnitsPackage.createPackageContents(); + theGRM_BasicTypesPackage.createPackageContents(); + theMARTE_DataTypesPackage.createPackageContents(); + theBasicNFP_TypesPackage.createPackageContents(); + theTimeTypesLibraryPackage.createPackageContents(); + theTimeLibraryPackage.createPackageContents(); + theRS_LibraryPackage.createPackageContents(); + theMARTE_PrimitivesTypesPackage.createPackageContents(); + + // Initialize created meta-data + theGCMPackage.initializePackageContents(); + theMARTEPackage.initializePackageContents(); + theNFPsPackage.initializePackageContents(); + theCoreElementsPackage.initializePackageContents(); + theAllocPackage.initializePackageContents(); + theTimePackage.initializePackageContents(); + theGRMPackage.initializePackageContents(); + theRSMPackage.initializePackageContents(); + theVariablesPackage.initializePackageContents(); + theOperatorsPackage.initializePackageContents(); + theDataTypesPackage.initializePackageContents(); + theHLAMPackage.initializePackageContents(); + theHwComputingPackage.initializePackageContents(); + theHwCommunicationPackage.initializePackageContents(); + theHwStorageManagerPackage.initializePackageContents(); + theHwMemoryPackage.initializePackageContents(); + theHwTimingPackage.initializePackageContents(); + theHwDevicePackage.initializePackageContents(); + theHwGeneralPackage.initializePackageContents(); + theHwLayoutPackage.initializePackageContents(); + theHwPowerPackage.initializePackageContents(); + theSW_ResourceCorePackage.initializePackageContents(); + theSW_ConcurrencyPackage.initializePackageContents(); + theSW_BrokeringPackage.initializePackageContents(); + theSW_InteractionPackage.initializePackageContents(); + theGQAMPackage.initializePackageContents(); + theSAMPackage.initializePackageContents(); + thePAMPackage.initializePackageContents(); + theMeasurementUnitsPackage.initializePackageContents(); + theGRM_BasicTypesPackage.initializePackageContents(); + theMARTE_DataTypesPackage.initializePackageContents(); + theBasicNFP_TypesPackage.initializePackageContents(); + theTimeTypesLibraryPackage.initializePackageContents(); + theTimeLibraryPackage.initializePackageContents(); + theRS_LibraryPackage.initializePackageContents(); + theMARTE_PrimitivesTypesPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theGCMPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(GCMPackage.eNS_URI, theGCMPackage); + return theGCMPackage; + } + + /** + * + * + * @generated + */ + public EClass getFlowProperty() { + return flowPropertyEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getFlowProperty_Direction() { + return (EAttribute)flowPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getFlowProperty_Base_Property() { + return (EReference)flowPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getFlowPort() { + return flowPortEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getFlowPort_IsAtomic() { + return (EAttribute)flowPortEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getFlowPort_Direction() { + return (EAttribute)flowPortEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getFlowPort_Base_Port() { + return (EReference)flowPortEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getClientServerPort() { + return clientServerPortEClass; + } + + /** + * + * + * @generated + */ + public EReference getClientServerPort_Base_Port() { + return (EReference)clientServerPortEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getClientServerPort_SpecificationKind() { + return (EAttribute)clientServerPortEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getClientServerPort_Kind() { + return (EAttribute)clientServerPortEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getClientServerPort_ProvInterface() { + return (EReference)clientServerPortEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getClientServerPort_ReqInterface() { + return (EReference)clientServerPortEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getClientServerPort_FeaturesSpec() { + return (EReference)clientServerPortEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getClientServerSpecification() { + return clientServerSpecificationEClass; + } + + /** + * + * + * @generated + */ + public EReference getClientServerSpecification_Base_Interface() { + return (EReference)clientServerSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getFlowSpecification() { + return flowSpecificationEClass; + } + + /** + * + * + * @generated + */ + public EReference getFlowSpecification_Base_Interface() { + return (EReference)flowSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getClientServerFeature() { + return clientServerFeatureEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getClientServerFeature_Kind() { + return (EAttribute)clientServerFeatureEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getClientServerFeature_Base_BehavioralFeature() { + return (EReference)clientServerFeatureEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getGCMTrigger() { + return gcmTriggerEClass; + } + + /** + * + * + * @generated + */ + public EReference getGCMTrigger_Base_Trigger() { + return (EReference)gcmTriggerEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getGCMTrigger_Feature() { + return (EReference)gcmTriggerEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getGCMInvocationAction() { + return gcmInvocationActionEClass; + } + + /** + * + * + * @generated + */ + public EReference getGCMInvocationAction_Base_InvocationAction() { + return (EReference)gcmInvocationActionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getGCMInvocationAction_OnFeature() { + return (EReference)gcmInvocationActionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getDataEvent() { + return dataEventEClass; + } + + /** + * + * + * @generated + */ + public EReference getDataEvent_Base_AnyReceiveEvent() { + return (EReference)dataEventEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getDataEvent_Classifier() { + return (EReference)dataEventEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getDataPool() { + return dataPoolEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getDataPool_Ordering() { + return (EAttribute)dataPoolEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getDataPool_Base_Property() { + return (EReference)dataPoolEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getDataPool_Insertion() { + return (EReference)dataPoolEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getDataPool_Selection() { + return (EReference)dataPoolEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getGCMInvocatingBehavior() { + return gcmInvocatingBehaviorEClass; + } + + /** + * + * + * @generated + */ + public EReference getGCMInvocatingBehavior_Base_Behavior() { + return (EReference)gcmInvocatingBehaviorEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getGCMInvocatingBehavior_OnPorts() { + return (EReference)gcmInvocatingBehaviorEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getGCMInvocatingBehavior_OnFeatures() { + return (EReference)gcmInvocatingBehaviorEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getGCMInvocatingBehavior_Invocations() { + return (EReference)gcmInvocatingBehaviorEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EEnum getFlowDirectionKind() { + return flowDirectionKindEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getPortSpecificationKind() { + return portSpecificationKindEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getClientServerKind() { + return clientServerKindEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getDataPoolOrderingKind() { + return dataPoolOrderingKindEEnum; + } + + /** + * + * + * @generated + */ + public GCMFactory getGCMFactory() { + return (GCMFactory)getEFactoryInstance(); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + flowPropertyEClass = createEClass(FLOW_PROPERTY); + createEAttribute(flowPropertyEClass, FLOW_PROPERTY__DIRECTION); + createEReference(flowPropertyEClass, FLOW_PROPERTY__BASE_PROPERTY); + + flowPortEClass = createEClass(FLOW_PORT); + createEAttribute(flowPortEClass, FLOW_PORT__IS_ATOMIC); + createEAttribute(flowPortEClass, FLOW_PORT__DIRECTION); + createEReference(flowPortEClass, FLOW_PORT__BASE_PORT); + + clientServerPortEClass = createEClass(CLIENT_SERVER_PORT); + createEReference(clientServerPortEClass, CLIENT_SERVER_PORT__BASE_PORT); + createEAttribute(clientServerPortEClass, CLIENT_SERVER_PORT__SPECIFICATION_KIND); + createEAttribute(clientServerPortEClass, CLIENT_SERVER_PORT__KIND); + createEReference(clientServerPortEClass, CLIENT_SERVER_PORT__PROV_INTERFACE); + createEReference(clientServerPortEClass, CLIENT_SERVER_PORT__REQ_INTERFACE); + createEReference(clientServerPortEClass, CLIENT_SERVER_PORT__FEATURES_SPEC); + + clientServerSpecificationEClass = createEClass(CLIENT_SERVER_SPECIFICATION); + createEReference(clientServerSpecificationEClass, CLIENT_SERVER_SPECIFICATION__BASE_INTERFACE); + + flowSpecificationEClass = createEClass(FLOW_SPECIFICATION); + createEReference(flowSpecificationEClass, FLOW_SPECIFICATION__BASE_INTERFACE); + + clientServerFeatureEClass = createEClass(CLIENT_SERVER_FEATURE); + createEAttribute(clientServerFeatureEClass, CLIENT_SERVER_FEATURE__KIND); + createEReference(clientServerFeatureEClass, CLIENT_SERVER_FEATURE__BASE_BEHAVIORAL_FEATURE); + + gcmTriggerEClass = createEClass(GCM_TRIGGER); + createEReference(gcmTriggerEClass, GCM_TRIGGER__BASE_TRIGGER); + createEReference(gcmTriggerEClass, GCM_TRIGGER__FEATURE); + + gcmInvocationActionEClass = createEClass(GCM_INVOCATION_ACTION); + createEReference(gcmInvocationActionEClass, GCM_INVOCATION_ACTION__BASE_INVOCATION_ACTION); + createEReference(gcmInvocationActionEClass, GCM_INVOCATION_ACTION__ON_FEATURE); + + dataEventEClass = createEClass(DATA_EVENT); + createEReference(dataEventEClass, DATA_EVENT__BASE_ANY_RECEIVE_EVENT); + createEReference(dataEventEClass, DATA_EVENT__CLASSIFIER); + + dataPoolEClass = createEClass(DATA_POOL); + createEAttribute(dataPoolEClass, DATA_POOL__ORDERING); + createEReference(dataPoolEClass, DATA_POOL__BASE_PROPERTY); + createEReference(dataPoolEClass, DATA_POOL__INSERTION); + createEReference(dataPoolEClass, DATA_POOL__SELECTION); + + gcmInvocatingBehaviorEClass = createEClass(GCM_INVOCATING_BEHAVIOR); + createEReference(gcmInvocatingBehaviorEClass, GCM_INVOCATING_BEHAVIOR__BASE_BEHAVIOR); + createEReference(gcmInvocatingBehaviorEClass, GCM_INVOCATING_BEHAVIOR__ON_PORTS); + createEReference(gcmInvocatingBehaviorEClass, GCM_INVOCATING_BEHAVIOR__ON_FEATURES); + createEReference(gcmInvocatingBehaviorEClass, GCM_INVOCATING_BEHAVIOR__INVOCATIONS); + + // Create enums + flowDirectionKindEEnum = createEEnum(FLOW_DIRECTION_KIND); + portSpecificationKindEEnum = createEEnum(PORT_SPECIFICATION_KIND); + clientServerKindEEnum = createEEnum(CLIENT_SERVER_KIND); + dataPoolOrderingKindEEnum = createEEnum(DATA_POOL_ORDERING_KIND); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + MARTE_PrimitivesTypesPackage theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes and features; add operations and parameters + initEClass(flowPropertyEClass, FlowProperty.class, "FlowProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFlowProperty_Direction(), this.getFlowDirectionKind(), "direction", "inout", 1, 1, FlowProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getFlowProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, FlowProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(flowPortEClass, FlowPort.class, "FlowPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFlowPort_IsAtomic(), theMARTE_PrimitivesTypesPackage.getBoolean(), "isAtomic", null, 1, 1, FlowPort.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED); + initEAttribute(getFlowPort_Direction(), this.getFlowDirectionKind(), "direction", "inout", 1, 1, FlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getFlowPort_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 1, 1, FlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(clientServerPortEClass, ClientServerPort.class, "ClientServerPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getClientServerPort_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 1, 1, ClientServerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getClientServerPort_SpecificationKind(), this.getPortSpecificationKind(), "specificationKind", "interfaceBased", 1, 1, ClientServerPort.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED); + initEAttribute(getClientServerPort_Kind(), this.getClientServerKind(), "kind", "proreq", 1, 1, ClientServerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getClientServerPort_ProvInterface(), theUMLPackage.getInterface(), null, "provInterface", null, 0, -1, ClientServerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getClientServerPort_ReqInterface(), theUMLPackage.getInterface(), null, "reqInterface", null, 0, -1, ClientServerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getClientServerPort_FeaturesSpec(), this.getClientServerSpecification(), null, "featuresSpec", null, 0, 1, ClientServerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(clientServerSpecificationEClass, ClientServerSpecification.class, "ClientServerSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getClientServerSpecification_Base_Interface(), theUMLPackage.getInterface(), null, "base_Interface", null, 1, 1, ClientServerSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(flowSpecificationEClass, FlowSpecification.class, "FlowSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFlowSpecification_Base_Interface(), theUMLPackage.getInterface(), null, "base_Interface", null, 1, 1, FlowSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(clientServerFeatureEClass, ClientServerFeature.class, "ClientServerFeature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getClientServerFeature_Kind(), this.getClientServerKind(), "kind", "proreq", 1, 1, ClientServerFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getClientServerFeature_Base_BehavioralFeature(), theUMLPackage.getBehavioralFeature(), null, "base_BehavioralFeature", null, 1, 1, ClientServerFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gcmTriggerEClass, GCMTrigger.class, "GCMTrigger", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGCMTrigger_Base_Trigger(), theUMLPackage.getTrigger(), null, "base_Trigger", null, 1, 1, GCMTrigger.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGCMTrigger_Feature(), theUMLPackage.getFeature(), null, "feature", null, 1, 1, GCMTrigger.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gcmInvocationActionEClass, GCMInvocationAction.class, "GCMInvocationAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGCMInvocationAction_Base_InvocationAction(), theUMLPackage.getInvocationAction(), null, "base_InvocationAction", null, 1, 1, GCMInvocationAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGCMInvocationAction_OnFeature(), theUMLPackage.getFeature(), null, "onFeature", null, 1, 1, GCMInvocationAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(dataEventEClass, DataEvent.class, "DataEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDataEvent_Base_AnyReceiveEvent(), theUMLPackage.getAnyReceiveEvent(), null, "base_AnyReceiveEvent", null, 1, 1, DataEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDataEvent_Classifier(), theUMLPackage.getClassifier(), null, "classifier", null, 1, 1, DataEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(dataPoolEClass, DataPool.class, "DataPool", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDataPool_Ordering(), this.getDataPoolOrderingKind(), "ordering", "FIFO", 1, 1, DataPool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDataPool_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, DataPool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDataPool_Insertion(), theUMLPackage.getBehavior(), null, "insertion", null, 0, 1, DataPool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDataPool_Selection(), theUMLPackage.getBehavior(), null, "selection", null, 0, 1, DataPool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gcmInvocatingBehaviorEClass, GCMInvocatingBehavior.class, "GCMInvocatingBehavior", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGCMInvocatingBehavior_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 1, 1, GCMInvocatingBehavior.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGCMInvocatingBehavior_OnPorts(), theUMLPackage.getPort(), null, "onPorts", null, 0, -1, GCMInvocatingBehavior.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGCMInvocatingBehavior_OnFeatures(), theUMLPackage.getFeature(), null, "onFeatures", null, 0, -1, GCMInvocatingBehavior.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGCMInvocatingBehavior_Invocations(), theUMLPackage.getInvocationAction(), null, "invocations", null, 0, -1, GCMInvocatingBehavior.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(flowDirectionKindEEnum, FlowDirectionKind.class, "FlowDirectionKind"); + addEEnumLiteral(flowDirectionKindEEnum, FlowDirectionKind.IN); + addEEnumLiteral(flowDirectionKindEEnum, FlowDirectionKind.OUT); + addEEnumLiteral(flowDirectionKindEEnum, FlowDirectionKind.INOUT); + + initEEnum(portSpecificationKindEEnum, PortSpecificationKind.class, "PortSpecificationKind"); + addEEnumLiteral(portSpecificationKindEEnum, PortSpecificationKind.ATOMIC); + addEEnumLiteral(portSpecificationKindEEnum, PortSpecificationKind.INTERFACE_BASED); + addEEnumLiteral(portSpecificationKindEEnum, PortSpecificationKind.FEATURE_BASED); + + initEEnum(clientServerKindEEnum, ClientServerKind.class, "ClientServerKind"); + addEEnumLiteral(clientServerKindEEnum, ClientServerKind.REQUIRED); + addEEnumLiteral(clientServerKindEEnum, ClientServerKind.PROVIDED); + addEEnumLiteral(clientServerKindEEnum, ClientServerKind.PROREQ); + + initEEnum(dataPoolOrderingKindEEnum, DataPoolOrderingKind.class, "DataPoolOrderingKind"); + addEEnumLiteral(dataPoolOrderingKindEEnum, DataPoolOrderingKind.FIFO); + addEEnumLiteral(dataPoolOrderingKindEEnum, DataPoolOrderingKind.LIFO); + addEEnumLiteral(dataPoolOrderingKindEEnum, DataPoolOrderingKind.USER_DEFINED); + } + +} //GCMPackageImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/GCMTriggerImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/GCMTriggerImpl.java new file mode 100644 index 00000000000..ad63c228075 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/GCMTriggerImpl.java @@ -0,0 +1,230 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.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.emf.ecore.impl.EObjectImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage; +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMTrigger; + +import org.eclipse.uml2.uml.Feature; +import org.eclipse.uml2.uml.Trigger; + +/** + * + * An implementation of the model object 'Trigger'. + * + *
+ * The following features are implemented: + *
createXXX
method for each class of the model.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage
+ * @generated
+ */
+public class GCMAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static GCMPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public GCMAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = GCMPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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 createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected GCMSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @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.MARTE.MARTE_DesignModel.GCM.FlowProperty Flow Property}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowProperty
+ * @generated
+ */
+ public Adapter createFlowPropertyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowPort Flow Port}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowPort
+ * @generated
+ */
+ public Adapter createFlowPortAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerPort Client Server Port}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerPort
+ * @generated
+ */
+ public Adapter createClientServerPortAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerSpecification Client Server Specification}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerSpecification
+ * @generated
+ */
+ public Adapter createClientServerSpecificationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowSpecification Flow Specification}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.FlowSpecification
+ * @generated
+ */
+ public Adapter createFlowSpecificationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerFeature Client Server Feature}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerFeature
+ * @generated
+ */
+ public Adapter createClientServerFeatureAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMTrigger Trigger}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMTrigger
+ * @generated
+ */
+ public Adapter createGCMTriggerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMInvocationAction Invocation Action}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMInvocationAction
+ * @generated
+ */
+ public Adapter createGCMInvocationActionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataEvent Data Event}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataEvent
+ * @generated
+ */
+ public Adapter createDataEventAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataPool Data Pool}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataPool
+ * @generated
+ */
+ public Adapter createDataPoolAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMInvocatingBehavior Invocating Behavior}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMInvocatingBehavior
+ * @generated
+ */
+ public Adapter createGCMInvocatingBehaviorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //GCMAdapterFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMResourceFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMResourceFactoryImpl.java
new file mode 100644
index 00000000000..5cf45997399
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMResourceFactoryImpl.java
@@ -0,0 +1,63 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ *
+ * The Resource Factory associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.util.GCMResourceImpl
+ * @generated
+ */
+public class GCMResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ *
+ *
+ * @generated
+ */
+ public GCMResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new GCMResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //GCMResourceFactoryImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMResourceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMResourceImpl.java
new file mode 100644
index 00000000000..4f345b31d9d
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMResourceImpl.java
@@ -0,0 +1,39 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ *
+ * The Resource associated with the package.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.util.GCMResourceFactoryImpl
+ * @generated
+ */
+public class GCMResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ *
+ *
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public GCMResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //GCMResourceImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMSwitch.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMSwitch.java
new file mode 100644
index 00000000000..a3d4038cc8d
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMSwitch.java
@@ -0,0 +1,347 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.*;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
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.
+ *
+ * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage
+ * @generated
+ */
+public class GCMSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ ListcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case GCMPackage.FLOW_PROPERTY: {
+ FlowProperty flowProperty = (FlowProperty)theEObject;
+ T result = caseFlowProperty(flowProperty);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.FLOW_PORT: {
+ FlowPort flowPort = (FlowPort)theEObject;
+ T result = caseFlowPort(flowPort);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.CLIENT_SERVER_PORT: {
+ ClientServerPort clientServerPort = (ClientServerPort)theEObject;
+ T result = caseClientServerPort(clientServerPort);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.CLIENT_SERVER_SPECIFICATION: {
+ ClientServerSpecification clientServerSpecification = (ClientServerSpecification)theEObject;
+ T result = caseClientServerSpecification(clientServerSpecification);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.FLOW_SPECIFICATION: {
+ FlowSpecification flowSpecification = (FlowSpecification)theEObject;
+ T result = caseFlowSpecification(flowSpecification);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.CLIENT_SERVER_FEATURE: {
+ ClientServerFeature clientServerFeature = (ClientServerFeature)theEObject;
+ T result = caseClientServerFeature(clientServerFeature);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.GCM_TRIGGER: {
+ GCMTrigger gcmTrigger = (GCMTrigger)theEObject;
+ T result = caseGCMTrigger(gcmTrigger);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.GCM_INVOCATION_ACTION: {
+ GCMInvocationAction gcmInvocationAction = (GCMInvocationAction)theEObject;
+ T result = caseGCMInvocationAction(gcmInvocationAction);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.DATA_EVENT: {
+ DataEvent dataEvent = (DataEvent)theEObject;
+ T result = caseDataEvent(dataEvent);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.DATA_POOL: {
+ DataPool dataPool = (DataPool)theEObject;
+ T result = caseDataPool(dataPool);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case GCMPackage.GCM_INVOCATING_BEHAVIOR: {
+ GCMInvocatingBehavior gcmInvocatingBehavior = (GCMInvocatingBehavior)theEObject;
+ T result = caseGCMInvocatingBehavior(gcmInvocatingBehavior);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Flow Property'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Flow Property'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFlowProperty(FlowProperty object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Flow Port'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Flow Port'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFlowPort(FlowPort object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Client Server Port'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Client Server Port'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseClientServerPort(ClientServerPort object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Client Server Specification'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Client Server Specification'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseClientServerSpecification(ClientServerSpecification object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Flow Specification'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Flow Specification'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFlowSpecification(FlowSpecification object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Client Server Feature'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Client Server Feature'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseClientServerFeature(ClientServerFeature object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Trigger'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Trigger'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGCMTrigger(GCMTrigger object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Invocation Action'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Invocation Action'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGCMInvocationAction(GCMInvocationAction object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Data Event'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Data Event'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataEvent(DataEvent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Data Pool'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Data Pool'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataPool(DataPool object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Invocating Behavior'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Invocating Behavior'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGCMInvocatingBehavior(GCMInvocatingBehavior object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //GCMSwitch
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMXMLProcessor.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMXMLProcessor.java
new file mode 100644
index 00000000000..0d564740032
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/util/GCMXMLProcessor.java
@@ -0,0 +1,61 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * 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:
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ *
+ *
+ * @generated
+ */
+public class GCMXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ *
+ *
+ * @generated
+ */
+ public GCMXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ GCMPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the GCMResourceFactoryImpl factory.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected Map+ * If the meaning of 'Sequential' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #SEQUENTIAL + * @model name="sequential" + * @generated + * @ordered + */ + public static final int SEQUENTIAL_VALUE = 0; + + /** + * The 'Guarded' literal value. + * + *+ * If the meaning of 'Guarded' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #GUARDED + * @model name="guarded" + * @generated + * @ordered + */ + public static final int GUARDED_VALUE = 1; + + /** + * The 'Concurrent' literal value. + * + *+ * If the meaning of 'Concurrent' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #CONCURRENT + * @model name="concurrent" + * @generated + * @ordered + */ + public static final int CONCURRENT_VALUE = 2; + + /** + * An array of all the 'Call Concurrency Kind' enumerators. + * + * + * @generated + */ + private static final CallConcurrencyKind[] VALUES_ARRAY = + new CallConcurrencyKind[] { + SEQUENTIAL, + GUARDED, + CONCURRENT, + }; + + /** + * A public read-only list of all the 'Call Concurrency Kind' enumerators. + * + * + * @generated + */ + public static final List+ * If the meaning of 'Reader' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #READER + * @model name="reader" + * @generated + * @ordered + */ + public static final int READER_VALUE = 0; + + /** + * The 'Writer' literal value. + * + *+ * If the meaning of 'Writer' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #WRITER + * @model name="writer" + * @generated + * @ordered + */ + public static final int WRITER_VALUE = 1; + + /** + * The 'Parallel' literal value. + * + *+ * If the meaning of 'Parallel' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #PARALLEL + * @model name="parallel" + * @generated + * @ordered + */ + public static final int PARALLEL_VALUE = 2; + + /** + * An array of all the 'Concurrency Kind' enumerators. + * + * + * @generated + */ + private static final ConcurrencyKind[] VALUES_ARRAY = + new ConcurrencyKind[] { + READER, + WRITER, + PARALLEL, + }; + + /** + * A public read-only list of all the 'Concurrency Kind' enumerators. + * + * + * @generated + */ + public static final List+ * If the meaning of 'Deferred' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #DEFERRED + * @model name="deferred" + * @generated + * @ordered + */ + public static final int DEFERRED_VALUE = 0; + + /** + * The 'Remote Immediate' literal value. + * + *+ * If the meaning of 'Remote Immediate' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #REMOTE_IMMEDIATE + * @model name="remoteImmediate" + * @generated + * @ordered + */ + public static final int REMOTE_IMMEDIATE_VALUE = 1; + + /** + * The 'Local Immediate' literal value. + * + *+ * If the meaning of 'Local Immediate' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #LOCAL_IMMEDIATE + * @model name="localImmediate" + * @generated + * @ordered + */ + public static final int LOCAL_IMMEDIATE_VALUE = 2; + + /** + * An array of all the 'Execution Kind' enumerators. + * + * + * @generated + */ + private static final ExecutionKind[] VALUES_ARRAY = + new ExecutionKind[] { + DEFERRED, + REMOTE_IMMEDIATE, + LOCAL_IMMEDIATE, + }; + + /** + * A public read-only list of all the 'Execution Kind' enumerators. + * + * + * @generated + */ + public static final List+ * If the meaning of 'Infinite Wait' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #INFINITE_WAIT + * @model name="infiniteWait" + * @generated + * @ordered + */ + public static final int INFINITE_WAIT_VALUE = 0; + + /** + * The 'Timed Wait' literal value. + * + *+ * If the meaning of 'Timed Wait' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #TIMED_WAIT + * @model name="timedWait" + * @generated + * @ordered + */ + public static final int TIMED_WAIT_VALUE = 1; + + /** + * The 'Dynamic' literal value. + * + *+ * If the meaning of 'Dynamic' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #DYNAMIC + * @model name="dynamic" + * @generated + * @ordered + */ + public static final int DYNAMIC_VALUE = 2; + + /** + * The 'Exception' literal value. + * + *+ * If the meaning of 'Exception' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #EXCEPTION + * @model name="exception" + * @generated + * @ordered + */ + public static final int EXCEPTION_VALUE = 3; + + /** + * The 'Other' literal value. + * + *+ * If the meaning of 'Other' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OTHER + * @model name="other" + * @generated + * @ordered + */ + public static final int OTHER_VALUE = 4; + + /** + * An array of all the 'Pool Mgt Policy Kind' enumerators. + * + * + * @generated + */ + private static final PoolMgtPolicyKind[] VALUES_ARRAY = + new PoolMgtPolicyKind[] { + INFINITE_WAIT, + TIMED_WAIT, + DYNAMIC, + EXCEPTION, + OTHER, + }; + + /** + * A public read-only list of all the 'Pool Mgt Policy Kind' enumerators. + * + * + * @generated + */ + public static final List+ * The following features are supported: + *
+ * If the meaning of the 'Conc Policy' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Conc Policy' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.CallConcurrencyKind + * @see #setConcPolicy(CallConcurrencyKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getPpUnit_ConcPolicy() + * @model unique="false" ordered="false" + * @generated + */ + CallConcurrencyKind getConcPolicy(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.PpUnit#getConcPolicy Conc Policy}' attribute. + * + * + * @param value the new value of the 'Conc Policy' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.CallConcurrencyKind + * @see #getConcPolicy() + * @generated + */ + void setConcPolicy(CallConcurrencyKind value); + + /** + * Returns the value of the 'Memory Size' attribute. + * + *+ * If the meaning of the 'Memory Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Memory Size' attribute. + * @see #setMemorySize(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getPpUnit_MemorySize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_DataSize" ordered="false" + * @generated + */ + String getMemorySize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.PpUnit#getMemorySize Memory Size}' attribute. + * + * + * @param value the new value of the 'Memory Size' attribute. + * @see #getMemorySize() + * @generated + */ + void setMemorySize(String value); + + /** + * Returns the value of the 'Base Behaviored Classifier' reference. + * + *+ * If the meaning of the 'Base Behaviored Classifier' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behaviored Classifier' reference. + * @see #setBase_BehavioredClassifier(BehavioredClassifier) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getPpUnit_Base_BehavioredClassifier() + * @model required="true" ordered="false" + * @generated + */ + BehavioredClassifier getBase_BehavioredClassifier(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.PpUnit#getBase_BehavioredClassifier Base Behaviored Classifier}' reference. + * + * + * @param value the new value of the 'Base Behaviored Classifier' reference. + * @see #getBase_BehavioredClassifier() + * @generated + */ + void setBase_BehavioredClassifier(BehavioredClassifier value); + +} // PpUnit diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtAction.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtAction.java new file mode 100644 index 00000000000..579f255305d --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtAction.java @@ -0,0 +1,176 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.BehavioralFeature; +import org.eclipse.uml2.uml.InvocationAction; + +/** + * + * A representation of the model object 'Rt Action'. + * + * + *+ * The following features are supported: + *
"false"
.
+ *
+ * + * If the meaning of the 'Is Atomic' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Atomic' attribute. + * @see #setIsAtomic(boolean) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtAction_IsAtomic() + * @model default="false" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Boolean" required="true" ordered="false" + * @generated + */ + boolean isIsAtomic(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtAction#isIsAtomic Is Atomic}' attribute. + * + * + * @param value the new value of the 'Is Atomic' attribute. + * @see #isIsAtomic() + * @generated + */ + void setIsAtomic(boolean value); + + /** + * Returns the value of the 'Synch Kind' attribute. + * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.SynchronizationKind}. + * + *+ * If the meaning of the 'Synch Kind' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Synch Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.SynchronizationKind + * @see #setSynchKind(SynchronizationKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtAction_SynchKind() + * @model unique="false" ordered="false" + * @generated + */ + SynchronizationKind getSynchKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtAction#getSynchKind Synch Kind}' attribute. + * + * + * @param value the new value of the 'Synch Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.SynchronizationKind + * @see #getSynchKind() + * @generated + */ + void setSynchKind(SynchronizationKind value); + + /** + * Returns the value of the 'Msg Size' attribute. + * + *+ * If the meaning of the 'Msg Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Msg Size' attribute. + * @see #setMsgSize(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtAction_MsgSize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_DataSize" ordered="false" + * @generated + */ + String getMsgSize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtAction#getMsgSize Msg Size}' attribute. + * + * + * @param value the new value of the 'Msg Size' attribute. + * @see #getMsgSize() + * @generated + */ + void setMsgSize(String value); + + /** + * Returns the value of the 'Base Behavioral Feature' reference. + * + *+ * If the meaning of the 'Base Behavioral Feature' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behavioral Feature' reference. + * @see #setBase_BehavioralFeature(BehavioralFeature) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtAction_Base_BehavioralFeature() + * @model required="true" ordered="false" + * @generated + */ + BehavioralFeature getBase_BehavioralFeature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtAction#getBase_BehavioralFeature Base Behavioral Feature}' reference. + * + * + * @param value the new value of the 'Base Behavioral Feature' reference. + * @see #getBase_BehavioralFeature() + * @generated + */ + void setBase_BehavioralFeature(BehavioralFeature value); + + /** + * Returns the value of the 'Base Invocation Action' reference. + * + *+ * If the meaning of the 'Base Invocation Action' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Invocation Action' reference. + * @see #setBase_InvocationAction(InvocationAction) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtAction_Base_InvocationAction() + * @model required="true" ordered="false" + * @generated + */ + InvocationAction getBase_InvocationAction(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtAction#getBase_InvocationAction Base Invocation Action}' reference. + * + * + * @param value the new value of the 'Base Invocation Action' reference. + * @see #getBase_InvocationAction() + * @generated + */ + void setBase_InvocationAction(InvocationAction value); + +} // RtAction diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtFeature.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtFeature.java new file mode 100644 index 00000000000..93de5b7b3ad --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtFeature.java @@ -0,0 +1,194 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.BehavioralFeature; +import org.eclipse.uml2.uml.InvocationAction; +import org.eclipse.uml2.uml.Message; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Signal; + +/** + * + * A representation of the model object 'Rt Feature'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Base Behavioral Feature' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behavioral Feature' reference. + * @see #setBase_BehavioralFeature(BehavioralFeature) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtFeature_Base_BehavioralFeature() + * @model required="true" ordered="false" + * @generated + */ + BehavioralFeature getBase_BehavioralFeature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtFeature#getBase_BehavioralFeature Base Behavioral Feature}' reference. + * + * + * @param value the new value of the 'Base Behavioral Feature' reference. + * @see #getBase_BehavioralFeature() + * @generated + */ + void setBase_BehavioralFeature(BehavioralFeature value); + + /** + * Returns the value of the 'Base Message' reference. + * + *+ * If the meaning of the 'Base Message' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Message' reference. + * @see #setBase_Message(Message) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtFeature_Base_Message() + * @model required="true" ordered="false" + * @generated + */ + Message getBase_Message(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtFeature#getBase_Message Base Message}' reference. + * + * + * @param value the new value of the 'Base Message' reference. + * @see #getBase_Message() + * @generated + */ + void setBase_Message(Message value); + + /** + * Returns the value of the 'Base Signal' reference. + * + *+ * If the meaning of the 'Base Signal' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Signal' reference. + * @see #setBase_Signal(Signal) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtFeature_Base_Signal() + * @model required="true" ordered="false" + * @generated + */ + Signal getBase_Signal(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtFeature#getBase_Signal Base Signal}' reference. + * + * + * @param value the new value of the 'Base Signal' reference. + * @see #getBase_Signal() + * @generated + */ + void setBase_Signal(Signal value); + + /** + * Returns the value of the 'Base Port' reference. + * + *+ * If the meaning of the 'Base Port' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Port' reference. + * @see #setBase_Port(Port) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtFeature_Base_Port() + * @model required="true" ordered="false" + * @generated + */ + Port getBase_Port(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtFeature#getBase_Port Base Port}' reference. + * + * + * @param value the new value of the 'Base Port' reference. + * @see #getBase_Port() + * @generated + */ + void setBase_Port(Port value); + + /** + * Returns the value of the 'Base Invocation Action' reference. + * + *+ * If the meaning of the 'Base Invocation Action' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Invocation Action' reference. + * @see #setBase_InvocationAction(InvocationAction) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtFeature_Base_InvocationAction() + * @model required="true" ordered="false" + * @generated + */ + InvocationAction getBase_InvocationAction(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtFeature#getBase_InvocationAction Base Invocation Action}' reference. + * + * + * @param value the new value of the 'Base Invocation Action' reference. + * @see #getBase_InvocationAction() + * @generated + */ + void setBase_InvocationAction(InvocationAction value); + + /** + * Returns the value of the 'Specification' reference list. + * The list contents are of type {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification}. + * + *+ * If the meaning of the 'Specification' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Specification' reference list. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtFeature_Specification() + * @model required="true" transient="true" volatile="true" derived="true" ordered="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Conc Policy' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Conc Policy' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.ConcurrencyKind + * @see #setConcPolicy(ConcurrencyKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtService_ConcPolicy() + * @model unique="false" ordered="false" + * @generated + */ + ConcurrencyKind getConcPolicy(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtService#getConcPolicy Conc Policy}' attribute. + * + * + * @param value the new value of the 'Conc Policy' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.ConcurrencyKind + * @see #getConcPolicy() + * @generated + */ + void setConcPolicy(ConcurrencyKind value); + + /** + * Returns the value of the 'Exe Kind' attribute. + * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.ExecutionKind}. + * + *+ * If the meaning of the 'Exe Kind' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Exe Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.ExecutionKind + * @see #setExeKind(ExecutionKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtService_ExeKind() + * @model unique="false" ordered="false" + * @generated + */ + ExecutionKind getExeKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtService#getExeKind Exe Kind}' attribute. + * + * + * @param value the new value of the 'Exe Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.ExecutionKind + * @see #getExeKind() + * @generated + */ + void setExeKind(ExecutionKind value); + + /** + * Returns the value of the 'Is Atomic' attribute. + * The default value is"false"
.
+ *
+ * + * If the meaning of the 'Is Atomic' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Atomic' attribute. + * @see #setIsAtomic(boolean) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtService_IsAtomic() + * @model default="false" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Boolean" required="true" ordered="false" + * @generated + */ + boolean isIsAtomic(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtService#isIsAtomic Is Atomic}' attribute. + * + * + * @param value the new value of the 'Is Atomic' attribute. + * @see #isIsAtomic() + * @generated + */ + void setIsAtomic(boolean value); + + /** + * Returns the value of the 'Synch Kind' attribute. + * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.SynchronizationKind}. + * + *+ * If the meaning of the 'Synch Kind' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Synch Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.SynchronizationKind + * @see #setSynchKind(SynchronizationKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtService_SynchKind() + * @model unique="false" ordered="false" + * @generated + */ + SynchronizationKind getSynchKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtService#getSynchKind Synch Kind}' attribute. + * + * + * @param value the new value of the 'Synch Kind' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.SynchronizationKind + * @see #getSynchKind() + * @generated + */ + void setSynchKind(SynchronizationKind value); + + /** + * Returns the value of the 'Base Behavioral Feature' reference. + * + *+ * If the meaning of the 'Base Behavioral Feature' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behavioral Feature' reference. + * @see #setBase_BehavioralFeature(BehavioralFeature) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtService_Base_BehavioralFeature() + * @model required="true" ordered="false" + * @generated + */ + BehavioralFeature getBase_BehavioralFeature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtService#getBase_BehavioralFeature Base Behavioral Feature}' reference. + * + * + * @param value the new value of the 'Base Behavioral Feature' reference. + * @see #getBase_BehavioralFeature() + * @generated + */ + void setBase_BehavioralFeature(BehavioralFeature value); + +} // RtService diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtSpecification.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtSpecification.java new file mode 100644 index 00000000000..88b21f03311 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtSpecification.java @@ -0,0 +1,336 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimedInstantObservation; + +import org.eclipse.uml2.uml.BehavioralFeature; +import org.eclipse.uml2.uml.Comment; + +/** + * + * A representation of the model object 'Rt Specification'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Utility' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Utility' attribute. + * @see #setUtility(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_Utility() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_DataTypes.UtilityType" ordered="false" + * @generated + */ + String getUtility(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getUtility Utility}' attribute. + * + * + * @param value the new value of the 'Utility' attribute. + * @see #getUtility() + * @generated + */ + void setUtility(String value); + + /** + * Returns the value of the 'Occ Kind' attribute. + * + *+ * If the meaning of the 'Occ Kind' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Occ Kind' attribute. + * @see #setOccKind(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_OccKind() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.ArrivalPattern" ordered="false" + * @generated + */ + String getOccKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getOccKind Occ Kind}' attribute. + * + * + * @param value the new value of the 'Occ Kind' attribute. + * @see #getOccKind() + * @generated + */ + void setOccKind(String value); + + /** + * Returns the value of the 'TRef' reference. + * + *+ * If the meaning of the 'TRef' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'TRef' reference. + * @see #setTRef(TimedInstantObservation) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_TRef() + * @model ordered="false" + * @generated + */ + TimedInstantObservation getTRef(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getTRef TRef}' reference. + * + * + * @param value the new value of the 'TRef' reference. + * @see #getTRef() + * @generated + */ + void setTRef(TimedInstantObservation value); + + /** + * Returns the value of the 'Rel Dl' attribute. + * + *+ * If the meaning of the 'Rel Dl' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Rel Dl' attribute. + * @see #setRelDl(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_RelDl() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getRelDl(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getRelDl Rel Dl}' attribute. + * + * + * @param value the new value of the 'Rel Dl' attribute. + * @see #getRelDl() + * @generated + */ + void setRelDl(String value); + + /** + * Returns the value of the 'Abs Dl' attribute. + * + *+ * If the meaning of the 'Abs Dl' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Abs Dl' attribute. + * @see #setAbsDl(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_AbsDl() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_DateTime" ordered="false" + * @generated + */ + String getAbsDl(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getAbsDl Abs Dl}' attribute. + * + * + * @param value the new value of the 'Abs Dl' attribute. + * @see #getAbsDl() + * @generated + */ + void setAbsDl(String value); + + /** + * Returns the value of the 'Bound Dl' attribute. + * + *+ * If the meaning of the 'Bound Dl' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Bound Dl' attribute. + * @see #setBoundDl(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_BoundDl() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getBoundDl(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getBoundDl Bound Dl}' attribute. + * + * + * @param value the new value of the 'Bound Dl' attribute. + * @see #getBoundDl() + * @generated + */ + void setBoundDl(String value); + + /** + * Returns the value of the 'Rd Time' attribute. + * + *+ * If the meaning of the 'Rd Time' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Rd Time' attribute. + * @see #setRdTime(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_RdTime() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getRdTime(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getRdTime Rd Time}' attribute. + * + * + * @param value the new value of the 'Rd Time' attribute. + * @see #getRdTime() + * @generated + */ + void setRdTime(String value); + + /** + * Returns the value of the 'Miss' attribute. + * + *+ * If the meaning of the 'Miss' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Miss' attribute. + * @see #setMiss(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_Miss() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Percentage" ordered="false" + * @generated + */ + String getMiss(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getMiss Miss}' attribute. + * + * + * @param value the new value of the 'Miss' attribute. + * @see #getMiss() + * @generated + */ + void setMiss(String value); + + /** + * Returns the value of the 'Priority' attribute. + * + *+ * If the meaning of the 'Priority' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Priority' attribute. + * @see #setPriority(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_Priority() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Integer" ordered="false" + * @generated + */ + String getPriority(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getPriority Priority}' attribute. + * + * + * @param value the new value of the 'Priority' attribute. + * @see #getPriority() + * @generated + */ + void setPriority(String value); + + /** + * Returns the value of the 'Base Comment' reference. + * + *+ * If the meaning of the 'Base Comment' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Comment' reference. + * @see #setBase_Comment(Comment) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_Base_Comment() + * @model required="true" ordered="false" + * @generated + */ + Comment getBase_Comment(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getBase_Comment Base Comment}' reference. + * + * + * @param value the new value of the 'Base Comment' reference. + * @see #getBase_Comment() + * @generated + */ + void setBase_Comment(Comment value); + + /** + * Returns the value of the 'Context' reference. + * + *+ * If the meaning of the 'Context' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Context' reference. + * @see #setContext(BehavioralFeature) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtSpecification_Context() + * @model transient="true" volatile="true" derived="true" ordered="false" + * @generated + */ + BehavioralFeature getContext(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtSpecification#getContext Context}' reference. + * + * + * @param value the new value of the 'Context' reference. + * @see #getContext() + * @generated + */ + void setContext(BehavioralFeature value); + +} // RtSpecification diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtUnit.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtUnit.java new file mode 100644 index 00000000000..f8bbf341e1f --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/RtUnit.java @@ -0,0 +1,371 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.MARTE_Library.GRM_BasicTypes.SchedPolicyKind; + +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.BehavioredClassifier; +import org.eclipse.uml2.uml.Operation; + +/** + * + * A representation of the model object 'Rt Unit'. + * + * + *+ * The following features are supported: + *
"true"
.
+ *
+ * + * If the meaning of the 'Is Dynamic' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Dynamic' attribute. + * @see #setIsDynamic(boolean) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_IsDynamic() + * @model default="true" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Boolean" required="true" ordered="false" + * @generated + */ + boolean isIsDynamic(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#isIsDynamic Is Dynamic}' attribute. + * + * + * @param value the new value of the 'Is Dynamic' attribute. + * @see #isIsDynamic() + * @generated + */ + void setIsDynamic(boolean value); + + /** + * Returns the value of the 'Is Main' attribute. + * + *+ * If the meaning of the 'Is Main' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Is Main' attribute. + * @see #setIsMain(boolean) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_IsMain() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Boolean" ordered="false" + * @generated + */ + boolean isIsMain(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#isIsMain Is Main}' attribute. + * + * + * @param value the new value of the 'Is Main' attribute. + * @see #isIsMain() + * @generated + */ + void setIsMain(boolean value); + + /** + * Returns the value of the 'Sr Pool Size' attribute. + * + *+ * If the meaning of the 'Sr Pool Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sr Pool Size' attribute. + * @see #setSrPoolSize(int) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_SrPoolSize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Integer" ordered="false" + * @generated + */ + int getSrPoolSize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getSrPoolSize Sr Pool Size}' attribute. + * + * + * @param value the new value of the 'Sr Pool Size' attribute. + * @see #getSrPoolSize() + * @generated + */ + void setSrPoolSize(int value); + + /** + * Returns the value of the 'Sr Pool Policy' attribute. + * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.PoolMgtPolicyKind}. + * + *+ * If the meaning of the 'Sr Pool Policy' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sr Pool Policy' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.PoolMgtPolicyKind + * @see #setSrPoolPolicy(PoolMgtPolicyKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_SrPoolPolicy() + * @model unique="false" ordered="false" + * @generated + */ + PoolMgtPolicyKind getSrPoolPolicy(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getSrPoolPolicy Sr Pool Policy}' attribute. + * + * + * @param value the new value of the 'Sr Pool Policy' attribute. + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.PoolMgtPolicyKind + * @see #getSrPoolPolicy() + * @generated + */ + void setSrPoolPolicy(PoolMgtPolicyKind value); + + /** + * Returns the value of the 'Sr Pool Waiting Time' attribute. + * + *+ * If the meaning of the 'Sr Pool Waiting Time' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sr Pool Waiting Time' attribute. + * @see #setSrPoolWaitingTime(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_SrPoolWaitingTime() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Duration" ordered="false" + * @generated + */ + String getSrPoolWaitingTime(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getSrPoolWaitingTime Sr Pool Waiting Time}' attribute. + * + * + * @param value the new value of the 'Sr Pool Waiting Time' attribute. + * @see #getSrPoolWaitingTime() + * @generated + */ + void setSrPoolWaitingTime(String value); + + /** + * Returns the value of the 'Operational Mode' reference. + * + *+ * If the meaning of the 'Operational Mode' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Operational Mode' reference. + * @see #setOperationalMode(Behavior) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_OperationalMode() + * @model ordered="false" + * @generated + */ + Behavior getOperationalMode(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getOperationalMode Operational Mode}' reference. + * + * + * @param value the new value of the 'Operational Mode' reference. + * @see #getOperationalMode() + * @generated + */ + void setOperationalMode(Behavior value); + + /** + * Returns the value of the 'Main' reference. + * + *+ * If the meaning of the 'Main' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Main' reference. + * @see #setMain(Operation) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_Main() + * @model ordered="false" + * @generated + */ + Operation getMain(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getMain Main}' reference. + * + * + * @param value the new value of the 'Main' reference. + * @see #getMain() + * @generated + */ + void setMain(Operation value); + + /** + * Returns the value of the 'Memory Size' attribute. + * + *+ * If the meaning of the 'Memory Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Memory Size' attribute. + * @see #setMemorySize(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_MemorySize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_DataSize" ordered="false" + * @generated + */ + String getMemorySize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getMemorySize Memory Size}' attribute. + * + * + * @param value the new value of the 'Memory Size' attribute. + * @see #getMemorySize() + * @generated + */ + void setMemorySize(String value); + + /** + * Returns the value of the 'Base Behaviored Classifier' reference. + * + *+ * If the meaning of the 'Base Behaviored Classifier' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Base Behaviored Classifier' reference. + * @see #setBase_BehavioredClassifier(BehavioredClassifier) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_Base_BehavioredClassifier() + * @model required="true" ordered="false" + * @generated + */ + BehavioredClassifier getBase_BehavioredClassifier(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getBase_BehavioredClassifier Base Behaviored Classifier}' reference. + * + * + * @param value the new value of the 'Base Behaviored Classifier' reference. + * @see #getBase_BehavioredClassifier() + * @generated + */ + void setBase_BehavioredClassifier(BehavioredClassifier value); + + /** + * Returns the value of the 'Queue Sched Policy' attribute. + * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE_Library.GRM_BasicTypes.SchedPolicyKind}. + * + *+ * If the meaning of the 'Queue Sched Policy' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Queue Sched Policy' attribute. + * @see org.eclipse.papyrus.MARTE_Library.GRM_BasicTypes.SchedPolicyKind + * @see #setQueueSchedPolicy(SchedPolicyKind) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_QueueSchedPolicy() + * @model unique="false" ordered="false" + * @generated + */ + SchedPolicyKind getQueueSchedPolicy(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getQueueSchedPolicy Queue Sched Policy}' attribute. + * + * + * @param value the new value of the 'Queue Sched Policy' attribute. + * @see org.eclipse.papyrus.MARTE_Library.GRM_BasicTypes.SchedPolicyKind + * @see #getQueueSchedPolicy() + * @generated + */ + void setQueueSchedPolicy(SchedPolicyKind value); + + /** + * Returns the value of the 'Queue Size' attribute. + * + *+ * If the meaning of the 'Queue Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Queue Size' attribute. + * @see #setQueueSize(int) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_QueueSize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Integer" ordered="false" + * @generated + */ + int getQueueSize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getQueueSize Queue Size}' attribute. + * + * + * @param value the new value of the 'Queue Size' attribute. + * @see #getQueueSize() + * @generated + */ + void setQueueSize(int value); + + /** + * Returns the value of the 'Msg Max Size' attribute. + * + *+ * If the meaning of the 'Msg Max Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Msg Max Size' attribute. + * @see #setMsgMaxSize(String) + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getRtUnit_MsgMaxSize() + * @model unique="false" dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_DataSize" ordered="false" + * @generated + */ + String getMsgMaxSize(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.RtUnit#getMsgMaxSize Msg Max Size}' attribute. + * + * + * @param value the new value of the 'Msg Max Size' attribute. + * @see #getMsgMaxSize() + * @generated + */ + void setMsgMaxSize(String value); + +} // RtUnit diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/SynchronizationKind.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/SynchronizationKind.java new file mode 100644 index 00000000000..760d2e2e1e9 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/SynchronizationKind.java @@ -0,0 +1,300 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Synchronization Kind', + * and utility methods for working with them. + * + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#getSynchronizationKind() + * @model + * @generated + */ +public enum SynchronizationKind implements Enumerator { + /** + * The 'Synchronous' literal object. + * + * + * @see #SYNCHRONOUS_VALUE + * @generated + * @ordered + */ + SYNCHRONOUS(0, "synchronous", "synchronous"), + + /** + * The 'Asynchronous' literal object. + * + * + * @see #ASYNCHRONOUS_VALUE + * @generated + * @ordered + */ + ASYNCHRONOUS(1, "asynchronous", "asynchronous"), + + /** + * The 'Delayed Synchronous' literal object. + * + * + * @see #DELAYED_SYNCHRONOUS_VALUE + * @generated + * @ordered + */ + DELAYED_SYNCHRONOUS(2, "delayedSynchronous", "delayedSynchronous"), + + /** + * The 'Rendez Vous' literal object. + * + * + * @see #RENDEZ_VOUS_VALUE + * @generated + * @ordered + */ + RENDEZ_VOUS(3, "rendezVous", "rendezVous"), + + /** + * The 'Other' literal object. + * + * + * @see #OTHER_VALUE + * @generated + * @ordered + */ + OTHER(4, "other", "other"); + + /** + * The 'Synchronous' literal value. + * + *+ * If the meaning of 'Synchronous' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #SYNCHRONOUS + * @model name="synchronous" + * @generated + * @ordered + */ + public static final int SYNCHRONOUS_VALUE = 0; + + /** + * The 'Asynchronous' literal value. + * + *+ * If the meaning of 'Asynchronous' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #ASYNCHRONOUS + * @model name="asynchronous" + * @generated + * @ordered + */ + public static final int ASYNCHRONOUS_VALUE = 1; + + /** + * The 'Delayed Synchronous' literal value. + * + *+ * If the meaning of 'Delayed Synchronous' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #DELAYED_SYNCHRONOUS + * @model name="delayedSynchronous" + * @generated + * @ordered + */ + public static final int DELAYED_SYNCHRONOUS_VALUE = 2; + + /** + * The 'Rendez Vous' literal value. + * + *+ * If the meaning of 'Rendez Vous' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #RENDEZ_VOUS + * @model name="rendezVous" + * @generated + * @ordered + */ + public static final int RENDEZ_VOUS_VALUE = 3; + + /** + * The 'Other' literal value. + * + *+ * If the meaning of 'Other' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OTHER + * @model name="other" + * @generated + * @ordered + */ + public static final int OTHER_VALUE = 4; + + /** + * An array of all the 'Synchronization Kind' enumerators. + * + * + * @generated + */ + private static final SynchronizationKind[] VALUES_ARRAY = + new SynchronizationKind[] { + SYNCHRONOUS, + ASYNCHRONOUS, + DELAYED_SYNCHRONOUS, + RENDEZ_VOUS, + OTHER, + }; + + /** + * A public read-only list of all the 'Synchronization Kind' enumerators. + * + * + * @generated + */ + public static final ListNote: 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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage#eNS_URI + * @see #init() + * @generated + */ + private HLAMPackageImpl() { + super(eNS_URI, HLAMFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link HLAMPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static HLAMPackage init() { + if (isInited) return (HLAMPackage)EPackage.Registry.INSTANCE.getEPackage(HLAMPackage.eNS_URI); + + // Obtain or create and register package + HLAMPackageImpl theHLAMPackage = (HLAMPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof HLAMPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new HLAMPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + MARTEPackageImpl theMARTEPackage = (MARTEPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) instanceof MARTEPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTEPackage.eNS_URI) : MARTEPackage.eINSTANCE); + NFPsPackageImpl theNFPsPackage = (NFPsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) instanceof NFPsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NFPsPackage.eNS_URI) : NFPsPackage.eINSTANCE); + CoreElementsPackageImpl theCoreElementsPackage = (CoreElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) instanceof CoreElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CoreElementsPackage.eNS_URI) : CoreElementsPackage.eINSTANCE); + AllocPackageImpl theAllocPackage = (AllocPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) instanceof AllocPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocPackage.eNS_URI) : AllocPackage.eINSTANCE); + TimePackageImpl theTimePackage = (TimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) instanceof TimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI) : TimePackage.eINSTANCE); + GRMPackageImpl theGRMPackage = (GRMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) instanceof GRMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRMPackage.eNS_URI) : GRMPackage.eINSTANCE); + RSMPackageImpl theRSMPackage = (RSMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) instanceof RSMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RSMPackage.eNS_URI) : RSMPackage.eINSTANCE); + VariablesPackageImpl theVariablesPackage = (VariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) instanceof VariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI) : VariablesPackage.eINSTANCE); + OperatorsPackageImpl theOperatorsPackage = (OperatorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) instanceof OperatorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI) : OperatorsPackage.eINSTANCE); + DataTypesPackageImpl theDataTypesPackage = (DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) instanceof DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataTypesPackage.eNS_URI) : DataTypesPackage.eINSTANCE); + HwComputingPackageImpl theHwComputingPackage = (HwComputingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) instanceof HwComputingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwComputingPackage.eNS_URI) : HwComputingPackage.eINSTANCE); + HwCommunicationPackageImpl theHwCommunicationPackage = (HwCommunicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) instanceof HwCommunicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwCommunicationPackage.eNS_URI) : HwCommunicationPackage.eINSTANCE); + HwStorageManagerPackageImpl theHwStorageManagerPackage = (HwStorageManagerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) instanceof HwStorageManagerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwStorageManagerPackage.eNS_URI) : HwStorageManagerPackage.eINSTANCE); + HwMemoryPackageImpl theHwMemoryPackage = (HwMemoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) instanceof HwMemoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwMemoryPackage.eNS_URI) : HwMemoryPackage.eINSTANCE); + HwTimingPackageImpl theHwTimingPackage = (HwTimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) instanceof HwTimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwTimingPackage.eNS_URI) : HwTimingPackage.eINSTANCE); + HwDevicePackageImpl theHwDevicePackage = (HwDevicePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) instanceof HwDevicePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwDevicePackage.eNS_URI) : HwDevicePackage.eINSTANCE); + HwGeneralPackageImpl theHwGeneralPackage = (HwGeneralPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) instanceof HwGeneralPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwGeneralPackage.eNS_URI) : HwGeneralPackage.eINSTANCE); + HwLayoutPackageImpl theHwLayoutPackage = (HwLayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) instanceof HwLayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwLayoutPackage.eNS_URI) : HwLayoutPackage.eINSTANCE); + HwPowerPackageImpl theHwPowerPackage = (HwPowerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) instanceof HwPowerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HwPowerPackage.eNS_URI) : HwPowerPackage.eINSTANCE); + SW_ResourceCorePackageImpl theSW_ResourceCorePackage = (SW_ResourceCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) instanceof SW_ResourceCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ResourceCorePackage.eNS_URI) : SW_ResourceCorePackage.eINSTANCE); + SW_ConcurrencyPackageImpl theSW_ConcurrencyPackage = (SW_ConcurrencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) instanceof SW_ConcurrencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_ConcurrencyPackage.eNS_URI) : SW_ConcurrencyPackage.eINSTANCE); + SW_BrokeringPackageImpl theSW_BrokeringPackage = (SW_BrokeringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) instanceof SW_BrokeringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_BrokeringPackage.eNS_URI) : SW_BrokeringPackage.eINSTANCE); + SW_InteractionPackageImpl theSW_InteractionPackage = (SW_InteractionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) instanceof SW_InteractionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SW_InteractionPackage.eNS_URI) : SW_InteractionPackage.eINSTANCE); + GCMPackageImpl theGCMPackage = (GCMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) instanceof GCMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GCMPackage.eNS_URI) : GCMPackage.eINSTANCE); + GQAMPackageImpl theGQAMPackage = (GQAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) instanceof GQAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GQAMPackage.eNS_URI) : GQAMPackage.eINSTANCE); + SAMPackageImpl theSAMPackage = (SAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) instanceof SAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SAMPackage.eNS_URI) : SAMPackage.eINSTANCE); + PAMPackageImpl thePAMPackage = (PAMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) instanceof PAMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PAMPackage.eNS_URI) : PAMPackage.eINSTANCE); + MeasurementUnitsPackageImpl theMeasurementUnitsPackage = (MeasurementUnitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) instanceof MeasurementUnitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasurementUnitsPackage.eNS_URI) : MeasurementUnitsPackage.eINSTANCE); + GRM_BasicTypesPackageImpl theGRM_BasicTypesPackage = (GRM_BasicTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) instanceof GRM_BasicTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI) : GRM_BasicTypesPackage.eINSTANCE); + MARTE_DataTypesPackageImpl theMARTE_DataTypesPackage = (MARTE_DataTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) instanceof MARTE_DataTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI) : MARTE_DataTypesPackage.eINSTANCE); + BasicNFP_TypesPackageImpl theBasicNFP_TypesPackage = (BasicNFP_TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) instanceof BasicNFP_TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI) : BasicNFP_TypesPackage.eINSTANCE); + TimeTypesLibraryPackageImpl theTimeTypesLibraryPackage = (TimeTypesLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) instanceof TimeTypesLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeTypesLibraryPackage.eNS_URI) : TimeTypesLibraryPackage.eINSTANCE); + TimeLibraryPackageImpl theTimeLibraryPackage = (TimeLibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) instanceof TimeLibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimeLibraryPackage.eNS_URI) : TimeLibraryPackage.eINSTANCE); + RS_LibraryPackageImpl theRS_LibraryPackage = (RS_LibraryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) instanceof RS_LibraryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RS_LibraryPackage.eNS_URI) : RS_LibraryPackage.eINSTANCE); + MARTE_PrimitivesTypesPackageImpl theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) instanceof MARTE_PrimitivesTypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI) : MARTE_PrimitivesTypesPackage.eINSTANCE); + + // Create package meta-data objects + theHLAMPackage.createPackageContents(); + theMARTEPackage.createPackageContents(); + theNFPsPackage.createPackageContents(); + theCoreElementsPackage.createPackageContents(); + theAllocPackage.createPackageContents(); + theTimePackage.createPackageContents(); + theGRMPackage.createPackageContents(); + theRSMPackage.createPackageContents(); + theVariablesPackage.createPackageContents(); + theOperatorsPackage.createPackageContents(); + theDataTypesPackage.createPackageContents(); + theHwComputingPackage.createPackageContents(); + theHwCommunicationPackage.createPackageContents(); + theHwStorageManagerPackage.createPackageContents(); + theHwMemoryPackage.createPackageContents(); + theHwTimingPackage.createPackageContents(); + theHwDevicePackage.createPackageContents(); + theHwGeneralPackage.createPackageContents(); + theHwLayoutPackage.createPackageContents(); + theHwPowerPackage.createPackageContents(); + theSW_ResourceCorePackage.createPackageContents(); + theSW_ConcurrencyPackage.createPackageContents(); + theSW_BrokeringPackage.createPackageContents(); + theSW_InteractionPackage.createPackageContents(); + theGCMPackage.createPackageContents(); + theGQAMPackage.createPackageContents(); + theSAMPackage.createPackageContents(); + thePAMPackage.createPackageContents(); + theMeasurementUnitsPackage.createPackageContents(); + theGRM_BasicTypesPackage.createPackageContents(); + theMARTE_DataTypesPackage.createPackageContents(); + theBasicNFP_TypesPackage.createPackageContents(); + theTimeTypesLibraryPackage.createPackageContents(); + theTimeLibraryPackage.createPackageContents(); + theRS_LibraryPackage.createPackageContents(); + theMARTE_PrimitivesTypesPackage.createPackageContents(); + + // Initialize created meta-data + theHLAMPackage.initializePackageContents(); + theMARTEPackage.initializePackageContents(); + theNFPsPackage.initializePackageContents(); + theCoreElementsPackage.initializePackageContents(); + theAllocPackage.initializePackageContents(); + theTimePackage.initializePackageContents(); + theGRMPackage.initializePackageContents(); + theRSMPackage.initializePackageContents(); + theVariablesPackage.initializePackageContents(); + theOperatorsPackage.initializePackageContents(); + theDataTypesPackage.initializePackageContents(); + theHwComputingPackage.initializePackageContents(); + theHwCommunicationPackage.initializePackageContents(); + theHwStorageManagerPackage.initializePackageContents(); + theHwMemoryPackage.initializePackageContents(); + theHwTimingPackage.initializePackageContents(); + theHwDevicePackage.initializePackageContents(); + theHwGeneralPackage.initializePackageContents(); + theHwLayoutPackage.initializePackageContents(); + theHwPowerPackage.initializePackageContents(); + theSW_ResourceCorePackage.initializePackageContents(); + theSW_ConcurrencyPackage.initializePackageContents(); + theSW_BrokeringPackage.initializePackageContents(); + theSW_InteractionPackage.initializePackageContents(); + theGCMPackage.initializePackageContents(); + theGQAMPackage.initializePackageContents(); + theSAMPackage.initializePackageContents(); + thePAMPackage.initializePackageContents(); + theMeasurementUnitsPackage.initializePackageContents(); + theGRM_BasicTypesPackage.initializePackageContents(); + theMARTE_DataTypesPackage.initializePackageContents(); + theBasicNFP_TypesPackage.initializePackageContents(); + theTimeTypesLibraryPackage.initializePackageContents(); + theTimeLibraryPackage.initializePackageContents(); + theRS_LibraryPackage.initializePackageContents(); + theMARTE_PrimitivesTypesPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theHLAMPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(HLAMPackage.eNS_URI, theHLAMPackage); + return theHLAMPackage; + } + + /** + * + * + * @generated + */ + public EClass getRtUnit() { + return rtUnitEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getRtUnit_IsDynamic() { + return (EAttribute)rtUnitEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getRtUnit_IsMain() { + return (EAttribute)rtUnitEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getRtUnit_SrPoolSize() { + return (EAttribute)rtUnitEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getRtUnit_SrPoolPolicy() { + return (EAttribute)rtUnitEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getRtUnit_SrPoolWaitingTime() { + return (EAttribute)rtUnitEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getRtUnit_OperationalMode() { + return (EReference)rtUnitEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EReference getRtUnit_Main() { + return (EReference)rtUnitEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EAttribute getRtUnit_MemorySize() { + return (EAttribute)rtUnitEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + public EReference getRtUnit_Base_BehavioredClassifier() { + return (EReference)rtUnitEClass.getEStructuralFeatures().get(8); + } + + /** + * + * + * @generated + */ + public EAttribute getRtUnit_QueueSchedPolicy() { + return (EAttribute)rtUnitEClass.getEStructuralFeatures().get(9); + } + + /** + * + * + * @generated + */ + public EAttribute getRtUnit_QueueSize() { + return (EAttribute)rtUnitEClass.getEStructuralFeatures().get(10); + } + + /** + * + * + * @generated + */ + public EAttribute getRtUnit_MsgMaxSize() { + return (EAttribute)rtUnitEClass.getEStructuralFeatures().get(11); + } + + /** + * + * + * @generated + */ + public EClass getPpUnit() { + return ppUnitEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getPpUnit_ConcPolicy() { + return (EAttribute)ppUnitEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getPpUnit_MemorySize() { + return (EAttribute)ppUnitEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getPpUnit_Base_BehavioredClassifier() { + return (EReference)ppUnitEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getRtFeature() { + return rtFeatureEClass; + } + + /** + * + * + * @generated + */ + public EReference getRtFeature_Base_BehavioralFeature() { + return (EReference)rtFeatureEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getRtFeature_Base_Message() { + return (EReference)rtFeatureEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getRtFeature_Base_Signal() { + return (EReference)rtFeatureEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getRtFeature_Base_Port() { + return (EReference)rtFeatureEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getRtFeature_Base_InvocationAction() { + return (EReference)rtFeatureEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getRtFeature_Specification() { + return (EReference)rtFeatureEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getRtSpecification() { + return rtSpecificationEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getRtSpecification_Utility() { + return (EAttribute)rtSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getRtSpecification_OccKind() { + return (EAttribute)rtSpecificationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getRtSpecification_TRef() { + return (EReference)rtSpecificationEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getRtSpecification_RelDl() { + return (EAttribute)rtSpecificationEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getRtSpecification_AbsDl() { + return (EAttribute)rtSpecificationEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getRtSpecification_BoundDl() { + return (EAttribute)rtSpecificationEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EAttribute getRtSpecification_RdTime() { + return (EAttribute)rtSpecificationEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EAttribute getRtSpecification_Miss() { + return (EAttribute)rtSpecificationEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + public EAttribute getRtSpecification_Priority() { + return (EAttribute)rtSpecificationEClass.getEStructuralFeatures().get(8); + } + + /** + * + * + * @generated + */ + public EReference getRtSpecification_Base_Comment() { + return (EReference)rtSpecificationEClass.getEStructuralFeatures().get(9); + } + + /** + * + * + * @generated + */ + public EReference getRtSpecification_Context() { + return (EReference)rtSpecificationEClass.getEStructuralFeatures().get(10); + } + + /** + * + * + * @generated + */ + public EClass getRtAction() { + return rtActionEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getRtAction_IsAtomic() { + return (EAttribute)rtActionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getRtAction_SynchKind() { + return (EAttribute)rtActionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getRtAction_MsgSize() { + return (EAttribute)rtActionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getRtAction_Base_BehavioralFeature() { + return (EReference)rtActionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getRtAction_Base_InvocationAction() { + return (EReference)rtActionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EClass getRtService() { + return rtServiceEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getRtService_ConcPolicy() { + return (EAttribute)rtServiceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getRtService_ExeKind() { + return (EAttribute)rtServiceEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getRtService_IsAtomic() { + return (EAttribute)rtServiceEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getRtService_SynchKind() { + return (EAttribute)rtServiceEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getRtService_Base_BehavioralFeature() { + return (EReference)rtServiceEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EEnum getPoolMgtPolicyKind() { + return poolMgtPolicyKindEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getCallConcurrencyKind() { + return callConcurrencyKindEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getSynchronizationKind() { + return synchronizationKindEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getExecutionKind() { + return executionKindEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getConcurrencyKind() { + return concurrencyKindEEnum; + } + + /** + * + * + * @generated + */ + public HLAMFactory getHLAMFactory() { + return (HLAMFactory)getEFactoryInstance(); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + rtUnitEClass = createEClass(RT_UNIT); + createEAttribute(rtUnitEClass, RT_UNIT__IS_DYNAMIC); + createEAttribute(rtUnitEClass, RT_UNIT__IS_MAIN); + createEAttribute(rtUnitEClass, RT_UNIT__SR_POOL_SIZE); + createEAttribute(rtUnitEClass, RT_UNIT__SR_POOL_POLICY); + createEAttribute(rtUnitEClass, RT_UNIT__SR_POOL_WAITING_TIME); + createEReference(rtUnitEClass, RT_UNIT__OPERATIONAL_MODE); + createEReference(rtUnitEClass, RT_UNIT__MAIN); + createEAttribute(rtUnitEClass, RT_UNIT__MEMORY_SIZE); + createEReference(rtUnitEClass, RT_UNIT__BASE_BEHAVIORED_CLASSIFIER); + createEAttribute(rtUnitEClass, RT_UNIT__QUEUE_SCHED_POLICY); + createEAttribute(rtUnitEClass, RT_UNIT__QUEUE_SIZE); + createEAttribute(rtUnitEClass, RT_UNIT__MSG_MAX_SIZE); + + ppUnitEClass = createEClass(PP_UNIT); + createEAttribute(ppUnitEClass, PP_UNIT__CONC_POLICY); + createEAttribute(ppUnitEClass, PP_UNIT__MEMORY_SIZE); + createEReference(ppUnitEClass, PP_UNIT__BASE_BEHAVIORED_CLASSIFIER); + + rtFeatureEClass = createEClass(RT_FEATURE); + createEReference(rtFeatureEClass, RT_FEATURE__BASE_BEHAVIORAL_FEATURE); + createEReference(rtFeatureEClass, RT_FEATURE__BASE_MESSAGE); + createEReference(rtFeatureEClass, RT_FEATURE__BASE_SIGNAL); + createEReference(rtFeatureEClass, RT_FEATURE__BASE_PORT); + createEReference(rtFeatureEClass, RT_FEATURE__BASE_INVOCATION_ACTION); + createEReference(rtFeatureEClass, RT_FEATURE__SPECIFICATION); + + rtSpecificationEClass = createEClass(RT_SPECIFICATION); + createEAttribute(rtSpecificationEClass, RT_SPECIFICATION__UTILITY); + createEAttribute(rtSpecificationEClass, RT_SPECIFICATION__OCC_KIND); + createEReference(rtSpecificationEClass, RT_SPECIFICATION__TREF); + createEAttribute(rtSpecificationEClass, RT_SPECIFICATION__REL_DL); + createEAttribute(rtSpecificationEClass, RT_SPECIFICATION__ABS_DL); + createEAttribute(rtSpecificationEClass, RT_SPECIFICATION__BOUND_DL); + createEAttribute(rtSpecificationEClass, RT_SPECIFICATION__RD_TIME); + createEAttribute(rtSpecificationEClass, RT_SPECIFICATION__MISS); + createEAttribute(rtSpecificationEClass, RT_SPECIFICATION__PRIORITY); + createEReference(rtSpecificationEClass, RT_SPECIFICATION__BASE_COMMENT); + createEReference(rtSpecificationEClass, RT_SPECIFICATION__CONTEXT); + + rtActionEClass = createEClass(RT_ACTION); + createEAttribute(rtActionEClass, RT_ACTION__IS_ATOMIC); + createEAttribute(rtActionEClass, RT_ACTION__SYNCH_KIND); + createEAttribute(rtActionEClass, RT_ACTION__MSG_SIZE); + createEReference(rtActionEClass, RT_ACTION__BASE_BEHAVIORAL_FEATURE); + createEReference(rtActionEClass, RT_ACTION__BASE_INVOCATION_ACTION); + + rtServiceEClass = createEClass(RT_SERVICE); + createEAttribute(rtServiceEClass, RT_SERVICE__CONC_POLICY); + createEAttribute(rtServiceEClass, RT_SERVICE__EXE_KIND); + createEAttribute(rtServiceEClass, RT_SERVICE__IS_ATOMIC); + createEAttribute(rtServiceEClass, RT_SERVICE__SYNCH_KIND); + createEReference(rtServiceEClass, RT_SERVICE__BASE_BEHAVIORAL_FEATURE); + + // Create enums + poolMgtPolicyKindEEnum = createEEnum(POOL_MGT_POLICY_KIND); + callConcurrencyKindEEnum = createEEnum(CALL_CONCURRENCY_KIND); + synchronizationKindEEnum = createEEnum(SYNCHRONIZATION_KIND); + executionKindEEnum = createEEnum(EXECUTION_KIND); + concurrencyKindEEnum = createEEnum(CONCURRENCY_KIND); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + MARTE_PrimitivesTypesPackage theMARTE_PrimitivesTypesPackage = (MARTE_PrimitivesTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_PrimitivesTypesPackage.eNS_URI); + BasicNFP_TypesPackage theBasicNFP_TypesPackage = (BasicNFP_TypesPackage)EPackage.Registry.INSTANCE.getEPackage(BasicNFP_TypesPackage.eNS_URI); + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + GRM_BasicTypesPackage theGRM_BasicTypesPackage = (GRM_BasicTypesPackage)EPackage.Registry.INSTANCE.getEPackage(GRM_BasicTypesPackage.eNS_URI); + MARTE_DataTypesPackage theMARTE_DataTypesPackage = (MARTE_DataTypesPackage)EPackage.Registry.INSTANCE.getEPackage(MARTE_DataTypesPackage.eNS_URI); + TimePackage theTimePackage = (TimePackage)EPackage.Registry.INSTANCE.getEPackage(TimePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes and features; add operations and parameters + initEClass(rtUnitEClass, RtUnit.class, "RtUnit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRtUnit_IsDynamic(), theMARTE_PrimitivesTypesPackage.getBoolean(), "isDynamic", "true", 1, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtUnit_IsMain(), theMARTE_PrimitivesTypesPackage.getBoolean(), "isMain", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtUnit_SrPoolSize(), theMARTE_PrimitivesTypesPackage.getInteger(), "srPoolSize", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtUnit_SrPoolPolicy(), this.getPoolMgtPolicyKind(), "srPoolPolicy", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtUnit_SrPoolWaitingTime(), theBasicNFP_TypesPackage.getNFP_Duration(), "srPoolWaitingTime", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtUnit_OperationalMode(), theUMLPackage.getBehavior(), null, "operationalMode", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtUnit_Main(), theUMLPackage.getOperation(), null, "main", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtUnit_MemorySize(), theBasicNFP_TypesPackage.getNFP_DataSize(), "memorySize", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtUnit_Base_BehavioredClassifier(), theUMLPackage.getBehavioredClassifier(), null, "base_BehavioredClassifier", null, 1, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtUnit_QueueSchedPolicy(), theGRM_BasicTypesPackage.getSchedPolicyKind(), "queueSchedPolicy", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtUnit_QueueSize(), theMARTE_PrimitivesTypesPackage.getInteger(), "queueSize", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtUnit_MsgMaxSize(), theBasicNFP_TypesPackage.getNFP_DataSize(), "msgMaxSize", null, 0, 1, RtUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(ppUnitEClass, PpUnit.class, "PpUnit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPpUnit_ConcPolicy(), this.getCallConcurrencyKind(), "concPolicy", null, 0, 1, PpUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getPpUnit_MemorySize(), theBasicNFP_TypesPackage.getNFP_DataSize(), "memorySize", null, 0, 1, PpUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPpUnit_Base_BehavioredClassifier(), theUMLPackage.getBehavioredClassifier(), null, "base_BehavioredClassifier", null, 1, 1, PpUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(rtFeatureEClass, RtFeature.class, "RtFeature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRtFeature_Base_BehavioralFeature(), theUMLPackage.getBehavioralFeature(), null, "base_BehavioralFeature", null, 1, 1, RtFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtFeature_Base_Message(), theUMLPackage.getMessage(), null, "base_Message", null, 1, 1, RtFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtFeature_Base_Signal(), theUMLPackage.getSignal(), null, "base_Signal", null, 1, 1, RtFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtFeature_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 1, 1, RtFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtFeature_Base_InvocationAction(), theUMLPackage.getInvocationAction(), null, "base_InvocationAction", null, 1, 1, RtFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtFeature_Specification(), this.getRtSpecification(), null, "specification", null, 1, -1, RtFeature.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED); + + initEClass(rtSpecificationEClass, RtSpecification.class, "RtSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRtSpecification_Utility(), theMARTE_DataTypesPackage.getUtilityType(), "utility", null, 0, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtSpecification_OccKind(), theBasicNFP_TypesPackage.getArrivalPattern(), "occKind", null, 0, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtSpecification_TRef(), theTimePackage.getTimedInstantObservation(), null, "tRef", null, 0, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtSpecification_RelDl(), theBasicNFP_TypesPackage.getNFP_Duration(), "relDl", null, 0, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtSpecification_AbsDl(), theBasicNFP_TypesPackage.getNFP_DateTime(), "absDl", null, 0, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtSpecification_BoundDl(), theBasicNFP_TypesPackage.getNFP_Duration(), "boundDl", null, 0, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtSpecification_RdTime(), theBasicNFP_TypesPackage.getNFP_Duration(), "rdTime", null, 0, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtSpecification_Miss(), theBasicNFP_TypesPackage.getNFP_Percentage(), "miss", null, 0, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtSpecification_Priority(), theBasicNFP_TypesPackage.getNFP_Integer(), "priority", null, 0, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtSpecification_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 1, 1, RtSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtSpecification_Context(), theUMLPackage.getBehavioralFeature(), null, "context", null, 0, 1, RtSpecification.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); + + initEClass(rtActionEClass, RtAction.class, "RtAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRtAction_IsAtomic(), theMARTE_PrimitivesTypesPackage.getBoolean(), "isAtomic", "false", 1, 1, RtAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtAction_SynchKind(), this.getSynchronizationKind(), "synchKind", null, 0, 1, RtAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtAction_MsgSize(), theBasicNFP_TypesPackage.getNFP_DataSize(), "msgSize", null, 0, 1, RtAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtAction_Base_BehavioralFeature(), theUMLPackage.getBehavioralFeature(), null, "base_BehavioralFeature", null, 1, 1, RtAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtAction_Base_InvocationAction(), theUMLPackage.getInvocationAction(), null, "base_InvocationAction", null, 1, 1, RtAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(rtServiceEClass, RtService.class, "RtService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRtService_ConcPolicy(), this.getConcurrencyKind(), "concPolicy", null, 0, 1, RtService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtService_ExeKind(), this.getExecutionKind(), "exeKind", null, 0, 1, RtService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtService_IsAtomic(), theMARTE_PrimitivesTypesPackage.getBoolean(), "isAtomic", "false", 1, 1, RtService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRtService_SynchKind(), this.getSynchronizationKind(), "synchKind", null, 0, 1, RtService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRtService_Base_BehavioralFeature(), theUMLPackage.getBehavioralFeature(), null, "base_BehavioralFeature", null, 1, 1, RtService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(poolMgtPolicyKindEEnum, PoolMgtPolicyKind.class, "PoolMgtPolicyKind"); + addEEnumLiteral(poolMgtPolicyKindEEnum, PoolMgtPolicyKind.INFINITE_WAIT); + addEEnumLiteral(poolMgtPolicyKindEEnum, PoolMgtPolicyKind.TIMED_WAIT); + addEEnumLiteral(poolMgtPolicyKindEEnum, PoolMgtPolicyKind.DYNAMIC); + addEEnumLiteral(poolMgtPolicyKindEEnum, PoolMgtPolicyKind.EXCEPTION); + addEEnumLiteral(poolMgtPolicyKindEEnum, PoolMgtPolicyKind.OTHER); + + initEEnum(callConcurrencyKindEEnum, CallConcurrencyKind.class, "CallConcurrencyKind"); + addEEnumLiteral(callConcurrencyKindEEnum, CallConcurrencyKind.SEQUENTIAL); + addEEnumLiteral(callConcurrencyKindEEnum, CallConcurrencyKind.GUARDED); + addEEnumLiteral(callConcurrencyKindEEnum, CallConcurrencyKind.CONCURRENT); + + initEEnum(synchronizationKindEEnum, SynchronizationKind.class, "SynchronizationKind"); + addEEnumLiteral(synchronizationKindEEnum, SynchronizationKind.SYNCHRONOUS); + addEEnumLiteral(synchronizationKindEEnum, SynchronizationKind.ASYNCHRONOUS); + addEEnumLiteral(synchronizationKindEEnum, SynchronizationKind.DELAYED_SYNCHRONOUS); + addEEnumLiteral(synchronizationKindEEnum, SynchronizationKind.RENDEZ_VOUS); + addEEnumLiteral(synchronizationKindEEnum, SynchronizationKind.OTHER); + + initEEnum(executionKindEEnum, ExecutionKind.class, "ExecutionKind"); + addEEnumLiteral(executionKindEEnum, ExecutionKind.DEFERRED); + addEEnumLiteral(executionKindEEnum, ExecutionKind.REMOTE_IMMEDIATE); + addEEnumLiteral(executionKindEEnum, ExecutionKind.LOCAL_IMMEDIATE); + + initEEnum(concurrencyKindEEnum, ConcurrencyKind.class, "ConcurrencyKind"); + addEEnumLiteral(concurrencyKindEEnum, ConcurrencyKind.READER); + addEEnumLiteral(concurrencyKindEEnum, ConcurrencyKind.WRITER); + addEEnumLiteral(concurrencyKindEEnum, ConcurrencyKind.PARALLEL); + + // Create annotations + // subsets + createSubsetsAnnotations(); + } + + /** + * Initializes the annotations for subsets. + * + * + * @generated + */ + protected void createSubsetsAnnotations() { + String source = "subsets"; + addAnnotation + (getRtFeature_Specification(), + source, + new String[] { + }, + new URI[] { + URI.createURI(UMLPackage.eNS_URI).appendFragment("//Element/ownedComment") + }); + } + +} //HLAMPackageImpl diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/PpUnitImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/PpUnitImpl.java new file mode 100644 index 00000000000..8b3ff3e7b14 --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HLAM/impl/PpUnitImpl.java @@ -0,0 +1,292 @@ +/***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * + * 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: + * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.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.emf.ecore.impl.EObjectImpl; + +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.CallConcurrencyKind; +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.HLAMPackage; +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.PpUnit; + +import org.eclipse.uml2.uml.BehavioredClassifier; + +/** + * + * An implementation of the model object 'Pp Unit'. + * + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *