Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-08-21 11:43:07 +0000
committerCamille Letavernier2014-08-21 13:50:25 +0000
commitdbc038b44bcbb890ae256d15eb09eb285512f020 (patch)
tree757e736583eea3ae352ad9ac91a81df7e59b79ff /plugins/sysml/org.eclipse.papyrus.sysml/src
parentea48a20561464c3cbb7895d430583669a9f82fcc (diff)
downloadorg.eclipse.papyrus-dbc038b44bcbb890ae256d15eb09eb285512f020.tar.gz
org.eclipse.papyrus-dbc038b44bcbb890ae256d15eb09eb285512f020.tar.xz
org.eclipse.papyrus-dbc038b44bcbb890ae256d15eb09eb285512f020.zip
[Code style] Apply clean-up and formatter on Main plug-ins
Diffstat (limited to 'plugins/sysml/org.eclipse.papyrus.sysml/src')
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlFactory.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlPackage.java22
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesFactory.java24
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesPackage.java177
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Continuous.java6
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ControlOperator.java18
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Discrete.java6
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/NoBuffer.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Optional.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Overwrite.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Probability.java24
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Rate.java24
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesFactoryImpl.java38
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesPackageImpl.java176
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ContinuousImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ControlOperatorImpl.java82
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/DiscreteImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/NoBufferImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OptionalImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OverwriteImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ProbabilityImpl.java111
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/RateImpl.java111
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesAdapterFactory.java44
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesSwitch.java122
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocate.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocateActivityPartition.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocated.java46
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsFactory.java14
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsPackage.java79
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateActivityPartitionImpl.java56
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocatedImpl.java99
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsFactoryImpl.java28
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsPackageImpl.java120
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsAdapterFactory.java34
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsSwitch.java56
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BindingConnector.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Block.java18
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksFactory.java28
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksPackage.java227
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ConnectorProperty.java18
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Dimension.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/DistributedProperty.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/NestedConnectorEnd.java42
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ParticipantProperty.java18
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/PropertySpecificType.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Unit.java18
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ValueType.java24
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BindingConnectorImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlockImpl.java71
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksFactoryImpl.java42
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksPackageImpl.java220
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ConnectorPropertyImpl.java82
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DimensionImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DistributedPropertyImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/NestedConnectorEndImpl.java76
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ParticipantPropertyImpl.java82
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/PropertySpecificTypeImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/UnitImpl.java82
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ValueTypeImpl.java111
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksAdapterFactory.java48
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksSwitch.java140
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintBlock.java6
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintProperty.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsFactory.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsPackage.java46
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintBlockImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintPropertyImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsFactoryImpl.java26
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsPackageImpl.java90
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsAdapterFactory.java34
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsSwitch.java51
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsFactory.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsPackage.java22
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java36
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsPackageImpl.java76
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlFactoryImpl.java36
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlPackageImpl.java96
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Conform.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactory.java18
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsPackage.java135
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Problem.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Rationale.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/View.java14
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewPoint.java26
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ConformImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsFactoryImpl.java32
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsPackageImpl.java146
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ProblemImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/RationaleImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewImpl.java72
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewPointImpl.java103
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsAdapterFactory.java38
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsSwitch.java80
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowDirection.java54
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowPort.java28
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowProperty.java20
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowSpecification.java12
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/ItemFlow.java18
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsFactory.java16
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsPackage.java131
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPortImpl.java112
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPropertyImpl.java85
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowSpecificationImpl.java53
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/ItemFlowImpl.java82
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsFactoryImpl.java45
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsPackageImpl.java148
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsAdapterFactory.java36
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsSwitch.java68
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Copy.java6
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/DeriveReqt.java6
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Requirement.java86
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementRelated.java20
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsFactory.java22
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsPackage.java211
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Satisfy.java6
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/TestCase.java20
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/VerdictKind.java58
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Verify.java6
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/CopyImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/DeriveReqtImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementImpl.java209
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementRelatedImpl.java101
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsFactoryImpl.java36
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsPackageImpl.java214
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/SatisfyImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/TestCaseImpl.java96
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/VerifyImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsAdapterFactory.java44
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsSwitch.java120
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesFactory.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesPackage.java22
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesFactoryImpl.java36
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesPackageImpl.java76
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesFactory.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesPackage.java22
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesFactoryImpl.java36
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesPackageImpl.java75
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesXMLProcessor.java10
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/ElementUtil.java6
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResource.java4
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceFactoryImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceImpl.java8
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlXMLProcessor.java10
173 files changed, 3988 insertions, 3683 deletions
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlFactory.java
index 3e10ed719e1..820add8a829 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.SysmlPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface SysmlFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
SysmlFactory eINSTANCE = org.eclipse.papyrus.sysml.internal.impl.SysmlFactoryImpl.init();
@@ -37,7 +37,7 @@ public interface SysmlFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlPackage.java
index 0d5acd097a5..3953a44c237 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/SysmlPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -28,7 +28,7 @@ import org.eclipse.emf.ecore.EPackage;
* <!-- end-user-doc --> <!-- begin-model-doc --> Version : 1.0 Based on OMG
* SysML Specification V1.0 (formal/2007-09-01) Trace instead of Abstraction in
* SysML specifications. <!-- end-model-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.SysmlFactory
* @model kind="package"
* @generated
@@ -45,7 +45,7 @@ public interface SysmlPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -53,7 +53,7 @@ public interface SysmlPackage extends EPackage {
/**
* The meta object literal for the '<em>Dummy</em>' data type. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see java.lang.String
* @see org.eclipse.papyrus.sysml.internal.impl.SysmlPackageImpl#getDummy()
* @generated
@@ -65,7 +65,7 @@ public interface SysmlPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "sysml";
@@ -73,7 +73,7 @@ public interface SysmlPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML";
@@ -81,7 +81,7 @@ public interface SysmlPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "SysML";
@@ -90,7 +90,7 @@ public interface SysmlPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
SysmlPackage eINSTANCE = org.eclipse.papyrus.sysml.internal.impl.SysmlPackageImpl.init();
@@ -98,7 +98,7 @@ public interface SysmlPackage extends EPackage {
/**
* The meta object id for the '<em>Dummy</em>' data type. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see java.lang.String
* @see org.eclipse.papyrus.sysml.internal.impl.SysmlPackageImpl#getDummy()
* @generated
@@ -108,7 +108,7 @@ public interface SysmlPackage extends EPackage {
/**
* Returns the meta object for data type '{@link java.lang.String <em>Dummy</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for data type '<em>Dummy</em>'.
* @see java.lang.String
* @model instanceClass="java.lang.String"
@@ -119,7 +119,7 @@ public interface SysmlPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesFactory.java
index bf50c965eaa..d7bfc047646 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface ActivitiesFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
ActivitiesFactory eINSTANCE = org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesFactoryImpl.init();
@@ -37,7 +37,7 @@ public interface ActivitiesFactory extends EFactory {
* Returns a new object of class '<em>Optional</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Optional</em>'.
* @generated
*/
@@ -47,7 +47,7 @@ public interface ActivitiesFactory extends EFactory {
* Returns a new object of class '<em>Continuous</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Continuous</em>'.
* @generated
*/
@@ -56,7 +56,7 @@ public interface ActivitiesFactory extends EFactory {
/**
* Returns a new object of class '<em>Control Operator</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Control Operator</em>'.
* @generated
*/
@@ -66,7 +66,7 @@ public interface ActivitiesFactory extends EFactory {
* Returns a new object of class '<em>Discrete</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Discrete</em>'.
* @generated
*/
@@ -76,7 +76,7 @@ public interface ActivitiesFactory extends EFactory {
* Returns a new object of class '<em>No Buffer</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>No Buffer</em>'.
* @generated
*/
@@ -86,7 +86,7 @@ public interface ActivitiesFactory extends EFactory {
* Returns a new object of class '<em>Overwrite</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Overwrite</em>'.
* @generated
*/
@@ -96,7 +96,7 @@ public interface ActivitiesFactory extends EFactory {
* Returns a new object of class '<em>Probability</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Probability</em>'.
* @generated
*/
@@ -106,7 +106,7 @@ public interface ActivitiesFactory extends EFactory {
* Returns a new object of class '<em>Rate</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Rate</em>'.
* @generated
*/
@@ -116,7 +116,7 @@ public interface ActivitiesFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesPackage.java
index 9c3ef6ec85b..e1ed3d66064 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ActivitiesPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -27,7 +27,7 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesFactory
* @model kind="package"
* @generated
@@ -44,7 +44,7 @@ public interface ActivitiesPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -53,7 +53,7 @@ public interface ActivitiesPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl
* <em>Optional</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getOptional()
* @generated
@@ -63,7 +63,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Parameter</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference OPTIONAL__BASE_PARAMETER = eINSTANCE.getOptional_Base_Parameter();
@@ -71,7 +71,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl <em>Rate</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getRate()
* @generated
@@ -81,7 +81,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Parameter</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference RATE__BASE_PARAMETER = eINSTANCE.getRate_Base_Parameter();
@@ -89,7 +89,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Activity Edge</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference RATE__BASE_ACTIVITY_EDGE = eINSTANCE.getRate_Base_ActivityEdge();
@@ -97,7 +97,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Rate</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference RATE__RATE = eINSTANCE.getRate_Rate();
@@ -106,7 +106,7 @@ public interface ActivitiesPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl <em>Probability</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getProbability()
* @generated
@@ -116,7 +116,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Activity Edge</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference PROBABILITY__BASE_ACTIVITY_EDGE = eINSTANCE.getProbability_Base_ActivityEdge();
@@ -124,7 +124,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Parameter Set</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference PROBABILITY__BASE_PARAMETER_SET = eINSTANCE.getProbability_Base_ParameterSet();
@@ -132,7 +132,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Probability</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference PROBABILITY__PROBABILITY = eINSTANCE.getProbability_Probability();
@@ -141,7 +141,7 @@ public interface ActivitiesPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.ContinuousImpl <em>Continuous</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ContinuousImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getContinuous()
* @generated
@@ -152,7 +152,7 @@ public interface ActivitiesPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.activities.internal.impl.DiscreteImpl
* <em>Discrete</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.DiscreteImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getDiscrete()
* @generated
@@ -164,7 +164,7 @@ public interface ActivitiesPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getControlOperator()
* @generated
@@ -174,7 +174,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Operation</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CONTROL_OPERATOR__BASE_OPERATION = eINSTANCE.getControlOperator_Base_Operation();
@@ -182,7 +182,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Behavior</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CONTROL_OPERATOR__BASE_BEHAVIOR = eINSTANCE.getControlOperator_Base_Behavior();
@@ -191,7 +191,7 @@ public interface ActivitiesPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl
* <em>No Buffer</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getNoBuffer()
* @generated
@@ -201,7 +201,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Object Node</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference NO_BUFFER__BASE_OBJECT_NODE = eINSTANCE.getNoBuffer_Base_ObjectNode();
@@ -210,7 +210,7 @@ public interface ActivitiesPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl
* <em>Overwrite</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getOverwrite()
* @generated
@@ -220,7 +220,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Object Node</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference OVERWRITE__BASE_OBJECT_NODE = eINSTANCE.getOverwrite_Base_ObjectNode();
@@ -230,7 +230,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "activities";
@@ -238,7 +238,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/Activities";
@@ -246,7 +246,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "Activities";
@@ -255,7 +255,7 @@ public interface ActivitiesPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
ActivitiesPackage eINSTANCE = org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl.init();
@@ -263,7 +263,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl <em>Optional</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getOptional()
* @generated
@@ -273,7 +273,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Parameter</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -282,7 +282,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The number of structural features of the '<em>Optional</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -292,7 +292,7 @@ public interface ActivitiesPackage extends EPackage {
* The number of operations of the '<em>Optional</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -301,7 +301,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl <em>Rate</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getRate()
* @generated
@@ -311,7 +311,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Parameter</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -320,7 +320,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Activity Edge</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -329,7 +329,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Rate</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -338,7 +338,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The number of structural features of the '<em>Rate</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -348,7 +348,7 @@ public interface ActivitiesPackage extends EPackage {
* The number of operations of the '<em>Rate</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -358,7 +358,7 @@ public interface ActivitiesPackage extends EPackage {
* The meta object id for the ' {@link org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl
* <em>Probability</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getProbability()
* @generated
@@ -368,7 +368,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Activity Edge</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -377,7 +377,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Parameter Set</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -386,7 +386,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Probability</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -395,7 +395,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The number of structural features of the '<em>Probability</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -405,7 +405,7 @@ public interface ActivitiesPackage extends EPackage {
* The number of operations of the '<em>Probability</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -415,7 +415,7 @@ public interface ActivitiesPackage extends EPackage {
* The meta object id for the ' {@link org.eclipse.papyrus.sysml.activities.internal.impl.ContinuousImpl
* <em>Continuous</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ContinuousImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getContinuous()
* @generated
@@ -425,7 +425,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Parameter</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -434,7 +434,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Activity Edge</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -443,7 +443,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Rate</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -452,7 +452,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The number of structural features of the '<em>Continuous</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -462,7 +462,7 @@ public interface ActivitiesPackage extends EPackage {
* The number of operations of the '<em>Continuous</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -471,7 +471,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.DiscreteImpl <em>Discrete</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.DiscreteImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getDiscrete()
* @generated
@@ -481,7 +481,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Parameter</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -490,7 +490,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Activity Edge</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -499,7 +499,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Rate</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -508,7 +508,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The number of structural features of the '<em>Discrete</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -518,7 +518,7 @@ public interface ActivitiesPackage extends EPackage {
* The number of operations of the '<em>Discrete</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -528,7 +528,7 @@ public interface ActivitiesPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl <em>Control Operator</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getControlOperator()
* @generated
@@ -538,7 +538,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Operation</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -547,7 +547,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Behavior</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -556,7 +556,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The number of structural features of the '<em>Control Operator</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -566,7 +566,7 @@ public interface ActivitiesPackage extends EPackage {
* The number of operations of the '<em>Control Operator</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -575,7 +575,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl <em>No Buffer</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getNoBuffer()
* @generated
@@ -585,7 +585,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Object Node</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -594,7 +594,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The number of structural features of the '<em>No Buffer</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -604,7 +604,7 @@ public interface ActivitiesPackage extends EPackage {
* The number of operations of the '<em>No Buffer</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -613,7 +613,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl <em>Overwrite</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl
* @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getOverwrite()
* @generated
@@ -623,7 +623,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Object Node</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -632,7 +632,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* The number of structural features of the '<em>Overwrite</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -642,7 +642,7 @@ public interface ActivitiesPackage extends EPackage {
* The number of operations of the '<em>Overwrite</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -651,7 +651,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -660,7 +660,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Continuous <em>Continuous</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Continuous</em>'.
* @see org.eclipse.papyrus.sysml.activities.Continuous
* @generated
@@ -671,7 +671,7 @@ public interface ActivitiesPackage extends EPackage {
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.activities.ControlOperator
* <em>Control Operator</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for class '<em>Control Operator</em>'.
* @see org.eclipse.papyrus.sysml.activities.ControlOperator
* @generated
@@ -679,10 +679,9 @@ public interface ActivitiesPackage extends EPackage {
EClass getControlOperator();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>}
- * '.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>} '.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Behavior</em>'.
* @see org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Behavior()
* @see #getControlOperator()
@@ -694,7 +693,7 @@ public interface ActivitiesPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Operation
* <em>Base Operation</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Operation</em>'.
* @see org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Operation()
* @see #getControlOperator()
@@ -705,7 +704,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Discrete <em>Discrete</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Discrete</em>'.
* @see org.eclipse.papyrus.sysml.activities.Discrete
* @generated
@@ -716,7 +715,7 @@ public interface ActivitiesPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.NoBuffer <em>No Buffer</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>No Buffer</em>'.
* @see org.eclipse.papyrus.sysml.activities.NoBuffer
* @generated
@@ -727,7 +726,7 @@ public interface ActivitiesPackage extends EPackage {
* Returns the meta object for the reference ' {@link org.eclipse.papyrus.sysml.activities.NoBuffer#getBase_ObjectNode
* <em>Base Object Node</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for the reference '<em>Base Object Node</em>'.
* @see org.eclipse.papyrus.sysml.activities.NoBuffer#getBase_ObjectNode()
* @see #getNoBuffer()
@@ -738,7 +737,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Optional <em>Optional</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Optional</em>'.
* @see org.eclipse.papyrus.sysml.activities.Optional
* @generated
@@ -748,7 +747,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Optional#getBase_Parameter <em>Base Parameter</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Parameter</em>'.
* @see org.eclipse.papyrus.sysml.activities.Optional#getBase_Parameter()
* @see #getOptional()
@@ -760,7 +759,7 @@ public interface ActivitiesPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Overwrite <em>Overwrite</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Overwrite</em>'.
* @see org.eclipse.papyrus.sysml.activities.Overwrite
* @generated
@@ -771,7 +770,7 @@ public interface ActivitiesPackage extends EPackage {
* Returns the meta object for the reference ' {@link org.eclipse.papyrus.sysml.activities.Overwrite#getBase_ObjectNode
* <em>Base Object Node</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for the reference '<em>Base Object Node</em>'.
* @see org.eclipse.papyrus.sysml.activities.Overwrite#getBase_ObjectNode()
* @see #getOverwrite()
@@ -782,7 +781,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Probability <em>Probability</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Probability</em>'.
* @see org.eclipse.papyrus.sysml.activities.Probability
* @generated
@@ -793,7 +792,7 @@ public interface ActivitiesPackage extends EPackage {
* Returns the meta object for the reference ' {@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ActivityEdge
* <em>Base Activity Edge</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for the reference '<em>Base Activity Edge</em>'.
* @see org.eclipse.papyrus.sysml.activities.Probability#getBase_ActivityEdge()
* @see #getProbability()
@@ -805,7 +804,7 @@ public interface ActivitiesPackage extends EPackage {
* Returns the meta object for the reference ' {@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ParameterSet
* <em>Base Parameter Set</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for the reference '<em>Base Parameter Set</em>'.
* @see org.eclipse.papyrus.sysml.activities.Probability#getBase_ParameterSet()
* @see #getProbability()
@@ -816,7 +815,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Probability#getProbability <em>Probability</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Probability</em>'.
* @see org.eclipse.papyrus.sysml.activities.Probability#getProbability()
* @see #getProbability()
@@ -827,7 +826,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.activities.Rate <em>Rate</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Rate</em>'.
* @see org.eclipse.papyrus.sysml.activities.Rate
* @generated
@@ -838,7 +837,7 @@ public interface ActivitiesPackage extends EPackage {
* Returns the meta object for the reference ' {@link org.eclipse.papyrus.sysml.activities.Rate#getBase_ActivityEdge
* <em>Base Activity Edge</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for the reference '<em>Base Activity Edge</em>'.
* @see org.eclipse.papyrus.sysml.activities.Rate#getBase_ActivityEdge()
* @see #getRate()
@@ -849,7 +848,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_Parameter <em>Base Parameter</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Parameter</em>'.
* @see org.eclipse.papyrus.sysml.activities.Rate#getBase_Parameter()
* @see #getRate()
@@ -860,7 +859,7 @@ public interface ActivitiesPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Rate#getRate <em>Rate</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Rate</em>'.
* @see org.eclipse.papyrus.sysml.activities.Rate#getRate()
* @see #getRate()
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Continuous.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Continuous.java
index 547fbd325a9..7af2047755b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Continuous.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Continuous.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -15,8 +15,8 @@ package org.eclipse.papyrus.sysml.activities;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Continuous</b></em>'. <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getContinuous()
* @model
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ControlOperator.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ControlOperator.java
index 4a2c79f3aed..43694a322ff 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ControlOperator.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/ControlOperator.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.uml2.uml.Operation;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Control Operator</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,7 +27,7 @@ import org.eclipse.uml2.uml.Operation;
* <li>{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getControlOperator()
* @model
* @generated
@@ -41,7 +41,7 @@ public interface ControlOperator extends EObject {
* If the meaning of the '<em>Base Behavior</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Behavior</em>' reference.
* @see #setBase_Behavior(Behavior)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getControlOperator_Base_Behavior()
@@ -57,7 +57,7 @@ public interface ControlOperator extends EObject {
* If the meaning of the '<em>Base Operation</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Operation</em>' reference.
* @see #setBase_Operation(Operation)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getControlOperator_Base_Operation()
@@ -70,9 +70,9 @@ public interface ControlOperator extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Behavior</em>' reference.
+ * the new value of the '<em>Base Behavior</em>' reference.
* @see #getBase_Behavior()
* @generated
*/
@@ -82,9 +82,9 @@ public interface ControlOperator extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Operation <em>Base Operation</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Operation</em>' reference.
+ * the new value of the '<em>Base Operation</em>' reference.
* @see #getBase_Operation()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Discrete.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Discrete.java
index 9ab8b05d6e9..14830fb9f55 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Discrete.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Discrete.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -15,8 +15,8 @@ package org.eclipse.papyrus.sysml.activities;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Discrete</b></em>'. <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getDiscrete()
* @model
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/NoBuffer.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/NoBuffer.java
index ae6c9661106..b9cacccc111 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/NoBuffer.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/NoBuffer.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.ObjectNode;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>No Buffer</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.activities.NoBuffer#getBase_ObjectNode <em>Base Object Node</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getNoBuffer()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface NoBuffer extends EObject {
* If the meaning of the '<em>Base Object Node</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Object Node</em>' reference.
* @see #setBase_ObjectNode(ObjectNode)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getNoBuffer_Base_ObjectNode()
@@ -52,9 +52,9 @@ public interface NoBuffer extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.NoBuffer#getBase_ObjectNode <em>Base Object Node</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Object Node</em>' reference.
+ * the new value of the '<em>Base Object Node</em>' reference.
* @see #getBase_ObjectNode()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Optional.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Optional.java
index 635b4147269..c6b2cd3561f 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Optional.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Optional.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Parameter;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Optional</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.activities.Optional#getBase_Parameter <em>Base Parameter</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getOptional()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface Optional extends EObject {
* If the meaning of the '<em>Base Parameter</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Parameter</em>' reference.
* @see #setBase_Parameter(Parameter)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getOptional_Base_Parameter()
@@ -52,9 +52,9 @@ public interface Optional extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Optional#getBase_Parameter <em>Base Parameter</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Parameter</em>' reference.
+ * the new value of the '<em>Base Parameter</em>' reference.
* @see #getBase_Parameter()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Overwrite.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Overwrite.java
index d880fb4243a..518c85fa82b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Overwrite.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Overwrite.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.ObjectNode;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Overwrite</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.activities.Overwrite#getBase_ObjectNode <em>Base Object Node</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getOverwrite()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface Overwrite extends EObject {
* If the meaning of the '<em>Base Object Node</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Object Node</em>' reference.
* @see #setBase_ObjectNode(ObjectNode)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getOverwrite_Base_ObjectNode()
@@ -52,9 +52,9 @@ public interface Overwrite extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Overwrite#getBase_ObjectNode <em>Base Object Node</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Object Node</em>' reference.
+ * the new value of the '<em>Base Object Node</em>' reference.
* @see #getBase_ObjectNode()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Probability.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Probability.java
index a19ba64f80b..565b810542c 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Probability.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Probability.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -20,7 +20,7 @@ import org.eclipse.uml2.uml.ValueSpecification;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Probability</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -29,7 +29,7 @@ import org.eclipse.uml2.uml.ValueSpecification;
* <li>{@link org.eclipse.papyrus.sysml.activities.Probability#getProbability <em>Probability</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getProbability()
* @model
* @generated
@@ -43,7 +43,7 @@ public interface Probability extends EObject {
* If the meaning of the '<em>Base Activity Edge</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Activity Edge</em>' reference.
* @see #setBase_ActivityEdge(ActivityEdge)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getProbability_Base_ActivityEdge()
@@ -59,7 +59,7 @@ public interface Probability extends EObject {
* If the meaning of the '<em>Base Parameter Set</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Parameter Set</em>' reference.
* @see #setBase_ParameterSet(ParameterSet)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getProbability_Base_ParameterSet()
@@ -75,7 +75,7 @@ public interface Probability extends EObject {
* If the meaning of the '<em>Probability</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Probability</em>' reference.
* @see #setProbability(ValueSpecification)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getProbability_Probability()
@@ -88,9 +88,9 @@ public interface Probability extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ActivityEdge <em>Base Activity Edge</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Activity Edge</em>' reference.
+ * the new value of the '<em>Base Activity Edge</em>' reference.
* @see #getBase_ActivityEdge()
* @generated
*/
@@ -100,9 +100,9 @@ public interface Probability extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ParameterSet <em>Base Parameter Set</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Parameter Set</em>' reference.
+ * the new value of the '<em>Base Parameter Set</em>' reference.
* @see #getBase_ParameterSet()
* @generated
*/
@@ -112,9 +112,9 @@ public interface Probability extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Probability#getProbability <em>Probability</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Probability</em>' reference.
+ * the new value of the '<em>Probability</em>' reference.
* @see #getProbability()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Rate.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Rate.java
index 6e5a8773e72..06b24cd226e 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Rate.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/Rate.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -20,7 +20,7 @@ import org.eclipse.uml2.uml.Parameter;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Rate</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -29,7 +29,7 @@ import org.eclipse.uml2.uml.Parameter;
* <li>{@link org.eclipse.papyrus.sysml.activities.Rate#getRate <em>Rate</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getRate()
* @model
* @generated
@@ -43,7 +43,7 @@ public interface Rate extends EObject {
* If the meaning of the '<em>Base Activity Edge</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Activity Edge</em>' reference.
* @see #setBase_ActivityEdge(ActivityEdge)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getRate_Base_ActivityEdge()
@@ -59,7 +59,7 @@ public interface Rate extends EObject {
* If the meaning of the '<em>Base Parameter</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Parameter</em>' reference.
* @see #setBase_Parameter(Parameter)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getRate_Base_Parameter()
@@ -75,7 +75,7 @@ public interface Rate extends EObject {
* If the meaning of the '<em>Rate</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Rate</em>' reference.
* @see #setRate(InstanceSpecification)
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getRate_Rate()
@@ -88,9 +88,9 @@ public interface Rate extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_ActivityEdge <em>Base Activity Edge</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Activity Edge</em>' reference.
+ * the new value of the '<em>Base Activity Edge</em>' reference.
* @see #getBase_ActivityEdge()
* @generated
*/
@@ -100,9 +100,9 @@ public interface Rate extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_Parameter <em>Base Parameter</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Parameter</em>' reference.
+ * the new value of the '<em>Base Parameter</em>' reference.
* @see #getBase_Parameter()
* @generated
*/
@@ -111,9 +111,9 @@ public interface Rate extends EObject {
/**
* Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Rate#getRate <em>Rate</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Rate</em>' reference.
+ * the new value of the '<em>Rate</em>' reference.
* @see #getRate()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesFactoryImpl.java
index 93382dfad6f..8e05955df75 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -32,14 +32,14 @@ import org.eclipse.papyrus.sysml.activities.Rate;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -52,13 +52,13 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static ActivitiesFactory init() {
try {
- ActivitiesFactory theActivitiesFactory = (ActivitiesFactory)EPackage.Registry.INSTANCE.getEFactory(ActivitiesPackage.eNS_URI);
- if(theActivitiesFactory != null) {
+ ActivitiesFactory theActivitiesFactory = (ActivitiesFactory) EPackage.Registry.INSTANCE.getEFactory(ActivitiesPackage.eNS_URI);
+ if (theActivitiesFactory != null) {
return theActivitiesFactory;
}
} catch (Exception exception) {
@@ -71,7 +71,7 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ActivitiesFactoryImpl() {
@@ -80,12 +80,12 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
case ActivitiesPackage.OPTIONAL:
return createOptional();
case ActivitiesPackage.RATE:
@@ -109,7 +109,7 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Optional createOptional() {
@@ -119,7 +119,7 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Continuous createContinuous() {
@@ -129,7 +129,7 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ControlOperator createControlOperator() {
@@ -139,7 +139,7 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Discrete createDiscrete() {
@@ -149,7 +149,7 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NoBuffer createNoBuffer() {
@@ -159,7 +159,7 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Overwrite createOverwrite() {
@@ -169,7 +169,7 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Probability createProbability() {
@@ -179,7 +179,7 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Rate createRate() {
@@ -189,11 +189,11 @@ public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ActivitiesPackage getActivitiesPackage() {
- return (ActivitiesPackage)getEPackage();
+ return (ActivitiesPackage) getEPackage();
}
} // ActivitiesFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesPackageImpl.java
index 1aba164fc04..4f1571be694 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -53,43 +53,43 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass optionalEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link ActivitiesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link ActivitiesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static ActivitiesPackage init() {
- if(isInited)
- return (ActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI);
+ if (isInited) {
+ return (ActivitiesPackage) EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI);
+ }
// Obtain or create and register package
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ActivitiesPackageImpl());
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ActivitiesPackageImpl());
isInited = true;
@@ -97,16 +97,24 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
theActivitiesPackage.createPackageContents();
@@ -145,7 +153,7 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getOptional() {
@@ -154,72 +162,72 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getOptional_Base_Parameter() {
- return (EReference)optionalEClass.getEStructuralFeatures().get(0);
+ return (EReference) optionalEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass rateEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass probabilityEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass continuousEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass discreteEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass controlOperatorEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass noBufferEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass overwriteEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -229,9 +237,8 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#eNS_URI
* @see #init()
@@ -246,12 +253,13 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create classes and their features
@@ -285,16 +293,16 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ActivitiesFactory getActivitiesFactory() {
- return (ActivitiesFactory)getEFactoryInstance();
+ return (ActivitiesFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getContinuous() {
@@ -303,7 +311,7 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getControlOperator() {
@@ -312,25 +320,25 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getControlOperator_Base_Behavior() {
- return (EReference)controlOperatorEClass.getEStructuralFeatures().get(1);
+ return (EReference) controlOperatorEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getControlOperator_Base_Operation() {
- return (EReference)controlOperatorEClass.getEStructuralFeatures().get(0);
+ return (EReference) controlOperatorEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getDiscrete() {
@@ -339,7 +347,7 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getNoBuffer() {
@@ -348,16 +356,16 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getNoBuffer_Base_ObjectNode() {
- return (EReference)noBufferEClass.getEStructuralFeatures().get(0);
+ return (EReference) noBufferEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getOverwrite() {
@@ -366,16 +374,16 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getOverwrite_Base_ObjectNode() {
- return (EReference)overwriteEClass.getEStructuralFeatures().get(0);
+ return (EReference) overwriteEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getProbability() {
@@ -384,34 +392,34 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getProbability_Base_ActivityEdge() {
- return (EReference)probabilityEClass.getEStructuralFeatures().get(0);
+ return (EReference) probabilityEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getProbability_Base_ParameterSet() {
- return (EReference)probabilityEClass.getEStructuralFeatures().get(1);
+ return (EReference) probabilityEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getProbability_Probability() {
- return (EReference)probabilityEClass.getEStructuralFeatures().get(2);
+ return (EReference) probabilityEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getRate() {
@@ -420,41 +428,42 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRate_Base_ActivityEdge() {
- return (EReference)rateEClass.getEStructuralFeatures().get(1);
+ return (EReference) rateEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRate_Base_Parameter() {
- return (EReference)rateEClass.getEStructuralFeatures().get(0);
+ return (EReference) rateEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRate_Rate() {
- return (EReference)rateEClass.getEStructuralFeatures().get(2);
+ return (EReference) rateEClass.getEStructuralFeatures().get(2);
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -463,7 +472,7 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
setNsURI(eNS_URI);
// Obtain other dependent packages
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
// Create type parameters
@@ -475,31 +484,40 @@ public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPac
// Initialize classes, features, and operations; add parameters
initEClass(optionalEClass, Optional.class, "Optional", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOptional_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 1, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getOptional_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 1, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(rateEClass, Rate.class, "Rate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getRate_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 1, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getRate_Base_ActivityEdge(), theUMLPackage.getActivityEdge(), null, "base_ActivityEdge", null, 1, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRate_Base_ActivityEdge(), theUMLPackage.getActivityEdge(), null, "base_ActivityEdge", null, 1, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEReference(getRate_Rate(), theUMLPackage.getInstanceSpecification(), null, "rate", null, 0, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(probabilityEClass, Probability.class, "Probability", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getProbability_Base_ActivityEdge(), theUMLPackage.getActivityEdge(), null, "base_ActivityEdge", null, 1, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getProbability_Base_ParameterSet(), theUMLPackage.getParameterSet(), null, "base_ParameterSet", null, 1, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getProbability_Probability(), theUMLPackage.getValueSpecification(), null, "probability", null, 0, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getProbability_Base_ActivityEdge(), theUMLPackage.getActivityEdge(), null, "base_ActivityEdge", null, 1, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getProbability_Base_ParameterSet(), theUMLPackage.getParameterSet(), null, "base_ParameterSet", null, 1, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getProbability_Probability(), theUMLPackage.getValueSpecification(), null, "probability", null, 0, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEClass(continuousEClass, Continuous.class, "Continuous", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(discreteEClass, Discrete.class, "Discrete", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(controlOperatorEClass, ControlOperator.class, "ControlOperator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getControlOperator_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, ControlOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getControlOperator_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 1, 1, ControlOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getControlOperator_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, ControlOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getControlOperator_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 1, 1, ControlOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEClass(noBufferEClass, NoBuffer.class, "NoBuffer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getNoBuffer_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 1, 1, NoBuffer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getNoBuffer_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 1, 1, NoBuffer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(overwriteEClass, Overwrite.class, "Overwrite", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOverwrite_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 1, 1, Overwrite.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getOverwrite_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 1, 1, Overwrite.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
}
} // ActivitiesPackageImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ContinuousImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ContinuousImpl.java
index 672adde767c..be6f478e4d3 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ContinuousImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ContinuousImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,14 +21,14 @@ import org.eclipse.papyrus.sysml.activities.Continuous;
* <!-- begin-user-doc --> An implementation of the model object ' <em><b>Continuous</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class ContinuousImpl extends RateImpl implements Continuous {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ContinuousImpl() {
@@ -37,7 +37,7 @@ public class ContinuousImpl extends RateImpl implements Continuous {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ControlOperatorImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ControlOperatorImpl.java
index 4957c0bcd44..85c7b12ef91 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ControlOperatorImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ControlOperatorImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -32,7 +32,7 @@ import org.eclipse.uml2.uml.Operation;
* <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl#getBase_Behavior <em>Base Behavior</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements ControlOperator {
@@ -41,7 +41,7 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getBase_Operation() <em>Base Operation</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Operation()
* @generated
* @ordered
@@ -52,7 +52,7 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getBase_Behavior() <em>Base Behavior</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Behavior()
* @generated
* @ordered
@@ -61,7 +61,7 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ControlOperatorImpl() {
@@ -70,7 +70,7 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Behavior basicGetBase_Behavior() {
@@ -79,7 +79,7 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Operation basicGetBase_Operation() {
@@ -88,19 +88,21 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION:
- if(resolve)
+ if (resolve) {
return getBase_Operation();
+ }
return basicGetBase_Operation();
case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR:
- if(resolve)
+ if (resolve) {
return getBase_Behavior();
+ }
return basicGetBase_Behavior();
}
return super.eGet(featureID, resolve, coreType);
@@ -108,12 +110,12 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION:
return base_Operation != null;
case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR:
@@ -124,17 +126,17 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION:
- setBase_Operation((Operation)newValue);
+ setBase_Operation((Operation) newValue);
return;
case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR:
- setBase_Behavior((Behavior)newValue);
+ setBase_Behavior((Behavior) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -142,7 +144,7 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -152,17 +154,17 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION:
- setBase_Operation((Operation)null);
+ setBase_Operation((Operation) null);
return;
case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR:
- setBase_Behavior((Behavior)null);
+ setBase_Behavior((Behavior) null);
return;
}
super.eUnset(featureID);
@@ -170,16 +172,17 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Behavior getBase_Behavior() {
- if(base_Behavior != null && base_Behavior.eIsProxy()) {
- InternalEObject oldBase_Behavior = (InternalEObject)base_Behavior;
- base_Behavior = (Behavior)eResolveProxy(oldBase_Behavior);
- if(base_Behavior != oldBase_Behavior) {
- if(eNotificationRequired())
+ if (base_Behavior != null && base_Behavior.eIsProxy()) {
+ InternalEObject oldBase_Behavior = (InternalEObject) base_Behavior;
+ base_Behavior = (Behavior) eResolveProxy(oldBase_Behavior);
+ if (base_Behavior != oldBase_Behavior) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior));
+ }
}
}
return base_Behavior;
@@ -187,16 +190,17 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Operation getBase_Operation() {
- if(base_Operation != null && base_Operation.eIsProxy()) {
- InternalEObject oldBase_Operation = (InternalEObject)base_Operation;
- base_Operation = (Operation)eResolveProxy(oldBase_Operation);
- if(base_Operation != oldBase_Operation) {
- if(eNotificationRequired())
+ if (base_Operation != null && base_Operation.eIsProxy()) {
+ InternalEObject oldBase_Operation = (InternalEObject) base_Operation;
+ base_Operation = (Operation) eResolveProxy(oldBase_Operation);
+ if (base_Operation != oldBase_Operation) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION, oldBase_Operation, base_Operation));
+ }
}
}
return base_Operation;
@@ -204,26 +208,28 @@ public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Behavior(Behavior newBase_Behavior) {
Behavior oldBase_Behavior = base_Behavior;
base_Behavior = newBase_Behavior;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Operation(Operation newBase_Operation) {
Operation oldBase_Operation = base_Operation;
base_Operation = newBase_Operation;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION, oldBase_Operation, base_Operation));
+ }
}
} // ControlOperatorImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/DiscreteImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/DiscreteImpl.java
index d2a3dadb042..b5c01ac2325 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/DiscreteImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/DiscreteImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,14 +21,14 @@ import org.eclipse.papyrus.sysml.activities.Discrete;
* <!-- begin-user-doc --> An implementation of the model object ' <em><b>Discrete</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class DiscreteImpl extends RateImpl implements Discrete {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DiscreteImpl() {
@@ -37,7 +37,7 @@ public class DiscreteImpl extends RateImpl implements Discrete {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/NoBufferImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/NoBufferImpl.java
index d00f298ee64..1267758b28b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/NoBufferImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/NoBufferImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.ObjectNode;
* <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl#getBase_ObjectNode <em>Base Object Node</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuffer {
@@ -39,7 +39,7 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
* The cached value of the '{@link #getBase_ObjectNode() <em>Base Object Node</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_ObjectNode()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected NoBufferImpl() {
@@ -57,7 +57,7 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ObjectNode basicGetBase_ObjectNode() {
@@ -66,15 +66,16 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE:
- if(resolve)
+ if (resolve) {
return getBase_ObjectNode();
+ }
return basicGetBase_ObjectNode();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE:
return base_ObjectNode != null;
}
@@ -96,14 +97,14 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE:
- setBase_ObjectNode((ObjectNode)newValue);
+ setBase_ObjectNode((ObjectNode) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE:
- setBase_ObjectNode((ObjectNode)null);
+ setBase_ObjectNode((ObjectNode) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ObjectNode getBase_ObjectNode() {
- if(base_ObjectNode != null && base_ObjectNode.eIsProxy()) {
- InternalEObject oldBase_ObjectNode = (InternalEObject)base_ObjectNode;
- base_ObjectNode = (ObjectNode)eResolveProxy(oldBase_ObjectNode);
- if(base_ObjectNode != oldBase_ObjectNode) {
- if(eNotificationRequired())
+ if (base_ObjectNode != null && base_ObjectNode.eIsProxy()) {
+ InternalEObject oldBase_ObjectNode = (InternalEObject) base_ObjectNode;
+ base_ObjectNode = (ObjectNode) eResolveProxy(oldBase_ObjectNode);
+ if (base_ObjectNode != oldBase_ObjectNode) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode));
+ }
}
}
return base_ObjectNode;
@@ -153,14 +155,15 @@ public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuff
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_ObjectNode(ObjectNode newBase_ObjectNode) {
ObjectNode oldBase_ObjectNode = base_ObjectNode;
base_ObjectNode = newBase_ObjectNode;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode));
+ }
}
} // NoBufferImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OptionalImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OptionalImpl.java
index 74a2b0a7ecf..11508b6c986 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OptionalImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OptionalImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Parameter;
* <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl#getBase_Parameter <em>Base Parameter</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class OptionalImpl extends MinimalEObjectImpl.Container implements Optional {
@@ -39,7 +39,7 @@ public class OptionalImpl extends MinimalEObjectImpl.Container implements Option
* The cached value of the '{@link #getBase_Parameter() <em>Base Parameter</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Parameter()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class OptionalImpl extends MinimalEObjectImpl.Container implements Option
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected OptionalImpl() {
@@ -57,7 +57,7 @@ public class OptionalImpl extends MinimalEObjectImpl.Container implements Option
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -67,16 +67,17 @@ public class OptionalImpl extends MinimalEObjectImpl.Container implements Option
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Parameter getBase_Parameter() {
- if(base_Parameter != null && base_Parameter.eIsProxy()) {
- InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter;
- base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter);
- if(base_Parameter != oldBase_Parameter) {
- if(eNotificationRequired())
+ if (base_Parameter != null && base_Parameter.eIsProxy()) {
+ InternalEObject oldBase_Parameter = (InternalEObject) base_Parameter;
+ base_Parameter = (Parameter) eResolveProxy(oldBase_Parameter);
+ if (base_Parameter != oldBase_Parameter) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.OPTIONAL__BASE_PARAMETER, oldBase_Parameter, base_Parameter));
+ }
}
}
return base_Parameter;
@@ -84,7 +85,7 @@ public class OptionalImpl extends MinimalEObjectImpl.Container implements Option
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Parameter basicGetBase_Parameter() {
@@ -93,27 +94,29 @@ public class OptionalImpl extends MinimalEObjectImpl.Container implements Option
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Parameter(Parameter newBase_Parameter) {
Parameter oldBase_Parameter = base_Parameter;
base_Parameter = newBase_Parameter;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.OPTIONAL__BASE_PARAMETER, oldBase_Parameter, base_Parameter));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.OPTIONAL__BASE_PARAMETER:
- if(resolve)
+ if (resolve) {
return getBase_Parameter();
+ }
return basicGetBase_Parameter();
}
return super.eGet(featureID, resolve, coreType);
@@ -121,14 +124,14 @@ public class OptionalImpl extends MinimalEObjectImpl.Container implements Option
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.OPTIONAL__BASE_PARAMETER:
- setBase_Parameter((Parameter)newValue);
+ setBase_Parameter((Parameter) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -136,14 +139,14 @@ public class OptionalImpl extends MinimalEObjectImpl.Container implements Option
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.OPTIONAL__BASE_PARAMETER:
- setBase_Parameter((Parameter)null);
+ setBase_Parameter((Parameter) null);
return;
}
super.eUnset(featureID);
@@ -151,12 +154,12 @@ public class OptionalImpl extends MinimalEObjectImpl.Container implements Option
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.OPTIONAL__BASE_PARAMETER:
return base_Parameter != null;
}
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OverwriteImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OverwriteImpl.java
index c13f8fa6236..6934aaa574f 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OverwriteImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/OverwriteImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.ObjectNode;
* <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl#getBase_ObjectNode <em>Base Object Node</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overwrite {
@@ -39,7 +39,7 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
* The cached value of the '{@link #getBase_ObjectNode() <em>Base Object Node</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_ObjectNode()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected OverwriteImpl() {
@@ -57,7 +57,7 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ObjectNode basicGetBase_ObjectNode() {
@@ -66,15 +66,16 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE:
- if(resolve)
+ if (resolve) {
return getBase_ObjectNode();
+ }
return basicGetBase_ObjectNode();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE:
return base_ObjectNode != null;
}
@@ -96,14 +97,14 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE:
- setBase_ObjectNode((ObjectNode)newValue);
+ setBase_ObjectNode((ObjectNode) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE:
- setBase_ObjectNode((ObjectNode)null);
+ setBase_ObjectNode((ObjectNode) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ObjectNode getBase_ObjectNode() {
- if(base_ObjectNode != null && base_ObjectNode.eIsProxy()) {
- InternalEObject oldBase_ObjectNode = (InternalEObject)base_ObjectNode;
- base_ObjectNode = (ObjectNode)eResolveProxy(oldBase_ObjectNode);
- if(base_ObjectNode != oldBase_ObjectNode) {
- if(eNotificationRequired())
+ if (base_ObjectNode != null && base_ObjectNode.eIsProxy()) {
+ InternalEObject oldBase_ObjectNode = (InternalEObject) base_ObjectNode;
+ base_ObjectNode = (ObjectNode) eResolveProxy(oldBase_ObjectNode);
+ if (base_ObjectNode != oldBase_ObjectNode) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode));
+ }
}
}
return base_ObjectNode;
@@ -153,14 +155,15 @@ public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overw
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_ObjectNode(ObjectNode newBase_ObjectNode) {
ObjectNode oldBase_ObjectNode = base_ObjectNode;
base_ObjectNode = newBase_ObjectNode;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode));
+ }
}
} // OverwriteImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ProbabilityImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ProbabilityImpl.java
index 6580172852a..21dd9a37b4f 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ProbabilityImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/ProbabilityImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -34,7 +34,7 @@ import org.eclipse.uml2.uml.ValueSpecification;
* <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl#getProbability <em>Probability</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Probability {
@@ -43,7 +43,7 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
* The cached value of the '{@link #getBase_ActivityEdge() <em>Base Activity Edge</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_ActivityEdge()
* @generated
* @ordered
@@ -54,7 +54,7 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
* The cached value of the '{@link #getBase_ParameterSet() <em>Base Parameter Set</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_ParameterSet()
* @generated
* @ordered
@@ -64,7 +64,7 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* The cached value of the '{@link #getProbability() <em>Probability</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getProbability()
* @generated
* @ordered
@@ -73,7 +73,7 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ProbabilityImpl() {
@@ -82,7 +82,7 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ActivityEdge basicGetBase_ActivityEdge() {
@@ -91,7 +91,7 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ParameterSet basicGetBase_ParameterSet() {
@@ -100,7 +100,7 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ValueSpecification basicGetProbability() {
@@ -109,23 +109,26 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE:
- if(resolve)
+ if (resolve) {
return getBase_ActivityEdge();
+ }
return basicGetBase_ActivityEdge();
case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET:
- if(resolve)
+ if (resolve) {
return getBase_ParameterSet();
+ }
return basicGetBase_ParameterSet();
case ActivitiesPackage.PROBABILITY__PROBABILITY:
- if(resolve)
+ if (resolve) {
return getProbability();
+ }
return basicGetProbability();
}
return super.eGet(featureID, resolve, coreType);
@@ -133,12 +136,12 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE:
return base_ActivityEdge != null;
case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET:
@@ -151,20 +154,20 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE:
- setBase_ActivityEdge((ActivityEdge)newValue);
+ setBase_ActivityEdge((ActivityEdge) newValue);
return;
case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET:
- setBase_ParameterSet((ParameterSet)newValue);
+ setBase_ParameterSet((ParameterSet) newValue);
return;
case ActivitiesPackage.PROBABILITY__PROBABILITY:
- setProbability((ValueSpecification)newValue);
+ setProbability((ValueSpecification) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -172,7 +175,7 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -182,20 +185,20 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE:
- setBase_ActivityEdge((ActivityEdge)null);
+ setBase_ActivityEdge((ActivityEdge) null);
return;
case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET:
- setBase_ParameterSet((ParameterSet)null);
+ setBase_ParameterSet((ParameterSet) null);
return;
case ActivitiesPackage.PROBABILITY__PROBABILITY:
- setProbability((ValueSpecification)null);
+ setProbability((ValueSpecification) null);
return;
}
super.eUnset(featureID);
@@ -203,16 +206,17 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ActivityEdge getBase_ActivityEdge() {
- if(base_ActivityEdge != null && base_ActivityEdge.eIsProxy()) {
- InternalEObject oldBase_ActivityEdge = (InternalEObject)base_ActivityEdge;
- base_ActivityEdge = (ActivityEdge)eResolveProxy(oldBase_ActivityEdge);
- if(base_ActivityEdge != oldBase_ActivityEdge) {
- if(eNotificationRequired())
+ if (base_ActivityEdge != null && base_ActivityEdge.eIsProxy()) {
+ InternalEObject oldBase_ActivityEdge = (InternalEObject) base_ActivityEdge;
+ base_ActivityEdge = (ActivityEdge) eResolveProxy(oldBase_ActivityEdge);
+ if (base_ActivityEdge != oldBase_ActivityEdge) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge));
+ }
}
}
return base_ActivityEdge;
@@ -220,16 +224,17 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ParameterSet getBase_ParameterSet() {
- if(base_ParameterSet != null && base_ParameterSet.eIsProxy()) {
- InternalEObject oldBase_ParameterSet = (InternalEObject)base_ParameterSet;
- base_ParameterSet = (ParameterSet)eResolveProxy(oldBase_ParameterSet);
- if(base_ParameterSet != oldBase_ParameterSet) {
- if(eNotificationRequired())
+ if (base_ParameterSet != null && base_ParameterSet.eIsProxy()) {
+ InternalEObject oldBase_ParameterSet = (InternalEObject) base_ParameterSet;
+ base_ParameterSet = (ParameterSet) eResolveProxy(oldBase_ParameterSet);
+ if (base_ParameterSet != oldBase_ParameterSet) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET, oldBase_ParameterSet, base_ParameterSet));
+ }
}
}
return base_ParameterSet;
@@ -237,16 +242,17 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ValueSpecification getProbability() {
- if(probability != null && probability.eIsProxy()) {
- InternalEObject oldProbability = (InternalEObject)probability;
- probability = (ValueSpecification)eResolveProxy(oldProbability);
- if(probability != oldProbability) {
- if(eNotificationRequired())
+ if (probability != null && probability.eIsProxy()) {
+ InternalEObject oldProbability = (InternalEObject) probability;
+ probability = (ValueSpecification) eResolveProxy(oldProbability);
+ if (probability != oldProbability) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.PROBABILITY__PROBABILITY, oldProbability, probability));
+ }
}
}
return probability;
@@ -254,38 +260,41 @@ public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Pro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_ActivityEdge(ActivityEdge newBase_ActivityEdge) {
ActivityEdge oldBase_ActivityEdge = base_ActivityEdge;
base_ActivityEdge = newBase_ActivityEdge;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_ParameterSet(ParameterSet newBase_ParameterSet) {
ParameterSet oldBase_ParameterSet = base_ParameterSet;
base_ParameterSet = newBase_ParameterSet;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET, oldBase_ParameterSet, base_ParameterSet));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setProbability(ValueSpecification newProbability) {
ValueSpecification oldProbability = probability;
probability = newProbability;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.PROBABILITY__PROBABILITY, oldProbability, probability));
+ }
}
} // ProbabilityImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/RateImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/RateImpl.java
index 5b9e79bfb52..3a53fce3aae 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/RateImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/internal/impl/RateImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -34,7 +34,7 @@ import org.eclipse.uml2.uml.Parameter;
* <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl#getRate <em>Rate</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
@@ -43,7 +43,7 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
* The cached value of the '{@link #getBase_Parameter() <em>Base Parameter</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Parameter()
* @generated
* @ordered
@@ -54,7 +54,7 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
* The cached value of the '{@link #getBase_ActivityEdge() <em>Base Activity Edge</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_ActivityEdge()
* @generated
* @ordered
@@ -64,7 +64,7 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* The cached value of the '{@link #getRate() <em>Rate</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getRate()
* @generated
* @ordered
@@ -73,7 +73,7 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected RateImpl() {
@@ -82,7 +82,7 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ActivityEdge basicGetBase_ActivityEdge() {
@@ -91,7 +91,7 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Parameter basicGetBase_Parameter() {
@@ -100,7 +100,7 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InstanceSpecification basicGetRate() {
@@ -109,23 +109,26 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.RATE__BASE_PARAMETER:
- if(resolve)
+ if (resolve) {
return getBase_Parameter();
+ }
return basicGetBase_Parameter();
case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE:
- if(resolve)
+ if (resolve) {
return getBase_ActivityEdge();
+ }
return basicGetBase_ActivityEdge();
case ActivitiesPackage.RATE__RATE:
- if(resolve)
+ if (resolve) {
return getRate();
+ }
return basicGetRate();
}
return super.eGet(featureID, resolve, coreType);
@@ -133,12 +136,12 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.RATE__BASE_PARAMETER:
return base_Parameter != null;
case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE:
@@ -151,20 +154,20 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.RATE__BASE_PARAMETER:
- setBase_Parameter((Parameter)newValue);
+ setBase_Parameter((Parameter) newValue);
return;
case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE:
- setBase_ActivityEdge((ActivityEdge)newValue);
+ setBase_ActivityEdge((ActivityEdge) newValue);
return;
case ActivitiesPackage.RATE__RATE:
- setRate((InstanceSpecification)newValue);
+ setRate((InstanceSpecification) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -172,7 +175,7 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -182,20 +185,20 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ActivitiesPackage.RATE__BASE_PARAMETER:
- setBase_Parameter((Parameter)null);
+ setBase_Parameter((Parameter) null);
return;
case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE:
- setBase_ActivityEdge((ActivityEdge)null);
+ setBase_ActivityEdge((ActivityEdge) null);
return;
case ActivitiesPackage.RATE__RATE:
- setRate((InstanceSpecification)null);
+ setRate((InstanceSpecification) null);
return;
}
super.eUnset(featureID);
@@ -203,16 +206,17 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ActivityEdge getBase_ActivityEdge() {
- if(base_ActivityEdge != null && base_ActivityEdge.eIsProxy()) {
- InternalEObject oldBase_ActivityEdge = (InternalEObject)base_ActivityEdge;
- base_ActivityEdge = (ActivityEdge)eResolveProxy(oldBase_ActivityEdge);
- if(base_ActivityEdge != oldBase_ActivityEdge) {
- if(eNotificationRequired())
+ if (base_ActivityEdge != null && base_ActivityEdge.eIsProxy()) {
+ InternalEObject oldBase_ActivityEdge = (InternalEObject) base_ActivityEdge;
+ base_ActivityEdge = (ActivityEdge) eResolveProxy(oldBase_ActivityEdge);
+ if (base_ActivityEdge != oldBase_ActivityEdge) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge));
+ }
}
}
return base_ActivityEdge;
@@ -220,16 +224,17 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Parameter getBase_Parameter() {
- if(base_Parameter != null && base_Parameter.eIsProxy()) {
- InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter;
- base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter);
- if(base_Parameter != oldBase_Parameter) {
- if(eNotificationRequired())
+ if (base_Parameter != null && base_Parameter.eIsProxy()) {
+ InternalEObject oldBase_Parameter = (InternalEObject) base_Parameter;
+ base_Parameter = (Parameter) eResolveProxy(oldBase_Parameter);
+ if (base_Parameter != oldBase_Parameter) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__BASE_PARAMETER, oldBase_Parameter, base_Parameter));
+ }
}
}
return base_Parameter;
@@ -237,16 +242,17 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InstanceSpecification getRate() {
- if(rate != null && rate.eIsProxy()) {
- InternalEObject oldRate = (InternalEObject)rate;
- rate = (InstanceSpecification)eResolveProxy(oldRate);
- if(rate != oldRate) {
- if(eNotificationRequired())
+ if (rate != null && rate.eIsProxy()) {
+ InternalEObject oldRate = (InternalEObject) rate;
+ rate = (InstanceSpecification) eResolveProxy(oldRate);
+ if (rate != oldRate) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__RATE, oldRate, rate));
+ }
}
}
return rate;
@@ -254,38 +260,41 @@ public class RateImpl extends MinimalEObjectImpl.Container implements Rate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_ActivityEdge(ActivityEdge newBase_ActivityEdge) {
ActivityEdge oldBase_ActivityEdge = base_ActivityEdge;
base_ActivityEdge = newBase_ActivityEdge;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Parameter(Parameter newBase_Parameter) {
Parameter oldBase_Parameter = base_Parameter;
base_Parameter = newBase_Parameter;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__BASE_PARAMETER, oldBase_Parameter, base_Parameter));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setRate(InstanceSpecification newRate) {
InstanceSpecification oldRate = rate;
rate = newRate;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__RATE, oldRate, rate));
+ }
}
} // RateImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesAdapterFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesAdapterFactory.java
index f7d28c56ce6..eaa06e2511e 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesAdapterFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -31,7 +31,7 @@ import org.eclipse.papyrus.sysml.activities.Rate;
* <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides
* an adapter <code>createXXX</code> method for each class of the model. <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage
* @generated
*/
@@ -40,7 +40,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static ActivitiesPackage modelPackage;
@@ -48,7 +48,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
/**
* The switch that delegates to the <code>createXXX</code> methods. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ActivitiesSwitch<Adapter> modelSwitch = new ActivitiesSwitch<Adapter>() {
@@ -103,11 +103,11 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ActivitiesAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = ActivitiesPackage.eINSTANCE;
}
}
@@ -116,15 +116,15 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
- * the object to adapt.
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -132,7 +132,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This default implementation returns null so that
* we can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.activities.Optional
* @generated
@@ -147,7 +147,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.activities.Continuous
* @generated
@@ -162,7 +162,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.activities.ControlOperator
* @generated
@@ -176,7 +176,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This default implementation returns null so that
* we can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.activities.Discrete
* @generated
@@ -189,7 +189,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* Creates a new adapter for the default case.
* <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
@@ -203,7 +203,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* --> This default implementation returns null so
* that we can easily ignore cases; it's useful to ignore a case when
* inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.activities.NoBuffer
* @generated
@@ -218,7 +218,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* --> This default implementation returns null so
* that we can easily ignore cases; it's useful to ignore a case when
* inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.activities.Overwrite
* @generated
@@ -233,7 +233,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.activities.Probability
* @generated
@@ -247,7 +247,7 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* begin-user-doc --> This default implementation returns null so that we
* can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.activities.Rate
* @generated
@@ -261,17 +261,17 @@ public class ActivitiesAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This implementation returns <code>true</code> if
* the object is either the model's package or is an instance object of the
* model. <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceFactoryImpl.java
index 0b333fb214d..89acbee6bc9 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.xmi.XMLResource;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.util.ActivitiesResourceImpl
* @generated
*/
@@ -31,7 +31,7 @@ public class ActivitiesResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ActivitiesResourceFactoryImpl() {
@@ -42,7 +42,7 @@ public class ActivitiesResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceImpl.java
index 9eeb972411a..881bf80b002 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.util.ActivitiesResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class ActivitiesResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public ActivitiesResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesSwitch.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesSwitch.java
index 625bef72be1..9ce786c20aa 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesSwitch.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -32,7 +32,7 @@ import org.eclipse.papyrus.sysml.activities.Rate;
* starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the
* result of the switch. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage
* @generated
*/
@@ -41,7 +41,7 @@ public class ActivitiesSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static ActivitiesPackage modelPackage;
@@ -50,11 +50,11 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ActivitiesSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = ActivitiesPackage.eINSTANCE;
}
}
@@ -62,7 +62,7 @@ public class ActivitiesSwitch<T> extends Switch<T> {
/**
* Checks whether this is a switch for the given package. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -77,9 +77,9 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Continuous</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -93,9 +93,9 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Control Operator</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -109,9 +109,9 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Discrete</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -125,9 +125,9 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>No Buffer</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -141,9 +141,9 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Overwrite</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -157,9 +157,9 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Probability</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -172,9 +172,9 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of ' <em>Rate</em>'. <!-- begin-user-doc --> This implementation returns null;
* returning a non-null result will terminate the switch. <!-- end-user-doc
* -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of ' <em>Rate</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -188,9 +188,9 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch, but this is
* the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -204,79 +204,81 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case ActivitiesPackage.OPTIONAL:
- {
- Optional optional = (Optional)theEObject;
+ switch (classifierID) {
+ case ActivitiesPackage.OPTIONAL: {
+ Optional optional = (Optional) theEObject;
T result = caseOptional(optional);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ActivitiesPackage.RATE:
- {
- Rate rate = (Rate)theEObject;
+ case ActivitiesPackage.RATE: {
+ Rate rate = (Rate) theEObject;
T result = caseRate(rate);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ActivitiesPackage.PROBABILITY:
- {
- Probability probability = (Probability)theEObject;
+ case ActivitiesPackage.PROBABILITY: {
+ Probability probability = (Probability) theEObject;
T result = caseProbability(probability);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ActivitiesPackage.CONTINUOUS:
- {
- Continuous continuous = (Continuous)theEObject;
+ case ActivitiesPackage.CONTINUOUS: {
+ Continuous continuous = (Continuous) theEObject;
T result = caseContinuous(continuous);
- if(result == null)
+ if (result == null) {
result = caseRate(continuous);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ActivitiesPackage.DISCRETE:
- {
- Discrete discrete = (Discrete)theEObject;
+ case ActivitiesPackage.DISCRETE: {
+ Discrete discrete = (Discrete) theEObject;
T result = caseDiscrete(discrete);
- if(result == null)
+ if (result == null) {
result = caseRate(discrete);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ActivitiesPackage.CONTROL_OPERATOR:
- {
- ControlOperator controlOperator = (ControlOperator)theEObject;
+ case ActivitiesPackage.CONTROL_OPERATOR: {
+ ControlOperator controlOperator = (ControlOperator) theEObject;
T result = caseControlOperator(controlOperator);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ActivitiesPackage.NO_BUFFER:
- {
- NoBuffer noBuffer = (NoBuffer)theEObject;
+ case ActivitiesPackage.NO_BUFFER: {
+ NoBuffer noBuffer = (NoBuffer) theEObject;
T result = caseNoBuffer(noBuffer);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ActivitiesPackage.OVERWRITE:
- {
- Overwrite overwrite = (Overwrite)theEObject;
+ case ActivitiesPackage.OVERWRITE: {
+ Overwrite overwrite = (Overwrite) theEObject;
T result = caseOverwrite(overwrite);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
default:
@@ -289,9 +291,9 @@ public class ActivitiesSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Optional</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesXMLProcessor.java
index b1676bc30f9..eb8b4094c77 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/activities/util/ActivitiesXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.activities.ActivitiesPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class ActivitiesXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class ActivitiesXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ActivitiesXMLProcessor() {
@@ -44,12 +44,12 @@ public class ActivitiesXMLProcessor extends XMLProcessor {
* Register for "*" and "xml" file extensions the ActivitiesResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new ActivitiesResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new ActivitiesResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocate.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocate.java
index 9346d58599a..19ebd966708 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocate.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocate.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Abstraction;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Allocate</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.allocations.Allocate#getBase_Abstraction <em>Base Abstraction</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocate()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface Allocate extends EObject {
* If the meaning of the '<em>Base Abstraction</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Abstraction</em>' reference.
* @see #setBase_Abstraction(Abstraction)
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocate_Base_Abstraction()
@@ -52,9 +52,9 @@ public interface Allocate extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.allocations.Allocate#getBase_Abstraction <em>Base Abstraction</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Abstraction</em>' reference.
+ * the new value of the '<em>Base Abstraction</em>' reference.
* @see #getBase_Abstraction()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocateActivityPartition.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocateActivityPartition.java
index 873730ecf21..583d7e357ad 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocateActivityPartition.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocateActivityPartition.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.ActivityPartition;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Allocate Activity Partition</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition#getBase_ActivityPartition <em>Base Activity Partition</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocateActivityPartition()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface AllocateActivityPartition extends EObject {
* If the meaning of the '<em>Base Activity Partition</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Activity Partition</em>' reference.
* @see #setBase_ActivityPartition(ActivityPartition)
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocateActivityPartition_Base_ActivityPartition()
@@ -53,9 +53,9 @@ public interface AllocateActivityPartition extends EObject {
* <em>Base Activity Partition</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Activity Partition</em>' reference.
+ * the new value of the '<em>Base Activity Partition</em>' reference.
* @see #getBase_ActivityPartition()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocated.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocated.java
index 407b7b31914..44fc979e92a 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocated.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/Allocated.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -20,7 +20,7 @@ import org.eclipse.uml2.uml.NamedElement;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Allocated</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -29,7 +29,7 @@ import org.eclipse.uml2.uml.NamedElement;
* <li>{@link org.eclipse.papyrus.sysml.allocations.Allocated#getAllocatedTo <em>Allocated To</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocated()
* @model
* @generated
@@ -44,7 +44,7 @@ public interface Allocated extends EObject {
* If the meaning of the '<em>Allocated From</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Allocated From</em>' reference list.
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocated_AllocatedFrom()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -53,13 +53,12 @@ public interface Allocated extends EObject {
EList<NamedElement> getAllocatedFrom();
/**
- * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '
- * <em><b>Allocated From</b></em>' reference list.
+ * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the ' <em><b>Allocated From</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getAllocatedFrom()
* @generated
@@ -67,17 +66,16 @@ public interface Allocated extends EObject {
NamedElement getAllocatedFrom(String name);
/**
- * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '
- * <em><b>Allocated From</b></em>' reference list.
+ * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the ' <em><b>Allocated From</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @param ignoreCase
- * Whether to ignore case in {@link java.lang.String} comparisons.
+ * Whether to ignore case in {@link java.lang.String} comparisons.
* @param eClass
- * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getAllocatedFrom()
* @generated
@@ -92,7 +90,7 @@ public interface Allocated extends EObject {
* If the meaning of the '<em>Allocated To</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Allocated To</em>' reference list.
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocated_AllocatedTo()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -105,9 +103,9 @@ public interface Allocated extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getAllocatedTo()
* @generated
@@ -119,13 +117,13 @@ public interface Allocated extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @param ignoreCase
- * Whether to ignore case in {@link java.lang.String} comparisons.
+ * Whether to ignore case in {@link java.lang.String} comparisons.
* @param eClass
- * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getAllocatedTo()
* @generated
@@ -139,7 +137,7 @@ public interface Allocated extends EObject {
* If the meaning of the '<em>Base Named Element</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Named Element</em>' reference.
* @see #setBase_NamedElement(NamedElement)
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocated_Base_NamedElement()
@@ -152,9 +150,9 @@ public interface Allocated extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.allocations.Allocated#getBase_NamedElement <em>Base Named Element</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Named Element</em>' reference.
+ * the new value of the '<em>Base Named Element</em>' reference.
* @see #getBase_NamedElement()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsFactory.java
index 6f894c10a94..7abf6421596 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface AllocationsFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
AllocationsFactory eINSTANCE = org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsFactoryImpl.init();
@@ -37,7 +37,7 @@ public interface AllocationsFactory extends EFactory {
* Returns a new object of class '<em>Allocate</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Allocate</em>'.
* @generated
*/
@@ -46,7 +46,7 @@ public interface AllocationsFactory extends EFactory {
/**
* Returns a new object of class '<em>Allocate Activity Partition</em>'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Allocate Activity Partition</em>'.
* @generated
*/
@@ -56,7 +56,7 @@ public interface AllocationsFactory extends EFactory {
* Returns a new object of class '<em>Allocated</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Allocated</em>'.
* @generated
*/
@@ -66,7 +66,7 @@ public interface AllocationsFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsPackage.java
index 59c259b2d4f..ed5c73af8cf 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/AllocationsPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -27,7 +27,7 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.AllocationsFactory
* @model kind="package"
* @generated
@@ -44,7 +44,7 @@ public interface AllocationsPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -53,7 +53,7 @@ public interface AllocationsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl
* <em>Allocate</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocate()
* @generated
@@ -63,7 +63,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Abstraction</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALLOCATE__BASE_ABSTRACTION = eINSTANCE.getAllocate_Base_Abstraction();
@@ -72,7 +72,7 @@ public interface AllocationsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocatedImpl
* <em>Allocated</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocatedImpl
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocated()
* @generated
@@ -82,7 +82,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Named Element</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALLOCATED__BASE_NAMED_ELEMENT = eINSTANCE.getAllocated_Base_NamedElement();
@@ -90,7 +90,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allocated From</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALLOCATED__ALLOCATED_FROM = eINSTANCE.getAllocated_AllocatedFrom();
@@ -98,7 +98,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allocated To</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALLOCATED__ALLOCATED_TO = eINSTANCE.getAllocated_AllocatedTo();
@@ -108,7 +108,7 @@ public interface AllocationsPackage extends EPackage {
* <em>Allocate Activity Partition</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateActivityPartitionImpl
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocateActivityPartition()
* @generated
@@ -118,7 +118,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The meta object literal for the ' <em><b>Base Activity Partition</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION = eINSTANCE.getAllocateActivityPartition_Base_ActivityPartition();
@@ -128,7 +128,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "allocations";
@@ -136,7 +136,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/Allocations";
@@ -144,7 +144,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "Allocations";
@@ -153,7 +153,7 @@ public interface AllocationsPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
AllocationsPackage eINSTANCE = org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl.init();
@@ -161,7 +161,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl <em>Allocate</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocate()
* @generated
@@ -171,7 +171,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Abstraction</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -180,7 +180,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The number of structural features of the '<em>Allocate</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -190,7 +190,7 @@ public interface AllocationsPackage extends EPackage {
* The number of operations of the '<em>Allocate</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -199,7 +199,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocatedImpl <em>Allocated</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocatedImpl
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocated()
* @generated
@@ -209,7 +209,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -218,7 +218,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The feature id for the '<em><b>Allocated From</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -227,7 +227,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The feature id for the '<em><b>Allocated To</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -236,7 +236,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The number of structural features of the '<em>Allocated</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -246,7 +246,7 @@ public interface AllocationsPackage extends EPackage {
* The number of operations of the '<em>Allocated</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -257,7 +257,7 @@ public interface AllocationsPackage extends EPackage {
* <em>Allocate Activity Partition</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateActivityPartitionImpl
* @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocateActivityPartition()
* @generated
@@ -267,7 +267,7 @@ public interface AllocationsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Activity Partition</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -277,7 +277,7 @@ public interface AllocationsPackage extends EPackage {
* The number of structural features of the '<em>Allocate Activity Partition</em>' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -287,7 +287,7 @@ public interface AllocationsPackage extends EPackage {
* The number of operations of the '<em>Allocate Activity Partition</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -297,7 +297,7 @@ public interface AllocationsPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.allocations.Allocate <em>Allocate</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Allocate</em>'.
* @see org.eclipse.papyrus.sysml.allocations.Allocate
* @generated
@@ -308,7 +308,7 @@ public interface AllocationsPackage extends EPackage {
* Returns the meta object for the reference ' {@link org.eclipse.papyrus.sysml.allocations.Allocate#getBase_Abstraction
* <em>Base Abstraction</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for the reference '<em>Base Abstraction</em>'.
* @see org.eclipse.papyrus.sysml.allocations.Allocate#getBase_Abstraction()
* @see #getAllocate()
@@ -317,11 +317,10 @@ public interface AllocationsPackage extends EPackage {
EReference getAllocate_Base_Abstraction();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition <em>Allocate Activity Partition</em>}
- * '.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition <em>Allocate Activity Partition</em>} '.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Allocate Activity Partition</em>'.
* @see org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition
* @generated
@@ -333,7 +332,7 @@ public interface AllocationsPackage extends EPackage {
* <em>Base Activity Partition</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Activity Partition</em>'.
* @see org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition#getBase_ActivityPartition()
* @see #getAllocateActivityPartition()
@@ -344,7 +343,7 @@ public interface AllocationsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.allocations.Allocated <em>Allocated</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Allocated</em>'.
* @see org.eclipse.papyrus.sysml.allocations.Allocated
* @generated
@@ -355,7 +354,7 @@ public interface AllocationsPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.allocations.Allocated#getAllocatedFrom
* <em>Allocated From</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Allocated From</em>'.
* @see org.eclipse.papyrus.sysml.allocations.Allocated#getAllocatedFrom()
* @see #getAllocated()
@@ -366,7 +365,7 @@ public interface AllocationsPackage extends EPackage {
/**
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.allocations.Allocated#getAllocatedTo <em>Allocated To</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Allocated To</em>'.
* @see org.eclipse.papyrus.sysml.allocations.Allocated#getAllocatedTo()
* @see #getAllocated()
@@ -378,7 +377,7 @@ public interface AllocationsPackage extends EPackage {
* Returns the meta object for the reference ' {@link org.eclipse.papyrus.sysml.allocations.Allocated#getBase_NamedElement
* <em>Base Named Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for the reference '<em>Base Named Element</em>'.
* @see org.eclipse.papyrus.sysml.allocations.Allocated#getBase_NamedElement()
* @see #getAllocated()
@@ -389,7 +388,7 @@ public interface AllocationsPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateActivityPartitionImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateActivityPartitionImpl.java
index 238a076c361..446a48330b6 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateActivityPartitionImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateActivityPartitionImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -27,11 +27,10 @@ import org.eclipse.uml2.uml.ActivityPartition;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateActivityPartitionImpl#getBase_ActivityPartition <em>Base Activity Partition
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateActivityPartitionImpl#getBase_ActivityPartition <em>Base Activity Partition </em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container implements AllocateActivityPartition {
@@ -40,7 +39,7 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
* The cached value of the '{@link #getBase_ActivityPartition() <em>Base Activity Partition</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBase_ActivityPartition()
* @generated
* @ordered
@@ -49,7 +48,7 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AllocateActivityPartitionImpl() {
@@ -58,7 +57,7 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ActivityPartition basicGetBase_ActivityPartition() {
@@ -67,15 +66,16 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION:
- if(resolve)
+ if (resolve) {
return getBase_ActivityPartition();
+ }
return basicGetBase_ActivityPartition();
}
return super.eGet(featureID, resolve, coreType);
@@ -83,12 +83,12 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION:
return base_ActivityPartition != null;
}
@@ -97,14 +97,14 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION:
- setBase_ActivityPartition((ActivityPartition)newValue);
+ setBase_ActivityPartition((ActivityPartition) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -112,7 +112,7 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -122,14 +122,14 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION:
- setBase_ActivityPartition((ActivityPartition)null);
+ setBase_ActivityPartition((ActivityPartition) null);
return;
}
super.eUnset(featureID);
@@ -137,16 +137,17 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ActivityPartition getBase_ActivityPartition() {
- if(base_ActivityPartition != null && base_ActivityPartition.eIsProxy()) {
- InternalEObject oldBase_ActivityPartition = (InternalEObject)base_ActivityPartition;
- base_ActivityPartition = (ActivityPartition)eResolveProxy(oldBase_ActivityPartition);
- if(base_ActivityPartition != oldBase_ActivityPartition) {
- if(eNotificationRequired())
+ if (base_ActivityPartition != null && base_ActivityPartition.eIsProxy()) {
+ InternalEObject oldBase_ActivityPartition = (InternalEObject) base_ActivityPartition;
+ base_ActivityPartition = (ActivityPartition) eResolveProxy(oldBase_ActivityPartition);
+ if (base_ActivityPartition != oldBase_ActivityPartition) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION, oldBase_ActivityPartition, base_ActivityPartition));
+ }
}
}
return base_ActivityPartition;
@@ -154,14 +155,15 @@ public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_ActivityPartition(ActivityPartition newBase_ActivityPartition) {
ActivityPartition oldBase_ActivityPartition = base_ActivityPartition;
base_ActivityPartition = newBase_ActivityPartition;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION, oldBase_ActivityPartition, base_ActivityPartition));
+ }
}
} // AllocateActivityPartitionImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateImpl.java
index 078abfeb600..5ee2c0e8b91 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Abstraction;
* <li>{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl#getBase_Abstraction <em>Base Abstraction</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AllocateImpl extends MinimalEObjectImpl.Container implements Allocate {
@@ -39,7 +39,7 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
* The cached value of the '{@link #getBase_Abstraction() <em>Base Abstraction</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Abstraction()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AllocateImpl() {
@@ -57,7 +57,7 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Abstraction basicGetBase_Abstraction() {
@@ -66,15 +66,16 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION:
- if(resolve)
+ if (resolve) {
return getBase_Abstraction();
+ }
return basicGetBase_Abstraction();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION:
return base_Abstraction != null;
}
@@ -96,14 +97,14 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION:
- setBase_Abstraction((Abstraction)newValue);
+ setBase_Abstraction((Abstraction) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION:
- setBase_Abstraction((Abstraction)null);
+ setBase_Abstraction((Abstraction) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Abstraction getBase_Abstraction() {
- if(base_Abstraction != null && base_Abstraction.eIsProxy()) {
- InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction;
- base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction);
- if(base_Abstraction != oldBase_Abstraction) {
- if(eNotificationRequired())
+ if (base_Abstraction != null && base_Abstraction.eIsProxy()) {
+ InternalEObject oldBase_Abstraction = (InternalEObject) base_Abstraction;
+ base_Abstraction = (Abstraction) eResolveProxy(oldBase_Abstraction);
+ if (base_Abstraction != oldBase_Abstraction) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, AllocationsPackage.ALLOCATE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction));
+ }
}
}
return base_Abstraction;
@@ -153,14 +155,15 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Abstraction(Abstraction newBase_Abstraction) {
Abstraction oldBase_Abstraction = base_Abstraction;
base_Abstraction = newBase_Abstraction;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, AllocationsPackage.ALLOCATE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction));
+ }
}
} // AllocateImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocatedImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocatedImpl.java
index 4722f5c4af4..0a6e0ad009c 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocatedImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocatedImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -41,7 +41,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <li>{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocatedImpl#getAllocatedTo <em>Allocated To</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AllocatedImpl extends MinimalEObjectImpl.Container implements Allocated {
@@ -50,7 +50,7 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
* The cached value of the '{@link #getBase_NamedElement() <em>Base Named Element</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_NamedElement()
* @generated
* @ordered
@@ -59,7 +59,7 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AllocatedImpl() {
@@ -68,7 +68,7 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement basicGetBase_NamedElement() {
@@ -77,15 +77,16 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATED__BASE_NAMED_ELEMENT:
- if(resolve)
+ if (resolve) {
return getBase_NamedElement();
+ }
return basicGetBase_NamedElement();
case AllocationsPackage.ALLOCATED__ALLOCATED_FROM:
return getAllocatedFrom();
@@ -97,12 +98,12 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATED__BASE_NAMED_ELEMENT:
return base_NamedElement != null;
case AllocationsPackage.ALLOCATED__ALLOCATED_FROM:
@@ -115,14 +116,14 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATED__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)newValue);
+ setBase_NamedElement((NamedElement) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -130,7 +131,7 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -140,14 +141,14 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case AllocationsPackage.ALLOCATED__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)null);
+ setBase_NamedElement((NamedElement) null);
return;
}
super.eUnset(featureID);
@@ -155,7 +156,7 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<NamedElement> getAllocatedFrom() {
@@ -165,20 +166,20 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
EList<NamedElement> allocatedFrom = new BasicEList<NamedElement>();
Allocate currentAllocate = null;
- if(getBase_NamedElement() != null) {
+ if (getBase_NamedElement() != null) {
// Find Allocate link
Iterator<DirectedRelationship> itDep = getBase_NamedElement().getTargetDirectedRelationships().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
DirectedRelationship currentDRelationship = itDep.next();
currentAllocate = UMLUtil.getStereotypeApplication(currentDRelationship, Allocate.class);
- if(currentAllocate != null) {
+ if (currentAllocate != null) {
EList<Element> targets = currentAllocate.getBase_Abstraction().getSources();
Iterator<Element> it = targets.iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Element currentElt = it.next();
- if(currentElt instanceof NamedElement) {
- allocatedFrom.add((NamedElement)currentElt);
+ if (currentElt instanceof NamedElement) {
+ allocatedFrom.add((NamedElement) currentElt);
}
}
}
@@ -192,7 +193,7 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getAllocatedFrom(String name) {
@@ -202,15 +203,17 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getAllocatedFrom(String name, boolean ignoreCase, EClass eClass) {
- allocatedFromLoop: for(NamedElement allocatedFrom : getAllocatedFrom()) {
- if(eClass != null && !eClass.isInstance(allocatedFrom))
+ allocatedFromLoop: for (NamedElement allocatedFrom : getAllocatedFrom()) {
+ if (eClass != null && !eClass.isInstance(allocatedFrom)) {
continue allocatedFromLoop;
- if(name != null && !(ignoreCase ? name.equalsIgnoreCase(allocatedFrom.getName()) : name.equals(allocatedFrom.getName())))
+ }
+ if (name != null && !(ignoreCase ? name.equalsIgnoreCase(allocatedFrom.getName()) : name.equals(allocatedFrom.getName()))) {
continue allocatedFromLoop;
+ }
return allocatedFrom;
}
return null;
@@ -218,7 +221,7 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<NamedElement> getAllocatedTo() {
@@ -228,14 +231,14 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
EList<NamedElement> allocatedTo = new BasicEList<NamedElement>();
Allocate currentAllocate = null;
- if(getBase_NamedElement() != null) {
+ if (getBase_NamedElement() != null) {
// Find Allocate link
Iterator<Dependency> itDep = getBase_NamedElement().getClientDependencies().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Dependency currentDependency = itDep.next();
currentAllocate = UMLUtil.getStereotypeApplication(currentDependency, Allocate.class);
- if(currentAllocate != null) {
+ if (currentAllocate != null) {
allocatedTo.addAll(currentAllocate.getBase_Abstraction().getSuppliers());
}
}
@@ -247,7 +250,7 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getAllocatedTo(String name) {
@@ -257,15 +260,17 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getAllocatedTo(String name, boolean ignoreCase, EClass eClass) {
- allocatedToLoop: for(NamedElement allocatedTo : getAllocatedTo()) {
- if(eClass != null && !eClass.isInstance(allocatedTo))
+ allocatedToLoop: for (NamedElement allocatedTo : getAllocatedTo()) {
+ if (eClass != null && !eClass.isInstance(allocatedTo)) {
continue allocatedToLoop;
- if(name != null && !(ignoreCase ? name.equalsIgnoreCase(allocatedTo.getName()) : name.equals(allocatedTo.getName())))
+ }
+ if (name != null && !(ignoreCase ? name.equalsIgnoreCase(allocatedTo.getName()) : name.equals(allocatedTo.getName()))) {
continue allocatedToLoop;
+ }
return allocatedTo;
}
return null;
@@ -273,16 +278,17 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getBase_NamedElement() {
- if(base_NamedElement != null && base_NamedElement.eIsProxy()) {
- InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement;
- base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement);
- if(base_NamedElement != oldBase_NamedElement) {
- if(eNotificationRequired())
+ if (base_NamedElement != null && base_NamedElement.eIsProxy()) {
+ InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement;
+ base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement);
+ if (base_NamedElement != oldBase_NamedElement) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, AllocationsPackage.ALLOCATED__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
+ }
}
}
return base_NamedElement;
@@ -290,14 +296,15 @@ public class AllocatedImpl extends MinimalEObjectImpl.Container implements Alloc
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_NamedElement(NamedElement newBase_NamedElement) {
NamedElement oldBase_NamedElement = base_NamedElement;
base_NamedElement = newBase_NamedElement;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, AllocationsPackage.ALLOCATED__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
+ }
}
} // AllocatedImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsFactoryImpl.java
index 96cff554b69..e0b8afd379d 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -27,14 +27,14 @@ import org.eclipse.papyrus.sysml.allocations.AllocationsPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -47,13 +47,13 @@ public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsF
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static AllocationsFactory init() {
try {
- AllocationsFactory theAllocationsFactory = (AllocationsFactory)EPackage.Registry.INSTANCE.getEFactory(AllocationsPackage.eNS_URI);
- if(theAllocationsFactory != null) {
+ AllocationsFactory theAllocationsFactory = (AllocationsFactory) EPackage.Registry.INSTANCE.getEFactory(AllocationsPackage.eNS_URI);
+ if (theAllocationsFactory != null) {
return theAllocationsFactory;
}
} catch (Exception exception) {
@@ -66,7 +66,7 @@ public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsF
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public AllocationsFactoryImpl() {
@@ -75,12 +75,12 @@ public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsF
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
case AllocationsPackage.ALLOCATE:
return createAllocate();
case AllocationsPackage.ALLOCATED:
@@ -94,7 +94,7 @@ public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsF
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Allocate createAllocate() {
@@ -104,7 +104,7 @@ public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsF
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AllocateActivityPartition createAllocateActivityPartition() {
@@ -114,7 +114,7 @@ public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsF
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Allocated createAllocated() {
@@ -124,11 +124,11 @@ public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsF
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AllocationsPackage getAllocationsPackage() {
- return (AllocationsPackage)getEPackage();
+ return (AllocationsPackage) getEPackage();
}
} // AllocationsFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsPackageImpl.java
index 3f2de5600f3..fee2f037735 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -48,36 +48,36 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class AllocationsPackageImpl extends EPackageImpl implements AllocationsPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link AllocationsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link AllocationsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static AllocationsPackage init() {
- if(isInited)
- return (AllocationsPackage)EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI);
+ if (isInited) {
+ return (AllocationsPackage) EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI);
+ }
// Obtain or create and register package
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AllocationsPackageImpl());
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AllocationsPackageImpl());
isInited = true;
@@ -85,16 +85,24 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
theAllocationsPackage.createPackageContents();
@@ -133,35 +141,35 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass allocateEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass allocatedEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass allocateActivityPartitionEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -171,9 +179,8 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#eNS_URI
* @see #init()
@@ -188,12 +195,13 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create classes and their features
@@ -211,7 +219,7 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getAllocate() {
@@ -220,16 +228,16 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getAllocate_Base_Abstraction() {
- return (EReference)allocateEClass.getEStructuralFeatures().get(0);
+ return (EReference) allocateEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getAllocateActivityPartition() {
@@ -238,16 +246,16 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getAllocateActivityPartition_Base_ActivityPartition() {
- return (EReference)allocateActivityPartitionEClass.getEStructuralFeatures().get(0);
+ return (EReference) allocateActivityPartitionEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getAllocated() {
@@ -256,50 +264,51 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getAllocated_AllocatedFrom() {
- return (EReference)allocatedEClass.getEStructuralFeatures().get(1);
+ return (EReference) allocatedEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getAllocated_AllocatedTo() {
- return (EReference)allocatedEClass.getEStructuralFeatures().get(2);
+ return (EReference) allocatedEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getAllocated_Base_NamedElement() {
- return (EReference)allocatedEClass.getEStructuralFeatures().get(0);
+ return (EReference) allocatedEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AllocationsFactory getAllocationsFactory() {
- return (AllocationsFactory)getEFactoryInstance();
+ return (AllocationsFactory) getEFactoryInstance();
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -308,7 +317,7 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
setNsURI(eNS_URI);
// Obtain other dependent packages
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
// Create type parameters
@@ -318,15 +327,20 @@ public class AllocationsPackageImpl extends EPackageImpl implements AllocationsP
// Initialize classes, features, and operations; add parameters
initEClass(allocateEClass, Allocate.class, "Allocate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAllocate_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 1, 1, Allocate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getAllocate_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 1, 1, Allocate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEClass(allocatedEClass, Allocated.class, "Allocated", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAllocated_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, Allocated.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getAllocated_AllocatedFrom(), theUMLPackage.getNamedElement(), null, "allocatedFrom", null, 0, -1, Allocated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getAllocated_AllocatedTo(), theUMLPackage.getNamedElement(), null, "allocatedTo", null, 0, -1, Allocated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getAllocated_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, Allocated.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getAllocated_AllocatedFrom(), theUMLPackage.getNamedElement(), null, "allocatedFrom", null, 0, -1, Allocated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getAllocated_AllocatedTo(), theUMLPackage.getNamedElement(), null, "allocatedTo", null, 0, -1, Allocated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
initEClass(allocateActivityPartitionEClass, AllocateActivityPartition.class, "AllocateActivityPartition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAllocateActivityPartition_Base_ActivityPartition(), theUMLPackage.getActivityPartition(), null, "base_ActivityPartition", null, 1, 1, AllocateActivityPartition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getAllocateActivityPartition_Base_ActivityPartition(), theUMLPackage.getActivityPartition(), null, "base_ActivityPartition", null, 1, 1, AllocateActivityPartition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
}
} // AllocationsPackageImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsAdapterFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsAdapterFactory.java
index 8424991e2b6..c6b0f45cc9f 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsAdapterFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -26,7 +26,7 @@ import org.eclipse.papyrus.sysml.allocations.AllocationsPackage;
* <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides
* an adapter <code>createXXX</code> method for each class of the model. <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage
* @generated
*/
@@ -35,7 +35,7 @@ public class AllocationsAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static AllocationsPackage modelPackage;
@@ -43,7 +43,7 @@ public class AllocationsAdapterFactory extends AdapterFactoryImpl {
/**
* The switch that delegates to the <code>createXXX</code> methods. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AllocationsSwitch<Adapter> modelSwitch = new AllocationsSwitch<Adapter>() {
@@ -73,11 +73,11 @@ public class AllocationsAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public AllocationsAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = AllocationsPackage.eINSTANCE;
}
}
@@ -86,15 +86,15 @@ public class AllocationsAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
- * the object to adapt.
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -104,7 +104,7 @@ public class AllocationsAdapterFactory extends AdapterFactoryImpl {
* default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases
* anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition
* @generated
@@ -119,7 +119,7 @@ public class AllocationsAdapterFactory extends AdapterFactoryImpl {
* --> This default implementation returns null so
* that we can easily ignore cases; it's useful to ignore a case when
* inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.allocations.Allocate
* @generated
@@ -134,7 +134,7 @@ public class AllocationsAdapterFactory extends AdapterFactoryImpl {
* returns null so that we can easily ignore cases; it's useful to ignore a
* case when inheritance will catch all the cases anyway. <!-- end-user-doc
* -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.allocations.Allocated
* @generated
@@ -147,7 +147,7 @@ public class AllocationsAdapterFactory extends AdapterFactoryImpl {
* Creates a new adapter for the default case.
* <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
@@ -160,17 +160,17 @@ public class AllocationsAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This implementation returns <code>true</code> if
* the object is either the model's package or is an instance object of the
* model. <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceFactoryImpl.java
index 65a781f68f4..09e5e1a3ebb 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.xmi.XMLResource;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.util.AllocationsResourceImpl
* @generated
*/
@@ -31,7 +31,7 @@ public class AllocationsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public AllocationsResourceFactoryImpl() {
@@ -42,7 +42,7 @@ public class AllocationsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceImpl.java
index bd615f95063..9a9537bc31f 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.util.AllocationsResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class AllocationsResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public AllocationsResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsSwitch.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsSwitch.java
index 5ecd1c44704..edd0b54cb63 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsSwitch.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -27,7 +27,7 @@ import org.eclipse.papyrus.sysml.allocations.AllocationsPackage;
* starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the
* result of the switch. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage
* @generated
*/
@@ -36,7 +36,7 @@ public class AllocationsSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static AllocationsPackage modelPackage;
@@ -45,11 +45,11 @@ public class AllocationsSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public AllocationsSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = AllocationsPackage.eINSTANCE;
}
}
@@ -57,7 +57,7 @@ public class AllocationsSwitch<T> extends Switch<T> {
/**
* Checks whether this is a switch for the given package. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -72,9 +72,9 @@ public class AllocationsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Allocate</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -88,9 +88,9 @@ public class AllocationsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate
* the switch. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Allocate Activity Partition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -104,9 +104,9 @@ public class AllocationsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Allocated</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -120,9 +120,9 @@ public class AllocationsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch, but this is
* the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -136,35 +136,35 @@ public class AllocationsSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case AllocationsPackage.ALLOCATE:
- {
- Allocate allocate = (Allocate)theEObject;
+ switch (classifierID) {
+ case AllocationsPackage.ALLOCATE: {
+ Allocate allocate = (Allocate) theEObject;
T result = caseAllocate(allocate);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case AllocationsPackage.ALLOCATED:
- {
- Allocated allocated = (Allocated)theEObject;
+ case AllocationsPackage.ALLOCATED: {
+ Allocated allocated = (Allocated) theEObject;
T result = caseAllocated(allocated);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION:
- {
- AllocateActivityPartition allocateActivityPartition = (AllocateActivityPartition)theEObject;
+ case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION: {
+ AllocateActivityPartition allocateActivityPartition = (AllocateActivityPartition) theEObject;
T result = caseAllocateActivityPartition(allocateActivityPartition);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
default:
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsXMLProcessor.java
index 98874a0dd26..a50ca0dbcf6 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/allocations/util/AllocationsXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.allocations.AllocationsPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class AllocationsXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class AllocationsXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AllocationsXMLProcessor() {
@@ -44,12 +44,12 @@ public class AllocationsXMLProcessor extends XMLProcessor {
* Register for "*" and "xml" file extensions the AllocationsResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new AllocationsResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new AllocationsResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BindingConnector.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BindingConnector.java
index 1d6cbbc5f4f..2ae1df4e74b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BindingConnector.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BindingConnector.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Connector;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Binding Connector</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBindingConnector()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface BindingConnector extends EObject {
* If the meaning of the '<em>Base Connector</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Connector</em>' reference.
* @see #setBase_Connector(Connector)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBindingConnector_Base_Connector()
@@ -52,9 +52,9 @@ public interface BindingConnector extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Connector</em>' reference.
+ * the new value of the '<em>Base Connector</em>' reference.
* @see #getBase_Connector()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Block.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Block.java
index e9ea9da52d4..9ec48fafda5 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Block.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Block.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -17,7 +17,7 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Block</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -25,7 +25,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.sysml.blocks.Block#getBase_Class <em>Base Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBlock()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface Block extends EObject {
* If the meaning of the '<em>Is Encapsulated</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Is Encapsulated</em>' attribute.
* @see #setIsEncapsulated(boolean)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBlock_IsEncapsulated()
@@ -55,7 +55,7 @@ public interface Block extends EObject {
* If the meaning of the '<em>Base Class</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Class</em>' reference.
* @see #setBase_Class(org.eclipse.uml2.uml.Class)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBlock_Base_Class()
@@ -68,9 +68,9 @@ public interface Block extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.Block#getBase_Class <em>Base Class</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Class</em>' reference.
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -80,9 +80,9 @@ public interface Block extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.Block#isEncapsulated <em>Is Encapsulated</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Is Encapsulated</em>' attribute.
+ * the new value of the '<em>Is Encapsulated</em>' attribute.
* @see #isEncapsulated()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksFactory.java
index b6e85307f0e..a93df4215a6 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface BlocksFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
BlocksFactory eINSTANCE = org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksFactoryImpl.init();
@@ -36,7 +36,7 @@ public interface BlocksFactory extends EFactory {
/**
* Returns a new object of class '<em>Binding Connector</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Binding Connector</em>'.
* @generated
*/
@@ -46,7 +46,7 @@ public interface BlocksFactory extends EFactory {
* Returns a new object of class '<em>Block</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Block</em>'.
* @generated
*/
@@ -55,7 +55,7 @@ public interface BlocksFactory extends EFactory {
/**
* Returns a new object of class '<em>Connector Property</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Connector Property</em>'.
* @generated
*/
@@ -65,7 +65,7 @@ public interface BlocksFactory extends EFactory {
* Returns a new object of class '<em>Dimension</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Dimension</em>'.
* @generated
*/
@@ -74,7 +74,7 @@ public interface BlocksFactory extends EFactory {
/**
* Returns a new object of class '<em>Distributed Property</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Distributed Property</em>'.
* @generated
*/
@@ -83,7 +83,7 @@ public interface BlocksFactory extends EFactory {
/**
* Returns a new object of class '<em>Nested Connector End</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Nested Connector End</em>'.
* @generated
*/
@@ -92,7 +92,7 @@ public interface BlocksFactory extends EFactory {
/**
* Returns a new object of class '<em>Participant Property</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Participant Property</em>'.
* @generated
*/
@@ -101,7 +101,7 @@ public interface BlocksFactory extends EFactory {
/**
* Returns a new object of class '<em>Property Specific Type</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Property Specific Type</em>'.
* @generated
*/
@@ -111,7 +111,7 @@ public interface BlocksFactory extends EFactory {
* Returns a new object of class '<em>Unit</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Unit</em>'.
* @generated
*/
@@ -121,7 +121,7 @@ public interface BlocksFactory extends EFactory {
* Returns a new object of class '<em>Value Type</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Value Type</em>'.
* @generated
*/
@@ -131,7 +131,7 @@ public interface BlocksFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksPackage.java
index 5e066407d82..614b71481b8 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -28,7 +28,7 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksFactory
* @model kind="package"
* @generated
@@ -45,7 +45,7 @@ public interface BlocksPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -53,7 +53,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl <em>Block</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBlock()
* @generated
@@ -63,7 +63,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Is Encapsulated</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute BLOCK__IS_ENCAPSULATED = eINSTANCE.getBlock_IsEncapsulated();
@@ -71,7 +71,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference BLOCK__BASE_CLASS = eINSTANCE.getBlock_Base_Class();
@@ -81,7 +81,7 @@ public interface BlocksPackage extends EPackage {
* <em>Distributed Property</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.DistributedPropertyImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getDistributedProperty()
* @generated
@@ -91,7 +91,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Property</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DISTRIBUTED_PROPERTY__BASE_PROPERTY = eINSTANCE.getDistributedProperty_Base_Property();
@@ -100,7 +100,7 @@ public interface BlocksPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.blocks.internal.impl.DimensionImpl
* <em>Dimension</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.DimensionImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getDimension()
* @generated
@@ -110,7 +110,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the ' <em><b>Base Instance Specification</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DIMENSION__BASE_INSTANCE_SPECIFICATION = eINSTANCE.getDimension_Base_InstanceSpecification();
@@ -118,7 +118,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.UnitImpl <em>Unit</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.UnitImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getUnit()
* @generated
@@ -128,7 +128,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the ' <em><b>Base Instance Specification</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference UNIT__BASE_INSTANCE_SPECIFICATION = eINSTANCE.getUnit_Base_InstanceSpecification();
@@ -136,7 +136,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Dimension</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference UNIT__DIMENSION = eINSTANCE.getUnit_Dimension();
@@ -145,7 +145,7 @@ public interface BlocksPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl <em>Value Type</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getValueType()
* @generated
@@ -155,7 +155,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Data Type</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference VALUE_TYPE__BASE_DATA_TYPE = eINSTANCE.getValueType_Base_DataType();
@@ -163,7 +163,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Unit</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference VALUE_TYPE__UNIT = eINSTANCE.getValueType_Unit();
@@ -171,7 +171,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Dimension</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference VALUE_TYPE__DIMENSION = eINSTANCE.getValueType_Dimension();
@@ -181,7 +181,7 @@ public interface BlocksPackage extends EPackage {
* <em>Nested Connector End</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.NestedConnectorEndImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getNestedConnectorEnd()
* @generated
@@ -191,7 +191,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Property Path</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference NESTED_CONNECTOR_END__PROPERTY_PATH = eINSTANCE.getNestedConnectorEnd_PropertyPath();
@@ -199,7 +199,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Connector End</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference NESTED_CONNECTOR_END__BASE_CONNECTOR_END = eINSTANCE.getNestedConnectorEnd_Base_ConnectorEnd();
@@ -209,7 +209,7 @@ public interface BlocksPackage extends EPackage {
* <em>Participant Property</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.ParticipantPropertyImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getParticipantProperty()
* @generated
@@ -219,7 +219,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Property</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference PARTICIPANT_PROPERTY__BASE_PROPERTY = eINSTANCE.getParticipantProperty_Base_Property();
@@ -227,7 +227,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>End</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference PARTICIPANT_PROPERTY__END = eINSTANCE.getParticipantProperty_End();
@@ -237,7 +237,7 @@ public interface BlocksPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getConnectorProperty()
* @generated
@@ -247,7 +247,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Property</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CONNECTOR_PROPERTY__BASE_PROPERTY = eINSTANCE.getConnectorProperty_Base_Property();
@@ -255,7 +255,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Connector</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CONNECTOR_PROPERTY__CONNECTOR = eINSTANCE.getConnectorProperty_Connector();
@@ -265,7 +265,7 @@ public interface BlocksPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BindingConnectorImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBindingConnector()
* @generated
@@ -275,7 +275,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Connector</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference BINDING_CONNECTOR__BASE_CONNECTOR = eINSTANCE.getBindingConnector_Base_Connector();
@@ -285,7 +285,7 @@ public interface BlocksPackage extends EPackage {
* <em>Property Specific Type</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.PropertySpecificTypeImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getPropertySpecificType()
* @generated
@@ -295,7 +295,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Classifier</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER = eINSTANCE.getPropertySpecificType_Base_Classifier();
@@ -305,7 +305,7 @@ public interface BlocksPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "blocks";
@@ -313,7 +313,7 @@ public interface BlocksPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks";
@@ -321,7 +321,7 @@ public interface BlocksPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "Blocks";
@@ -330,7 +330,7 @@ public interface BlocksPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
BlocksPackage eINSTANCE = org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl.init();
@@ -338,7 +338,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl <em>Block</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBlock()
* @generated
@@ -348,7 +348,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Is Encapsulated</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -357,7 +357,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Class</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -366,7 +366,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Block</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -376,7 +376,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Block</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -387,7 +387,7 @@ public interface BlocksPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.DistributedPropertyImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getDistributedProperty()
* @generated
@@ -397,7 +397,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Property</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -406,7 +406,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Distributed Property</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -416,7 +416,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Distributed Property</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -425,7 +425,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DimensionImpl <em>Dimension</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.DimensionImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getDimension()
* @generated
@@ -435,7 +435,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Instance Specification</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -444,7 +444,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Dimension</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -454,7 +454,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Dimension</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -463,7 +463,7 @@ public interface BlocksPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.UnitImpl <em>Unit</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.UnitImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getUnit()
* @generated
@@ -473,7 +473,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Instance Specification</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -482,7 +482,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Dimension</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -491,7 +491,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Unit</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -501,7 +501,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Unit</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -511,7 +511,7 @@ public interface BlocksPackage extends EPackage {
* The meta object id for the ' {@link org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl
* <em>Value Type</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getValueType()
* @generated
@@ -521,7 +521,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Data Type</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -530,7 +530,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Unit</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -539,7 +539,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Dimension</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -548,7 +548,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Value Type</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -558,7 +558,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Value Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -568,7 +568,7 @@ public interface BlocksPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.NestedConnectorEndImpl <em>Nested Connector End</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.NestedConnectorEndImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getNestedConnectorEnd()
* @generated
@@ -578,7 +578,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Property Path</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -587,7 +587,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Connector End</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -596,7 +596,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Nested Connector End</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -606,7 +606,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Nested Connector End</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -617,7 +617,7 @@ public interface BlocksPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.ParticipantPropertyImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getParticipantProperty()
* @generated
@@ -627,7 +627,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Property</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -636,7 +636,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>End</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -645,7 +645,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Participant Property</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -655,7 +655,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Participant Property</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -665,7 +665,7 @@ public interface BlocksPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl <em>Connector Property</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getConnectorProperty()
* @generated
@@ -675,7 +675,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Property</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -684,7 +684,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Connector</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -693,7 +693,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Connector Property</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -703,7 +703,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Connector Property</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -713,7 +713,7 @@ public interface BlocksPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BindingConnectorImpl <em>Binding Connector</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BindingConnectorImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBindingConnector()
* @generated
@@ -723,7 +723,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Connector</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -732,7 +732,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Binding Connector</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -742,7 +742,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Binding Connector</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -753,7 +753,7 @@ public interface BlocksPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.PropertySpecificTypeImpl
* @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getPropertySpecificType()
* @generated
@@ -763,7 +763,7 @@ public interface BlocksPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Classifier</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -772,7 +772,7 @@ public interface BlocksPackage extends EPackage {
/**
* The number of structural features of the '<em>Property Specific Type</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -782,7 +782,7 @@ public interface BlocksPackage extends EPackage {
* The number of operations of the '<em>Property Specific Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -792,7 +792,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.blocks.BindingConnector
* <em>Binding Connector</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for class '<em>Binding Connector</em>'.
* @see org.eclipse.papyrus.sysml.blocks.BindingConnector
* @generated
@@ -800,10 +800,9 @@ public interface BlocksPackage extends EPackage {
EClass getBindingConnector();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>}
- * '.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>} '.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Connector</em>'.
* @see org.eclipse.papyrus.sysml.blocks.BindingConnector#getBase_Connector()
* @see #getBindingConnector()
@@ -814,7 +813,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.blocks.Block <em>Block</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Block</em>'.
* @see org.eclipse.papyrus.sysml.blocks.Block
* @generated
@@ -824,7 +823,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.Block#getBase_Class <em>Base Class</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Class</em>'.
* @see org.eclipse.papyrus.sysml.blocks.Block#getBase_Class()
* @see #getBlock()
@@ -835,7 +834,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.blocks.Block#isEncapsulated <em>Is Encapsulated</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Is Encapsulated</em>'.
* @see org.eclipse.papyrus.sysml.blocks.Block#isEncapsulated()
* @see #getBlock()
@@ -846,7 +845,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -856,7 +855,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty
* <em>Connector Property</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for class '<em>Connector Property</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ConnectorProperty
* @generated
@@ -866,7 +865,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getBase_Property <em>Base Property</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Property</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getBase_Property()
* @see #getConnectorProperty()
@@ -877,7 +876,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getConnector <em>Connector</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Connector</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getConnector()
* @see #getConnectorProperty()
@@ -888,7 +887,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.Dimension <em>Dimension</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Dimension</em>'.
* @see org.eclipse.papyrus.sysml.blocks.Dimension
* @generated
@@ -900,7 +899,7 @@ public interface BlocksPackage extends EPackage {
* <em>Base Instance Specification</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Instance Specification</em>'.
* @see org.eclipse.papyrus.sysml.blocks.Dimension#getBase_InstanceSpecification()
* @see #getDimension()
@@ -912,7 +911,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty <em>Distributed Property</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Distributed Property</em>'.
* @see org.eclipse.papyrus.sysml.blocks.DistributedProperty
* @generated
@@ -920,10 +919,9 @@ public interface BlocksPackage extends EPackage {
EClass getDistributedProperty();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty#getBase_Property <em>Base Property</em>}
- * '.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty#getBase_Property <em>Base Property</em>} '.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Property</em>'.
* @see org.eclipse.papyrus.sysml.blocks.DistributedProperty#getBase_Property()
* @see #getDistributedProperty()
@@ -935,7 +933,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd <em>Nested Connector End</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Nested Connector End</em>'.
* @see org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd
* @generated
@@ -946,7 +944,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for the reference ' {@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getBase_ConnectorEnd
* <em>Base Connector End</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for the reference '<em>Base Connector End</em>'.
* @see org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getBase_ConnectorEnd()
* @see #getNestedConnectorEnd()
@@ -958,7 +956,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getPropertyPath
* <em>Property Path</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Property Path</em>'.
* @see org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getPropertyPath()
* @see #getNestedConnectorEnd()
@@ -970,7 +968,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty <em>Participant Property</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Participant Property</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ParticipantProperty
* @generated
@@ -978,10 +976,9 @@ public interface BlocksPackage extends EPackage {
EClass getParticipantProperty();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}
- * '.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>} '.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Property</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getBase_Property()
* @see #getParticipantProperty()
@@ -992,7 +989,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getEnd <em>End</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>End</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getEnd()
* @see #getParticipantProperty()
@@ -1004,7 +1001,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType <em>Property Specific Type</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Property Specific Type</em>'.
* @see org.eclipse.papyrus.sysml.blocks.PropertySpecificType
* @generated
@@ -1015,7 +1012,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType#getBase_Classifier
* <em>Base Classifier</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Classifier</em>'.
* @see org.eclipse.papyrus.sysml.blocks.PropertySpecificType#getBase_Classifier()
* @see #getPropertySpecificType()
@@ -1026,7 +1023,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.blocks.Unit <em>Unit</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Unit</em>'.
* @see org.eclipse.papyrus.sysml.blocks.Unit
* @generated
@@ -1038,7 +1035,7 @@ public interface BlocksPackage extends EPackage {
* <em>Base Instance Specification</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Instance Specification</em>'.
* @see org.eclipse.papyrus.sysml.blocks.Unit#getBase_InstanceSpecification()
* @see #getUnit()
@@ -1049,7 +1046,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.Unit#getDimension <em>Dimension</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Dimension</em>'.
* @see org.eclipse.papyrus.sysml.blocks.Unit#getDimension()
* @see #getUnit()
@@ -1060,7 +1057,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.ValueType <em>Value Type</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Value Type</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ValueType
* @generated
@@ -1070,7 +1067,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Data Type</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ValueType#getBase_DataType()
* @see #getValueType()
@@ -1081,7 +1078,7 @@ public interface BlocksPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getDimension <em>Dimension</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Dimension</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ValueType#getDimension()
* @see #getValueType()
@@ -1093,7 +1090,7 @@ public interface BlocksPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getUnit <em>Unit</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Unit</em>'.
* @see org.eclipse.papyrus.sysml.blocks.ValueType#getUnit()
* @see #getValueType()
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ConnectorProperty.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ConnectorProperty.java
index c6b5b1f279b..254d67bffe0 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ConnectorProperty.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ConnectorProperty.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.uml2.uml.Property;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Connector Property</b></em> '. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,7 +27,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getConnector <em>Connector</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getConnectorProperty()
* @model
* @generated
@@ -41,7 +41,7 @@ public interface ConnectorProperty extends EObject {
* If the meaning of the '<em>Base Property</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getConnectorProperty_Base_Property()
@@ -57,7 +57,7 @@ public interface ConnectorProperty extends EObject {
* If the meaning of the '<em>Connector</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Connector</em>' reference.
* @see #setConnector(Connector)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getConnectorProperty_Connector()
@@ -70,9 +70,9 @@ public interface ConnectorProperty extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Property</em>' reference.
+ * the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
@@ -82,9 +82,9 @@ public interface ConnectorProperty extends EObject {
* Sets the value of the ' {@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getConnector
* <em>Connector</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @param value
- * the new value of the '<em>Connector</em>' reference.
+ * the new value of the '<em>Connector</em>' reference.
* @see #getConnector()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Dimension.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Dimension.java
index 7da0e7376d6..e736af5ab84 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Dimension.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Dimension.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.InstanceSpecification;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Dimension</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.blocks.Dimension#getBase_InstanceSpecification <em>Base Instance Specification</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDimension()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface Dimension extends EObject {
* If the meaning of the '<em>Base Instance Specification</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Instance Specification</em>' reference.
* @see #setBase_InstanceSpecification(InstanceSpecification)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDimension_Base_InstanceSpecification()
@@ -53,9 +53,9 @@ public interface Dimension extends EObject {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Instance Specification</em>' reference.
+ * the new value of the '<em>Base Instance Specification</em>' reference.
* @see #getBase_InstanceSpecification()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/DistributedProperty.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/DistributedProperty.java
index 1ef062f82e5..362b393e8fc 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/DistributedProperty.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/DistributedProperty.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Property;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Distributed Property</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty#getBase_Property <em>Base Property</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDistributedProperty()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface DistributedProperty extends EObject {
* If the meaning of the '<em>Base Property</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDistributedProperty_Base_Property()
@@ -52,9 +52,9 @@ public interface DistributedProperty extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Property</em>' reference.
+ * the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/NestedConnectorEnd.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/NestedConnectorEnd.java
index 830a1d92c1f..3b3576d1d8b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/NestedConnectorEnd.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/NestedConnectorEnd.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -22,7 +22,7 @@ import org.eclipse.uml2.uml.Type;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Nested Connector End</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Type;
* <li>{@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getBase_ConnectorEnd <em>Base Connector End</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getNestedConnectorEnd()
* @model
* @generated
@@ -44,7 +44,7 @@ public interface NestedConnectorEnd extends EObject {
* If the meaning of the '<em>Base Connector End</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Connector End</em>' reference.
* @see #setBase_ConnectorEnd(ConnectorEnd)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getNestedConnectorEnd_Base_ConnectorEnd()
@@ -61,7 +61,7 @@ public interface NestedConnectorEnd extends EObject {
* If the meaning of the '<em>Property Path</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Property Path</em>' reference list.
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getNestedConnectorEnd_PropertyPath()
* @model required="true"
@@ -70,38 +70,34 @@ public interface NestedConnectorEnd extends EObject {
EList<Property> getPropertyPath();
/**
- * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '
- * <em><b>Property Path</b></em>' reference list.
+ * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the ' <em><b>Property Path</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
* @param type
- * The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
- * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or
- * <code>null</code>.
+ * The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
+ * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>.
* @see #getPropertyPath()
* @generated
*/
Property getPropertyPath(String name, Type type);
/**
- * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '
- * <em><b>Property Path</b></em>' reference list.
+ * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the ' <em><b>Property Path</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
* @param type
- * The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
+ * The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
* @param ignoreCase
- * Whether to ignore case in {@link java.lang.String} comparisons.
+ * Whether to ignore case in {@link java.lang.String} comparisons.
* @param eClass
- * The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
- * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or
- * <code>null</code>.
+ * The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>.
+ * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>.
* @see #getPropertyPath()
* @generated
*/
@@ -111,9 +107,9 @@ public interface NestedConnectorEnd extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getBase_ConnectorEnd <em>Base Connector End</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Connector End</em>' reference.
+ * the new value of the '<em>Base Connector End</em>' reference.
* @see #getBase_ConnectorEnd()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ParticipantProperty.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ParticipantProperty.java
index ec53bb28cf0..83106a96421 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ParticipantProperty.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ParticipantProperty.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.uml2.uml.Property;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Participant Property</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -26,7 +26,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getEnd <em>End</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getParticipantProperty()
* @model
* @generated
@@ -40,7 +40,7 @@ public interface ParticipantProperty extends EObject {
* If the meaning of the '<em>Base Property</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getParticipantProperty_Base_Property()
@@ -56,7 +56,7 @@ public interface ParticipantProperty extends EObject {
* If the meaning of the '<em>End</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>End</em>' reference.
* @see #setEnd(Property)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getParticipantProperty_End()
@@ -69,9 +69,9 @@ public interface ParticipantProperty extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Property</em>' reference.
+ * the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
@@ -80,9 +80,9 @@ public interface ParticipantProperty extends EObject {
/**
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getEnd <em>End</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>End</em>' reference.
+ * the new value of the '<em>End</em>' reference.
* @see #getEnd()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/PropertySpecificType.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/PropertySpecificType.java
index 82ad62a7624..6d1959b02e1 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/PropertySpecificType.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/PropertySpecificType.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Classifier;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Property Specific Type</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType#getBase_Classifier <em>Base Classifier</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getPropertySpecificType()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface PropertySpecificType extends EObject {
* If the meaning of the '<em>Base Classifier</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Classifier</em>' reference.
* @see #setBase_Classifier(Classifier)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getPropertySpecificType_Base_Classifier()
@@ -52,9 +52,9 @@ public interface PropertySpecificType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType#getBase_Classifier <em>Base Classifier</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Classifier</em>' reference.
+ * the new value of the '<em>Base Classifier</em>' reference.
* @see #getBase_Classifier()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Unit.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Unit.java
index fed4d775427..b2188b60077 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Unit.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/Unit.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.uml2.uml.InstanceSpecification;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Unit</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -26,7 +26,7 @@ import org.eclipse.uml2.uml.InstanceSpecification;
* <li>{@link org.eclipse.papyrus.sysml.blocks.Unit#getDimension <em>Dimension</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getUnit()
* @model
* @generated
@@ -40,7 +40,7 @@ public interface Unit extends EObject {
* If the meaning of the '<em>Base Instance Specification</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Instance Specification</em>' reference.
* @see #setBase_InstanceSpecification(InstanceSpecification)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getUnit_Base_InstanceSpecification()
@@ -56,7 +56,7 @@ public interface Unit extends EObject {
* If the meaning of the '<em>Dimension</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Dimension</em>' reference.
* @see #setDimension(Dimension)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getUnit_Dimension()
@@ -70,9 +70,9 @@ public interface Unit extends EObject {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Instance Specification</em>' reference.
+ * the new value of the '<em>Base Instance Specification</em>' reference.
* @see #getBase_InstanceSpecification()
* @generated
*/
@@ -82,9 +82,9 @@ public interface Unit extends EObject {
* Sets the value of the ' {@link org.eclipse.papyrus.sysml.blocks.Unit#getDimension
* <em>Dimension</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @param value
- * the new value of the '<em>Dimension</em>' reference.
+ * the new value of the '<em>Dimension</em>' reference.
* @see #getDimension()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ValueType.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ValueType.java
index 1760ee0d4ce..aeaecc594da 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ValueType.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/ValueType.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.uml2.uml.DataType;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Value Type</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,7 +27,7 @@ import org.eclipse.uml2.uml.DataType;
* <li>{@link org.eclipse.papyrus.sysml.blocks.ValueType#getDimension <em>Dimension</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType()
* @model
* @generated
@@ -41,7 +41,7 @@ public interface ValueType extends EObject {
* If the meaning of the '<em>Base Data Type</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Data Type</em>' reference.
* @see #setBase_DataType(DataType)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType_Base_DataType()
@@ -57,7 +57,7 @@ public interface ValueType extends EObject {
* If the meaning of the '<em>Dimension</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Dimension</em>' reference.
* @see #setDimension(Dimension)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType_Dimension()
@@ -73,7 +73,7 @@ public interface ValueType extends EObject {
* If the meaning of the '<em>Unit</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Unit</em>' reference.
* @see #setUnit(Unit)
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType_Unit()
@@ -86,9 +86,9 @@ public interface ValueType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Data Type</em>' reference.
+ * the new value of the '<em>Base Data Type</em>' reference.
* @see #getBase_DataType()
* @generated
*/
@@ -98,9 +98,9 @@ public interface ValueType extends EObject {
* Sets the value of the ' {@link org.eclipse.papyrus.sysml.blocks.ValueType#getDimension
* <em>Dimension</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @param value
- * the new value of the '<em>Dimension</em>' reference.
+ * the new value of the '<em>Dimension</em>' reference.
* @see #getDimension()
* @generated
*/
@@ -109,9 +109,9 @@ public interface ValueType extends EObject {
/**
* Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getUnit <em>Unit</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Unit</em>' reference.
+ * the new value of the '<em>Unit</em>' reference.
* @see #getUnit()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BindingConnectorImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BindingConnectorImpl.java
index 99b4df720c0..52b19f83dad 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BindingConnectorImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BindingConnectorImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Connector;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BindingConnectorImpl#getBase_Connector <em>Base Connector</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class BindingConnectorImpl extends MinimalEObjectImpl.Container implements BindingConnector {
@@ -39,7 +39,7 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
* The cached value of the '{@link #getBase_Connector() <em>Base Connector</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Connector()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected BindingConnectorImpl() {
@@ -57,7 +57,7 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Connector basicGetBase_Connector() {
@@ -66,15 +66,16 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR:
- if(resolve)
+ if (resolve) {
return getBase_Connector();
+ }
return basicGetBase_Connector();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR:
return base_Connector != null;
}
@@ -96,14 +97,14 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR:
- setBase_Connector((Connector)newValue);
+ setBase_Connector((Connector) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR:
- setBase_Connector((Connector)null);
+ setBase_Connector((Connector) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Connector getBase_Connector() {
- if(base_Connector != null && base_Connector.eIsProxy()) {
- InternalEObject oldBase_Connector = (InternalEObject)base_Connector;
- base_Connector = (Connector)eResolveProxy(oldBase_Connector);
- if(base_Connector != oldBase_Connector) {
- if(eNotificationRequired())
+ if (base_Connector != null && base_Connector.eIsProxy()) {
+ InternalEObject oldBase_Connector = (InternalEObject) base_Connector;
+ base_Connector = (Connector) eResolveProxy(oldBase_Connector);
+ if (base_Connector != oldBase_Connector) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
}
}
return base_Connector;
@@ -153,14 +155,15 @@ public class BindingConnectorImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Connector(Connector newBase_Connector) {
Connector oldBase_Connector = base_Connector;
base_Connector = newBase_Connector;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
}
} // BindingConnectorImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlockImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlockImpl.java
index d8b046ecab6..5d8bf8c6844 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlockImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlockImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.sysml.blocks.BlocksPackage;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl#getBase_Class <em>Base Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
@@ -39,7 +39,7 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
* The default value of the '{@link #isEncapsulated() <em>Is Encapsulated</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #isEncapsulated()
* @generated
* @ordered
@@ -50,7 +50,7 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
* The cached value of the '{@link #isEncapsulated() <em>Is Encapsulated</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #isEncapsulated()
* @generated
* @ordered
@@ -60,7 +60,7 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -69,7 +69,7 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected BlockImpl() {
@@ -78,7 +78,7 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -87,17 +87,18 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.BLOCK__IS_ENCAPSULATED:
return isEncapsulated();
case BlocksPackage.BLOCK__BASE_CLASS:
- if(resolve)
+ if (resolve) {
return getBase_Class();
+ }
return basicGetBase_Class();
}
return super.eGet(featureID, resolve, coreType);
@@ -105,12 +106,12 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.BLOCK__IS_ENCAPSULATED:
return isEncapsulated != IS_ENCAPSULATED_EDEFAULT;
case BlocksPackage.BLOCK__BASE_CLASS:
@@ -121,17 +122,17 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.BLOCK__IS_ENCAPSULATED:
- setIsEncapsulated((Boolean)newValue);
+ setIsEncapsulated((Boolean) newValue);
return;
case BlocksPackage.BLOCK__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -139,7 +140,7 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -150,7 +151,7 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public boolean isEncapsulated() {
@@ -159,17 +160,17 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.BLOCK__IS_ENCAPSULATED:
setIsEncapsulated(IS_ENCAPSULATED_EDEFAULT);
return;
case BlocksPackage.BLOCK__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
return;
}
super.eUnset(featureID);
@@ -177,16 +178,17 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class getBase_Class() {
- if(base_Class != null && base_Class.eIsProxy()) {
- InternalEObject oldBase_Class = (InternalEObject)base_Class;
- base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class);
- if(base_Class != oldBase_Class) {
- if(eNotificationRequired())
+ if (base_Class != null && base_Class.eIsProxy()) {
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
+ if (base_Class != oldBase_Class) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.BLOCK__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -194,37 +196,40 @@ public class BlockImpl extends MinimalEObjectImpl.Container implements Block {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) {
org.eclipse.uml2.uml.Class oldBase_Class = base_Class;
base_Class = newBase_Class;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BLOCK__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setIsEncapsulated(boolean newIsEncapsulated) {
boolean oldIsEncapsulated = isEncapsulated;
isEncapsulated = newIsEncapsulated;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BLOCK__IS_ENCAPSULATED, oldIsEncapsulated, isEncapsulated));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isEncapsulated: ");
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksFactoryImpl.java
index 3d6edf6d041..71cdc735789 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -34,14 +34,14 @@ import org.eclipse.papyrus.sysml.blocks.ValueType;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -54,13 +54,13 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static BlocksFactory init() {
try {
- BlocksFactory theBlocksFactory = (BlocksFactory)EPackage.Registry.INSTANCE.getEFactory(BlocksPackage.eNS_URI);
- if(theBlocksFactory != null) {
+ BlocksFactory theBlocksFactory = (BlocksFactory) EPackage.Registry.INSTANCE.getEFactory(BlocksPackage.eNS_URI);
+ if (theBlocksFactory != null) {
return theBlocksFactory;
}
} catch (Exception exception) {
@@ -73,7 +73,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public BlocksFactoryImpl() {
@@ -82,12 +82,12 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
case BlocksPackage.BLOCK:
return createBlock();
case BlocksPackage.DISTRIBUTED_PROPERTY:
@@ -115,7 +115,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public BindingConnector createBindingConnector() {
@@ -125,7 +125,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Block createBlock() {
@@ -135,7 +135,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ConnectorProperty createConnectorProperty() {
@@ -145,7 +145,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Dimension createDimension() {
@@ -155,7 +155,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DistributedProperty createDistributedProperty() {
@@ -165,7 +165,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NestedConnectorEnd createNestedConnectorEnd() {
@@ -175,7 +175,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ParticipantProperty createParticipantProperty() {
@@ -185,7 +185,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public PropertySpecificType createPropertySpecificType() {
@@ -195,7 +195,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Unit createUnit() {
@@ -205,7 +205,7 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ValueType createValueType() {
@@ -215,11 +215,11 @@ public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public BlocksPackage getBlocksPackage() {
- return (BlocksPackage)getEPackage();
+ return (BlocksPackage) getEPackage();
}
} // BlocksFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksPackageImpl.java
index ef1b80076b2..fb3f74fecdd 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -57,36 +57,36 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link BlocksPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead,
- * they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link BlocksPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static BlocksPackage init() {
- if(isInited)
- return (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI);
+ if (isInited) {
+ return (BlocksPackage) EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI);
+ }
// Obtain or create and register package
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new BlocksPackageImpl());
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new BlocksPackageImpl());
isInited = true;
@@ -94,16 +94,25 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
theBlocksPackage.createPackageContents();
@@ -142,84 +151,84 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass blockEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass distributedPropertyEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass dimensionEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass unitEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass valueTypeEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass nestedConnectorEndEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass participantPropertyEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass connectorPropertyEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass bindingConnectorEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass propertySpecificTypeEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -229,9 +238,8 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#eNS_URI
* @see #init()
@@ -246,12 +254,13 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create classes and their features
@@ -295,7 +304,7 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getBindingConnector() {
@@ -304,16 +313,16 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getBindingConnector_Base_Connector() {
- return (EReference)bindingConnectorEClass.getEStructuralFeatures().get(0);
+ return (EReference) bindingConnectorEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getBlock() {
@@ -322,34 +331,34 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getBlock_Base_Class() {
- return (EReference)blockEClass.getEStructuralFeatures().get(1);
+ return (EReference) blockEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getBlock_IsEncapsulated() {
- return (EAttribute)blockEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) blockEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public BlocksFactory getBlocksFactory() {
- return (BlocksFactory)getEFactoryInstance();
+ return (BlocksFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getConnectorProperty() {
@@ -358,25 +367,25 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getConnectorProperty_Base_Property() {
- return (EReference)connectorPropertyEClass.getEStructuralFeatures().get(0);
+ return (EReference) connectorPropertyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getConnectorProperty_Connector() {
- return (EReference)connectorPropertyEClass.getEStructuralFeatures().get(1);
+ return (EReference) connectorPropertyEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getDimension() {
@@ -385,16 +394,16 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDimension_Base_InstanceSpecification() {
- return (EReference)dimensionEClass.getEStructuralFeatures().get(0);
+ return (EReference) dimensionEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getDistributedProperty() {
@@ -403,16 +412,16 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDistributedProperty_Base_Property() {
- return (EReference)distributedPropertyEClass.getEStructuralFeatures().get(0);
+ return (EReference) distributedPropertyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getNestedConnectorEnd() {
@@ -421,25 +430,25 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getNestedConnectorEnd_Base_ConnectorEnd() {
- return (EReference)nestedConnectorEndEClass.getEStructuralFeatures().get(1);
+ return (EReference) nestedConnectorEndEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getNestedConnectorEnd_PropertyPath() {
- return (EReference)nestedConnectorEndEClass.getEStructuralFeatures().get(0);
+ return (EReference) nestedConnectorEndEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getParticipantProperty() {
@@ -448,25 +457,25 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getParticipantProperty_Base_Property() {
- return (EReference)participantPropertyEClass.getEStructuralFeatures().get(0);
+ return (EReference) participantPropertyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getParticipantProperty_End() {
- return (EReference)participantPropertyEClass.getEStructuralFeatures().get(1);
+ return (EReference) participantPropertyEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getPropertySpecificType() {
@@ -475,16 +484,16 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getPropertySpecificType_Base_Classifier() {
- return (EReference)propertySpecificTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) propertySpecificTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getUnit() {
@@ -493,25 +502,25 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getUnit_Base_InstanceSpecification() {
- return (EReference)unitEClass.getEStructuralFeatures().get(0);
+ return (EReference) unitEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getUnit_Dimension() {
- return (EReference)unitEClass.getEStructuralFeatures().get(1);
+ return (EReference) unitEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getValueType() {
@@ -520,41 +529,42 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getValueType_Base_DataType() {
- return (EReference)valueTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) valueTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getValueType_Dimension() {
- return (EReference)valueTypeEClass.getEStructuralFeatures().get(2);
+ return (EReference) valueTypeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getValueType_Unit() {
- return (EReference)valueTypeEClass.getEStructuralFeatures().get(1);
+ return (EReference) valueTypeEClass.getEStructuralFeatures().get(1);
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -563,8 +573,8 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
setNsURI(eNS_URI);
// Obtain other dependent packages
- TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
// Create type parameters
@@ -578,37 +588,49 @@ public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage {
initEReference(getBlock_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(distributedPropertyEClass, DistributedProperty.class, "DistributedProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDistributedProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, DistributedProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getDistributedProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, DistributedProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(dimensionEClass, Dimension.class, "Dimension", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDimension_Base_InstanceSpecification(), theUMLPackage.getInstanceSpecification(), null, "base_InstanceSpecification", null, 1, 1, Dimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getDimension_Base_InstanceSpecification(), theUMLPackage.getInstanceSpecification(), null, "base_InstanceSpecification", null, 1, 1, Dimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(unitEClass, Unit.class, "Unit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getUnit_Base_InstanceSpecification(), theUMLPackage.getInstanceSpecification(), null, "base_InstanceSpecification", null, 1, 1, Unit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUnit_Base_InstanceSpecification(), theUMLPackage.getInstanceSpecification(), null, "base_InstanceSpecification", null, 1, 1, Unit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getUnit_Dimension(), this.getDimension(), null, "dimension", null, 0, 1, Unit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(valueTypeEClass, ValueType.class, "ValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getValueType_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getValueType_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEReference(getValueType_Unit(), this.getUnit(), null, "unit", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getValueType_Dimension(), this.getDimension(), null, "dimension", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(nestedConnectorEndEClass, NestedConnectorEnd.class, "NestedConnectorEnd", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getNestedConnectorEnd_PropertyPath(), theUMLPackage.getProperty(), null, "propertyPath", null, 1, -1, NestedConnectorEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNestedConnectorEnd_Base_ConnectorEnd(), theUMLPackage.getConnectorEnd(), null, "base_ConnectorEnd", null, 1, 1, NestedConnectorEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getNestedConnectorEnd_PropertyPath(), theUMLPackage.getProperty(), null, "propertyPath", null, 1, -1, NestedConnectorEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getNestedConnectorEnd_Base_ConnectorEnd(), theUMLPackage.getConnectorEnd(), null, "base_ConnectorEnd", null, 1, 1, NestedConnectorEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(participantPropertyEClass, ParticipantProperty.class, "ParticipantProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getParticipantProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, ParticipantProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getParticipantProperty_End(), theUMLPackage.getProperty(), null, "end", null, 1, 1, ParticipantProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getParticipantProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, ParticipantProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getParticipantProperty_End(), theUMLPackage.getProperty(), null, "end", null, 1, 1, ParticipantProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(connectorPropertyEClass, ConnectorProperty.class, "ConnectorProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConnectorProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, ConnectorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getConnectorProperty_Connector(), theUMLPackage.getConnector(), null, "connector", null, 1, 1, ConnectorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getConnectorProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, ConnectorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getConnectorProperty_Connector(), theUMLPackage.getConnector(), null, "connector", null, 1, 1, ConnectorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEClass(bindingConnectorEClass, BindingConnector.class, "BindingConnector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBindingConnector_Base_Connector(), theUMLPackage.getConnector(), null, "base_Connector", null, 1, 1, BindingConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBindingConnector_Base_Connector(), theUMLPackage.getConnector(), null, "base_Connector", null, 1, 1, BindingConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEClass(propertySpecificTypeEClass, PropertySpecificType.class, "PropertySpecificType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPropertySpecificType_Base_Classifier(), theUMLPackage.getClassifier(), null, "base_Classifier", null, 1, 1, PropertySpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getPropertySpecificType_Base_Classifier(), theUMLPackage.getClassifier(), null, "base_Classifier", null, 1, 1, PropertySpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
}
} // BlocksPackageImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ConnectorPropertyImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ConnectorPropertyImpl.java
index 9a6d5e815de..7dfd7ba0db9 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ConnectorPropertyImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ConnectorPropertyImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -32,7 +32,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl#getConnector <em>Connector</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implements ConnectorProperty {
@@ -41,7 +41,7 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Property()
* @generated
* @ordered
@@ -51,7 +51,7 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* The cached value of the '{@link #getConnector() <em>Connector</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getConnector()
* @generated
* @ordered
@@ -60,7 +60,7 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ConnectorPropertyImpl() {
@@ -69,7 +69,7 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property basicGetBase_Property() {
@@ -78,7 +78,7 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Connector basicGetConnector() {
@@ -87,19 +87,21 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY:
- if(resolve)
+ if (resolve) {
return getBase_Property();
+ }
return basicGetBase_Property();
case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR:
- if(resolve)
+ if (resolve) {
return getConnector();
+ }
return basicGetConnector();
}
return super.eGet(featureID, resolve, coreType);
@@ -107,12 +109,12 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY:
return base_Property != null;
case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR:
@@ -123,17 +125,17 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)newValue);
+ setBase_Property((Property) newValue);
return;
case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR:
- setConnector((Connector)newValue);
+ setConnector((Connector) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -141,7 +143,7 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -151,17 +153,17 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)null);
+ setBase_Property((Property) null);
return;
case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR:
- setConnector((Connector)null);
+ setConnector((Connector) null);
return;
}
super.eUnset(featureID);
@@ -169,16 +171,17 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property getBase_Property() {
- if(base_Property != null && base_Property.eIsProxy()) {
- InternalEObject oldBase_Property = (InternalEObject)base_Property;
- base_Property = (Property)eResolveProxy(oldBase_Property);
- if(base_Property != oldBase_Property) {
- if(eNotificationRequired())
+ if (base_Property != null && base_Property.eIsProxy()) {
+ InternalEObject oldBase_Property = (InternalEObject) base_Property;
+ base_Property = (Property) eResolveProxy(oldBase_Property);
+ if (base_Property != oldBase_Property) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
}
return base_Property;
@@ -186,16 +189,17 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Connector getConnector() {
- if(connector != null && connector.eIsProxy()) {
- InternalEObject oldConnector = (InternalEObject)connector;
- connector = (Connector)eResolveProxy(oldConnector);
- if(connector != oldConnector) {
- if(eNotificationRequired())
+ if (connector != null && connector.eIsProxy()) {
+ InternalEObject oldConnector = (InternalEObject) connector;
+ connector = (Connector) eResolveProxy(oldConnector);
+ if (connector != oldConnector) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR, oldConnector, connector));
+ }
}
}
return connector;
@@ -203,26 +207,28 @@ public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setConnector(Connector newConnector) {
Connector oldConnector = connector;
connector = newConnector;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR, oldConnector, connector));
+ }
}
} // ConnectorPropertyImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DimensionImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DimensionImpl.java
index 2222a37cb05..a4a5a84cf33 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DimensionImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DimensionImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.InstanceSpecification;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DimensionImpl#getBase_InstanceSpecification <em>Base Instance Specification</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimension {
@@ -39,7 +39,7 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
* The cached value of the '{@link #getBase_InstanceSpecification() <em>Base Instance Specification</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBase_InstanceSpecification()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DimensionImpl() {
@@ -57,7 +57,7 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InstanceSpecification basicGetBase_InstanceSpecification() {
@@ -66,15 +66,16 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.DIMENSION__BASE_INSTANCE_SPECIFICATION:
- if(resolve)
+ if (resolve) {
return getBase_InstanceSpecification();
+ }
return basicGetBase_InstanceSpecification();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.DIMENSION__BASE_INSTANCE_SPECIFICATION:
return base_InstanceSpecification != null;
}
@@ -96,14 +97,14 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.DIMENSION__BASE_INSTANCE_SPECIFICATION:
- setBase_InstanceSpecification((InstanceSpecification)newValue);
+ setBase_InstanceSpecification((InstanceSpecification) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.DIMENSION__BASE_INSTANCE_SPECIFICATION:
- setBase_InstanceSpecification((InstanceSpecification)null);
+ setBase_InstanceSpecification((InstanceSpecification) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InstanceSpecification getBase_InstanceSpecification() {
- if(base_InstanceSpecification != null && base_InstanceSpecification.eIsProxy()) {
- InternalEObject oldBase_InstanceSpecification = (InternalEObject)base_InstanceSpecification;
- base_InstanceSpecification = (InstanceSpecification)eResolveProxy(oldBase_InstanceSpecification);
- if(base_InstanceSpecification != oldBase_InstanceSpecification) {
- if(eNotificationRequired())
+ if (base_InstanceSpecification != null && base_InstanceSpecification.eIsProxy()) {
+ InternalEObject oldBase_InstanceSpecification = (InternalEObject) base_InstanceSpecification;
+ base_InstanceSpecification = (InstanceSpecification) eResolveProxy(oldBase_InstanceSpecification);
+ if (base_InstanceSpecification != oldBase_InstanceSpecification) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DIMENSION__BASE_INSTANCE_SPECIFICATION, oldBase_InstanceSpecification, base_InstanceSpecification));
+ }
}
}
return base_InstanceSpecification;
@@ -153,14 +155,15 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements Dimen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_InstanceSpecification(InstanceSpecification newBase_InstanceSpecification) {
InstanceSpecification oldBase_InstanceSpecification = base_InstanceSpecification;
base_InstanceSpecification = newBase_InstanceSpecification;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DIMENSION__BASE_INSTANCE_SPECIFICATION, oldBase_InstanceSpecification, base_InstanceSpecification));
+ }
}
} // DimensionImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DistributedPropertyImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DistributedPropertyImpl.java
index b7da9b7ba73..249b81bf907 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DistributedPropertyImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/DistributedPropertyImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DistributedPropertyImpl#getBase_Property <em>Base Property</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implements DistributedProperty {
@@ -39,7 +39,7 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Property()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DistributedPropertyImpl() {
@@ -57,7 +57,7 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property basicGetBase_Property() {
@@ -66,15 +66,16 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY:
- if(resolve)
+ if (resolve) {
return getBase_Property();
+ }
return basicGetBase_Property();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY:
return base_Property != null;
}
@@ -96,14 +97,14 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)newValue);
+ setBase_Property((Property) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)null);
+ setBase_Property((Property) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property getBase_Property() {
- if(base_Property != null && base_Property.eIsProxy()) {
- InternalEObject oldBase_Property = (InternalEObject)base_Property;
- base_Property = (Property)eResolveProxy(oldBase_Property);
- if(base_Property != oldBase_Property) {
- if(eNotificationRequired())
+ if (base_Property != null && base_Property.eIsProxy()) {
+ InternalEObject oldBase_Property = (InternalEObject) base_Property;
+ base_Property = (Property) eResolveProxy(oldBase_Property);
+ if (base_Property != oldBase_Property) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
}
return base_Property;
@@ -153,14 +155,15 @@ public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
} // DistributedPropertyImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/NestedConnectorEndImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/NestedConnectorEndImpl.java
index a22c9087f6a..45d4f71aadf 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/NestedConnectorEndImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/NestedConnectorEndImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.Type;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.NestedConnectorEndImpl#getBase_ConnectorEnd <em>Base Connector End</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container implements NestedConnectorEnd {
@@ -45,7 +45,7 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
* The cached value of the '{@link #getPropertyPath() <em>Property Path</em>}' reference list.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getPropertyPath()
* @generated
* @ordered
@@ -56,7 +56,7 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
* The cached value of the '{@link #getBase_ConnectorEnd() <em>Base Connector End</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_ConnectorEnd()
* @generated
* @ordered
@@ -65,7 +65,7 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected NestedConnectorEndImpl() {
@@ -74,7 +74,7 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ConnectorEnd basicGetBase_ConnectorEnd() {
@@ -83,17 +83,18 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.NESTED_CONNECTOR_END__PROPERTY_PATH:
return getPropertyPath();
case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END:
- if(resolve)
+ if (resolve) {
return getBase_ConnectorEnd();
+ }
return basicGetBase_ConnectorEnd();
}
return super.eGet(featureID, resolve, coreType);
@@ -101,12 +102,12 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.NESTED_CONNECTOR_END__PROPERTY_PATH:
return propertyPath != null && !propertyPath.isEmpty();
case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END:
@@ -117,19 +118,19 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.NESTED_CONNECTOR_END__PROPERTY_PATH:
getPropertyPath().clear();
- getPropertyPath().addAll((Collection<? extends Property>)newValue);
+ getPropertyPath().addAll((Collection<? extends Property>) newValue);
return;
case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END:
- setBase_ConnectorEnd((ConnectorEnd)newValue);
+ setBase_ConnectorEnd((ConnectorEnd) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -137,7 +138,7 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -147,17 +148,17 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.NESTED_CONNECTOR_END__PROPERTY_PATH:
getPropertyPath().clear();
return;
case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END:
- setBase_ConnectorEnd((ConnectorEnd)null);
+ setBase_ConnectorEnd((ConnectorEnd) null);
return;
}
super.eUnset(featureID);
@@ -165,16 +166,17 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ConnectorEnd getBase_ConnectorEnd() {
- if(base_ConnectorEnd != null && base_ConnectorEnd.eIsProxy()) {
- InternalEObject oldBase_ConnectorEnd = (InternalEObject)base_ConnectorEnd;
- base_ConnectorEnd = (ConnectorEnd)eResolveProxy(oldBase_ConnectorEnd);
- if(base_ConnectorEnd != oldBase_ConnectorEnd) {
- if(eNotificationRequired())
+ if (base_ConnectorEnd != null && base_ConnectorEnd.eIsProxy()) {
+ InternalEObject oldBase_ConnectorEnd = (InternalEObject) base_ConnectorEnd;
+ base_ConnectorEnd = (ConnectorEnd) eResolveProxy(oldBase_ConnectorEnd);
+ if (base_ConnectorEnd != oldBase_ConnectorEnd) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END, oldBase_ConnectorEnd, base_ConnectorEnd));
+ }
}
}
return base_ConnectorEnd;
@@ -182,11 +184,11 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<Property> getPropertyPath() {
- if(propertyPath == null) {
+ if (propertyPath == null) {
propertyPath = new EObjectResolvingEList<Property>(Property.class, this, BlocksPackage.NESTED_CONNECTOR_END__PROPERTY_PATH);
}
return propertyPath;
@@ -195,7 +197,7 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property getPropertyPath(String name, Type type) {
@@ -205,17 +207,20 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property getPropertyPath(String name, Type type, boolean ignoreCase, EClass eClass) {
- propertyPathLoop: for(Property propertyPath : getPropertyPath()) {
- if(eClass != null && !eClass.isInstance(propertyPath))
+ propertyPathLoop: for (Property propertyPath : getPropertyPath()) {
+ if (eClass != null && !eClass.isInstance(propertyPath)) {
continue propertyPathLoop;
- if(name != null && !(ignoreCase ? name.equalsIgnoreCase(propertyPath.getName()) : name.equals(propertyPath.getName())))
+ }
+ if (name != null && !(ignoreCase ? name.equalsIgnoreCase(propertyPath.getName()) : name.equals(propertyPath.getName()))) {
continue propertyPathLoop;
- if(type != null && !type.equals(propertyPath.getType()))
+ }
+ if (type != null && !type.equals(propertyPath.getType())) {
continue propertyPathLoop;
+ }
return propertyPath;
}
return null;
@@ -223,14 +228,15 @@ public class NestedConnectorEndImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_ConnectorEnd(ConnectorEnd newBase_ConnectorEnd) {
ConnectorEnd oldBase_ConnectorEnd = base_ConnectorEnd;
base_ConnectorEnd = newBase_ConnectorEnd;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END, oldBase_ConnectorEnd, base_ConnectorEnd));
+ }
}
} // NestedConnectorEndImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ParticipantPropertyImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ParticipantPropertyImpl.java
index 042598360d7..7301290b477 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ParticipantPropertyImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ParticipantPropertyImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -31,7 +31,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ParticipantPropertyImpl#getEnd <em>End</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implements ParticipantProperty {
@@ -40,7 +40,7 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Property()
* @generated
* @ordered
@@ -50,7 +50,7 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* The cached value of the '{@link #getEnd() <em>End</em>}' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getEnd()
* @generated
* @ordered
@@ -59,7 +59,7 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ParticipantPropertyImpl() {
@@ -68,7 +68,7 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property basicGetBase_Property() {
@@ -77,7 +77,7 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property basicGetEnd() {
@@ -86,19 +86,21 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY:
- if(resolve)
+ if (resolve) {
return getBase_Property();
+ }
return basicGetBase_Property();
case BlocksPackage.PARTICIPANT_PROPERTY__END:
- if(resolve)
+ if (resolve) {
return getEnd();
+ }
return basicGetEnd();
}
return super.eGet(featureID, resolve, coreType);
@@ -106,12 +108,12 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY:
return base_Property != null;
case BlocksPackage.PARTICIPANT_PROPERTY__END:
@@ -122,17 +124,17 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)newValue);
+ setBase_Property((Property) newValue);
return;
case BlocksPackage.PARTICIPANT_PROPERTY__END:
- setEnd((Property)newValue);
+ setEnd((Property) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -140,7 +142,7 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -150,17 +152,17 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)null);
+ setBase_Property((Property) null);
return;
case BlocksPackage.PARTICIPANT_PROPERTY__END:
- setEnd((Property)null);
+ setEnd((Property) null);
return;
}
super.eUnset(featureID);
@@ -168,16 +170,17 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property getBase_Property() {
- if(base_Property != null && base_Property.eIsProxy()) {
- InternalEObject oldBase_Property = (InternalEObject)base_Property;
- base_Property = (Property)eResolveProxy(oldBase_Property);
- if(base_Property != oldBase_Property) {
- if(eNotificationRequired())
+ if (base_Property != null && base_Property.eIsProxy()) {
+ InternalEObject oldBase_Property = (InternalEObject) base_Property;
+ base_Property = (Property) eResolveProxy(oldBase_Property);
+ if (base_Property != oldBase_Property) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
}
return base_Property;
@@ -185,16 +188,17 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property getEnd() {
- if(end != null && end.eIsProxy()) {
- InternalEObject oldEnd = (InternalEObject)end;
- end = (Property)eResolveProxy(oldEnd);
- if(end != oldEnd) {
- if(eNotificationRequired())
+ if (end != null && end.eIsProxy()) {
+ InternalEObject oldEnd = (InternalEObject) end;
+ end = (Property) eResolveProxy(oldEnd);
+ if (end != oldEnd) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.PARTICIPANT_PROPERTY__END, oldEnd, end));
+ }
}
}
return end;
@@ -202,26 +206,28 @@ public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setEnd(Property newEnd) {
Property oldEnd = end;
end = newEnd;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.PARTICIPANT_PROPERTY__END, oldEnd, end));
+ }
}
} // ParticipantPropertyImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/PropertySpecificTypeImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/PropertySpecificTypeImpl.java
index 0f993f80b9f..b8d9adb4683 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/PropertySpecificTypeImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/PropertySpecificTypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Classifier;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.PropertySpecificTypeImpl#getBase_Classifier <em>Base Classifier</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container implements PropertySpecificType {
@@ -39,7 +39,7 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
* The cached value of the '{@link #getBase_Classifier() <em>Base Classifier</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Classifier()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected PropertySpecificTypeImpl() {
@@ -57,7 +57,7 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Classifier basicGetBase_Classifier() {
@@ -66,15 +66,16 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER:
- if(resolve)
+ if (resolve) {
return getBase_Classifier();
+ }
return basicGetBase_Classifier();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER:
return base_Classifier != null;
}
@@ -96,14 +97,14 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER:
- setBase_Classifier((Classifier)newValue);
+ setBase_Classifier((Classifier) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER:
- setBase_Classifier((Classifier)null);
+ setBase_Classifier((Classifier) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Classifier getBase_Classifier() {
- if(base_Classifier != null && base_Classifier.eIsProxy()) {
- InternalEObject oldBase_Classifier = (InternalEObject)base_Classifier;
- base_Classifier = (Classifier)eResolveProxy(oldBase_Classifier);
- if(base_Classifier != oldBase_Classifier) {
- if(eNotificationRequired())
+ if (base_Classifier != null && base_Classifier.eIsProxy()) {
+ InternalEObject oldBase_Classifier = (InternalEObject) base_Classifier;
+ base_Classifier = (Classifier) eResolveProxy(oldBase_Classifier);
+ if (base_Classifier != oldBase_Classifier) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier));
+ }
}
}
return base_Classifier;
@@ -153,14 +155,15 @@ public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container imple
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Classifier(Classifier newBase_Classifier) {
Classifier oldBase_Classifier = base_Classifier;
base_Classifier = newBase_Classifier;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier));
+ }
}
} // PropertySpecificTypeImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/UnitImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/UnitImpl.java
index aea627046b7..71961f77080 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/UnitImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/UnitImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -32,7 +32,7 @@ import org.eclipse.uml2.uml.InstanceSpecification;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.UnitImpl#getDimension <em>Dimension</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
@@ -41,7 +41,7 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
* The cached value of the '{@link #getBase_InstanceSpecification() <em>Base Instance Specification</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBase_InstanceSpecification()
* @generated
* @ordered
@@ -51,7 +51,7 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* The cached value of the '{@link #getDimension() <em>Dimension</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getDimension()
* @generated
* @ordered
@@ -60,7 +60,7 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected UnitImpl() {
@@ -69,7 +69,7 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InstanceSpecification basicGetBase_InstanceSpecification() {
@@ -78,7 +78,7 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Dimension basicGetDimension() {
@@ -87,19 +87,21 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.UNIT__BASE_INSTANCE_SPECIFICATION:
- if(resolve)
+ if (resolve) {
return getBase_InstanceSpecification();
+ }
return basicGetBase_InstanceSpecification();
case BlocksPackage.UNIT__DIMENSION:
- if(resolve)
+ if (resolve) {
return getDimension();
+ }
return basicGetDimension();
}
return super.eGet(featureID, resolve, coreType);
@@ -107,12 +109,12 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.UNIT__BASE_INSTANCE_SPECIFICATION:
return base_InstanceSpecification != null;
case BlocksPackage.UNIT__DIMENSION:
@@ -123,17 +125,17 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.UNIT__BASE_INSTANCE_SPECIFICATION:
- setBase_InstanceSpecification((InstanceSpecification)newValue);
+ setBase_InstanceSpecification((InstanceSpecification) newValue);
return;
case BlocksPackage.UNIT__DIMENSION:
- setDimension((Dimension)newValue);
+ setDimension((Dimension) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -141,7 +143,7 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -151,17 +153,17 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.UNIT__BASE_INSTANCE_SPECIFICATION:
- setBase_InstanceSpecification((InstanceSpecification)null);
+ setBase_InstanceSpecification((InstanceSpecification) null);
return;
case BlocksPackage.UNIT__DIMENSION:
- setDimension((Dimension)null);
+ setDimension((Dimension) null);
return;
}
super.eUnset(featureID);
@@ -169,16 +171,17 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InstanceSpecification getBase_InstanceSpecification() {
- if(base_InstanceSpecification != null && base_InstanceSpecification.eIsProxy()) {
- InternalEObject oldBase_InstanceSpecification = (InternalEObject)base_InstanceSpecification;
- base_InstanceSpecification = (InstanceSpecification)eResolveProxy(oldBase_InstanceSpecification);
- if(base_InstanceSpecification != oldBase_InstanceSpecification) {
- if(eNotificationRequired())
+ if (base_InstanceSpecification != null && base_InstanceSpecification.eIsProxy()) {
+ InternalEObject oldBase_InstanceSpecification = (InternalEObject) base_InstanceSpecification;
+ base_InstanceSpecification = (InstanceSpecification) eResolveProxy(oldBase_InstanceSpecification);
+ if (base_InstanceSpecification != oldBase_InstanceSpecification) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.UNIT__BASE_INSTANCE_SPECIFICATION, oldBase_InstanceSpecification, base_InstanceSpecification));
+ }
}
}
return base_InstanceSpecification;
@@ -186,16 +189,17 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Dimension getDimension() {
- if(dimension != null && dimension.eIsProxy()) {
- InternalEObject oldDimension = (InternalEObject)dimension;
- dimension = (Dimension)eResolveProxy(oldDimension);
- if(dimension != oldDimension) {
- if(eNotificationRequired())
+ if (dimension != null && dimension.eIsProxy()) {
+ InternalEObject oldDimension = (InternalEObject) dimension;
+ dimension = (Dimension) eResolveProxy(oldDimension);
+ if (dimension != oldDimension) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.UNIT__DIMENSION, oldDimension, dimension));
+ }
}
}
return dimension;
@@ -203,26 +207,28 @@ public class UnitImpl extends MinimalEObjectImpl.Container implements Unit {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_InstanceSpecification(InstanceSpecification newBase_InstanceSpecification) {
InstanceSpecification oldBase_InstanceSpecification = base_InstanceSpecification;
base_InstanceSpecification = newBase_InstanceSpecification;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.UNIT__BASE_INSTANCE_SPECIFICATION, oldBase_InstanceSpecification, base_InstanceSpecification));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setDimension(Dimension newDimension) {
Dimension oldDimension = dimension;
dimension = newDimension;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.UNIT__DIMENSION, oldDimension, dimension));
+ }
}
} // UnitImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ValueTypeImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ValueTypeImpl.java
index a0419b89f89..4843cab3122 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ValueTypeImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/internal/impl/ValueTypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -34,7 +34,7 @@ import org.eclipse.uml2.uml.DataType;
* <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl#getDimension <em>Dimension</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ValueTypeImpl extends MinimalEObjectImpl.Container implements ValueType {
@@ -43,7 +43,7 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
* The cached value of the '{@link #getBase_DataType() <em>Base Data Type</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_DataType()
* @generated
* @ordered
@@ -53,7 +53,7 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* The cached value of the '{@link #getUnit() <em>Unit</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getUnit()
* @generated
* @ordered
@@ -63,7 +63,7 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* The cached value of the '{@link #getDimension() <em>Dimension</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getDimension()
* @generated
* @ordered
@@ -72,7 +72,7 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ValueTypeImpl() {
@@ -81,7 +81,7 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DataType basicGetBase_DataType() {
@@ -90,7 +90,7 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Dimension basicGetDimension() {
@@ -99,7 +99,7 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Unit basicGetUnit() {
@@ -108,23 +108,26 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE:
- if(resolve)
+ if (resolve) {
return getBase_DataType();
+ }
return basicGetBase_DataType();
case BlocksPackage.VALUE_TYPE__UNIT:
- if(resolve)
+ if (resolve) {
return getUnit();
+ }
return basicGetUnit();
case BlocksPackage.VALUE_TYPE__DIMENSION:
- if(resolve)
+ if (resolve) {
return getDimension();
+ }
return basicGetDimension();
}
return super.eGet(featureID, resolve, coreType);
@@ -132,12 +135,12 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE:
return base_DataType != null;
case BlocksPackage.VALUE_TYPE__UNIT:
@@ -150,20 +153,20 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE:
- setBase_DataType((DataType)newValue);
+ setBase_DataType((DataType) newValue);
return;
case BlocksPackage.VALUE_TYPE__UNIT:
- setUnit((Unit)newValue);
+ setUnit((Unit) newValue);
return;
case BlocksPackage.VALUE_TYPE__DIMENSION:
- setDimension((Dimension)newValue);
+ setDimension((Dimension) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -171,7 +174,7 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -181,20 +184,20 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE:
- setBase_DataType((DataType)null);
+ setBase_DataType((DataType) null);
return;
case BlocksPackage.VALUE_TYPE__UNIT:
- setUnit((Unit)null);
+ setUnit((Unit) null);
return;
case BlocksPackage.VALUE_TYPE__DIMENSION:
- setDimension((Dimension)null);
+ setDimension((Dimension) null);
return;
}
super.eUnset(featureID);
@@ -202,16 +205,17 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DataType getBase_DataType() {
- if(base_DataType != null && base_DataType.eIsProxy()) {
- InternalEObject oldBase_DataType = (InternalEObject)base_DataType;
- base_DataType = (DataType)eResolveProxy(oldBase_DataType);
- if(base_DataType != oldBase_DataType) {
- if(eNotificationRequired())
+ if (base_DataType != null && base_DataType.eIsProxy()) {
+ InternalEObject oldBase_DataType = (InternalEObject) base_DataType;
+ base_DataType = (DataType) eResolveProxy(oldBase_DataType);
+ if (base_DataType != oldBase_DataType) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType));
+ }
}
}
return base_DataType;
@@ -219,16 +223,17 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Dimension getDimension() {
- if(dimension != null && dimension.eIsProxy()) {
- InternalEObject oldDimension = (InternalEObject)dimension;
- dimension = (Dimension)eResolveProxy(oldDimension);
- if(dimension != oldDimension) {
- if(eNotificationRequired())
+ if (dimension != null && dimension.eIsProxy()) {
+ InternalEObject oldDimension = (InternalEObject) dimension;
+ dimension = (Dimension) eResolveProxy(oldDimension);
+ if (dimension != oldDimension) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.VALUE_TYPE__DIMENSION, oldDimension, dimension));
+ }
}
}
return dimension;
@@ -236,16 +241,17 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Unit getUnit() {
- if(unit != null && unit.eIsProxy()) {
- InternalEObject oldUnit = (InternalEObject)unit;
- unit = (Unit)eResolveProxy(oldUnit);
- if(unit != oldUnit) {
- if(eNotificationRequired())
+ if (unit != null && unit.eIsProxy()) {
+ InternalEObject oldUnit = (InternalEObject) unit;
+ unit = (Unit) eResolveProxy(oldUnit);
+ if (unit != oldUnit) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.VALUE_TYPE__UNIT, oldUnit, unit));
+ }
}
}
return unit;
@@ -253,38 +259,41 @@ public class ValueTypeImpl extends MinimalEObjectImpl.Container implements Value
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_DataType(DataType newBase_DataType) {
DataType oldBase_DataType = base_DataType;
base_DataType = newBase_DataType;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setDimension(Dimension newDimension) {
Dimension oldDimension = dimension;
dimension = newDimension;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.VALUE_TYPE__DIMENSION, oldDimension, dimension));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setUnit(Unit newUnit) {
Unit oldUnit = unit;
unit = newUnit;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.VALUE_TYPE__UNIT, oldUnit, unit));
+ }
}
} // ValueTypeImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksAdapterFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksAdapterFactory.java
index fce41dd0bb9..6ae8cdf0bc0 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksAdapterFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -33,7 +33,7 @@ import org.eclipse.papyrus.sysml.blocks.ValueType;
* <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides
* an adapter <code>createXXX</code> method for each class of the model. <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage
* @generated
*/
@@ -42,7 +42,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static BlocksPackage modelPackage;
@@ -50,7 +50,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
/**
* The switch that delegates to the <code>createXXX</code> methods. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected BlocksSwitch<Adapter> modelSwitch = new BlocksSwitch<Adapter>() {
@@ -115,11 +115,11 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public BlocksAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = BlocksPackage.eINSTANCE;
}
}
@@ -128,15 +128,15 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
- * the object to adapt.
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -145,7 +145,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.BindingConnector
* @generated
@@ -159,7 +159,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* begin-user-doc --> This default implementation returns null so that we
* can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.Block
* @generated
@@ -174,7 +174,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.ConnectorProperty
* @generated
@@ -188,7 +188,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This default implementation returns null so that
* we can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.Dimension
* @generated
@@ -203,7 +203,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.DistributedProperty
* @generated
@@ -216,7 +216,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* Creates a new adapter for the default case.
* <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
@@ -230,7 +230,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd
* @generated
@@ -245,7 +245,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.ParticipantProperty
* @generated
@@ -260,7 +260,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.PropertySpecificType
* @generated
@@ -274,7 +274,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* begin-user-doc --> This default implementation returns null so that we
* can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.Unit
* @generated
@@ -288,7 +288,7 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This default implementation returns null so that
* we can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.ValueType
* @generated
@@ -302,17 +302,17 @@ public class BlocksAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This implementation returns <code>true</code> if
* the object is either the model's package or is an instance object of the
* model. <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceFactoryImpl.java
index 47e0371f3e3..5a962900af0 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.xmi.XMLResource;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.util.BlocksResourceImpl
* @generated
*/
@@ -31,7 +31,7 @@ public class BlocksResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public BlocksResourceFactoryImpl() {
@@ -42,7 +42,7 @@ public class BlocksResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceImpl.java
index c8345f8ec1f..87abe63419f 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.util.BlocksResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class BlocksResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public BlocksResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksSwitch.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksSwitch.java
index 42a4d1f0d6a..156cdb357f5 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksSwitch.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -34,7 +34,7 @@ import org.eclipse.papyrus.sysml.blocks.ValueType;
* starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the
* result of the switch. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.blocks.BlocksPackage
* @generated
*/
@@ -43,7 +43,7 @@ public class BlocksSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static BlocksPackage modelPackage;
@@ -52,11 +52,11 @@ public class BlocksSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public BlocksSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = BlocksPackage.eINSTANCE;
}
}
@@ -64,7 +64,7 @@ public class BlocksSwitch<T> extends Switch<T> {
/**
* Checks whether this is a switch for the given package. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -79,9 +79,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Binding Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -95,9 +95,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Block</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -111,9 +111,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Connector Property</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -127,9 +127,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Dimension</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -143,9 +143,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate
* the switch. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Distributed Property</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -159,9 +159,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate
* the switch. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Nested Connector End</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -175,9 +175,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate
* the switch. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Participant Property</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -191,9 +191,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate
* the switch. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Property Specific Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -206,9 +206,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of ' <em>Unit</em>'. <!-- begin-user-doc --> This implementation returns null;
* returning a non-null result will terminate the switch. <!-- end-user-doc
* -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of ' <em>Unit</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -222,9 +222,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Value Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -238,9 +238,9 @@ public class BlocksSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch, but this is
* the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -254,91 +254,91 @@ public class BlocksSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case BlocksPackage.BLOCK:
- {
- Block block = (Block)theEObject;
+ switch (classifierID) {
+ case BlocksPackage.BLOCK: {
+ Block block = (Block) theEObject;
T result = caseBlock(block);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case BlocksPackage.DISTRIBUTED_PROPERTY:
- {
- DistributedProperty distributedProperty = (DistributedProperty)theEObject;
+ case BlocksPackage.DISTRIBUTED_PROPERTY: {
+ DistributedProperty distributedProperty = (DistributedProperty) theEObject;
T result = caseDistributedProperty(distributedProperty);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case BlocksPackage.DIMENSION:
- {
- Dimension dimension = (Dimension)theEObject;
+ case BlocksPackage.DIMENSION: {
+ Dimension dimension = (Dimension) theEObject;
T result = caseDimension(dimension);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case BlocksPackage.UNIT:
- {
- Unit unit = (Unit)theEObject;
+ case BlocksPackage.UNIT: {
+ Unit unit = (Unit) theEObject;
T result = caseUnit(unit);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case BlocksPackage.VALUE_TYPE:
- {
- ValueType valueType = (ValueType)theEObject;
+ case BlocksPackage.VALUE_TYPE: {
+ ValueType valueType = (ValueType) theEObject;
T result = caseValueType(valueType);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case BlocksPackage.NESTED_CONNECTOR_END:
- {
- NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd)theEObject;
+ case BlocksPackage.NESTED_CONNECTOR_END: {
+ NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd) theEObject;
T result = caseNestedConnectorEnd(nestedConnectorEnd);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case BlocksPackage.PARTICIPANT_PROPERTY:
- {
- ParticipantProperty participantProperty = (ParticipantProperty)theEObject;
+ case BlocksPackage.PARTICIPANT_PROPERTY: {
+ ParticipantProperty participantProperty = (ParticipantProperty) theEObject;
T result = caseParticipantProperty(participantProperty);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case BlocksPackage.CONNECTOR_PROPERTY:
- {
- ConnectorProperty connectorProperty = (ConnectorProperty)theEObject;
+ case BlocksPackage.CONNECTOR_PROPERTY: {
+ ConnectorProperty connectorProperty = (ConnectorProperty) theEObject;
T result = caseConnectorProperty(connectorProperty);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case BlocksPackage.BINDING_CONNECTOR:
- {
- BindingConnector bindingConnector = (BindingConnector)theEObject;
+ case BlocksPackage.BINDING_CONNECTOR: {
+ BindingConnector bindingConnector = (BindingConnector) theEObject;
T result = caseBindingConnector(bindingConnector);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case BlocksPackage.PROPERTY_SPECIFIC_TYPE:
- {
- PropertySpecificType propertySpecificType = (PropertySpecificType)theEObject;
+ case BlocksPackage.PROPERTY_SPECIFIC_TYPE: {
+ PropertySpecificType propertySpecificType = (PropertySpecificType) theEObject;
T result = casePropertySpecificType(propertySpecificType);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
default:
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksXMLProcessor.java
index 4d0672a5ad0..eb30b3fa200 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/util/BlocksXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.blocks.BlocksPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class BlocksXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class BlocksXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public BlocksXMLProcessor() {
@@ -43,12 +43,12 @@ public class BlocksXMLProcessor extends XMLProcessor {
/**
* Register for "*" and "xml" file extensions the BlocksResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new BlocksResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new BlocksResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintBlock.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintBlock.java
index 22cdf1639da..d9c75fac405 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintBlock.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintBlock.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -17,8 +17,8 @@ import org.eclipse.papyrus.sysml.blocks.Block;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Constraint Block</b></em>'. <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.sysml.constraints.ConstraintsPackage#getConstraintBlock()
* @model
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintProperty.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintProperty.java
index 4a121dc3c72..350d0190078 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintProperty.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintProperty.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Property;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Constraint Property</b></em> '. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.constraints.ConstraintProperty#getBase_Property <em>Base Property</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.ConstraintsPackage#getConstraintProperty()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface ConstraintProperty extends EObject {
* If the meaning of the '<em>Base Property</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.sysml.constraints.ConstraintsPackage#getConstraintProperty_Base_Property()
@@ -52,9 +52,9 @@ public interface ConstraintProperty extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.constraints.ConstraintProperty#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Property</em>' reference.
+ * the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsFactory.java
index a3a05aea711..73abc20d691 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.ConstraintsPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface ConstraintsFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
ConstraintsFactory eINSTANCE = org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintsFactoryImpl.init();
@@ -36,7 +36,7 @@ public interface ConstraintsFactory extends EFactory {
/**
* Returns a new object of class '<em>Constraint Block</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Constraint Block</em>'.
* @generated
*/
@@ -45,7 +45,7 @@ public interface ConstraintsFactory extends EFactory {
/**
* Returns a new object of class '<em>Constraint Property</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Constraint Property</em>'.
* @generated
*/
@@ -55,7 +55,7 @@ public interface ConstraintsFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsPackage.java
index 261c4f090c6..4691bc26b0b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/ConstraintsPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -28,7 +28,7 @@ import org.eclipse.papyrus.sysml.blocks.BlocksPackage;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.ConstraintsFactory
* @model kind="package"
* @generated
@@ -45,7 +45,7 @@ public interface ConstraintsPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -55,7 +55,7 @@ public interface ConstraintsPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintBlockImpl
* @see org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintsPackageImpl#getConstraintBlock()
* @generated
@@ -67,7 +67,7 @@ public interface ConstraintsPackage extends EPackage {
* <em>Constraint Property</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintPropertyImpl
* @see org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintsPackageImpl#getConstraintProperty()
* @generated
@@ -77,7 +77,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Property</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CONSTRAINT_PROPERTY__BASE_PROPERTY = eINSTANCE.getConstraintProperty_Base_Property();
@@ -87,7 +87,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "constraints";
@@ -95,7 +95,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/Constraints";
@@ -103,7 +103,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "Constraints";
@@ -112,7 +112,7 @@ public interface ConstraintsPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
ConstraintsPackage eINSTANCE = org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintsPackageImpl.init();
@@ -121,7 +121,7 @@ public interface ConstraintsPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintBlockImpl <em>Constraint Block</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintBlockImpl
* @see org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintsPackageImpl#getConstraintBlock()
* @generated
@@ -131,7 +131,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* The feature id for the '<em><b>Is Encapsulated</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -140,7 +140,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Class</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -149,7 +149,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* The number of structural features of the '<em>Constraint Block</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -159,7 +159,7 @@ public interface ConstraintsPackage extends EPackage {
* The number of operations of the '<em>Constraint Block</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -170,7 +170,7 @@ public interface ConstraintsPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintPropertyImpl
* @see org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintsPackageImpl#getConstraintProperty()
* @generated
@@ -180,7 +180,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Property</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -189,7 +189,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* The number of structural features of the '<em>Constraint Property</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -199,7 +199,7 @@ public interface ConstraintsPackage extends EPackage {
* The number of operations of the '<em>Constraint Property</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -209,7 +209,7 @@ public interface ConstraintsPackage extends EPackage {
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.constraints.ConstraintBlock
* <em>Constraint Block</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for class '<em>Constraint Block</em>'.
* @see org.eclipse.papyrus.sysml.constraints.ConstraintBlock
* @generated
@@ -220,7 +220,7 @@ public interface ConstraintsPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.constraints.ConstraintProperty <em>Constraint Property</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Constraint Property</em>'.
* @see org.eclipse.papyrus.sysml.constraints.ConstraintProperty
* @generated
@@ -231,7 +231,7 @@ public interface ConstraintsPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.constraints.ConstraintProperty#getBase_Property
* <em>Base Property</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Property</em>'.
* @see org.eclipse.papyrus.sysml.constraints.ConstraintProperty#getBase_Property()
* @see #getConstraintProperty()
@@ -242,7 +242,7 @@ public interface ConstraintsPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintBlockImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintBlockImpl.java
index a3eafe5ab31..0188057f884 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintBlockImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintBlockImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -22,14 +22,14 @@ import org.eclipse.papyrus.sysml.constraints.ConstraintsPackage;
* <!-- begin-user-doc --> An implementation of the model object ' <em><b>Constraint Block</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class ConstraintBlockImpl extends BlockImpl implements ConstraintBlock {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ConstraintBlockImpl() {
@@ -38,7 +38,7 @@ public class ConstraintBlockImpl extends BlockImpl implements ConstraintBlock {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintPropertyImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintPropertyImpl.java
index 5db8fdeeb53..0aa5cc418ba 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintPropertyImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintPropertyImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.sysml.constraints.internal.impl.ConstraintPropertyImpl#getBase_Property <em>Base Property</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container implements ConstraintProperty {
@@ -39,7 +39,7 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Property()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ConstraintPropertyImpl() {
@@ -57,7 +57,7 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property basicGetBase_Property() {
@@ -66,15 +66,16 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ConstraintsPackage.CONSTRAINT_PROPERTY__BASE_PROPERTY:
- if(resolve)
+ if (resolve) {
return getBase_Property();
+ }
return basicGetBase_Property();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ConstraintsPackage.CONSTRAINT_PROPERTY__BASE_PROPERTY:
return base_Property != null;
}
@@ -96,14 +97,14 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ConstraintsPackage.CONSTRAINT_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)newValue);
+ setBase_Property((Property) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ConstraintsPackage.CONSTRAINT_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)null);
+ setBase_Property((Property) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property getBase_Property() {
- if(base_Property != null && base_Property.eIsProxy()) {
- InternalEObject oldBase_Property = (InternalEObject)base_Property;
- base_Property = (Property)eResolveProxy(oldBase_Property);
- if(base_Property != oldBase_Property) {
- if(eNotificationRequired())
+ if (base_Property != null && base_Property.eIsProxy()) {
+ InternalEObject oldBase_Property = (InternalEObject) base_Property;
+ base_Property = (Property) eResolveProxy(oldBase_Property);
+ if (base_Property != oldBase_Property) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConstraintsPackage.CONSTRAINT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
}
return base_Property;
@@ -153,14 +155,15 @@ public class ConstraintPropertyImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConstraintsPackage.CONSTRAINT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
} // ConstraintPropertyImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsFactoryImpl.java
index 567f3c5a70d..68cbd0f1be1 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -26,14 +26,14 @@ import org.eclipse.papyrus.sysml.constraints.ConstraintsPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class ConstraintsFactoryImpl extends EFactoryImpl implements ConstraintsFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -46,13 +46,13 @@ public class ConstraintsFactoryImpl extends EFactoryImpl implements ConstraintsF
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static ConstraintsFactory init() {
try {
- ConstraintsFactory theConstraintsFactory = (ConstraintsFactory)EPackage.Registry.INSTANCE.getEFactory(ConstraintsPackage.eNS_URI);
- if(theConstraintsFactory != null) {
+ ConstraintsFactory theConstraintsFactory = (ConstraintsFactory) EPackage.Registry.INSTANCE.getEFactory(ConstraintsPackage.eNS_URI);
+ if (theConstraintsFactory != null) {
return theConstraintsFactory;
}
} catch (Exception exception) {
@@ -65,7 +65,7 @@ public class ConstraintsFactoryImpl extends EFactoryImpl implements ConstraintsF
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ConstraintsFactoryImpl() {
@@ -74,12 +74,12 @@ public class ConstraintsFactoryImpl extends EFactoryImpl implements ConstraintsF
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
case ConstraintsPackage.CONSTRAINT_BLOCK:
return createConstraintBlock();
case ConstraintsPackage.CONSTRAINT_PROPERTY:
@@ -91,7 +91,7 @@ public class ConstraintsFactoryImpl extends EFactoryImpl implements ConstraintsF
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ConstraintBlock createConstraintBlock() {
@@ -101,7 +101,7 @@ public class ConstraintsFactoryImpl extends EFactoryImpl implements ConstraintsF
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ConstraintProperty createConstraintProperty() {
@@ -111,11 +111,11 @@ public class ConstraintsFactoryImpl extends EFactoryImpl implements ConstraintsF
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ConstraintsPackage getConstraintsPackage() {
- return (ConstraintsPackage)getEPackage();
+ return (ConstraintsPackage) getEPackage();
}
} // ConstraintsFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsPackageImpl.java
index 11d28de59e2..89a8f9ea5f0 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/internal/impl/ConstraintsPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -47,36 +47,36 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link ConstraintsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link ConstraintsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static ConstraintsPackage init() {
- if(isInited)
- return (ConstraintsPackage)EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI);
+ if (isInited) {
+ return (ConstraintsPackage) EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI);
+ }
// Obtain or create and register package
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConstraintsPackageImpl());
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConstraintsPackageImpl());
isInited = true;
@@ -84,16 +84,24 @@ public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsP
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
theConstraintsPackage.createPackageContents();
@@ -132,28 +140,28 @@ public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass constraintBlockEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass constraintPropertyEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -163,9 +171,8 @@ public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsP
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.constraints.ConstraintsPackage#eNS_URI
* @see #init()
@@ -180,12 +187,13 @@ public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsP
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create classes and their features
@@ -197,7 +205,7 @@ public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getConstraintBlock() {
@@ -206,7 +214,7 @@ public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getConstraintProperty() {
@@ -215,32 +223,33 @@ public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getConstraintProperty_Base_Property() {
- return (EReference)constraintPropertyEClass.getEStructuralFeatures().get(0);
+ return (EReference) constraintPropertyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ConstraintsFactory getConstraintsFactory() {
- return (ConstraintsFactory)getEFactoryInstance();
+ return (ConstraintsFactory) getEFactoryInstance();
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -249,8 +258,8 @@ public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsP
setNsURI(eNS_URI);
// Obtain other dependent packages
- BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ BlocksPackage theBlocksPackage = (BlocksPackage) EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
// Create type parameters
@@ -263,7 +272,8 @@ public class ConstraintsPackageImpl extends EPackageImpl implements ConstraintsP
initEClass(constraintBlockEClass, ConstraintBlock.class, "ConstraintBlock", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(constraintPropertyEClass, ConstraintProperty.class, "ConstraintProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConstraintProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, ConstraintProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getConstraintProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, ConstraintProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
}
} // ConstraintsPackageImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsAdapterFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsAdapterFactory.java
index 507fa6012ff..84356821915 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsAdapterFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -26,7 +26,7 @@ import org.eclipse.papyrus.sysml.constraints.ConstraintsPackage;
* <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides
* an adapter <code>createXXX</code> method for each class of the model. <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.ConstraintsPackage
* @generated
*/
@@ -35,7 +35,7 @@ public class ConstraintsAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static ConstraintsPackage modelPackage;
@@ -43,7 +43,7 @@ public class ConstraintsAdapterFactory extends AdapterFactoryImpl {
/**
* The switch that delegates to the <code>createXXX</code> methods. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ConstraintsSwitch<Adapter> modelSwitch = new ConstraintsSwitch<Adapter>() {
@@ -73,11 +73,11 @@ public class ConstraintsAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ConstraintsAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = ConstraintsPackage.eINSTANCE;
}
}
@@ -86,15 +86,15 @@ public class ConstraintsAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
- * the object to adapt.
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -102,7 +102,7 @@ public class ConstraintsAdapterFactory extends AdapterFactoryImpl {
* begin-user-doc --> This default implementation returns null so that we
* can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.blocks.Block
* @generated
@@ -117,7 +117,7 @@ public class ConstraintsAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.constraints.ConstraintBlock
* @generated
@@ -132,7 +132,7 @@ public class ConstraintsAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.constraints.ConstraintProperty
* @generated
@@ -145,7 +145,7 @@ public class ConstraintsAdapterFactory extends AdapterFactoryImpl {
* Creates a new adapter for the default case.
* <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
@@ -158,17 +158,17 @@ public class ConstraintsAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This implementation returns <code>true</code> if
* the object is either the model's package or is an instance object of the
* model. <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceFactoryImpl.java
index d4f12ed1071..687fd9c276c 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.xmi.XMLResource;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.util.ConstraintsResourceImpl
* @generated
*/
@@ -31,7 +31,7 @@ public class ConstraintsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ConstraintsResourceFactoryImpl() {
@@ -42,7 +42,7 @@ public class ConstraintsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceImpl.java
index 5d08f636249..0e9be1f291e 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.util.ConstraintsResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class ConstraintsResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public ConstraintsResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsSwitch.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsSwitch.java
index 727f49c681f..2dc10fca777 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsSwitch.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -27,7 +27,7 @@ import org.eclipse.papyrus.sysml.constraints.ConstraintsPackage;
* starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the
* result of the switch. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.constraints.ConstraintsPackage
* @generated
*/
@@ -36,7 +36,7 @@ public class ConstraintsSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static ConstraintsPackage modelPackage;
@@ -45,11 +45,11 @@ public class ConstraintsSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ConstraintsSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = ConstraintsPackage.eINSTANCE;
}
}
@@ -57,7 +57,7 @@ public class ConstraintsSwitch<T> extends Switch<T> {
/**
* Checks whether this is a switch for the given package. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -72,9 +72,9 @@ public class ConstraintsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Block</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -88,9 +88,9 @@ public class ConstraintsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Constraint Block</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -104,9 +104,9 @@ public class ConstraintsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate
* the switch. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Constraint Property</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -120,9 +120,9 @@ public class ConstraintsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch, but this is
* the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -136,29 +136,30 @@ public class ConstraintsSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case ConstraintsPackage.CONSTRAINT_BLOCK:
- {
- ConstraintBlock constraintBlock = (ConstraintBlock)theEObject;
+ switch (classifierID) {
+ case ConstraintsPackage.CONSTRAINT_BLOCK: {
+ ConstraintBlock constraintBlock = (ConstraintBlock) theEObject;
T result = caseConstraintBlock(constraintBlock);
- if(result == null)
+ if (result == null) {
result = caseBlock(constraintBlock);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ConstraintsPackage.CONSTRAINT_PROPERTY:
- {
- ConstraintProperty constraintProperty = (ConstraintProperty)theEObject;
+ case ConstraintsPackage.CONSTRAINT_PROPERTY: {
+ ConstraintProperty constraintProperty = (ConstraintProperty) theEObject;
T result = caseConstraintProperty(constraintProperty);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
default:
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsXMLProcessor.java
index b57b06a1cf9..966f70fe144 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraints/util/ConstraintsXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.constraints.ConstraintsPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class ConstraintsXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class ConstraintsXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ConstraintsXMLProcessor() {
@@ -44,12 +44,12 @@ public class ConstraintsXMLProcessor extends XMLProcessor {
* Register for "*" and "xml" file extensions the ConstraintsResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new ConstraintsResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new ConstraintsResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsFactory.java
index c0ac5a918d3..eb7f89c17e6 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.interactions.InteractionsPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface InteractionsFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
InteractionsFactory eINSTANCE = org.eclipse.papyrus.sysml.interactions.internal.impl.InteractionsFactoryImpl.init();
@@ -37,7 +37,7 @@ public interface InteractionsFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsPackage.java
index c2b2b6e138b..8c787838c94 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/InteractionsPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -26,7 +26,7 @@ import org.eclipse.emf.ecore.EPackage;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.interactions.InteractionsFactory
* @model kind="package"
* @generated
@@ -43,7 +43,7 @@ public interface InteractionsPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -51,7 +51,7 @@ public interface InteractionsPackage extends EPackage {
/**
* The meta object literal for the '<em>Dummy</em>' data type. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see java.lang.String
* @see org.eclipse.papyrus.sysml.interactions.internal.impl.InteractionsPackageImpl#getDummy()
* @generated
@@ -63,7 +63,7 @@ public interface InteractionsPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "interactions";
@@ -71,7 +71,7 @@ public interface InteractionsPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/Interactions";
@@ -79,7 +79,7 @@ public interface InteractionsPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "Interactions";
@@ -88,7 +88,7 @@ public interface InteractionsPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
InteractionsPackage eINSTANCE = org.eclipse.papyrus.sysml.interactions.internal.impl.InteractionsPackageImpl.init();
@@ -96,7 +96,7 @@ public interface InteractionsPackage extends EPackage {
/**
* The meta object id for the '<em>Dummy</em>' data type. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see java.lang.String
* @see org.eclipse.papyrus.sysml.interactions.internal.impl.InteractionsPackageImpl#getDummy()
* @generated
@@ -106,7 +106,7 @@ public interface InteractionsPackage extends EPackage {
/**
* Returns the meta object for data type '{@link java.lang.String <em>Dummy</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for data type '<em>Dummy</em>'.
* @see java.lang.String
* @model instanceClass="java.lang.String"
@@ -117,7 +117,7 @@ public interface InteractionsPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java
index acea8aa2a03..ead420c56aa 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -25,14 +25,14 @@ import org.eclipse.papyrus.sysml.interactions.InteractionsPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class InteractionsFactoryImpl extends EFactoryImpl implements InteractionsFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -45,13 +45,13 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static InteractionsFactory init() {
try {
- InteractionsFactory theInteractionsFactory = (InteractionsFactory)EPackage.Registry.INSTANCE.getEFactory(InteractionsPackage.eNS_URI);
- if(theInteractionsFactory != null) {
+ InteractionsFactory theInteractionsFactory = (InteractionsFactory) EPackage.Registry.INSTANCE.getEFactory(InteractionsPackage.eNS_URI);
+ if (theInteractionsFactory != null) {
return theInteractionsFactory;
}
} catch (Exception exception) {
@@ -64,7 +64,7 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public InteractionsFactoryImpl() {
@@ -73,7 +73,7 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String convertDummyToString(EDataType eDataType, Object instanceValue) {
@@ -82,12 +82,12 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case InteractionsPackage.DUMMY:
return convertDummyToString(eDataType, instanceValue);
default:
@@ -97,12 +97,12 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -110,21 +110,21 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String createDummyFromString(EDataType eDataType, String initialValue) {
- return (String)super.createFromString(eDataType, initialValue);
+ return (String) super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case InteractionsPackage.DUMMY:
return createDummyFromString(eDataType, initialValue);
default:
@@ -134,11 +134,11 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InteractionsPackage getInteractionsPackage() {
- return (InteractionsPackage)getEPackage();
+ return (InteractionsPackage) getEPackage();
}
} // InteractionsFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsPackageImpl.java
index 05978f562b2..7ba7936d676 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -43,36 +43,37 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class InteractionsPackageImpl extends EPackageImpl implements InteractionsPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link InteractionsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link InteractionsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static InteractionsPackage init() {
- if(isInited)
- return (InteractionsPackage)EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI);
+ if (isInited) {
+ return (InteractionsPackage) EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI);
+ }
// Obtain or create and register package
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new InteractionsPackageImpl());
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new InteractionsPackageImpl());
isInited = true;
@@ -80,16 +81,24 @@ public class InteractionsPackageImpl extends EPackageImpl implements Interaction
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
theInteractionsPackage.createPackageContents();
@@ -128,21 +137,21 @@ public class InteractionsPackageImpl extends EPackageImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EDataType dummyEDataType = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -152,9 +161,8 @@ public class InteractionsPackageImpl extends EPackageImpl implements Interaction
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.interactions.InteractionsPackage#eNS_URI
* @see #init()
@@ -169,12 +177,13 @@ public class InteractionsPackageImpl extends EPackageImpl implements Interaction
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create data types
@@ -183,7 +192,7 @@ public class InteractionsPackageImpl extends EPackageImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EDataType getDummy() {
@@ -192,23 +201,24 @@ public class InteractionsPackageImpl extends EPackageImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InteractionsFactory getInteractionsFactory() {
- return (InteractionsFactory)getEFactoryInstance();
+ return (InteractionsFactory) getEFactoryInstance();
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceFactoryImpl.java
index c21580c26ad..91ed3d5fe5b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.interactions.util.InteractionsResourceImpl
* @generated
*/
@@ -30,7 +30,7 @@ public class InteractionsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public InteractionsResourceFactoryImpl() {
@@ -41,7 +41,7 @@ public class InteractionsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceImpl.java
index aa1aebf56c3..431b9d01bad 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.interactions.util.InteractionsResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class InteractionsResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public InteractionsResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsXMLProcessor.java
index 32b2ff0735d..39a48567ccb 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/util/InteractionsXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.interactions.InteractionsPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class InteractionsXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class InteractionsXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InteractionsXMLProcessor() {
@@ -44,12 +44,12 @@ public class InteractionsXMLProcessor extends XMLProcessor {
* Register for "*" and "xml" file extensions the InteractionsResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new InteractionsResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new InteractionsResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlFactoryImpl.java
index f45ec114368..2eabd4fe430 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -25,14 +25,14 @@ import org.eclipse.papyrus.sysml.SysmlPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class SysmlFactoryImpl extends EFactoryImpl implements SysmlFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -45,13 +45,13 @@ public class SysmlFactoryImpl extends EFactoryImpl implements SysmlFactory {
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static SysmlFactory init() {
try {
- SysmlFactory theSysmlFactory = (SysmlFactory)EPackage.Registry.INSTANCE.getEFactory(SysmlPackage.eNS_URI);
- if(theSysmlFactory != null) {
+ SysmlFactory theSysmlFactory = (SysmlFactory) EPackage.Registry.INSTANCE.getEFactory(SysmlPackage.eNS_URI);
+ if (theSysmlFactory != null) {
return theSysmlFactory;
}
} catch (Exception exception) {
@@ -64,7 +64,7 @@ public class SysmlFactoryImpl extends EFactoryImpl implements SysmlFactory {
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public SysmlFactoryImpl() {
@@ -73,7 +73,7 @@ public class SysmlFactoryImpl extends EFactoryImpl implements SysmlFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String convertDummyToString(EDataType eDataType, Object instanceValue) {
@@ -82,12 +82,12 @@ public class SysmlFactoryImpl extends EFactoryImpl implements SysmlFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case SysmlPackage.DUMMY:
return convertDummyToString(eDataType, instanceValue);
default:
@@ -97,12 +97,12 @@ public class SysmlFactoryImpl extends EFactoryImpl implements SysmlFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -110,21 +110,21 @@ public class SysmlFactoryImpl extends EFactoryImpl implements SysmlFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String createDummyFromString(EDataType eDataType, String initialValue) {
- return (String)super.createFromString(eDataType, initialValue);
+ return (String) super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case SysmlPackage.DUMMY:
return createDummyFromString(eDataType, initialValue);
default:
@@ -134,11 +134,11 @@ public class SysmlFactoryImpl extends EFactoryImpl implements SysmlFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public SysmlPackage getSysmlPackage() {
- return (SysmlPackage)getEPackage();
+ return (SysmlPackage) getEPackage();
}
} // SysmlFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlPackageImpl.java
index 2cf1284d562..999835470a5 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/impl/SysmlPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -43,36 +43,36 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class SysmlPackageImpl extends EPackageImpl implements SysmlPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link SysmlPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead,
- * they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link SysmlPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static SysmlPackage init() {
- if(isInited)
- return (SysmlPackage)EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI);
+ if (isInited) {
+ return (SysmlPackage) EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI);
+ }
// Obtain or create and register package
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SysmlPackageImpl());
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SysmlPackageImpl());
isInited = true;
@@ -80,16 +80,25 @@ public class SysmlPackageImpl extends EPackageImpl implements SysmlPackage {
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
theSysmlPackage.createPackageContents();
@@ -128,21 +137,21 @@ public class SysmlPackageImpl extends EPackageImpl implements SysmlPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EDataType dummyEDataType = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -152,9 +161,8 @@ public class SysmlPackageImpl extends EPackageImpl implements SysmlPackage {
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.SysmlPackage#eNS_URI
* @see #init()
@@ -169,12 +177,13 @@ public class SysmlPackageImpl extends EPackageImpl implements SysmlPackage {
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create data types
@@ -183,7 +192,7 @@ public class SysmlPackageImpl extends EPackageImpl implements SysmlPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EDataType getDummy() {
@@ -192,23 +201,24 @@ public class SysmlPackageImpl extends EPackageImpl implements SysmlPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public SysmlFactory getSysmlFactory() {
- return (SysmlFactory)getEFactoryInstance();
+ return (SysmlFactory) getEFactoryInstance();
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -217,16 +227,16 @@ public class SysmlPackageImpl extends EPackageImpl implements SysmlPackage {
setNsURI(eNS_URI);
// Obtain other dependent packages
- ModelelementsPackage theModelelementsPackage = (ModelelementsPackage)EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI);
- BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI);
- PortandflowsPackage thePortandflowsPackage = (PortandflowsPackage)EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI);
- ConstraintsPackage theConstraintsPackage = (ConstraintsPackage)EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI);
- ActivitiesPackage theActivitiesPackage = (ActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI);
- AllocationsPackage theAllocationsPackage = (AllocationsPackage)EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI);
- RequirementsPackage theRequirementsPackage = (RequirementsPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI);
- InteractionsPackage theInteractionsPackage = (InteractionsPackage)EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI);
- StatemachinesPackage theStatemachinesPackage = (StatemachinesPackage)EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI);
- UsecasesPackage theUsecasesPackage = (UsecasesPackage)EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI);
+ ModelelementsPackage theModelelementsPackage = (ModelelementsPackage) EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI);
+ BlocksPackage theBlocksPackage = (BlocksPackage) EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI);
+ PortandflowsPackage thePortandflowsPackage = (PortandflowsPackage) EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI);
+ ConstraintsPackage theConstraintsPackage = (ConstraintsPackage) EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI);
+ ActivitiesPackage theActivitiesPackage = (ActivitiesPackage) EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI);
+ AllocationsPackage theAllocationsPackage = (AllocationsPackage) EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI);
+ RequirementsPackage theRequirementsPackage = (RequirementsPackage) EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI);
+ InteractionsPackage theInteractionsPackage = (InteractionsPackage) EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI);
+ StatemachinesPackage theStatemachinesPackage = (StatemachinesPackage) EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI);
+ UsecasesPackage theUsecasesPackage = (UsecasesPackage) EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI);
// Add subpackages
getESubpackages().add(theModelelementsPackage);
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Conform.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Conform.java
index f1868f714d4..d3f2074e506 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Conform.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Conform.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Dependency;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Conform</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.modelelements.Conform#getBase_Dependency <em>Base Dependency</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getConform()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface Conform extends EObject {
* If the meaning of the '<em>Base Dependency</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Dependency</em>' reference.
* @see #setBase_Dependency(Dependency)
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getConform_Base_Dependency()
@@ -52,9 +52,9 @@ public interface Conform extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Conform#getBase_Dependency <em>Base Dependency</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Dependency</em>' reference.
+ * the new value of the '<em>Base Dependency</em>' reference.
* @see #getBase_Dependency()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactory.java
index 97e2245e61f..8e788985acc 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface ModelelementsFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
ModelelementsFactory eINSTANCE = org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsFactoryImpl.init();
@@ -37,7 +37,7 @@ public interface ModelelementsFactory extends EFactory {
* Returns a new object of class '<em>Conform</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Conform</em>'.
* @generated
*/
@@ -47,7 +47,7 @@ public interface ModelelementsFactory extends EFactory {
* Returns a new object of class '<em>Problem</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Problem</em>'.
* @generated
*/
@@ -57,7 +57,7 @@ public interface ModelelementsFactory extends EFactory {
* Returns a new object of class '<em>Rationale</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Rationale</em>'.
* @generated
*/
@@ -67,7 +67,7 @@ public interface ModelelementsFactory extends EFactory {
* Returns a new object of class '<em>View</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>View</em>'.
* @generated
*/
@@ -77,7 +77,7 @@ public interface ModelelementsFactory extends EFactory {
* Returns a new object of class '<em>View Point</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>View Point</em>'.
* @generated
*/
@@ -87,7 +87,7 @@ public interface ModelelementsFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsPackage.java
index 4e7af151416..37f068ce5f5 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.emf.ecore.EReference;
* <!-- end-user-doc --> <!-- begin-model-doc --> The supplier/target must be an
* element stereotyped by <<ViewPoint>> The client/source must be an element
* stereotyped by <<View>> <!-- end-model-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsFactory
* @model kind="package"
* @generated
@@ -47,7 +47,7 @@ public interface ModelelementsPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -56,7 +56,7 @@ public interface ModelelementsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl
* <em>Conform</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getConform()
* @generated
@@ -66,7 +66,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Dependency</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CONFORM__BASE_DEPENDENCY = eINSTANCE.getConform_Base_Dependency();
@@ -74,7 +74,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl <em>View</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getView()
* @generated
@@ -84,7 +84,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>View Point</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference VIEW__VIEW_POINT = eINSTANCE.getView_ViewPoint();
@@ -92,7 +92,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Package</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference VIEW__BASE_PACKAGE = eINSTANCE.getView_Base_Package();
@@ -101,7 +101,7 @@ public interface ModelelementsPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewPointImpl <em>View Point</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewPointImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getViewPoint()
* @generated
@@ -111,7 +111,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference VIEW_POINT__BASE_CLASS = eINSTANCE.getViewPoint_Base_Class();
@@ -119,7 +119,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Stake Holders</b></em>' attribute list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute VIEW_POINT__STAKE_HOLDERS = eINSTANCE.getViewPoint_StakeHolders();
@@ -127,7 +127,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Purpose</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute VIEW_POINT__PURPOSE = eINSTANCE.getViewPoint_Purpose();
@@ -135,7 +135,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Concerns</b></em>' attribute list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute VIEW_POINT__CONCERNS = eINSTANCE.getViewPoint_Concerns();
@@ -143,7 +143,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Languages</b></em>' attribute list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute VIEW_POINT__LANGUAGES = eINSTANCE.getViewPoint_Languages();
@@ -151,7 +151,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Methods</b></em>' attribute list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute VIEW_POINT__METHODS = eINSTANCE.getViewPoint_Methods();
@@ -160,7 +160,7 @@ public interface ModelelementsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl
* <em>Rationale</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getRationale()
* @generated
@@ -170,7 +170,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Comment</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference RATIONALE__BASE_COMMENT = eINSTANCE.getRationale_Base_Comment();
@@ -179,7 +179,7 @@ public interface ModelelementsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl
* <em>Problem</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getProblem()
* @generated
@@ -189,7 +189,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Comment</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference PROBLEM__BASE_COMMENT = eINSTANCE.getProblem_Base_Comment();
@@ -199,7 +199,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "modelelements";
@@ -207,7 +207,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/ModelElements";
@@ -215,7 +215,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "ModelElements";
@@ -224,7 +224,7 @@ public interface ModelelementsPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
ModelelementsPackage eINSTANCE = org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl.init();
@@ -232,7 +232,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl <em>Conform</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getConform()
* @generated
@@ -242,7 +242,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Dependency</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -251,7 +251,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Conform</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -261,7 +261,7 @@ public interface ModelelementsPackage extends EPackage {
* The number of operations of the '<em>Conform</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -270,7 +270,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl <em>View</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getView()
* @generated
@@ -280,7 +280,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>View Point</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -289,7 +289,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Package</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -298,7 +298,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The number of structural features of the '<em>View</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -308,7 +308,7 @@ public interface ModelelementsPackage extends EPackage {
* The number of operations of the '<em>View</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -318,7 +318,7 @@ public interface ModelelementsPackage extends EPackage {
* The meta object id for the ' {@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewPointImpl
* <em>View Point</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewPointImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getViewPoint()
* @generated
@@ -328,7 +328,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Class</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -337,7 +337,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Stake Holders</b></em>' attribute list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -346,7 +346,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Purpose</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -355,7 +355,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Concerns</b></em>' attribute list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -364,7 +364,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Languages</b></em>' attribute list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -373,7 +373,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Methods</b></em>' attribute list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -382,7 +382,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The number of structural features of the '<em>View Point</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -392,7 +392,7 @@ public interface ModelelementsPackage extends EPackage {
* The number of operations of the '<em>View Point</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -401,7 +401,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl <em>Rationale</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getRationale()
* @generated
@@ -411,7 +411,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Comment</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -420,7 +420,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Rationale</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -430,7 +430,7 @@ public interface ModelelementsPackage extends EPackage {
* The number of operations of the '<em>Rationale</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -439,7 +439,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl <em>Problem</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl
* @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getProblem()
* @generated
@@ -449,7 +449,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Comment</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -458,7 +458,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Problem</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -468,7 +468,7 @@ public interface ModelelementsPackage extends EPackage {
* The number of operations of the '<em>Problem</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -478,7 +478,7 @@ public interface ModelelementsPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.Conform <em>Conform</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Conform</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.Conform
* @generated
@@ -486,10 +486,9 @@ public interface ModelelementsPackage extends EPackage {
EClass getConform();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Conform#getBase_Dependency <em>Base Dependency</em>}
- * '.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Conform#getBase_Dependency <em>Base Dependency</em>} '.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Dependency</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.Conform#getBase_Dependency()
* @see #getConform()
@@ -500,7 +499,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -510,7 +509,7 @@ public interface ModelelementsPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.Problem <em>Problem</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Problem</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.Problem
* @generated
@@ -520,7 +519,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Problem#getBase_Comment <em>Base Comment</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Comment</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.Problem#getBase_Comment()
* @see #getProblem()
@@ -531,7 +530,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.Rationale <em>Rationale</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Rationale</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.Rationale
* @generated
@@ -541,7 +540,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Rationale#getBase_Comment <em>Base Comment</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Comment</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.Rationale#getBase_Comment()
* @see #getRationale()
@@ -552,7 +551,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.modelelements.View <em>View</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>View</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.View
* @generated
@@ -562,7 +561,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.View#getBase_Package <em>Base Package</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Package</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.View#getBase_Package()
* @see #getView()
@@ -573,7 +572,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.View#getViewPoint <em>View Point</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>View Point</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.View#getViewPoint()
* @see #getView()
@@ -584,7 +583,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.ViewPoint <em>View Point</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>View Point</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.ViewPoint
* @generated
@@ -594,7 +593,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.ViewPoint#getBase_Class <em>Base Class</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Class</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.ViewPoint#getBase_Class()
* @see #getViewPoint()
@@ -605,7 +604,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml.modelelements.ViewPoint#getConcerns <em>Concerns</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute list '<em>Concerns</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.ViewPoint#getConcerns()
* @see #getViewPoint()
@@ -616,7 +615,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml.modelelements.ViewPoint#getLanguages <em>Languages</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute list '<em>Languages</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.ViewPoint#getLanguages()
* @see #getViewPoint()
@@ -627,7 +626,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml.modelelements.ViewPoint#getMethods <em>Methods</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute list '<em>Methods</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.ViewPoint#getMethods()
* @see #getViewPoint()
@@ -638,7 +637,7 @@ public interface ModelelementsPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.modelelements.ViewPoint#getPurpose <em>Purpose</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Purpose</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.ViewPoint#getPurpose()
* @see #getViewPoint()
@@ -650,7 +649,7 @@ public interface ModelelementsPackage extends EPackage {
* Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml.modelelements.ViewPoint#getStakeHolders
* <em>Stake Holders</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute list '<em>Stake Holders</em>'.
* @see org.eclipse.papyrus.sysml.modelelements.ViewPoint#getStakeHolders()
* @see #getViewPoint()
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Problem.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Problem.java
index 2031655b3f2..0886b22403b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Problem.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Problem.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Comment;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Problem</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.modelelements.Problem#getBase_Comment <em>Base Comment</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getProblem()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface Problem extends EObject {
* If the meaning of the '<em>Base Comment</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Comment</em>' reference.
* @see #setBase_Comment(Comment)
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getProblem_Base_Comment()
@@ -52,9 +52,9 @@ public interface Problem extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Problem#getBase_Comment <em>Base Comment</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Comment</em>' reference.
+ * the new value of the '<em>Base Comment</em>' reference.
* @see #getBase_Comment()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Rationale.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Rationale.java
index 76d927720c8..89fc1d29931 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Rationale.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/Rationale.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Comment;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Rationale</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.modelelements.Rationale#getBase_Comment <em>Base Comment</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getRationale()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface Rationale extends EObject {
* If the meaning of the '<em>Base Comment</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Comment</em>' reference.
* @see #setBase_Comment(Comment)
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getRationale_Base_Comment()
@@ -52,9 +52,9 @@ public interface Rationale extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Rationale#getBase_Comment <em>Base Comment</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Comment</em>' reference.
+ * the new value of the '<em>Base Comment</em>' reference.
* @see #getBase_Comment()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/View.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/View.java
index 7c013ec2e1c..88aab4c1f40 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/View.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/View.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -17,7 +17,7 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>View</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -25,7 +25,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.sysml.modelelements.View#getBase_Package <em>Base Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getView()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface View extends EObject {
* If the meaning of the '<em>Base Package</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Package</em>' reference.
* @see #setBase_Package(org.eclipse.uml2.uml.Package)
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getView_Base_Package()
@@ -55,7 +55,7 @@ public interface View extends EObject {
* If the meaning of the '<em>View Point</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>View Point</em>' reference.
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getView_ViewPoint()
* @model required="true" transient="true" changeable="false"
@@ -68,9 +68,9 @@ public interface View extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.View#getBase_Package <em>Base Package</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Package</em>' reference.
+ * the new value of the '<em>Base Package</em>' reference.
* @see #getBase_Package()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewPoint.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewPoint.java
index 2100e03f488..a6793404a0a 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewPoint.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewPoint.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>View Point</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -30,7 +30,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.sysml.modelelements.ViewPoint#getMethods <em>Methods</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewPoint()
* @model
* @generated
@@ -44,7 +44,7 @@ public interface ViewPoint extends EObject {
* If the meaning of the '<em>Base Class</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Class</em>' reference.
* @see #setBase_Class(org.eclipse.uml2.uml.Class)
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewPoint_Base_Class()
@@ -62,7 +62,7 @@ public interface ViewPoint extends EObject {
* If the meaning of the '<em>Concerns</em>' attribute list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Concerns</em>' attribute list.
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewPoint_Concerns()
* @model unique="false" dataType="org.eclipse.uml2.types.String" ordered="false"
@@ -79,7 +79,7 @@ public interface ViewPoint extends EObject {
* If the meaning of the '<em>Languages</em>' attribute list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Languages</em>' attribute list.
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewPoint_Languages()
* @model unique="false" dataType="org.eclipse.uml2.types.String" ordered="false"
@@ -96,7 +96,7 @@ public interface ViewPoint extends EObject {
* If the meaning of the '<em>Methods</em>' attribute list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Methods</em>' attribute list.
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewPoint_Methods()
* @model unique="false" dataType="org.eclipse.uml2.types.String" ordered="false"
@@ -111,7 +111,7 @@ public interface ViewPoint extends EObject {
* If the meaning of the '<em>Purpose</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Purpose</em>' attribute.
* @see #setPurpose(String)
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewPoint_Purpose()
@@ -128,7 +128,7 @@ public interface ViewPoint extends EObject {
* If the meaning of the '<em>Stake Holders</em>' attribute list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Stake Holders</em>' attribute list.
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewPoint_StakeHolders()
* @model unique="false" ordered="false"
@@ -140,9 +140,9 @@ public interface ViewPoint extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.ViewPoint#getBase_Class <em>Base Class</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Class</em>' reference.
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -152,9 +152,9 @@ public interface ViewPoint extends EObject {
* Sets the value of the ' {@link org.eclipse.papyrus.sysml.modelelements.ViewPoint#getPurpose
* <em>Purpose</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @param value
- * the new value of the '<em>Purpose</em>' attribute.
+ * the new value of the '<em>Purpose</em>' attribute.
* @see #getPurpose()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ConformImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ConformImpl.java
index 11f95059bb9..6983c98d0ff 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ConformImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ConformImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Dependency;
* <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl#getBase_Dependency <em>Base Dependency</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ConformImpl extends MinimalEObjectImpl.Container implements Conform {
@@ -39,7 +39,7 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
* The cached value of the '{@link #getBase_Dependency() <em>Base Dependency</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Dependency()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ConformImpl() {
@@ -57,7 +57,7 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Dependency basicGetBase_Dependency() {
@@ -66,15 +66,16 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.CONFORM__BASE_DEPENDENCY:
- if(resolve)
+ if (resolve) {
return getBase_Dependency();
+ }
return basicGetBase_Dependency();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.CONFORM__BASE_DEPENDENCY:
return base_Dependency != null;
}
@@ -96,14 +97,14 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.CONFORM__BASE_DEPENDENCY:
- setBase_Dependency((Dependency)newValue);
+ setBase_Dependency((Dependency) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.CONFORM__BASE_DEPENDENCY:
- setBase_Dependency((Dependency)null);
+ setBase_Dependency((Dependency) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Dependency getBase_Dependency() {
- if(base_Dependency != null && base_Dependency.eIsProxy()) {
- InternalEObject oldBase_Dependency = (InternalEObject)base_Dependency;
- base_Dependency = (Dependency)eResolveProxy(oldBase_Dependency);
- if(base_Dependency != oldBase_Dependency) {
- if(eNotificationRequired())
+ if (base_Dependency != null && base_Dependency.eIsProxy()) {
+ InternalEObject oldBase_Dependency = (InternalEObject) base_Dependency;
+ base_Dependency = (Dependency) eResolveProxy(oldBase_Dependency);
+ if (base_Dependency != oldBase_Dependency) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.CONFORM__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency));
+ }
}
}
return base_Dependency;
@@ -153,14 +155,15 @@ public class ConformImpl extends MinimalEObjectImpl.Container implements Conform
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Dependency(Dependency newBase_Dependency) {
Dependency oldBase_Dependency = base_Dependency;
base_Dependency = newBase_Dependency;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.CONFORM__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency));
+ }
}
} // ConformImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsFactoryImpl.java
index d2cd199a2e2..891d877f9fa 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -29,14 +29,14 @@ import org.eclipse.papyrus.sysml.modelelements.ViewPoint;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class ModelelementsFactoryImpl extends EFactoryImpl implements ModelelementsFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -49,13 +49,13 @@ public class ModelelementsFactoryImpl extends EFactoryImpl implements Modeleleme
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static ModelelementsFactory init() {
try {
- ModelelementsFactory theModelelementsFactory = (ModelelementsFactory)EPackage.Registry.INSTANCE.getEFactory(ModelelementsPackage.eNS_URI);
- if(theModelelementsFactory != null) {
+ ModelelementsFactory theModelelementsFactory = (ModelelementsFactory) EPackage.Registry.INSTANCE.getEFactory(ModelelementsPackage.eNS_URI);
+ if (theModelelementsFactory != null) {
return theModelelementsFactory;
}
} catch (Exception exception) {
@@ -68,7 +68,7 @@ public class ModelelementsFactoryImpl extends EFactoryImpl implements Modeleleme
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ModelelementsFactoryImpl() {
@@ -77,12 +77,12 @@ public class ModelelementsFactoryImpl extends EFactoryImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
case ModelelementsPackage.CONFORM:
return createConform();
case ModelelementsPackage.VIEW:
@@ -100,7 +100,7 @@ public class ModelelementsFactoryImpl extends EFactoryImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Conform createConform() {
@@ -110,7 +110,7 @@ public class ModelelementsFactoryImpl extends EFactoryImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Problem createProblem() {
@@ -120,7 +120,7 @@ public class ModelelementsFactoryImpl extends EFactoryImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Rationale createRationale() {
@@ -130,7 +130,7 @@ public class ModelelementsFactoryImpl extends EFactoryImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public View createView() {
@@ -140,7 +140,7 @@ public class ModelelementsFactoryImpl extends EFactoryImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ViewPoint createViewPoint() {
@@ -150,11 +150,11 @@ public class ModelelementsFactoryImpl extends EFactoryImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ModelelementsPackage getModelelementsPackage() {
- return (ModelelementsPackage)getEPackage();
+ return (ModelelementsPackage) getEPackage();
}
} // ModelelementsFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsPackageImpl.java
index add64cbf6bc..336383b9b4b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -52,36 +52,37 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class ModelelementsPackageImpl extends EPackageImpl implements ModelelementsPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link ModelelementsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link ModelelementsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static ModelelementsPackage init() {
- if(isInited)
- return (ModelelementsPackage)EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI);
+ if (isInited) {
+ return (ModelelementsPackage) EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI);
+ }
// Obtain or create and register package
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ModelelementsPackageImpl());
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ModelelementsPackageImpl());
isInited = true;
@@ -89,16 +90,24 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
theModelelementsPackage.createPackageContents();
@@ -137,49 +146,49 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass conformEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass viewEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass viewPointEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass rationaleEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass problemEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -189,9 +198,8 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#eNS_URI
* @see #init()
@@ -206,12 +214,13 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create classes and their features
@@ -239,7 +248,7 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getConform() {
@@ -248,25 +257,25 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getConform_Base_Dependency() {
- return (EReference)conformEClass.getEStructuralFeatures().get(0);
+ return (EReference) conformEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ModelelementsFactory getModelelementsFactory() {
- return (ModelelementsFactory)getEFactoryInstance();
+ return (ModelelementsFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getProblem() {
@@ -275,16 +284,16 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getProblem_Base_Comment() {
- return (EReference)problemEClass.getEStructuralFeatures().get(0);
+ return (EReference) problemEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getRationale() {
@@ -293,16 +302,16 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRationale_Base_Comment() {
- return (EReference)rationaleEClass.getEStructuralFeatures().get(0);
+ return (EReference) rationaleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getView() {
@@ -311,25 +320,25 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getView_Base_Package() {
- return (EReference)viewEClass.getEStructuralFeatures().get(1);
+ return (EReference) viewEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getView_ViewPoint() {
- return (EReference)viewEClass.getEStructuralFeatures().get(0);
+ return (EReference) viewEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getViewPoint() {
@@ -338,68 +347,69 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getViewPoint_Base_Class() {
- return (EReference)viewPointEClass.getEStructuralFeatures().get(0);
+ return (EReference) viewPointEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getViewPoint_Concerns() {
- return (EAttribute)viewPointEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) viewPointEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getViewPoint_Languages() {
- return (EAttribute)viewPointEClass.getEStructuralFeatures().get(4);
+ return (EAttribute) viewPointEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getViewPoint_Methods() {
- return (EAttribute)viewPointEClass.getEStructuralFeatures().get(5);
+ return (EAttribute) viewPointEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getViewPoint_Purpose() {
- return (EAttribute)viewPointEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) viewPointEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getViewPoint_StakeHolders() {
- return (EAttribute)viewPointEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) viewPointEClass.getEStructuralFeatures().get(1);
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -408,8 +418,8 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
setNsURI(eNS_URI);
// Obtain other dependent packages
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
// Create type parameters
@@ -419,7 +429,8 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
// Initialize classes, features, and operations; add parameters
initEClass(conformEClass, Conform.class, "Conform", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConform_Base_Dependency(), theUMLPackage.getDependency(), null, "base_Dependency", null, 1, 1, Conform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getConform_Base_Dependency(), theUMLPackage.getDependency(), null, "base_Dependency", null, 1, 1, Conform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(viewEClass, View.class, "View", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getView_ViewPoint(), this.getViewPoint(), null, "viewPoint", null, 1, 1, View.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
@@ -434,7 +445,8 @@ public class ModelelementsPackageImpl extends EPackageImpl implements Modeleleme
initEAttribute(getViewPoint_Methods(), theTypesPackage.getString(), "methods", null, 0, -1, ViewPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(rationaleEClass, Rationale.class, "Rationale", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRationale_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 1, 1, Rationale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRationale_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 1, 1, Rationale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(problemEClass, Problem.class, "Problem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getProblem_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 1, 1, Problem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ProblemImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ProblemImpl.java
index b8bd1727d0d..c395b57ab58 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ProblemImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ProblemImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Comment;
* <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl#getBase_Comment <em>Base Comment</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem {
@@ -38,7 +38,7 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getBase_Comment()
* @generated
* @ordered
@@ -47,7 +47,7 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ProblemImpl() {
@@ -56,7 +56,7 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Comment basicGetBase_Comment() {
@@ -65,15 +65,16 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.PROBLEM__BASE_COMMENT:
- if(resolve)
+ if (resolve) {
return getBase_Comment();
+ }
return basicGetBase_Comment();
}
return super.eGet(featureID, resolve, coreType);
@@ -81,12 +82,12 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.PROBLEM__BASE_COMMENT:
return base_Comment != null;
}
@@ -95,14 +96,14 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.PROBLEM__BASE_COMMENT:
- setBase_Comment((Comment)newValue);
+ setBase_Comment((Comment) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -110,7 +111,7 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -120,14 +121,14 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.PROBLEM__BASE_COMMENT:
- setBase_Comment((Comment)null);
+ setBase_Comment((Comment) null);
return;
}
super.eUnset(featureID);
@@ -135,16 +136,17 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Comment getBase_Comment() {
- if(base_Comment != null && base_Comment.eIsProxy()) {
- InternalEObject oldBase_Comment = (InternalEObject)base_Comment;
- base_Comment = (Comment)eResolveProxy(oldBase_Comment);
- if(base_Comment != oldBase_Comment) {
- if(eNotificationRequired())
+ if (base_Comment != null && base_Comment.eIsProxy()) {
+ InternalEObject oldBase_Comment = (InternalEObject) base_Comment;
+ base_Comment = (Comment) eResolveProxy(oldBase_Comment);
+ if (base_Comment != oldBase_Comment) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.PROBLEM__BASE_COMMENT, oldBase_Comment, base_Comment));
+ }
}
}
return base_Comment;
@@ -152,14 +154,15 @@ public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Comment(Comment newBase_Comment) {
Comment oldBase_Comment = base_Comment;
base_Comment = newBase_Comment;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.PROBLEM__BASE_COMMENT, oldBase_Comment, base_Comment));
+ }
}
} // ProblemImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/RationaleImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/RationaleImpl.java
index a0751f5d7f5..0264a46e5cc 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/RationaleImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/RationaleImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Comment;
* <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl#getBase_Comment <em>Base Comment</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class RationaleImpl extends MinimalEObjectImpl.Container implements Rationale {
@@ -38,7 +38,7 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getBase_Comment()
* @generated
* @ordered
@@ -47,7 +47,7 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected RationaleImpl() {
@@ -56,7 +56,7 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Comment basicGetBase_Comment() {
@@ -65,15 +65,16 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.RATIONALE__BASE_COMMENT:
- if(resolve)
+ if (resolve) {
return getBase_Comment();
+ }
return basicGetBase_Comment();
}
return super.eGet(featureID, resolve, coreType);
@@ -81,12 +82,12 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.RATIONALE__BASE_COMMENT:
return base_Comment != null;
}
@@ -95,14 +96,14 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.RATIONALE__BASE_COMMENT:
- setBase_Comment((Comment)newValue);
+ setBase_Comment((Comment) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -110,7 +111,7 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -120,14 +121,14 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.RATIONALE__BASE_COMMENT:
- setBase_Comment((Comment)null);
+ setBase_Comment((Comment) null);
return;
}
super.eUnset(featureID);
@@ -135,16 +136,17 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Comment getBase_Comment() {
- if(base_Comment != null && base_Comment.eIsProxy()) {
- InternalEObject oldBase_Comment = (InternalEObject)base_Comment;
- base_Comment = (Comment)eResolveProxy(oldBase_Comment);
- if(base_Comment != oldBase_Comment) {
- if(eNotificationRequired())
+ if (base_Comment != null && base_Comment.eIsProxy()) {
+ InternalEObject oldBase_Comment = (InternalEObject) base_Comment;
+ base_Comment = (Comment) eResolveProxy(oldBase_Comment);
+ if (base_Comment != oldBase_Comment) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.RATIONALE__BASE_COMMENT, oldBase_Comment, base_Comment));
+ }
}
}
return base_Comment;
@@ -152,14 +154,15 @@ public class RationaleImpl extends MinimalEObjectImpl.Container implements Ratio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Comment(Comment newBase_Comment) {
Comment oldBase_Comment = base_Comment;
base_Comment = newBase_Comment;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.RATIONALE__BASE_COMMENT, oldBase_Comment, base_Comment));
+ }
}
} // RationaleImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewImpl.java
index 17459a7bc1f..0f8a5371af7 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl#getBase_Package <em>Base Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ViewImpl extends MinimalEObjectImpl.Container implements View {
@@ -44,7 +44,7 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getBase_Package()
* @generated
* @ordered
@@ -53,7 +53,7 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ViewImpl() {
@@ -62,7 +62,7 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public org.eclipse.uml2.uml.Package basicGetBase_Package() {
@@ -71,7 +71,7 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public ViewPoint basicGetViewPoint() {
@@ -79,18 +79,18 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
ViewPoint viewPoint = null;
Conform conform = null;
- if(getBase_Package() != null) {
+ if (getBase_Package() != null) {
// Find Conform link
Iterator<Dependency> itDep = getBase_Package().getClientDependencies().iterator();
- while(itDep.hasNext() && (conform == null)) {
+ while (itDep.hasNext() && (conform == null)) {
Dependency currentDependency = itDep.next();
conform = UMLUtil.getStereotypeApplication(currentDependency, Conform.class);
}
// Find ViewPoint
- if(conform != null) {
+ if (conform != null) {
Iterator<Element> itElt = conform.getBase_Dependency().getTargets().iterator();
- while(itElt.hasNext()) {
+ while (itElt.hasNext()) {
Element currentElt = itElt.next();
viewPoint = UMLUtil.getStereotypeApplication(currentElt, ViewPoint.class);
}
@@ -101,19 +101,21 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.VIEW__VIEW_POINT:
- if(resolve)
+ if (resolve) {
return getViewPoint();
+ }
return basicGetViewPoint();
case ModelelementsPackage.VIEW__BASE_PACKAGE:
- if(resolve)
+ if (resolve) {
return getBase_Package();
+ }
return basicGetBase_Package();
}
return super.eGet(featureID, resolve, coreType);
@@ -121,12 +123,12 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.VIEW__VIEW_POINT:
return basicGetViewPoint() != null;
case ModelelementsPackage.VIEW__BASE_PACKAGE:
@@ -137,14 +139,14 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.VIEW__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)newValue);
+ setBase_Package((org.eclipse.uml2.uml.Package) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -152,7 +154,7 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -162,14 +164,14 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.VIEW__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)null);
+ setBase_Package((org.eclipse.uml2.uml.Package) null);
return;
}
super.eUnset(featureID);
@@ -177,16 +179,17 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public org.eclipse.uml2.uml.Package getBase_Package() {
- if(base_Package != null && base_Package.eIsProxy()) {
- InternalEObject oldBase_Package = (InternalEObject)base_Package;
- base_Package = (org.eclipse.uml2.uml.Package)eResolveProxy(oldBase_Package);
- if(base_Package != oldBase_Package) {
- if(eNotificationRequired())
+ if (base_Package != null && base_Package.eIsProxy()) {
+ InternalEObject oldBase_Package = (InternalEObject) base_Package;
+ base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package);
+ if (base_Package != oldBase_Package) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.VIEW__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
}
return base_Package;
@@ -194,29 +197,30 @@ public class ViewImpl extends MinimalEObjectImpl.Container implements View {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ViewPoint getViewPoint() {
ViewPoint viewPoint = basicGetViewPoint();
- return viewPoint != null && viewPoint.eIsProxy() ? (ViewPoint)eResolveProxy((InternalEObject)viewPoint) : viewPoint;
+ return viewPoint != null && viewPoint.eIsProxy() ? (ViewPoint) eResolveProxy((InternalEObject) viewPoint) : viewPoint;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Package(org.eclipse.uml2.uml.Package newBase_Package) {
org.eclipse.uml2.uml.Package oldBase_Package = base_Package;
base_Package = newBase_Package;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.VIEW__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public void setViewPoint(ViewPoint newViewPoint) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewPointImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewPointImpl.java
index b82897b4720..2057e8e0a67 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewPointImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewPointImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -37,7 +37,7 @@ import org.eclipse.papyrus.sysml.modelelements.ViewPoint;
* <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewPointImpl#getMethods <em>Methods</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewPoint {
@@ -45,7 +45,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -56,7 +56,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
* The cached value of the '{@link #getStakeHolders() <em>Stake Holders</em>}' attribute list.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getStakeHolders()
* @generated
* @ordered
@@ -66,7 +66,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* The default value of the '{@link #getPurpose() <em>Purpose</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getPurpose()
* @generated
* @ordered
@@ -76,7 +76,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* The cached value of the '{@link #getPurpose() <em>Purpose</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getPurpose()
* @generated
* @ordered
@@ -86,7 +86,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* The cached value of the '{@link #getConcerns() <em>Concerns</em>}' attribute list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getConcerns()
* @generated
* @ordered
@@ -96,7 +96,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* The cached value of the '{@link #getLanguages() <em>Languages</em>}' attribute list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getLanguages()
* @generated
* @ordered
@@ -106,7 +106,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* The cached value of the '{@link #getMethods() <em>Methods</em>}' attribute list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getMethods()
* @generated
* @ordered
@@ -115,7 +115,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ViewPointImpl() {
@@ -124,7 +124,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -133,15 +133,16 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.VIEW_POINT__BASE_CLASS:
- if(resolve)
+ if (resolve) {
return getBase_Class();
+ }
return basicGetBase_Class();
case ModelelementsPackage.VIEW_POINT__STAKE_HOLDERS:
return getStakeHolders();
@@ -159,12 +160,12 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.VIEW_POINT__BASE_CLASS:
return base_Class != null;
case ModelelementsPackage.VIEW_POINT__STAKE_HOLDERS:
@@ -183,34 +184,34 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.VIEW_POINT__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
return;
case ModelelementsPackage.VIEW_POINT__STAKE_HOLDERS:
getStakeHolders().clear();
- getStakeHolders().addAll((Collection<? extends String>)newValue);
+ getStakeHolders().addAll((Collection<? extends String>) newValue);
return;
case ModelelementsPackage.VIEW_POINT__PURPOSE:
- setPurpose((String)newValue);
+ setPurpose((String) newValue);
return;
case ModelelementsPackage.VIEW_POINT__CONCERNS:
getConcerns().clear();
- getConcerns().addAll((Collection<? extends String>)newValue);
+ getConcerns().addAll((Collection<? extends String>) newValue);
return;
case ModelelementsPackage.VIEW_POINT__LANGUAGES:
getLanguages().clear();
- getLanguages().addAll((Collection<? extends String>)newValue);
+ getLanguages().addAll((Collection<? extends String>) newValue);
return;
case ModelelementsPackage.VIEW_POINT__METHODS:
getMethods().clear();
- getMethods().addAll((Collection<? extends String>)newValue);
+ getMethods().addAll((Collection<? extends String>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -218,7 +219,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -228,14 +229,14 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case ModelelementsPackage.VIEW_POINT__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
return;
case ModelelementsPackage.VIEW_POINT__STAKE_HOLDERS:
getStakeHolders().clear();
@@ -258,16 +259,17 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class getBase_Class() {
- if(base_Class != null && base_Class.eIsProxy()) {
- InternalEObject oldBase_Class = (InternalEObject)base_Class;
- base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class);
- if(base_Class != oldBase_Class) {
- if(eNotificationRequired())
+ if (base_Class != null && base_Class.eIsProxy()) {
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
+ if (base_Class != oldBase_Class) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.VIEW_POINT__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -275,11 +277,11 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<String> getConcerns() {
- if(concerns == null) {
+ if (concerns == null) {
concerns = new EDataTypeEList<String>(String.class, this, ModelelementsPackage.VIEW_POINT__CONCERNS);
}
return concerns;
@@ -287,11 +289,11 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<String> getLanguages() {
- if(languages == null) {
+ if (languages == null) {
languages = new EDataTypeEList<String>(String.class, this, ModelelementsPackage.VIEW_POINT__LANGUAGES);
}
return languages;
@@ -299,11 +301,11 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<String> getMethods() {
- if(methods == null) {
+ if (methods == null) {
methods = new EDataTypeEList<String>(String.class, this, ModelelementsPackage.VIEW_POINT__METHODS);
}
return methods;
@@ -311,7 +313,7 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getPurpose() {
@@ -320,11 +322,11 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<String> getStakeHolders() {
- if(stakeHolders == null) {
+ if (stakeHolders == null) {
stakeHolders = new EDataTypeEList<String>(String.class, this, ModelelementsPackage.VIEW_POINT__STAKE_HOLDERS);
}
return stakeHolders;
@@ -332,37 +334,40 @@ public class ViewPointImpl extends MinimalEObjectImpl.Container implements ViewP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) {
org.eclipse.uml2.uml.Class oldBase_Class = base_Class;
base_Class = newBase_Class;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.VIEW_POINT__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setPurpose(String newPurpose) {
String oldPurpose = purpose;
purpose = newPurpose;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.VIEW_POINT__PURPOSE, oldPurpose, purpose));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (stakeHolders: ");
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsAdapterFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsAdapterFactory.java
index eb1b95c678e..db3de31f6d9 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsAdapterFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -28,7 +28,7 @@ import org.eclipse.papyrus.sysml.modelelements.ViewPoint;
* <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides
* an adapter <code>createXXX</code> method for each class of the model. <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage
* @generated
*/
@@ -37,7 +37,7 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static ModelelementsPackage modelPackage;
@@ -45,7 +45,7 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
/**
* The switch that delegates to the <code>createXXX</code> methods. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ModelelementsSwitch<Adapter> modelSwitch = new ModelelementsSwitch<Adapter>() {
@@ -85,11 +85,11 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ModelelementsAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = ModelelementsPackage.eINSTANCE;
}
}
@@ -98,15 +98,15 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
- * the object to adapt.
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -115,7 +115,7 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
* --> This default implementation returns null so
* that we can easily ignore cases; it's useful to ignore a case when
* inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.modelelements.Conform
* @generated
@@ -128,7 +128,7 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
* Creates a new adapter for the default case.
* <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
@@ -142,7 +142,7 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
* --> This default implementation returns null so
* that we can easily ignore cases; it's useful to ignore a case when
* inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.modelelements.Problem
* @generated
@@ -157,7 +157,7 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
* returns null so that we can easily ignore cases; it's useful to ignore a
* case when inheritance will catch all the cases anyway. <!-- end-user-doc
* -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.modelelements.Rationale
* @generated
@@ -171,7 +171,7 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
* begin-user-doc --> This default implementation returns null so that we
* can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.modelelements.View
* @generated
@@ -186,7 +186,7 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.modelelements.ViewPoint
* @generated
@@ -200,17 +200,17 @@ public class ModelelementsAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This implementation returns <code>true</code> if
* the object is either the model's package or is an instance object of the
* model. <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceFactoryImpl.java
index 1eeb106da6d..b6c4b0176fa 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.xmi.XMLResource;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.util.ModelelementsResourceImpl
* @generated
*/
@@ -31,7 +31,7 @@ public class ModelelementsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ModelelementsResourceFactoryImpl() {
@@ -42,7 +42,7 @@ public class ModelelementsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceImpl.java
index 34275f936f1..c2aa7e2addc 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.util.ModelelementsResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class ModelelementsResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public ModelelementsResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsSwitch.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsSwitch.java
index ab6b52dfad6..96d7f1e23c0 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsSwitch.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.sysml.modelelements.ViewPoint;
* starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the
* result of the switch. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage
* @generated
*/
@@ -38,7 +38,7 @@ public class ModelelementsSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static ModelelementsPackage modelPackage;
@@ -47,11 +47,11 @@ public class ModelelementsSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public ModelelementsSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = ModelelementsPackage.eINSTANCE;
}
}
@@ -59,7 +59,7 @@ public class ModelelementsSwitch<T> extends Switch<T> {
/**
* Checks whether this is a switch for the given package. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -74,9 +74,9 @@ public class ModelelementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Conform</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -90,9 +90,9 @@ public class ModelelementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Problem</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -106,9 +106,9 @@ public class ModelelementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Rationale</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -121,9 +121,9 @@ public class ModelelementsSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of ' <em>View</em>'. <!-- begin-user-doc --> This implementation returns null;
* returning a non-null result will terminate the switch. <!-- end-user-doc
* -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of ' <em>View</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -137,9 +137,9 @@ public class ModelelementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>View Point</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -153,9 +153,9 @@ public class ModelelementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch, but this is
* the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -169,51 +169,51 @@ public class ModelelementsSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case ModelelementsPackage.CONFORM:
- {
- Conform conform = (Conform)theEObject;
+ switch (classifierID) {
+ case ModelelementsPackage.CONFORM: {
+ Conform conform = (Conform) theEObject;
T result = caseConform(conform);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ModelelementsPackage.VIEW:
- {
- View view = (View)theEObject;
+ case ModelelementsPackage.VIEW: {
+ View view = (View) theEObject;
T result = caseView(view);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ModelelementsPackage.VIEW_POINT:
- {
- ViewPoint viewPoint = (ViewPoint)theEObject;
+ case ModelelementsPackage.VIEW_POINT: {
+ ViewPoint viewPoint = (ViewPoint) theEObject;
T result = caseViewPoint(viewPoint);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ModelelementsPackage.RATIONALE:
- {
- Rationale rationale = (Rationale)theEObject;
+ case ModelelementsPackage.RATIONALE: {
+ Rationale rationale = (Rationale) theEObject;
T result = caseRationale(rationale);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case ModelelementsPackage.PROBLEM:
- {
- Problem problem = (Problem)theEObject;
+ case ModelelementsPackage.PROBLEM: {
+ Problem problem = (Problem) theEObject;
T result = caseProblem(problem);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
default:
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsXMLProcessor.java
index d78abccf7ff..c16786068d9 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class ModelelementsXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class ModelelementsXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ModelelementsXMLProcessor() {
@@ -44,12 +44,12 @@ public class ModelelementsXMLProcessor extends XMLProcessor {
* Register for "*" and "xml" file extensions the ModelelementsResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new ModelelementsResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new ModelelementsResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowDirection.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowDirection.java
index 7ebb5b819ad..2d76ba31686 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowDirection.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowDirection.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.emf.common.util.Enumerator;
* <!-- begin-user-doc --> A representation of the literals of the enumeration ' <em><b>Flow Direction</b></em>', and utility methods for working with
* them.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowDirection()
* @model
* @generated
@@ -33,7 +33,7 @@ public enum FlowDirection implements Enumerator {
* The '<em><b>In</b></em>' literal object.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #IN_VALUE
* @generated
* @ordered
@@ -44,7 +44,7 @@ public enum FlowDirection implements Enumerator {
* The '<em><b>Out</b></em>' literal object.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #OUT_VALUE
* @generated
* @ordered
@@ -55,7 +55,7 @@ public enum FlowDirection implements Enumerator {
* The '<em><b>Inout</b></em>' literal object.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #INOUT_VALUE
* @generated
* @ordered
@@ -69,7 +69,7 @@ public enum FlowDirection implements Enumerator {
* If the meaning of '<em><b>In</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #IN
* @model name="in"
* @generated
@@ -84,7 +84,7 @@ public enum FlowDirection implements Enumerator {
* If the meaning of '<em><b>Out</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #OUT
* @model name="out"
* @generated
@@ -99,7 +99,7 @@ public enum FlowDirection implements Enumerator {
* If the meaning of '<em><b>Inout</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #INOUT
* @model name="inout"
* @generated
@@ -110,15 +110,15 @@ public enum FlowDirection implements Enumerator {
/**
* An array of all the '<em><b>Flow Direction</b></em>' enumerators. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
- private static final FlowDirection[] VALUES_ARRAY = new FlowDirection[]{ IN, OUT, INOUT, };
+ private static final FlowDirection[] VALUES_ARRAY = new FlowDirection[] { IN, OUT, INOUT, };
/**
* A public read-only list of all the '<em><b>Flow Direction</b></em>' enumerators.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<FlowDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -126,11 +126,11 @@ public enum FlowDirection implements Enumerator {
/**
* Returns the '<em><b>Flow Direction</b></em>' literal with the specified integer value.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static FlowDirection get(int value) {
- switch(value) {
+ switch (value) {
case IN_VALUE:
return IN;
case OUT_VALUE:
@@ -144,13 +144,13 @@ public enum FlowDirection implements Enumerator {
/**
* Returns the '<em><b>Flow Direction</b></em>' literal with the specified literal value.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static FlowDirection get(String literal) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
FlowDirection result = VALUES_ARRAY[i];
- if(result.toString().equals(literal)) {
+ if (result.toString().equals(literal)) {
return result;
}
}
@@ -160,13 +160,13 @@ public enum FlowDirection implements Enumerator {
/**
* Returns the '<em><b>Flow Direction</b></em>' literal with the specified name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static FlowDirection getByName(String name) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
FlowDirection result = VALUES_ARRAY[i];
- if(result.getName().equals(name)) {
+ if (result.getName().equals(name)) {
return result;
}
}
@@ -175,21 +175,21 @@ public enum FlowDirection implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final int value;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String name;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String literal;
@@ -198,7 +198,7 @@ public enum FlowDirection implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
private FlowDirection(int value, String name, String literal) {
@@ -209,7 +209,7 @@ public enum FlowDirection implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getLiteral() {
@@ -218,7 +218,7 @@ public enum FlowDirection implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -227,7 +227,7 @@ public enum FlowDirection implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public int getValue() {
@@ -237,7 +237,7 @@ public enum FlowDirection implements Enumerator {
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowPort.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowPort.java
index 7325121dbf6..7b4591eef14 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowPort.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowPort.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.uml2.uml.Port;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Flow Port</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -29,7 +29,7 @@ import org.eclipse.uml2.uml.Port;
* <li>{@link org.eclipse.papyrus.sysml.portandflows.FlowPort#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowPort()
* @model
* @generated
@@ -43,7 +43,7 @@ public interface FlowPort extends EObject {
* If the meaning of the '<em>Base Port</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Port</em>' reference.
* @see #setBase_Port(Port)
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowPort_Base_Port()
@@ -61,7 +61,7 @@ public interface FlowPort extends EObject {
* If the meaning of the '<em>Direction</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.sysml.portandflows.FlowDirection
* @see #setDirection(FlowDirection)
@@ -73,7 +73,7 @@ public interface FlowPort extends EObject {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @model kind="operation" required="true" ordered="false"
* @generated
*/
@@ -83,9 +83,9 @@ public interface FlowPort extends EObject {
* Sets the value of the ' {@link org.eclipse.papyrus.sysml.portandflows.FlowPort#getBase_Port
* <em>Base Port</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @param value
- * the new value of the '<em>Base Port</em>' reference.
+ * the new value of the '<em>Base Port</em>' reference.
* @see #getBase_Port()
* @generated
*/
@@ -99,7 +99,7 @@ public interface FlowPort extends EObject {
* If the meaning of the '<em>Is Atomic</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Is Atomic</em>' attribute.
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowPort_IsAtomic()
* @model default="false" unique="false" dataType="org.eclipse.uml2.types.Boolean" required="true" transient="true" changeable="false"
@@ -115,7 +115,7 @@ public interface FlowPort extends EObject {
* If the meaning of the '<em>Is Conjugated</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Is Conjugated</em>' attribute.
* @see #setIsConjugated(boolean)
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowPort_IsConjugated()
@@ -128,9 +128,9 @@ public interface FlowPort extends EObject {
* Sets the value of the ' {@link org.eclipse.papyrus.sysml.portandflows.FlowPort#getDirection
* <em>Direction</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @param value
- * the new value of the '<em>Direction</em>' attribute.
+ * the new value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.sysml.portandflows.FlowDirection
* @see #getDirection()
* @generated
@@ -141,9 +141,9 @@ public interface FlowPort extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.portandflows.FlowPort#isConjugated <em>Is Conjugated</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Is Conjugated</em>' attribute.
+ * the new value of the '<em>Is Conjugated</em>' attribute.
* @see #isConjugated()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowProperty.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowProperty.java
index efbd5454ce6..84d7aec942b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowProperty.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowProperty.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.uml2.uml.Property;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Flow Property</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,7 +27,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowProperty()
* @model
* @generated
@@ -41,7 +41,7 @@ public interface FlowProperty extends EObject {
* If the meaning of the '<em>Base Property</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowProperty_Base_Property()
@@ -59,7 +59,7 @@ public interface FlowProperty extends EObject {
* If the meaning of the '<em>Direction</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.sysml.portandflows.FlowDirection
* @see #setDirection(FlowDirection)
@@ -71,7 +71,7 @@ public interface FlowProperty extends EObject {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @model kind="operation" required="true" ordered="false"
* @generated
*/
@@ -81,9 +81,9 @@ public interface FlowProperty extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Property</em>' reference.
+ * the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
@@ -93,9 +93,9 @@ public interface FlowProperty extends EObject {
* Sets the value of the ' {@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getDirection
* <em>Direction</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @param value
- * the new value of the '<em>Direction</em>' attribute.
+ * the new value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.sysml.portandflows.FlowDirection
* @see #getDirection()
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowSpecification.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowSpecification.java
index a0d53305539..1981161ce02 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowSpecification.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/FlowSpecification.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,14 +18,14 @@ import org.eclipse.uml2.uml.Interface;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Flow Specification</b></em> '. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.portandflows.FlowSpecification#getBase_Interface <em>Base Interface</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowSpecification()
* @model
* @generated
@@ -39,7 +39,7 @@ public interface FlowSpecification extends EObject {
* If the meaning of the '<em>Base Interface</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Interface</em>' reference.
* @see #setBase_Interface(Interface)
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowSpecification_Base_Interface()
@@ -52,9 +52,9 @@ public interface FlowSpecification extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.portandflows.FlowSpecification#getBase_Interface <em>Base Interface</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Interface</em>' reference.
+ * the new value of the '<em>Base Interface</em>' reference.
* @see #getBase_Interface()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/ItemFlow.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/ItemFlow.java
index e8413b8c734..57f95deb6fc 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/ItemFlow.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/ItemFlow.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.uml2.uml.Property;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Item Flow</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,7 +27,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.sysml.portandflows.ItemFlow#getItemProperty <em>Item Property</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getItemFlow()
* @model
* @generated
@@ -41,7 +41,7 @@ public interface ItemFlow extends EObject {
* If the meaning of the '<em>Base Information Flow</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Information Flow</em>' reference.
* @see #setBase_InformationFlow(InformationFlow)
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getItemFlow_Base_InformationFlow()
@@ -57,7 +57,7 @@ public interface ItemFlow extends EObject {
* If the meaning of the '<em>Item Property</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Item Property</em>' reference.
* @see #setItemProperty(Property)
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getItemFlow_ItemProperty()
@@ -71,9 +71,9 @@ public interface ItemFlow extends EObject {
* reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Information Flow</em>' reference.
+ * the new value of the '<em>Base Information Flow</em>' reference.
* @see #getBase_InformationFlow()
* @generated
*/
@@ -83,9 +83,9 @@ public interface ItemFlow extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.portandflows.ItemFlow#getItemProperty <em>Item Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Item Property</em>' reference.
+ * the new value of the '<em>Item Property</em>' reference.
* @see #getItemProperty()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsFactory.java
index 495fa940158..1e5bd0e8f54 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface PortandflowsFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
PortandflowsFactory eINSTANCE = org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsFactoryImpl.init();
@@ -37,7 +37,7 @@ public interface PortandflowsFactory extends EFactory {
* Returns a new object of class '<em>Flow Port</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Flow Port</em>'.
* @generated
*/
@@ -46,7 +46,7 @@ public interface PortandflowsFactory extends EFactory {
/**
* Returns a new object of class '<em>Flow Property</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Flow Property</em>'.
* @generated
*/
@@ -55,7 +55,7 @@ public interface PortandflowsFactory extends EFactory {
/**
* Returns a new object of class '<em>Flow Specification</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Flow Specification</em>'.
* @generated
*/
@@ -65,7 +65,7 @@ public interface PortandflowsFactory extends EFactory {
* Returns a new object of class '<em>Item Flow</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Item Flow</em>'.
* @generated
*/
@@ -75,7 +75,7 @@ public interface PortandflowsFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsPackage.java
index 2b862368d4b..74bb4c28ec0 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/PortandflowsPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsFactory
* @model kind="package"
* @generated
@@ -47,7 +47,7 @@ public interface PortandflowsPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -56,7 +56,7 @@ public interface PortandflowsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowPortImpl
* <em>Flow Port</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowPortImpl
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getFlowPort()
* @generated
@@ -66,7 +66,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Port</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FLOW_PORT__BASE_PORT = eINSTANCE.getFlowPort_Base_Port();
@@ -74,7 +74,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Is Atomic</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute FLOW_PORT__IS_ATOMIC = eINSTANCE.getFlowPort_IsAtomic();
@@ -82,7 +82,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Is Conjugated</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute FLOW_PORT__IS_CONJUGATED = eINSTANCE.getFlowPort_IsConjugated();
@@ -90,7 +90,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute FLOW_PORT__DIRECTION = eINSTANCE.getFlowPort_Direction();
@@ -99,7 +99,7 @@ public interface PortandflowsPackage extends EPackage {
* The meta object literal for the '<em><b>Get Icon</b></em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EOperation FLOW_PORT___GET_ICON = eINSTANCE.getFlowPort__GetIcon();
@@ -109,7 +109,7 @@ public interface PortandflowsPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowPropertyImpl
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getFlowProperty()
* @generated
@@ -119,7 +119,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Property</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FLOW_PROPERTY__BASE_PROPERTY = eINSTANCE.getFlowProperty_Base_Property();
@@ -127,7 +127,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute FLOW_PROPERTY__DIRECTION = eINSTANCE.getFlowProperty_Direction();
@@ -136,7 +136,7 @@ public interface PortandflowsPackage extends EPackage {
* The meta object literal for the '<em><b>Get Icon</b></em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EOperation FLOW_PROPERTY___GET_ICON = eINSTANCE.getFlowProperty__GetIcon();
@@ -146,7 +146,7 @@ public interface PortandflowsPackage extends EPackage {
* <em>Flow Specification</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowSpecificationImpl
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getFlowSpecification()
* @generated
@@ -156,7 +156,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Interface</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FLOW_SPECIFICATION__BASE_INTERFACE = eINSTANCE.getFlowSpecification_Base_Interface();
@@ -165,7 +165,7 @@ public interface PortandflowsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.portandflows.internal.impl.ItemFlowImpl
* <em>Item Flow</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.ItemFlowImpl
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getItemFlow()
* @generated
@@ -175,7 +175,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object literal for the ' <em><b>Base Information Flow</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ITEM_FLOW__BASE_INFORMATION_FLOW = eINSTANCE.getItemFlow_Base_InformationFlow();
@@ -183,7 +183,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Item Property</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ITEM_FLOW__ITEM_PROPERTY = eINSTANCE.getItemFlow_ItemProperty();
@@ -192,7 +192,7 @@ public interface PortandflowsPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.portandflows.FlowDirection <em>Flow Direction</em>}' enum.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.FlowDirection
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getFlowDirection()
* @generated
@@ -204,7 +204,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "portandflows";
@@ -212,7 +212,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/PortAndFlows";
@@ -220,7 +220,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "PortAndFlows";
@@ -229,7 +229,7 @@ public interface PortandflowsPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
PortandflowsPackage eINSTANCE = org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl.init();
@@ -237,7 +237,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowPortImpl <em>Flow Port</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowPortImpl
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getFlowPort()
* @generated
@@ -247,7 +247,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Port</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -256,7 +256,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The feature id for the '<em><b>Is Atomic</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -265,7 +265,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The feature id for the '<em><b>Is Conjugated</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -274,7 +274,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The feature id for the '<em><b>Direction</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -283,7 +283,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The number of structural features of the '<em>Flow Port</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -293,7 +293,7 @@ public interface PortandflowsPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -303,7 +303,7 @@ public interface PortandflowsPackage extends EPackage {
* The number of operations of the '<em>Flow Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -313,7 +313,7 @@ public interface PortandflowsPackage extends EPackage {
* The meta object id for the ' {@link org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowPropertyImpl
* <em>Flow Property</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowPropertyImpl
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getFlowProperty()
* @generated
@@ -323,7 +323,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Property</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -332,7 +332,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The feature id for the '<em><b>Direction</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -341,7 +341,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The number of structural features of the '<em>Flow Property</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -351,7 +351,7 @@ public interface PortandflowsPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -361,7 +361,7 @@ public interface PortandflowsPackage extends EPackage {
* The number of operations of the '<em>Flow Property</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -372,7 +372,7 @@ public interface PortandflowsPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowSpecificationImpl
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getFlowSpecification()
* @generated
@@ -382,7 +382,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Interface</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -391,7 +391,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The number of structural features of the '<em>Flow Specification</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -401,7 +401,7 @@ public interface PortandflowsPackage extends EPackage {
* The number of operations of the '<em>Flow Specification</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -410,7 +410,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.portandflows.internal.impl.ItemFlowImpl <em>Item Flow</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.ItemFlowImpl
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getItemFlow()
* @generated
@@ -420,7 +420,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Information Flow</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -429,7 +429,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The feature id for the '<em><b>Item Property</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -438,7 +438,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* The number of structural features of the '<em>Item Flow</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -448,7 +448,7 @@ public interface PortandflowsPackage extends EPackage {
* The number of operations of the '<em>Item Flow</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -458,7 +458,7 @@ public interface PortandflowsPackage extends EPackage {
* The meta object id for the ' {@link org.eclipse.papyrus.sysml.portandflows.FlowDirection
* <em>Flow Direction</em>}' enum. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.FlowDirection
* @see org.eclipse.papyrus.sysml.portandflows.internal.impl.PortandflowsPackageImpl#getFlowDirection()
* @generated
@@ -468,7 +468,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for enum '{@link org.eclipse.papyrus.sysml.portandflows.FlowDirection <em>Flow Direction</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for enum '<em>Flow Direction</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowDirection
* @generated
@@ -478,7 +478,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portandflows.FlowPort <em>Flow Port</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Flow Port</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowPort
* @generated
@@ -488,7 +488,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portandflows.FlowPort#getBase_Port <em>Base Port</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Port</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowPort#getBase_Port()
* @see #getFlowPort()
@@ -499,7 +499,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.portandflows.FlowPort#getDirection <em>Direction</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Direction</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowPort#getDirection()
* @see #getFlowPort()
@@ -511,7 +511,7 @@ public interface PortandflowsPackage extends EPackage {
* Returns the meta object for the '{@link org.eclipse.papyrus.sysml.portandflows.FlowPort#getIcon() <em>Get Icon</em>}' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the '<em>Get Icon</em>' operation.
* @see org.eclipse.papyrus.sysml.portandflows.FlowPort#getIcon()
* @generated
@@ -521,7 +521,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.portandflows.FlowPort#isAtomic <em>Is Atomic</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Is Atomic</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowPort#isAtomic()
* @see #getFlowPort()
@@ -532,7 +532,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.portandflows.FlowPort#isConjugated <em>Is Conjugated</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Is Conjugated</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowPort#isConjugated()
* @see #getFlowPort()
@@ -543,7 +543,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty <em>Flow Property</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Flow Property</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowProperty
* @generated
@@ -551,10 +551,9 @@ public interface PortandflowsPackage extends EPackage {
EClass getFlowProperty();
/**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getBase_Property <em>Base Property</em>}
- * '.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getBase_Property <em>Base Property</em>} '.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Property</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowProperty#getBase_Property()
* @see #getFlowProperty()
@@ -565,7 +564,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getDirection <em>Direction</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Direction</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowProperty#getDirection()
* @see #getFlowProperty()
@@ -577,7 +576,7 @@ public interface PortandflowsPackage extends EPackage {
* Returns the meta object for the '{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getIcon() <em>Get Icon</em>}' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the '<em>Get Icon</em>' operation.
* @see org.eclipse.papyrus.sysml.portandflows.FlowProperty#getIcon()
* @generated
@@ -588,7 +587,7 @@ public interface PortandflowsPackage extends EPackage {
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.portandflows.FlowSpecification
* <em>Flow Specification</em>} '. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for class '<em>Flow Specification</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowSpecification
* @generated
@@ -599,7 +598,7 @@ public interface PortandflowsPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portandflows.FlowSpecification#getBase_Interface
* <em>Base Interface</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Interface</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.FlowSpecification#getBase_Interface()
* @see #getFlowSpecification()
@@ -610,7 +609,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portandflows.ItemFlow <em>Item Flow</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Item Flow</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.ItemFlow
* @generated
@@ -622,7 +621,7 @@ public interface PortandflowsPackage extends EPackage {
* <em>Base Information Flow</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Information Flow</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.ItemFlow#getBase_InformationFlow()
* @see #getItemFlow()
@@ -633,7 +632,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portandflows.ItemFlow#getItemProperty <em>Item Property</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Item Property</em>'.
* @see org.eclipse.papyrus.sysml.portandflows.ItemFlow#getItemProperty()
* @see #getItemFlow()
@@ -644,7 +643,7 @@ public interface PortandflowsPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPortImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPortImpl.java
index 0758e4443ef..059619436d0 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPortImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPortImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -42,7 +42,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <li>{@link org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowPortImpl#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPort {
@@ -50,7 +50,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getBase_Port()
* @generated
* @ordered
@@ -60,7 +60,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* The default value of the '{@link #isAtomic() <em>Is Atomic</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #isAtomic()
* @generated
* @ordered
@@ -71,7 +71,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
* The default value of the '{@link #isConjugated() <em>Is Conjugated</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #isConjugated()
* @generated
* @ordered
@@ -81,7 +81,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* The cached value of the '{@link #isConjugated() <em>Is Conjugated</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #isConjugated()
* @generated
* @ordered
@@ -91,7 +91,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -101,7 +101,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -110,7 +110,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected FlowPortImpl() {
@@ -119,7 +119,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Port basicGetBase_Port() {
@@ -128,15 +128,16 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_PORT__BASE_PORT:
- if(resolve)
+ if (resolve) {
return getBase_Port();
+ }
return basicGetBase_Port();
case PortandflowsPackage.FLOW_PORT__IS_ATOMIC:
return isAtomic();
@@ -150,12 +151,12 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_PORT__BASE_PORT:
return base_Port != null;
case PortandflowsPackage.FLOW_PORT__IS_ATOMIC:
@@ -171,12 +172,12 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
- switch(operationID) {
+ switch (operationID) {
case PortandflowsPackage.FLOW_PORT___GET_ICON:
return getIcon();
}
@@ -185,20 +186,20 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_PORT__BASE_PORT:
- setBase_Port((Port)newValue);
+ setBase_Port((Port) newValue);
return;
case PortandflowsPackage.FLOW_PORT__IS_CONJUGATED:
- setIsConjugated((Boolean)newValue);
+ setIsConjugated((Boolean) newValue);
return;
case PortandflowsPackage.FLOW_PORT__DIRECTION:
- setDirection((FlowDirection)newValue);
+ setDirection((FlowDirection) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -206,7 +207,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -216,14 +217,14 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_PORT__BASE_PORT:
- setBase_Port((Port)null);
+ setBase_Port((Port) null);
return;
case PortandflowsPackage.FLOW_PORT__IS_CONJUGATED:
setIsConjugated(IS_CONJUGATED_EDEFAULT);
@@ -237,16 +238,17 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Port getBase_Port() {
- if(base_Port != null && base_Port.eIsProxy()) {
- InternalEObject oldBase_Port = (InternalEObject)base_Port;
- base_Port = (Port)eResolveProxy(oldBase_Port);
- if(base_Port != oldBase_Port) {
- if(eNotificationRequired())
+ if (base_Port != null && base_Port.eIsProxy()) {
+ InternalEObject oldBase_Port = (InternalEObject) base_Port;
+ base_Port = (Port) eResolveProxy(oldBase_Port);
+ if (base_Port != oldBase_Port) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortandflowsPackage.FLOW_PORT__BASE_PORT, oldBase_Port, base_Port));
+ }
}
}
return base_Port;
@@ -254,7 +256,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public FlowDirection getDirection() {
@@ -265,25 +267,25 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
* <!-- begin-user-doc --> Images registered in Profile are : 0 - FlowPort
* (default, similar to INOUT) 1 - FlowPort IN 2 - FlowPort OUT 3 - FlowPort
* INOUT 4 - FlowPort NA (Non Atomic) <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public Image getIcon() {
Image ImageNotFound = null;
- if(getBase_Port() != null) {
+ if (getBase_Port() != null) {
Stereotype st = UMLUtil.getStereotype(this);
Image image = st.getIcons().get(0);
- if(isAtomic()) {
- if(getDirection() == FlowDirection.IN) {
+ if (isAtomic()) {
+ if (getDirection() == FlowDirection.IN) {
image = st.getIcons().get(1);
- } else if(getDirection() == FlowDirection.OUT) {
+ } else if (getDirection() == FlowDirection.OUT) {
image = st.getIcons().get(2);
- } else if(getDirection() == FlowDirection.INOUT) {
+ } else if (getDirection() == FlowDirection.INOUT) {
image = st.getIcons().get(3);
}
@@ -300,20 +302,21 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Port(Port newBase_Port) {
Port oldBase_Port = base_Port;
base_Port = newBase_Port;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.FLOW_PORT__BASE_PORT, oldBase_Port, base_Port));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public boolean isAtomic() {
@@ -321,14 +324,14 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
Boolean isAtomic = true;
FlowSpecification flowSpec = null;
- if(getBase_Port() != null) {
+ if (getBase_Port() != null) {
// Find FlowPort type
Type type = getBase_Port().getType();
- if((type != null) && (type instanceof Interface)) {
+ if ((type != null) && (type instanceof Interface)) {
flowSpec = UMLUtil.getStereotypeApplication(type, FlowSpecification.class);
}
- if(flowSpec != null) {
+ if (flowSpec != null) {
isAtomic = false;
}
}
@@ -338,7 +341,7 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public boolean isConjugated() {
@@ -347,19 +350,20 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setDirection(FlowDirection newDirection) {
FlowDirection oldDirection = direction;
direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.FLOW_PORT__DIRECTION, oldDirection, direction));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public void setIsAtomic(boolean newIsAtomic) {
@@ -370,25 +374,27 @@ public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setIsConjugated(boolean newIsConjugated) {
boolean oldIsConjugated = isConjugated;
isConjugated = newIsConjugated;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.FLOW_PORT__IS_CONJUGATED, oldIsConjugated, isConjugated));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isConjugated: ");
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPropertyImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPropertyImpl.java
index 77cfab47071..cf7ee3d5424 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPropertyImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowPropertyImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -37,7 +37,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <li>{@link org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowPropertyImpl#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements FlowProperty {
@@ -46,7 +46,7 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Property()
* @generated
* @ordered
@@ -56,7 +56,7 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -66,7 +66,7 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -75,7 +75,7 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected FlowPropertyImpl() {
@@ -84,7 +84,7 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property basicGetBase_Property() {
@@ -93,15 +93,16 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY:
- if(resolve)
+ if (resolve) {
return getBase_Property();
+ }
return basicGetBase_Property();
case PortandflowsPackage.FLOW_PROPERTY__DIRECTION:
return getDirection();
@@ -111,12 +112,12 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY:
return base_Property != null;
case PortandflowsPackage.FLOW_PROPERTY__DIRECTION:
@@ -128,12 +129,12 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
- switch(operationID) {
+ switch (operationID) {
case PortandflowsPackage.FLOW_PROPERTY___GET_ICON:
return getIcon();
}
@@ -142,17 +143,17 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)newValue);
+ setBase_Property((Property) newValue);
return;
case PortandflowsPackage.FLOW_PROPERTY__DIRECTION:
- setDirection((FlowDirection)newValue);
+ setDirection((FlowDirection) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -160,7 +161,7 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -170,14 +171,14 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY:
- setBase_Property((Property)null);
+ setBase_Property((Property) null);
return;
case PortandflowsPackage.FLOW_PROPERTY__DIRECTION:
setDirection(DIRECTION_EDEFAULT);
@@ -188,16 +189,17 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property getBase_Property() {
- if(base_Property != null && base_Property.eIsProxy()) {
- InternalEObject oldBase_Property = (InternalEObject)base_Property;
- base_Property = (Property)eResolveProxy(oldBase_Property);
- if(base_Property != oldBase_Property) {
- if(eNotificationRequired())
+ if (base_Property != null && base_Property.eIsProxy()) {
+ InternalEObject oldBase_Property = (InternalEObject) base_Property;
+ base_Property = (Property) eResolveProxy(oldBase_Property);
+ if (base_Property != oldBase_Property) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
}
return base_Property;
@@ -205,7 +207,7 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public FlowDirection getDirection() {
@@ -216,23 +218,23 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
* <!-- begin-user-doc --> Images registered in Profile are : 0 - FlowPort
* (default, similar to INOUT) 1 - FlowPort IN 2 - FlowPort OUT 3 - FlowPort
* INOUT <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public Image getIcon() {
Image ImageNotFound = null;
- if(getBase_Property() != null) {
+ if (getBase_Property() != null) {
Stereotype st = UMLUtil.getStereotype(this);
Image image = st.getIcons().get(0);
- if(getDirection() == FlowDirection.IN) {
+ if (getDirection() == FlowDirection.IN) {
image = st.getIcons().get(1);
- } else if(getDirection() == FlowDirection.OUT) {
+ } else if (getDirection() == FlowDirection.OUT) {
image = st.getIcons().get(2);
- } else if(getDirection() == FlowDirection.INOUT) {
+ } else if (getDirection() == FlowDirection.INOUT) {
image = st.getIcons().get(3);
}
@@ -245,37 +247,40 @@ public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements Fl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setDirection(FlowDirection newDirection) {
FlowDirection oldDirection = direction;
direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.FLOW_PROPERTY__DIRECTION, oldDirection, direction));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (direction: ");
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowSpecificationImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowSpecificationImpl.java
index 37fcf54ff9d..23c6ca60595 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowSpecificationImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/FlowSpecificationImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.Interface;
* <li>{@link org.eclipse.papyrus.sysml.portandflows.internal.impl.FlowSpecificationImpl#getBase_Interface <em>Base Interface</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implements FlowSpecification {
@@ -39,7 +39,7 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
* The cached value of the '{@link #getBase_Interface() <em>Base Interface</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Interface()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected FlowSpecificationImpl() {
@@ -57,7 +57,7 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Interface basicGetBase_Interface() {
@@ -66,15 +66,16 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_SPECIFICATION__BASE_INTERFACE:
- if(resolve)
+ if (resolve) {
return getBase_Interface();
+ }
return basicGetBase_Interface();
}
return super.eGet(featureID, resolve, coreType);
@@ -82,12 +83,12 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_SPECIFICATION__BASE_INTERFACE:
return base_Interface != null;
}
@@ -96,14 +97,14 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_SPECIFICATION__BASE_INTERFACE:
- setBase_Interface((Interface)newValue);
+ setBase_Interface((Interface) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,7 +112,7 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -121,14 +122,14 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.FLOW_SPECIFICATION__BASE_INTERFACE:
- setBase_Interface((Interface)null);
+ setBase_Interface((Interface) null);
return;
}
super.eUnset(featureID);
@@ -136,16 +137,17 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Interface getBase_Interface() {
- if(base_Interface != null && base_Interface.eIsProxy()) {
- InternalEObject oldBase_Interface = (InternalEObject)base_Interface;
- base_Interface = (Interface)eResolveProxy(oldBase_Interface);
- if(base_Interface != oldBase_Interface) {
- if(eNotificationRequired())
+ if (base_Interface != null && base_Interface.eIsProxy()) {
+ InternalEObject oldBase_Interface = (InternalEObject) base_Interface;
+ base_Interface = (Interface) eResolveProxy(oldBase_Interface);
+ if (base_Interface != oldBase_Interface) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortandflowsPackage.FLOW_SPECIFICATION__BASE_INTERFACE, oldBase_Interface, base_Interface));
+ }
}
}
return base_Interface;
@@ -153,14 +155,15 @@ public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implemen
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Interface(Interface newBase_Interface) {
Interface oldBase_Interface = base_Interface;
base_Interface = newBase_Interface;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.FLOW_SPECIFICATION__BASE_INTERFACE, oldBase_Interface, base_Interface));
+ }
}
} // FlowSpecificationImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/ItemFlowImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/ItemFlowImpl.java
index ca967730aa2..7e3c455b2e4 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/ItemFlowImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/ItemFlowImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -32,7 +32,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.sysml.portandflows.internal.impl.ItemFlowImpl#getItemProperty <em>Item Property</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFlow {
@@ -41,7 +41,7 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
* The cached value of the '{@link #getBase_InformationFlow() <em>Base Information Flow</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_InformationFlow()
* @generated
* @ordered
@@ -52,7 +52,7 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
* The cached value of the '{@link #getItemProperty() <em>Item Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getItemProperty()
* @generated
* @ordered
@@ -61,7 +61,7 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ItemFlowImpl() {
@@ -70,7 +70,7 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InformationFlow basicGetBase_InformationFlow() {
@@ -79,7 +79,7 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property basicGetItemProperty() {
@@ -88,19 +88,21 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW:
- if(resolve)
+ if (resolve) {
return getBase_InformationFlow();
+ }
return basicGetBase_InformationFlow();
case PortandflowsPackage.ITEM_FLOW__ITEM_PROPERTY:
- if(resolve)
+ if (resolve) {
return getItemProperty();
+ }
return basicGetItemProperty();
}
return super.eGet(featureID, resolve, coreType);
@@ -108,12 +110,12 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW:
return base_InformationFlow != null;
case PortandflowsPackage.ITEM_FLOW__ITEM_PROPERTY:
@@ -124,17 +126,17 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW:
- setBase_InformationFlow((InformationFlow)newValue);
+ setBase_InformationFlow((InformationFlow) newValue);
return;
case PortandflowsPackage.ITEM_FLOW__ITEM_PROPERTY:
- setItemProperty((Property)newValue);
+ setItemProperty((Property) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -142,7 +144,7 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -152,17 +154,17 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case PortandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW:
- setBase_InformationFlow((InformationFlow)null);
+ setBase_InformationFlow((InformationFlow) null);
return;
case PortandflowsPackage.ITEM_FLOW__ITEM_PROPERTY:
- setItemProperty((Property)null);
+ setItemProperty((Property) null);
return;
}
super.eUnset(featureID);
@@ -170,16 +172,17 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InformationFlow getBase_InformationFlow() {
- if(base_InformationFlow != null && base_InformationFlow.eIsProxy()) {
- InternalEObject oldBase_InformationFlow = (InternalEObject)base_InformationFlow;
- base_InformationFlow = (InformationFlow)eResolveProxy(oldBase_InformationFlow);
- if(base_InformationFlow != oldBase_InformationFlow) {
- if(eNotificationRequired())
+ if (base_InformationFlow != null && base_InformationFlow.eIsProxy()) {
+ InternalEObject oldBase_InformationFlow = (InternalEObject) base_InformationFlow;
+ base_InformationFlow = (InformationFlow) eResolveProxy(oldBase_InformationFlow);
+ if (base_InformationFlow != oldBase_InformationFlow) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW, oldBase_InformationFlow, base_InformationFlow));
+ }
}
}
return base_InformationFlow;
@@ -187,16 +190,17 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Property getItemProperty() {
- if(itemProperty != null && itemProperty.eIsProxy()) {
- InternalEObject oldItemProperty = (InternalEObject)itemProperty;
- itemProperty = (Property)eResolveProxy(oldItemProperty);
- if(itemProperty != oldItemProperty) {
- if(eNotificationRequired())
+ if (itemProperty != null && itemProperty.eIsProxy()) {
+ InternalEObject oldItemProperty = (InternalEObject) itemProperty;
+ itemProperty = (Property) eResolveProxy(oldItemProperty);
+ if (itemProperty != oldItemProperty) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortandflowsPackage.ITEM_FLOW__ITEM_PROPERTY, oldItemProperty, itemProperty));
+ }
}
}
return itemProperty;
@@ -204,26 +208,28 @@ public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_InformationFlow(InformationFlow newBase_InformationFlow) {
InformationFlow oldBase_InformationFlow = base_InformationFlow;
base_InformationFlow = newBase_InformationFlow;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW, oldBase_InformationFlow, base_InformationFlow));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setItemProperty(Property newItemProperty) {
Property oldItemProperty = itemProperty;
itemProperty = newItemProperty;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.ITEM_FLOW__ITEM_PROPERTY, oldItemProperty, itemProperty));
+ }
}
} // ItemFlowImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsFactoryImpl.java
index 321023a8824..0c1fc984331 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,14 +30,14 @@ import org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class PortandflowsFactoryImpl extends EFactoryImpl implements PortandflowsFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -50,13 +50,13 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static PortandflowsFactory init() {
try {
- PortandflowsFactory thePortandflowsFactory = (PortandflowsFactory)EPackage.Registry.INSTANCE.getEFactory(PortandflowsPackage.eNS_URI);
- if(thePortandflowsFactory != null) {
+ PortandflowsFactory thePortandflowsFactory = (PortandflowsFactory) EPackage.Registry.INSTANCE.getEFactory(PortandflowsPackage.eNS_URI);
+ if (thePortandflowsFactory != null) {
return thePortandflowsFactory;
}
} catch (Exception exception) {
@@ -69,7 +69,7 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public PortandflowsFactoryImpl() {
@@ -78,7 +78,7 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String convertFlowDirectionToString(EDataType eDataType, Object instanceValue) {
@@ -87,12 +87,12 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case PortandflowsPackage.FLOW_DIRECTION:
return convertFlowDirectionToString(eDataType, instanceValue);
default:
@@ -102,12 +102,12 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
case PortandflowsPackage.FLOW_PORT:
return createFlowPort();
case PortandflowsPackage.FLOW_PROPERTY:
@@ -123,19 +123,20 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public FlowDirection createFlowDirectionFromString(EDataType eDataType, String initialValue) {
FlowDirection result = FlowDirection.get(initialValue);
- if(result == null)
+ if (result == null) {
throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ }
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public FlowPort createFlowPort() {
@@ -145,7 +146,7 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public FlowProperty createFlowProperty() {
@@ -155,7 +156,7 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public FlowSpecification createFlowSpecification() {
@@ -165,12 +166,12 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case PortandflowsPackage.FLOW_DIRECTION:
return createFlowDirectionFromString(eDataType, initialValue);
default:
@@ -180,7 +181,7 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ItemFlow createItemFlow() {
@@ -190,11 +191,11 @@ public class PortandflowsFactoryImpl extends EFactoryImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public PortandflowsPackage getPortandflowsPackage() {
- return (PortandflowsPackage)getEPackage();
+ return (PortandflowsPackage) getEPackage();
}
} // PortandflowsFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsPackageImpl.java
index 68422b8d949..19044518771 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/internal/impl/PortandflowsPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -54,36 +54,37 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class PortandflowsPackageImpl extends EPackageImpl implements PortandflowsPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link PortandflowsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link PortandflowsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static PortandflowsPackage init() {
- if(isInited)
- return (PortandflowsPackage)EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI);
+ if (isInited) {
+ return (PortandflowsPackage) EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI);
+ }
// Obtain or create and register package
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PortandflowsPackageImpl());
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PortandflowsPackageImpl());
isInited = true;
@@ -91,16 +92,24 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
thePortandflowsPackage.createPackageContents();
@@ -139,49 +148,49 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass flowPortEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass flowPropertyEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass flowSpecificationEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass itemFlowEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EEnum flowDirectionEEnum = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -191,9 +200,8 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#eNS_URI
* @see #init()
@@ -208,12 +216,13 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create classes and their features
@@ -242,7 +251,7 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EEnum getFlowDirection() {
@@ -251,7 +260,7 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getFlowPort() {
@@ -260,26 +269,26 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getFlowPort_Base_Port() {
- return (EReference)flowPortEClass.getEStructuralFeatures().get(0);
+ return (EReference) flowPortEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getFlowPort_Direction() {
- return (EAttribute)flowPortEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) flowPortEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EOperation getFlowPort__GetIcon() {
@@ -288,25 +297,25 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getFlowPort_IsAtomic() {
- return (EAttribute)flowPortEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) flowPortEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getFlowPort_IsConjugated() {
- return (EAttribute)flowPortEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) flowPortEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getFlowProperty() {
@@ -315,26 +324,26 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getFlowProperty_Base_Property() {
- return (EReference)flowPropertyEClass.getEStructuralFeatures().get(0);
+ return (EReference) flowPropertyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getFlowProperty_Direction() {
- return (EAttribute)flowPropertyEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) flowPropertyEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EOperation getFlowProperty__GetIcon() {
@@ -343,7 +352,7 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getFlowSpecification() {
@@ -352,16 +361,16 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getFlowSpecification_Base_Interface() {
- return (EReference)flowSpecificationEClass.getEStructuralFeatures().get(0);
+ return (EReference) flowSpecificationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getItemFlow() {
@@ -370,41 +379,42 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getItemFlow_Base_InformationFlow() {
- return (EReference)itemFlowEClass.getEStructuralFeatures().get(0);
+ return (EReference) itemFlowEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getItemFlow_ItemProperty() {
- return (EReference)itemFlowEClass.getEStructuralFeatures().get(1);
+ return (EReference) itemFlowEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public PortandflowsFactory getPortandflowsFactory() {
- return (PortandflowsFactory)getEFactoryInstance();
+ return (PortandflowsFactory) getEFactoryInstance();
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -413,8 +423,8 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
setNsURI(eNS_URI);
// Obtain other dependent packages
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
// Create type parameters
@@ -432,17 +442,21 @@ public class PortandflowsPackageImpl extends EPackageImpl implements Portandflow
initEOperation(getFlowPort__GetIcon(), theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !IS_ORDERED);
initEClass(flowPropertyEClass, FlowProperty.class, "FlowProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- 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);
+ 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);
initEAttribute(getFlowProperty_Direction(), this.getFlowDirection(), "direction", "inout", 1, 1, FlowProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEOperation(getFlowProperty__GetIcon(), theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !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);
+ 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(itemFlowEClass, ItemFlow.class, "ItemFlow", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getItemFlow_Base_InformationFlow(), theUMLPackage.getInformationFlow(), null, "base_InformationFlow", null, 1, 1, ItemFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getItemFlow_ItemProperty(), theUMLPackage.getProperty(), null, "itemProperty", null, 0, 1, ItemFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getItemFlow_Base_InformationFlow(), theUMLPackage.getInformationFlow(), null, "base_InformationFlow", null, 1, 1, ItemFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getItemFlow_ItemProperty(), theUMLPackage.getProperty(), null, "itemProperty", null, 0, 1, ItemFlow.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(flowDirectionEEnum, FlowDirection.class, "FlowDirection");
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsAdapterFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsAdapterFactory.java
index f755f975604..c9a78507dfb 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsAdapterFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -27,7 +27,7 @@ import org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage;
* <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides
* an adapter <code>createXXX</code> method for each class of the model. <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage
* @generated
*/
@@ -36,7 +36,7 @@ public class PortandflowsAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static PortandflowsPackage modelPackage;
@@ -44,7 +44,7 @@ public class PortandflowsAdapterFactory extends AdapterFactoryImpl {
/**
* The switch that delegates to the <code>createXXX</code> methods. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected PortandflowsSwitch<Adapter> modelSwitch = new PortandflowsSwitch<Adapter>() {
@@ -79,11 +79,11 @@ public class PortandflowsAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public PortandflowsAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = PortandflowsPackage.eINSTANCE;
}
}
@@ -92,22 +92,22 @@ public class PortandflowsAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
- * the object to adapt.
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
* Creates a new adapter for the default case.
* <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
@@ -121,7 +121,7 @@ public class PortandflowsAdapterFactory extends AdapterFactoryImpl {
* returns null so that we can easily ignore cases; it's useful to ignore a
* case when inheritance will catch all the cases anyway. <!-- end-user-doc
* -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.portandflows.FlowPort
* @generated
@@ -136,7 +136,7 @@ public class PortandflowsAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.portandflows.FlowProperty
* @generated
@@ -151,7 +151,7 @@ public class PortandflowsAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.portandflows.FlowSpecification
* @generated
@@ -166,7 +166,7 @@ public class PortandflowsAdapterFactory extends AdapterFactoryImpl {
* returns null so that we can easily ignore cases; it's useful to ignore a
* case when inheritance will catch all the cases anyway. <!-- end-user-doc
* -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.portandflows.ItemFlow
* @generated
@@ -180,17 +180,17 @@ public class PortandflowsAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This implementation returns <code>true</code> if
* the object is either the model's package or is an instance object of the
* model. <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceFactoryImpl.java
index 878ad83063b..4c10fd326ff 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.xmi.XMLResource;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.util.PortandflowsResourceImpl
* @generated
*/
@@ -31,7 +31,7 @@ public class PortandflowsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public PortandflowsResourceFactoryImpl() {
@@ -42,7 +42,7 @@ public class PortandflowsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceImpl.java
index 395d256d1b0..7014ac0ed82 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.util.PortandflowsResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class PortandflowsResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public PortandflowsResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsSwitch.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsSwitch.java
index d18501dc588..5132c613247 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsSwitch.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -28,7 +28,7 @@ import org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage;
* starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the
* result of the switch. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage
* @generated
*/
@@ -37,7 +37,7 @@ public class PortandflowsSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static PortandflowsPackage modelPackage;
@@ -46,11 +46,11 @@ public class PortandflowsSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public PortandflowsSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = PortandflowsPackage.eINSTANCE;
}
}
@@ -58,7 +58,7 @@ public class PortandflowsSwitch<T> extends Switch<T> {
/**
* Checks whether this is a switch for the given package. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -73,9 +73,9 @@ public class PortandflowsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Flow Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -89,9 +89,9 @@ public class PortandflowsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Flow Property</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -105,9 +105,9 @@ public class PortandflowsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Flow Specification</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -121,9 +121,9 @@ public class PortandflowsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Item Flow</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -137,9 +137,9 @@ public class PortandflowsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch, but this is
* the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -153,43 +153,43 @@ public class PortandflowsSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case PortandflowsPackage.FLOW_PORT:
- {
- FlowPort flowPort = (FlowPort)theEObject;
+ switch (classifierID) {
+ case PortandflowsPackage.FLOW_PORT: {
+ FlowPort flowPort = (FlowPort) theEObject;
T result = caseFlowPort(flowPort);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case PortandflowsPackage.FLOW_PROPERTY:
- {
- FlowProperty flowProperty = (FlowProperty)theEObject;
+ case PortandflowsPackage.FLOW_PROPERTY: {
+ FlowProperty flowProperty = (FlowProperty) theEObject;
T result = caseFlowProperty(flowProperty);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case PortandflowsPackage.FLOW_SPECIFICATION:
- {
- FlowSpecification flowSpecification = (FlowSpecification)theEObject;
+ case PortandflowsPackage.FLOW_SPECIFICATION: {
+ FlowSpecification flowSpecification = (FlowSpecification) theEObject;
T result = caseFlowSpecification(flowSpecification);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case PortandflowsPackage.ITEM_FLOW:
- {
- ItemFlow itemFlow = (ItemFlow)theEObject;
+ case PortandflowsPackage.ITEM_FLOW: {
+ ItemFlow itemFlow = (ItemFlow) theEObject;
T result = caseItemFlow(itemFlow);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
default:
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsXMLProcessor.java
index cb8f9f3bab2..300ad7f3a1f 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portandflows/util/PortandflowsXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class PortandflowsXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class PortandflowsXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public PortandflowsXMLProcessor() {
@@ -44,12 +44,12 @@ public class PortandflowsXMLProcessor extends XMLProcessor {
* Register for "*" and "xml" file extensions the PortandflowsResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new PortandflowsResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new PortandflowsResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Copy.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Copy.java
index bf554f0a441..72f7a2ba3d8 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Copy.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Copy.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -16,8 +16,8 @@ package org.eclipse.papyrus.sysml.requirements;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Copy</b></em>'. <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getCopy()
* @model
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/DeriveReqt.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/DeriveReqt.java
index bc09960ece6..8c37f516933 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/DeriveReqt.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/DeriveReqt.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -16,8 +16,8 @@ package org.eclipse.papyrus.sysml.requirements;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Derive Reqt</b></em>'. <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getDeriveReqt()
* @model
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Requirement.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Requirement.java
index 2a464ee46b8..fa5c1acfd64 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Requirement.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Requirement.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -20,7 +20,7 @@ import org.eclipse.uml2.uml.NamedElement;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Requirement</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.NamedElement;
* <li>{@link org.eclipse.papyrus.sysml.requirements.Requirement#getBase_Class <em>Base Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement()
* @model
* @generated
@@ -50,7 +50,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Base Class</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Class</em>' reference.
* @see #setBase_Class(org.eclipse.uml2.uml.Class)
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_Base_Class()
@@ -67,7 +67,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Derived</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Derived</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_Derived()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -84,7 +84,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Derived From</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Derived From</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_DerivedFrom()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -100,7 +100,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Id</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_Id()
@@ -116,7 +116,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Master</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Master</em>' reference.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_Master()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -133,7 +133,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Refined By</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Refined By</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_RefinedBy()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -147,9 +147,9 @@ public interface Requirement extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getRefinedBy()
* @generated
@@ -161,13 +161,13 @@ public interface Requirement extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @param ignoreCase
- * Whether to ignore case in {@link java.lang.String} comparisons.
+ * Whether to ignore case in {@link java.lang.String} comparisons.
* @param eClass
- * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getRefinedBy()
* @generated
@@ -182,7 +182,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Satisfied By</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Satisfied By</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_SatisfiedBy()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -195,9 +195,9 @@ public interface Requirement extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getSatisfiedBy()
* @generated
@@ -209,13 +209,13 @@ public interface Requirement extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @param ignoreCase
- * Whether to ignore case in {@link java.lang.String} comparisons.
+ * Whether to ignore case in {@link java.lang.String} comparisons.
* @param eClass
- * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getSatisfiedBy()
* @generated
@@ -229,7 +229,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Text</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Text</em>' attribute.
* @see #setText(String)
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_Text()
@@ -246,7 +246,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Traced To</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Traced To</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_TracedTo()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -260,9 +260,9 @@ public interface Requirement extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getTracedTo()
* @generated
@@ -274,13 +274,13 @@ public interface Requirement extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @param ignoreCase
- * Whether to ignore case in {@link java.lang.String} comparisons.
+ * Whether to ignore case in {@link java.lang.String} comparisons.
* @param eClass
- * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getTracedTo()
* @generated
@@ -295,7 +295,7 @@ public interface Requirement extends EObject {
* If the meaning of the '<em>Verified By</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Verified By</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_VerifiedBy()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -308,9 +308,9 @@ public interface Requirement extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getVerifiedBy()
* @generated
@@ -322,13 +322,13 @@ public interface Requirement extends EObject {
* reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param name
- * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @param ignoreCase
- * Whether to ignore case in {@link java.lang.String} comparisons.
+ * Whether to ignore case in {@link java.lang.String} comparisons.
* @param eClass
- * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
+ * The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getVerifiedBy()
* @generated
@@ -339,9 +339,9 @@ public interface Requirement extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getBase_Class <em>Base Class</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Class</em>' reference.
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -350,9 +350,9 @@ public interface Requirement extends EObject {
/**
* Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Id</em>' attribute.
+ * the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
@@ -361,9 +361,9 @@ public interface Requirement extends EObject {
/**
* Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getText <em>Text</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Text</em>' attribute.
+ * the new value of the '<em>Text</em>' attribute.
* @see #getText()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementRelated.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementRelated.java
index c47944c642f..d52d8e7a083 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementRelated.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementRelated.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.uml2.uml.NamedElement;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Requirement Related</b></em> '. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -30,7 +30,7 @@ import org.eclipse.uml2.uml.NamedElement;
* <li>{@link org.eclipse.papyrus.sysml.requirements.RequirementRelated#getVerifies <em>Verifies</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirementRelated()
* @model
* @generated
@@ -44,7 +44,7 @@ public interface RequirementRelated extends EObject {
* If the meaning of the '<em>Base Named Element</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Named Element</em>' reference.
* @see #setBase_NamedElement(NamedElement)
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirementRelated_Base_NamedElement()
@@ -61,7 +61,7 @@ public interface RequirementRelated extends EObject {
* If the meaning of the '<em>Refines</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Refines</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirementRelated_Refines()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -78,7 +78,7 @@ public interface RequirementRelated extends EObject {
* If the meaning of the '<em>Satisfies</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Satisfies</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirementRelated_Satisfies()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -95,7 +95,7 @@ public interface RequirementRelated extends EObject {
* If the meaning of the '<em>Traced From</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Traced From</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirementRelated_TracedFrom()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -112,7 +112,7 @@ public interface RequirementRelated extends EObject {
* If the meaning of the '<em>Verifies</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Verifies</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirementRelated_Verifies()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -126,9 +126,9 @@ public interface RequirementRelated extends EObject {
* reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Named Element</em>' reference.
+ * the new value of the '<em>Base Named Element</em>' reference.
* @see #getBase_NamedElement()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsFactory.java
index e2594c97eb0..1e3b8f35e3e 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface RequirementsFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
RequirementsFactory eINSTANCE = org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsFactoryImpl.init();
@@ -37,7 +37,7 @@ public interface RequirementsFactory extends EFactory {
* Returns a new object of class '<em>Copy</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Copy</em>'.
* @generated
*/
@@ -47,7 +47,7 @@ public interface RequirementsFactory extends EFactory {
* Returns a new object of class '<em>Derive Reqt</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Derive Reqt</em>'.
* @generated
*/
@@ -57,7 +57,7 @@ public interface RequirementsFactory extends EFactory {
* Returns a new object of class '<em>Requirement</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Requirement</em>'.
* @generated
*/
@@ -66,7 +66,7 @@ public interface RequirementsFactory extends EFactory {
/**
* Returns a new object of class '<em>Requirement Related</em>'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Requirement Related</em>'.
* @generated
*/
@@ -76,7 +76,7 @@ public interface RequirementsFactory extends EFactory {
* Returns a new object of class '<em>Satisfy</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Satisfy</em>'.
* @generated
*/
@@ -86,7 +86,7 @@ public interface RequirementsFactory extends EFactory {
* Returns a new object of class '<em>Test Case</em>'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Test Case</em>'.
* @generated
*/
@@ -96,7 +96,7 @@ public interface RequirementsFactory extends EFactory {
* Returns a new object of class '<em>Verify</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Verify</em>'.
* @generated
*/
@@ -106,7 +106,7 @@ public interface RequirementsFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsPackage.java
index b5a4dc68391..cbae5d0f77a 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -29,7 +29,7 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsFactory
* @model kind="package"
* @generated
@@ -46,7 +46,7 @@ public interface RequirementsPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -55,7 +55,7 @@ public interface RequirementsPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.DeriveReqtImpl <em>Derive Reqt</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.DeriveReqtImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getDeriveReqt()
* @generated
@@ -66,7 +66,7 @@ public interface RequirementsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.requirements.internal.impl.VerifyImpl
* <em>Verify</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.VerifyImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getVerify()
* @generated
@@ -76,7 +76,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.CopyImpl <em>Copy</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.CopyImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getCopy()
* @generated
@@ -87,7 +87,7 @@ public interface RequirementsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.requirements.internal.impl.SatisfyImpl
* <em>Satisfy</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.SatisfyImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getSatisfy()
* @generated
@@ -98,7 +98,7 @@ public interface RequirementsPackage extends EPackage {
* The meta object literal for the ' {@link org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl
* <em>Test Case</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getTestCase()
* @generated
@@ -108,7 +108,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Behavior</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference TEST_CASE__BASE_BEHAVIOR = eINSTANCE.getTestCase_Base_Behavior();
@@ -116,7 +116,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Operation</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference TEST_CASE__BASE_OPERATION = eINSTANCE.getTestCase_Base_Operation();
@@ -124,7 +124,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Verifies</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference TEST_CASE__VERIFIES = eINSTANCE.getTestCase_Verifies();
@@ -133,7 +133,7 @@ public interface RequirementsPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl <em>Requirement</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getRequirement()
* @generated
@@ -143,7 +143,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Text</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute REQUIREMENT__TEXT = eINSTANCE.getRequirement_Text();
@@ -151,7 +151,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Id</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute REQUIREMENT__ID = eINSTANCE.getRequirement_Id();
@@ -159,7 +159,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Derived</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT__DERIVED = eINSTANCE.getRequirement_Derived();
@@ -167,7 +167,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Derived From</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT__DERIVED_FROM = eINSTANCE.getRequirement_DerivedFrom();
@@ -175,7 +175,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Satisfied By</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT__SATISFIED_BY = eINSTANCE.getRequirement_SatisfiedBy();
@@ -183,7 +183,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Refined By</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT__REFINED_BY = eINSTANCE.getRequirement_RefinedBy();
@@ -191,7 +191,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Traced To</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT__TRACED_TO = eINSTANCE.getRequirement_TracedTo();
@@ -199,7 +199,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Verified By</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT__VERIFIED_BY = eINSTANCE.getRequirement_VerifiedBy();
@@ -207,7 +207,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Master</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT__MASTER = eINSTANCE.getRequirement_Master();
@@ -215,7 +215,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT__BASE_CLASS = eINSTANCE.getRequirement_Base_Class();
@@ -225,7 +225,7 @@ public interface RequirementsPackage extends EPackage {
* <em>Requirement Related</em>}' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementRelatedImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getRequirementRelated()
* @generated
@@ -235,7 +235,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Named Element</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT_RELATED__BASE_NAMED_ELEMENT = eINSTANCE.getRequirementRelated_Base_NamedElement();
@@ -243,7 +243,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Traced From</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT_RELATED__TRACED_FROM = eINSTANCE.getRequirementRelated_TracedFrom();
@@ -251,7 +251,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Satisfies</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT_RELATED__SATISFIES = eINSTANCE.getRequirementRelated_Satisfies();
@@ -259,7 +259,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Refines</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT_RELATED__REFINES = eINSTANCE.getRequirementRelated_Refines();
@@ -267,7 +267,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Verifies</b></em>' reference list feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference REQUIREMENT_RELATED__VERIFIES = eINSTANCE.getRequirementRelated_Verifies();
@@ -277,7 +277,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "requirements";
@@ -285,7 +285,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements";
@@ -293,7 +293,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "Requirements";
@@ -302,7 +302,7 @@ public interface RequirementsPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
RequirementsPackage eINSTANCE = org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl.init();
@@ -311,7 +311,7 @@ public interface RequirementsPackage extends EPackage {
* The meta object id for the ' {@link org.eclipse.papyrus.sysml.requirements.internal.impl.DeriveReqtImpl
* <em>Derive Reqt</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.DeriveReqtImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getDeriveReqt()
* @generated
@@ -321,7 +321,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Abstraction</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -330,7 +330,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Derive Reqt</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -340,7 +340,7 @@ public interface RequirementsPackage extends EPackage {
* The number of operations of the '<em>Derive Reqt</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -349,7 +349,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.VerifyImpl <em>Verify</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.VerifyImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getVerify()
* @generated
@@ -359,7 +359,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Abstraction</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -368,7 +368,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Verify</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -378,7 +378,7 @@ public interface RequirementsPackage extends EPackage {
* The number of operations of the '<em>Verify</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -387,7 +387,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.CopyImpl <em>Copy</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.CopyImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getCopy()
* @generated
@@ -397,7 +397,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Abstraction</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -406,7 +406,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Copy</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -416,7 +416,7 @@ public interface RequirementsPackage extends EPackage {
* The number of operations of the '<em>Copy</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -425,7 +425,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.SatisfyImpl <em>Satisfy</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.SatisfyImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getSatisfy()
* @generated
@@ -435,7 +435,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Abstraction</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -444,7 +444,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Satisfy</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -454,7 +454,7 @@ public interface RequirementsPackage extends EPackage {
* The number of operations of the '<em>Satisfy</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -463,7 +463,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl <em>Test Case</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getTestCase()
* @generated
@@ -473,7 +473,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Behavior</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -482,7 +482,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Operation</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -491,7 +491,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Verifies</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -500,7 +500,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Test Case</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -510,7 +510,7 @@ public interface RequirementsPackage extends EPackage {
* The number of operations of the '<em>Test Case</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -520,7 +520,7 @@ public interface RequirementsPackage extends EPackage {
* The meta object id for the ' {@link org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl
* <em>Requirement</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getRequirement()
* @generated
@@ -530,7 +530,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Text</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -539,7 +539,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Id</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -548,7 +548,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Derived</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -557,7 +557,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Derived From</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -566,7 +566,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Satisfied By</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -575,7 +575,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Refined By</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -584,7 +584,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Traced To</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -593,7 +593,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Verified By</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -602,7 +602,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Master</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -611,7 +611,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Class</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -620,7 +620,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Requirement</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -630,7 +630,7 @@ public interface RequirementsPackage extends EPackage {
* The number of operations of the '<em>Requirement</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -641,7 +641,7 @@ public interface RequirementsPackage extends EPackage {
* class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementRelatedImpl
* @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getRequirementRelated()
* @generated
@@ -651,7 +651,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -660,7 +660,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Traced From</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -669,7 +669,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Satisfies</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -678,7 +678,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Refines</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -687,7 +687,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The feature id for the '<em><b>Verifies</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -696,7 +696,7 @@ public interface RequirementsPackage extends EPackage {
/**
* The number of structural features of the '<em>Requirement Related</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -706,7 +706,7 @@ public interface RequirementsPackage extends EPackage {
* The number of operations of the '<em>Requirement Related</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -715,7 +715,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.requirements.Copy <em>Copy</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Copy</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Copy
* @generated
@@ -725,7 +725,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.DeriveReqt <em>Derive Reqt</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Derive Reqt</em>'.
* @see org.eclipse.papyrus.sysml.requirements.DeriveReqt
* @generated
@@ -735,7 +735,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.Requirement <em>Requirement</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Requirement</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement
* @generated
@@ -745,7 +745,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getBase_Class <em>Base Class</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Class</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getBase_Class()
* @see #getRequirement()
@@ -756,7 +756,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getDerived <em>Derived</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Derived</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getDerived()
* @see #getRequirement()
@@ -765,10 +765,9 @@ public interface RequirementsPackage extends EPackage {
EReference getRequirement_Derived();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getDerivedFrom <em>Derived From</em>}
- * '.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getDerivedFrom <em>Derived From</em>} '.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Derived From</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getDerivedFrom()
* @see #getRequirement()
@@ -779,7 +778,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getId <em>Id</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Id</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getId()
* @see #getRequirement()
@@ -790,7 +789,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getMaster <em>Master</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Master</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getMaster()
* @see #getRequirement()
@@ -801,7 +800,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getRefinedBy <em>Refined By</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Refined By</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getRefinedBy()
* @see #getRequirement()
@@ -810,10 +809,9 @@ public interface RequirementsPackage extends EPackage {
EReference getRequirement_RefinedBy();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getSatisfiedBy <em>Satisfied By</em>}
- * '.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getSatisfiedBy <em>Satisfied By</em>} '.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Satisfied By</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getSatisfiedBy()
* @see #getRequirement()
@@ -824,7 +822,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getText <em>Text</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Text</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getText()
* @see #getRequirement()
@@ -835,7 +833,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getTracedTo <em>Traced To</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Traced To</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getTracedTo()
* @see #getRequirement()
@@ -846,7 +844,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getVerifiedBy <em>Verified By</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Verified By</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Requirement#getVerifiedBy()
* @see #getRequirement()
@@ -858,7 +856,7 @@ public interface RequirementsPackage extends EPackage {
* Returns the meta object for class ' {@link org.eclipse.papyrus.sysml.requirements.RequirementRelated
* <em>Requirement Related</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for class '<em>Requirement Related</em>'.
* @see org.eclipse.papyrus.sysml.requirements.RequirementRelated
* @generated
@@ -869,7 +867,7 @@ public interface RequirementsPackage extends EPackage {
* Returns the meta object for the reference ' {@link org.eclipse.papyrus.sysml.requirements.RequirementRelated#getBase_NamedElement
* <em>Base Named Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return the meta object for the reference '<em>Base Named Element</em>'.
* @see org.eclipse.papyrus.sysml.requirements.RequirementRelated#getBase_NamedElement()
* @see #getRequirementRelated()
@@ -880,7 +878,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.RequirementRelated#getRefines <em>Refines</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Refines</em>'.
* @see org.eclipse.papyrus.sysml.requirements.RequirementRelated#getRefines()
* @see #getRequirementRelated()
@@ -892,7 +890,7 @@ public interface RequirementsPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.RequirementRelated#getSatisfies
* <em>Satisfies</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Satisfies</em>'.
* @see org.eclipse.papyrus.sysml.requirements.RequirementRelated#getSatisfies()
* @see #getRequirementRelated()
@@ -904,7 +902,7 @@ public interface RequirementsPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.RequirementRelated#getTracedFrom
* <em>Traced From</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Traced From</em>'.
* @see org.eclipse.papyrus.sysml.requirements.RequirementRelated#getTracedFrom()
* @see #getRequirementRelated()
@@ -913,10 +911,9 @@ public interface RequirementsPackage extends EPackage {
EReference getRequirementRelated_TracedFrom();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.RequirementRelated#getVerifies <em>Verifies</em>}
- * '.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.RequirementRelated#getVerifies <em>Verifies</em>} '.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Verifies</em>'.
* @see org.eclipse.papyrus.sysml.requirements.RequirementRelated#getVerifies()
* @see #getRequirementRelated()
@@ -927,7 +924,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -936,7 +933,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.Satisfy <em>Satisfy</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Satisfy</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Satisfy
* @generated
@@ -946,7 +943,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.TestCase <em>Test Case</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Test Case</em>'.
* @see org.eclipse.papyrus.sysml.requirements.TestCase
* @generated
@@ -956,7 +953,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Behavior <em>Base Behavior</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Behavior</em>'.
* @see org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Behavior()
* @see #getTestCase()
@@ -967,7 +964,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Operation <em>Base Operation</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Base Operation</em>'.
* @see org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Operation()
* @see #getTestCase()
@@ -978,7 +975,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.TestCase#getVerifies <em>Verifies</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Verifies</em>'.
* @see org.eclipse.papyrus.sysml.requirements.TestCase#getVerifies()
* @see #getTestCase()
@@ -989,7 +986,7 @@ public interface RequirementsPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.Verify <em>Verify</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Verify</em>'.
* @see org.eclipse.papyrus.sysml.requirements.Verify
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Satisfy.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Satisfy.java
index 8da5a577c10..dafc2ef8a4e 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Satisfy.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Satisfy.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -16,8 +16,8 @@ package org.eclipse.papyrus.sysml.requirements;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Satisfy</b></em>'. <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getSatisfy()
* @model
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/TestCase.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/TestCase.java
index 4efaf5f14dc..1492252e6a7 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/TestCase.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/TestCase.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -20,7 +20,7 @@ import org.eclipse.uml2.uml.Operation;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Test Case</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -29,7 +29,7 @@ import org.eclipse.uml2.uml.Operation;
* <li>{@link org.eclipse.papyrus.sysml.requirements.TestCase#getVerifies <em>Verifies</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getTestCase()
* @model
* @generated
@@ -43,7 +43,7 @@ public interface TestCase extends EObject {
* If the meaning of the '<em>Base Behavior</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Behavior</em>' reference.
* @see #setBase_Behavior(Behavior)
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getTestCase_Base_Behavior()
@@ -59,7 +59,7 @@ public interface TestCase extends EObject {
* If the meaning of the '<em>Base Operation</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Operation</em>' reference.
* @see #setBase_Operation(Operation)
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getTestCase_Base_Operation()
@@ -76,7 +76,7 @@ public interface TestCase extends EObject {
* If the meaning of the '<em>Verifies</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Verifies</em>' reference list.
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getTestCase_Verifies()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -89,9 +89,9 @@ public interface TestCase extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Behavior <em>Base Behavior</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Behavior</em>' reference.
+ * the new value of the '<em>Base Behavior</em>' reference.
* @see #getBase_Behavior()
* @generated
*/
@@ -101,9 +101,9 @@ public interface TestCase extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Operation <em>Base Operation</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Operation</em>' reference.
+ * the new value of the '<em>Base Operation</em>' reference.
* @see #getBase_Operation()
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/VerdictKind.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/VerdictKind.java
index 632af2f392c..42cadbd24b2 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/VerdictKind.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/VerdictKind.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.emf.common.util.Enumerator;
* <!-- begin-user-doc --> A representation of the literals of the enumeration ' <em><b>Verdict Kind</b></em>', and utility methods for working with
* them.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getVerdictKind()
* @model
* @generated
@@ -32,7 +32,7 @@ public enum VerdictKind implements Enumerator {
/**
* The '<em><b>Pass</b></em>' literal object. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #PASS_VALUE
* @generated
* @ordered
@@ -42,7 +42,7 @@ public enum VerdictKind implements Enumerator {
/**
* The '<em><b>Fail</b></em>' literal object. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #FAIL_VALUE
* @generated
* @ordered
@@ -52,7 +52,7 @@ public enum VerdictKind implements Enumerator {
/**
* The '<em><b>Inconclusive</b></em>' literal object. <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
+ *
* @see #INCONCLUSIVE_VALUE
* @generated
* @ordered
@@ -62,7 +62,7 @@ public enum VerdictKind implements Enumerator {
/**
* The '<em><b>Error</b></em>' literal object. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #ERROR_VALUE
* @generated
* @ordered
@@ -75,7 +75,7 @@ public enum VerdictKind implements Enumerator {
* If the meaning of '<em><b>Pass</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #PASS
* @model name="pass"
* @generated
@@ -89,7 +89,7 @@ public enum VerdictKind implements Enumerator {
* If the meaning of '<em><b>Fail</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #FAIL
* @model name="fail"
* @generated
@@ -103,7 +103,7 @@ public enum VerdictKind implements Enumerator {
* If the meaning of '<em><b>Inconclusive</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #INCONCLUSIVE
* @model name="inconclusive"
* @generated
@@ -117,7 +117,7 @@ public enum VerdictKind implements Enumerator {
* If the meaning of '<em><b>Error</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #ERROR
* @model name="error"
* @generated
@@ -128,15 +128,15 @@ public enum VerdictKind implements Enumerator {
/**
* An array of all the '<em><b>Verdict Kind</b></em>' enumerators. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
- private static final VerdictKind[] VALUES_ARRAY = new VerdictKind[]{ PASS, FAIL, INCONCLUSIVE, ERROR, };
+ private static final VerdictKind[] VALUES_ARRAY = new VerdictKind[] { PASS, FAIL, INCONCLUSIVE, ERROR, };
/**
* A public read-only list of all the '<em><b>Verdict Kind</b></em>'
* enumerators. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<VerdictKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -144,11 +144,11 @@ public enum VerdictKind implements Enumerator {
/**
* Returns the '<em><b>Verdict Kind</b></em>' literal with the specified
* integer value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static VerdictKind get(int value) {
- switch(value) {
+ switch (value) {
case PASS_VALUE:
return PASS;
case FAIL_VALUE:
@@ -164,13 +164,13 @@ public enum VerdictKind implements Enumerator {
/**
* Returns the '<em><b>Verdict Kind</b></em>' literal with the specified
* literal value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static VerdictKind get(String literal) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
VerdictKind result = VALUES_ARRAY[i];
- if(result.toString().equals(literal)) {
+ if (result.toString().equals(literal)) {
return result;
}
}
@@ -180,13 +180,13 @@ public enum VerdictKind implements Enumerator {
/**
* Returns the '<em><b>Verdict Kind</b></em>' literal with the specified
* name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static VerdictKind getByName(String name) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
VerdictKind result = VALUES_ARRAY[i];
- if(result.getName().equals(name)) {
+ if (result.getName().equals(name)) {
return result;
}
}
@@ -195,21 +195,21 @@ public enum VerdictKind implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final int value;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String name;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String literal;
@@ -217,7 +217,7 @@ public enum VerdictKind implements Enumerator {
/**
* Only this class can construct instances. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
private VerdictKind(int value, String name, String literal) {
@@ -228,7 +228,7 @@ public enum VerdictKind implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getLiteral() {
@@ -237,7 +237,7 @@ public enum VerdictKind implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -246,7 +246,7 @@ public enum VerdictKind implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public int getValue() {
@@ -256,7 +256,7 @@ public enum VerdictKind implements Enumerator {
/**
* Returns the literal value of the enumerator, which is its string
* representation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Verify.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Verify.java
index 21c5356aba3..7c2ce97f401 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Verify.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/Verify.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -16,8 +16,8 @@ package org.eclipse.papyrus.sysml.requirements;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Verify</b></em>'. <!-- end-user-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getVerify()
* @model
* @generated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/CopyImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/CopyImpl.java
index 30446899c02..2b3e84c0de4 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/CopyImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/CopyImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,14 +21,14 @@ import org.eclipse.papyrus.sysml.requirements.RequirementsPackage;
* <!-- begin-user-doc --> An implementation of the model object ' <em><b>Copy</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class CopyImpl extends org.eclipse.uml2.uml.profile.standard.internal.impl.TraceImpl implements Copy {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected CopyImpl() {
@@ -37,7 +37,7 @@ public class CopyImpl extends org.eclipse.uml2.uml.profile.standard.internal.imp
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/DeriveReqtImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/DeriveReqtImpl.java
index 03e10344009..a23e5cc05ce 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/DeriveReqtImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/DeriveReqtImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,14 +21,14 @@ import org.eclipse.papyrus.sysml.requirements.RequirementsPackage;
* <!-- begin-user-doc --> An implementation of the model object ' <em><b>Derive Reqt</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class DeriveReqtImpl extends org.eclipse.uml2.uml.profile.standard.internal.impl.TraceImpl implements DeriveReqt {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DeriveReqtImpl() {
@@ -37,7 +37,7 @@ public class DeriveReqtImpl extends org.eclipse.uml2.uml.profile.standard.intern
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementImpl.java
index 627e2796bad..6858f4d18f6 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -54,7 +54,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl#getBase_Class <em>Base Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class RequirementImpl extends MinimalEObjectImpl.Container implements Requirement {
@@ -62,7 +62,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* The default value of the '{@link #getText() <em>Text</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getText()
* @generated
* @ordered
@@ -72,7 +72,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* The cached value of the '{@link #getText() <em>Text</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getText()
* @generated
* @ordered
@@ -82,7 +82,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* The default value of the '{@link #getId() <em>Id</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getId()
* @generated
* @ordered
@@ -92,7 +92,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* The cached value of the '{@link #getId() <em>Id</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getId()
* @generated
* @ordered
@@ -102,7 +102,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -111,7 +111,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected RequirementImpl() {
@@ -120,7 +120,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -129,7 +129,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public Requirement basicGetMaster() {
@@ -140,20 +140,20 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
Requirement master = null;
Copy currentCopy = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<Dependency> itDep = getBase_Class().getClientDependencies().iterator();
// Find Copy link
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Dependency currentDep = itDep.next();
currentCopy = UMLUtil.getStereotypeApplication(currentDep, Copy.class);
- if(currentCopy != null) {
+ if (currentCopy != null) {
EList<NamedElement> suppliers = currentCopy.getBase_Abstraction().getSuppliers();
Iterator<NamedElement> it = suppliers.iterator();
- while(it.hasNext() && (master == null)) {
+ while (it.hasNext() && (master == null)) {
Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class);
- if(currentRequirement != null) {
+ if (currentRequirement != null) {
master = currentRequirement;
}
}
@@ -165,12 +165,12 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.REQUIREMENT__TEXT:
return getText();
case RequirementsPackage.REQUIREMENT__ID:
@@ -188,12 +188,14 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
case RequirementsPackage.REQUIREMENT__VERIFIED_BY:
return getVerifiedBy();
case RequirementsPackage.REQUIREMENT__MASTER:
- if(resolve)
+ if (resolve) {
return getMaster();
+ }
return basicGetMaster();
case RequirementsPackage.REQUIREMENT__BASE_CLASS:
- if(resolve)
+ if (resolve) {
return getBase_Class();
+ }
return basicGetBase_Class();
}
return super.eGet(featureID, resolve, coreType);
@@ -201,12 +203,12 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.REQUIREMENT__TEXT:
return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT.equals(text);
case RequirementsPackage.REQUIREMENT__ID:
@@ -233,20 +235,20 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.REQUIREMENT__TEXT:
- setText((String)newValue);
+ setText((String) newValue);
return;
case RequirementsPackage.REQUIREMENT__ID:
- setId((String)newValue);
+ setId((String) newValue);
return;
case RequirementsPackage.REQUIREMENT__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -254,7 +256,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -264,12 +266,12 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.REQUIREMENT__TEXT:
setText(TEXT_EDEFAULT);
return;
@@ -277,7 +279,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
setId(ID_EDEFAULT);
return;
case RequirementsPackage.REQUIREMENT__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
return;
}
super.eUnset(featureID);
@@ -285,16 +287,17 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class getBase_Class() {
- if(base_Class != null && base_Class.eIsProxy()) {
- InternalEObject oldBase_Class = (InternalEObject)base_Class;
- base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class);
- if(base_Class != oldBase_Class) {
- if(eNotificationRequired())
+ if (base_Class != null && base_Class.eIsProxy()) {
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
+ if (base_Class != oldBase_Class) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.REQUIREMENT__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -302,7 +305,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<Requirement> getDerived() {
@@ -310,20 +313,20 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
EList<Requirement> derived = new BasicEList<Requirement>();
DeriveReqt currentDeriveReqt = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator();
// Find DeriveReqt link
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
DirectedRelationship currentDirectedRelationship = itDep.next();
currentDeriveReqt = UMLUtil.getStereotypeApplication(currentDirectedRelationship, DeriveReqt.class);
- if(currentDeriveReqt != null) {
+ if (currentDeriveReqt != null) {
EList<NamedElement> clients = currentDeriveReqt.getBase_Abstraction().getClients();
Iterator<NamedElement> it = clients.iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class);
- if(currentRequirement != null) {
+ if (currentRequirement != null) {
derived.add(currentRequirement);
}
}
@@ -337,7 +340,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<Requirement> getDerivedFrom() {
@@ -345,20 +348,20 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
// from
EList<Requirement> derivedFrom = new BasicEList<Requirement>();
DeriveReqt currentDeriveReqt = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<DirectedRelationship> itDep = getBase_Class().getSourceDirectedRelationships().iterator();
// Find DeriveReqt link
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
DirectedRelationship currentDRelationship = itDep.next();
currentDeriveReqt = UMLUtil.getStereotypeApplication(currentDRelationship, DeriveReqt.class);
- if(currentDeriveReqt != null) {
+ if (currentDeriveReqt != null) {
EList<NamedElement> suppliers = currentDeriveReqt.getBase_Abstraction().getSuppliers();
Iterator<NamedElement> it = suppliers.iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class);
- if(currentRequirement != null) {
+ if (currentRequirement != null) {
derivedFrom.add(currentRequirement);
}
}
@@ -372,7 +375,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getId() {
@@ -381,17 +384,17 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Requirement getMaster() {
Requirement master = basicGetMaster();
- return master != null && master.eIsProxy() ? (Requirement)eResolveProxy((InternalEObject)master) : master;
+ return master != null && master.eIsProxy() ? (Requirement) eResolveProxy((InternalEObject) master) : master;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<NamedElement> getRefinedBy() {
@@ -400,15 +403,15 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
EList<NamedElement> refinedBy = new BasicEList<NamedElement>();
Refine currentRefine = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator();
// Find Refine link
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
DirectedRelationship currentDRelationship = itDep.next();
currentRefine = UMLUtil.getStereotypeApplication(currentDRelationship, Refine.class);
- if(currentRefine != null) {
+ if (currentRefine != null) {
refinedBy.addAll(currentRefine.getBase_Abstraction().getClients());
}
}
@@ -421,7 +424,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getRefinedBy(String name) {
@@ -431,15 +434,17 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getRefinedBy(String name, boolean ignoreCase, EClass eClass) {
- refinedByLoop: for(NamedElement refinedBy : getRefinedBy()) {
- if(eClass != null && !eClass.isInstance(refinedBy))
+ refinedByLoop: for (NamedElement refinedBy : getRefinedBy()) {
+ if (eClass != null && !eClass.isInstance(refinedBy)) {
continue refinedByLoop;
- if(name != null && !(ignoreCase ? name.equalsIgnoreCase(refinedBy.getName()) : name.equals(refinedBy.getName())))
+ }
+ if (name != null && !(ignoreCase ? name.equalsIgnoreCase(refinedBy.getName()) : name.equals(refinedBy.getName()))) {
continue refinedByLoop;
+ }
return refinedBy;
}
return null;
@@ -447,7 +452,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<NamedElement> getSatisfiedBy() {
@@ -456,15 +461,15 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
EList<NamedElement> satisfyBy = new BasicEList<NamedElement>();
Satisfy currentSatisfy = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator();
// Find Satisfy link
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
DirectedRelationship currentDRelationship = itDep.next();
currentSatisfy = UMLUtil.getStereotypeApplication(currentDRelationship, Satisfy.class);
- if(currentSatisfy != null) {
+ if (currentSatisfy != null) {
satisfyBy.addAll(currentSatisfy.getBase_Abstraction().getClients());
}
}
@@ -477,7 +482,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getSatisfiedBy(String name) {
@@ -487,15 +492,17 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getSatisfiedBy(String name, boolean ignoreCase, EClass eClass) {
- satisfiedByLoop: for(NamedElement satisfiedBy : getSatisfiedBy()) {
- if(eClass != null && !eClass.isInstance(satisfiedBy))
+ satisfiedByLoop: for (NamedElement satisfiedBy : getSatisfiedBy()) {
+ if (eClass != null && !eClass.isInstance(satisfiedBy)) {
continue satisfiedByLoop;
- if(name != null && !(ignoreCase ? name.equalsIgnoreCase(satisfiedBy.getName()) : name.equals(satisfiedBy.getName())))
+ }
+ if (name != null && !(ignoreCase ? name.equalsIgnoreCase(satisfiedBy.getName()) : name.equals(satisfiedBy.getName()))) {
continue satisfiedByLoop;
+ }
return satisfiedBy;
}
return null;
@@ -503,7 +510,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getText() {
@@ -512,7 +519,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<NamedElement> getTracedTo() {
@@ -523,16 +530,16 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
EList<NamedElement> tracedTo = new BasicEList<NamedElement>();
Trace currentTrace = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator();
// Find Trace link
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
DirectedRelationship currentDR = itDep.next();
currentTrace = UMLUtil.getStereotypeApplication(currentDR, Trace.class);
// Must be a Trace not a subtype (see bug #352563).
- if((currentTrace != null) && (currentTrace.eClass() == StandardPackage.eINSTANCE.getTrace())) {
+ if ((currentTrace != null) && (currentTrace.eClass() == StandardPackage.eINSTANCE.getTrace())) {
EList<NamedElement> suppliers = currentTrace.getBase_Abstraction().getClients();
tracedTo.addAll(suppliers);
}
@@ -546,7 +553,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getTracedTo(String name) {
@@ -556,15 +563,17 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getTracedTo(String name, boolean ignoreCase, EClass eClass) {
- tracedToLoop: for(NamedElement tracedTo : getTracedTo()) {
- if(eClass != null && !eClass.isInstance(tracedTo))
+ tracedToLoop: for (NamedElement tracedTo : getTracedTo()) {
+ if (eClass != null && !eClass.isInstance(tracedTo)) {
continue tracedToLoop;
- if(name != null && !(ignoreCase ? name.equalsIgnoreCase(tracedTo.getName()) : name.equals(tracedTo.getName())))
+ }
+ if (name != null && !(ignoreCase ? name.equalsIgnoreCase(tracedTo.getName()) : name.equals(tracedTo.getName()))) {
continue tracedToLoop;
+ }
return tracedTo;
}
return null;
@@ -572,7 +581,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<NamedElement> getVerifiedBy() {
@@ -581,15 +590,15 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
EList<NamedElement> verifiedBy = new BasicEList<NamedElement>();
Verify currentVerify = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator();
// Find Verify link
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
DirectedRelationship currentDRelationship = itDep.next();
currentVerify = UMLUtil.getStereotypeApplication(currentDRelationship, Verify.class);
- if(currentVerify != null) {
+ if (currentVerify != null) {
verifiedBy.addAll(currentVerify.getBase_Abstraction().getClients());
}
}
@@ -602,7 +611,7 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getVerifiedBy(String name) {
@@ -612,15 +621,17 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getVerifiedBy(String name, boolean ignoreCase, EClass eClass) {
- verifiedByLoop: for(NamedElement verifiedBy : getVerifiedBy()) {
- if(eClass != null && !eClass.isInstance(verifiedBy))
+ verifiedByLoop: for (NamedElement verifiedBy : getVerifiedBy()) {
+ if (eClass != null && !eClass.isInstance(verifiedBy)) {
continue verifiedByLoop;
- if(name != null && !(ignoreCase ? name.equalsIgnoreCase(verifiedBy.getName()) : name.equals(verifiedBy.getName())))
+ }
+ if (name != null && !(ignoreCase ? name.equalsIgnoreCase(verifiedBy.getName()) : name.equals(verifiedBy.getName()))) {
continue verifiedByLoop;
+ }
return verifiedBy;
}
return null;
@@ -628,31 +639,33 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) {
org.eclipse.uml2.uml.Class oldBase_Class = base_Class;
base_Class = newBase_Class;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REQUIREMENT__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setId(String newId) {
String oldId = id;
id = newId;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REQUIREMENT__ID, oldId, id));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public void setMaster(Requirement newMaster) {
@@ -661,25 +674,27 @@ public class RequirementImpl extends MinimalEObjectImpl.Container implements Req
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setText(String newText) {
String oldText = text;
text = newText;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REQUIREMENT__TEXT, oldText, text));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (text: ");
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementRelatedImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementRelatedImpl.java
index f4b124a8334..3302f43eae5 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementRelatedImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementRelatedImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -48,7 +48,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementRelatedImpl#getVerifies <em>Verifies</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class RequirementRelatedImpl extends MinimalEObjectImpl.Container implements RequirementRelated {
@@ -57,7 +57,7 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
* The cached value of the '{@link #getBase_NamedElement() <em>Base Named Element</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_NamedElement()
* @generated
* @ordered
@@ -66,7 +66,7 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected RequirementRelatedImpl() {
@@ -75,7 +75,7 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement basicGetBase_NamedElement() {
@@ -84,15 +84,16 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.REQUIREMENT_RELATED__BASE_NAMED_ELEMENT:
- if(resolve)
+ if (resolve) {
return getBase_NamedElement();
+ }
return basicGetBase_NamedElement();
case RequirementsPackage.REQUIREMENT_RELATED__TRACED_FROM:
return getTracedFrom();
@@ -108,12 +109,12 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.REQUIREMENT_RELATED__BASE_NAMED_ELEMENT:
return base_NamedElement != null;
case RequirementsPackage.REQUIREMENT_RELATED__TRACED_FROM:
@@ -130,14 +131,14 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.REQUIREMENT_RELATED__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)newValue);
+ setBase_NamedElement((NamedElement) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -145,7 +146,7 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -155,14 +156,14 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.REQUIREMENT_RELATED__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)null);
+ setBase_NamedElement((NamedElement) null);
return;
}
super.eUnset(featureID);
@@ -170,16 +171,17 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NamedElement getBase_NamedElement() {
- if(base_NamedElement != null && base_NamedElement.eIsProxy()) {
- InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement;
- base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement);
- if(base_NamedElement != oldBase_NamedElement) {
- if(eNotificationRequired())
+ if (base_NamedElement != null && base_NamedElement.eIsProxy()) {
+ InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement;
+ base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement);
+ if (base_NamedElement != oldBase_NamedElement) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.REQUIREMENT_RELATED__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
+ }
}
}
return base_NamedElement;
@@ -187,7 +189,7 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<Requirement> getRefines() {
@@ -195,20 +197,20 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
EList<Requirement> refines = new BasicEList<Requirement>();
Refine currentRefine = null;
- if(getBase_NamedElement() != null) {
+ if (getBase_NamedElement() != null) {
// Find Refine link
Iterator<Dependency> itDep = getBase_NamedElement().getClientDependencies().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Dependency currentDependency = itDep.next();
currentRefine = UMLUtil.getStereotypeApplication(currentDependency, Refine.class);
- if(currentRefine != null) {
+ if (currentRefine != null) {
EList<NamedElement> suppliers = currentRefine.getBase_Abstraction().getSuppliers();
Iterator<NamedElement> it = suppliers.iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class);
- if(currentRequirement != null) {
+ if (currentRequirement != null) {
refines.add(currentRequirement);
}
}
@@ -222,7 +224,7 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<Requirement> getSatisfies() {
@@ -230,20 +232,20 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
EList<Requirement> satisfies = new BasicEList<Requirement>();
Satisfy currentSatisfy = null;
- if(getBase_NamedElement() != null) {
+ if (getBase_NamedElement() != null) {
// Find Satisfy link
Iterator<Dependency> itDep = getBase_NamedElement().getClientDependencies().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Dependency currentDependency = itDep.next();
currentSatisfy = UMLUtil.getStereotypeApplication(currentDependency, Satisfy.class);
- if(currentSatisfy != null) {
+ if (currentSatisfy != null) {
EList<NamedElement> suppliers = currentSatisfy.getBase_Abstraction().getSuppliers();
Iterator<NamedElement> it = suppliers.iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class);
- if(currentRequirement != null) {
+ if (currentRequirement != null) {
satisfies.add(currentRequirement);
}
}
@@ -257,7 +259,7 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<Requirement> getTracedFrom() {
@@ -269,22 +271,22 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
EList<Requirement> tracedFrom = new BasicEList<Requirement>();
Trace currentTrace = null;
- if(getBase_NamedElement() != null) {
+ if (getBase_NamedElement() != null) {
// Find Trace link
EList<DirectedRelationship> relationships = getBase_NamedElement().getSourceDirectedRelationships();
Iterator<DirectedRelationship> itDep = relationships.iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
DirectedRelationship currentDRelationship = itDep.next();
currentTrace = UMLUtil.getStereotypeApplication(currentDRelationship, Trace.class);
// Must be a Trace not a subtype (see bug #352563).
- if((currentTrace != null) && (currentTrace.eClass() == StandardPackage.eINSTANCE.getTrace())) {
+ if ((currentTrace != null) && (currentTrace.eClass() == StandardPackage.eINSTANCE.getTrace())) {
EList<NamedElement> clients = currentTrace.getBase_Abstraction().getSuppliers();
Iterator<NamedElement> it = clients.iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class);
- if(currentRequirement != null) {
+ if (currentRequirement != null) {
tracedFrom.add(currentRequirement);
}
}
@@ -298,7 +300,7 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<Requirement> getVerifies() {
@@ -306,20 +308,20 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
EList<Requirement> verifies = new BasicEList<Requirement>();
Verify currentVerify = null;
- if(getBase_NamedElement() != null) {
+ if (getBase_NamedElement() != null) {
// Find Satisfy link
Iterator<Dependency> itDep = getBase_NamedElement().getClientDependencies().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Dependency currentDependency = itDep.next();
currentVerify = UMLUtil.getStereotypeApplication(currentDependency, Verify.class);
- if(currentVerify != null) {
+ if (currentVerify != null) {
EList<NamedElement> suppliers = currentVerify.getBase_Abstraction().getSuppliers();
Iterator<NamedElement> it = suppliers.iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class);
- if(currentRequirement != null) {
+ if (currentRequirement != null) {
verifies.add(currentRequirement);
}
}
@@ -334,14 +336,15 @@ public class RequirementRelatedImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_NamedElement(NamedElement newBase_NamedElement) {
NamedElement oldBase_NamedElement = base_NamedElement;
base_NamedElement = newBase_NamedElement;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REQUIREMENT_RELATED__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
+ }
}
} // RequirementRelatedImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsFactoryImpl.java
index bda2510dfe9..19ecac49983 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -31,14 +31,14 @@ import org.eclipse.papyrus.sysml.requirements.Verify;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class RequirementsFactoryImpl extends EFactoryImpl implements RequirementsFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -51,13 +51,13 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static RequirementsFactory init() {
try {
- RequirementsFactory theRequirementsFactory = (RequirementsFactory)EPackage.Registry.INSTANCE.getEFactory(RequirementsPackage.eNS_URI);
- if(theRequirementsFactory != null) {
+ RequirementsFactory theRequirementsFactory = (RequirementsFactory) EPackage.Registry.INSTANCE.getEFactory(RequirementsPackage.eNS_URI);
+ if (theRequirementsFactory != null) {
return theRequirementsFactory;
}
} catch (Exception exception) {
@@ -70,7 +70,7 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public RequirementsFactoryImpl() {
@@ -79,12 +79,12 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
case RequirementsPackage.DERIVE_REQT:
return createDeriveReqt();
case RequirementsPackage.VERIFY:
@@ -106,7 +106,7 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Copy createCopy() {
@@ -116,7 +116,7 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DeriveReqt createDeriveReqt() {
@@ -126,7 +126,7 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Requirement createRequirement() {
@@ -136,7 +136,7 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public RequirementRelated createRequirementRelated() {
@@ -146,7 +146,7 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Satisfy createSatisfy() {
@@ -156,7 +156,7 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public TestCase createTestCase() {
@@ -166,7 +166,7 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Verify createVerify() {
@@ -176,11 +176,11 @@ public class RequirementsFactoryImpl extends EFactoryImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public RequirementsPackage getRequirementsPackage() {
- return (RequirementsPackage)getEPackage();
+ return (RequirementsPackage) getEPackage();
}
} // RequirementsFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsPackageImpl.java
index c932e814425..573a688091c 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -54,36 +54,37 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class RequirementsPackageImpl extends EPackageImpl implements RequirementsPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link RequirementsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link RequirementsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static RequirementsPackage init() {
- if(isInited)
- return (RequirementsPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI);
+ if (isInited) {
+ return (RequirementsPackage) EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI);
+ }
// Obtain or create and register package
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RequirementsPackageImpl());
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RequirementsPackageImpl());
isInited = true;
@@ -91,16 +92,24 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
theRequirementsPackage.createPackageContents();
@@ -139,63 +148,63 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass deriveReqtEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass verifyEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass copyEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass satisfyEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass testCaseEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass requirementEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass requirementRelatedEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -205,9 +214,8 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#eNS_URI
* @see #init()
@@ -222,12 +230,13 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create classes and their features
@@ -266,7 +275,7 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getCopy() {
@@ -275,7 +284,7 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getDeriveReqt() {
@@ -284,7 +293,7 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getRequirement() {
@@ -293,97 +302,97 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirement_Base_Class() {
- return (EReference)requirementEClass.getEStructuralFeatures().get(9);
+ return (EReference) requirementEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirement_Derived() {
- return (EReference)requirementEClass.getEStructuralFeatures().get(2);
+ return (EReference) requirementEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirement_DerivedFrom() {
- return (EReference)requirementEClass.getEStructuralFeatures().get(3);
+ return (EReference) requirementEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getRequirement_Id() {
- return (EAttribute)requirementEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) requirementEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirement_Master() {
- return (EReference)requirementEClass.getEStructuralFeatures().get(8);
+ return (EReference) requirementEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirement_RefinedBy() {
- return (EReference)requirementEClass.getEStructuralFeatures().get(5);
+ return (EReference) requirementEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirement_SatisfiedBy() {
- return (EReference)requirementEClass.getEStructuralFeatures().get(4);
+ return (EReference) requirementEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getRequirement_Text() {
- return (EAttribute)requirementEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) requirementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirement_TracedTo() {
- return (EReference)requirementEClass.getEStructuralFeatures().get(6);
+ return (EReference) requirementEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirement_VerifiedBy() {
- return (EReference)requirementEClass.getEStructuralFeatures().get(7);
+ return (EReference) requirementEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getRequirementRelated() {
@@ -392,61 +401,61 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirementRelated_Base_NamedElement() {
- return (EReference)requirementRelatedEClass.getEStructuralFeatures().get(0);
+ return (EReference) requirementRelatedEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirementRelated_Refines() {
- return (EReference)requirementRelatedEClass.getEStructuralFeatures().get(3);
+ return (EReference) requirementRelatedEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirementRelated_Satisfies() {
- return (EReference)requirementRelatedEClass.getEStructuralFeatures().get(2);
+ return (EReference) requirementRelatedEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirementRelated_TracedFrom() {
- return (EReference)requirementRelatedEClass.getEStructuralFeatures().get(1);
+ return (EReference) requirementRelatedEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getRequirementRelated_Verifies() {
- return (EReference)requirementRelatedEClass.getEStructuralFeatures().get(4);
+ return (EReference) requirementRelatedEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public RequirementsFactory getRequirementsFactory() {
- return (RequirementsFactory)getEFactoryInstance();
+ return (RequirementsFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getSatisfy() {
@@ -455,7 +464,7 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getTestCase() {
@@ -464,34 +473,34 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getTestCase_Base_Behavior() {
- return (EReference)testCaseEClass.getEStructuralFeatures().get(0);
+ return (EReference) testCaseEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getTestCase_Base_Operation() {
- return (EReference)testCaseEClass.getEStructuralFeatures().get(1);
+ return (EReference) testCaseEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getTestCase_Verifies() {
- return (EReference)testCaseEClass.getEStructuralFeatures().get(2);
+ return (EReference) testCaseEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getVerify() {
@@ -502,12 +511,13 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -516,9 +526,9 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
setNsURI(eNS_URI);
// Obtain other dependent packages
- StandardPackage theStandardPackage = (StandardPackage)EPackage.Registry.INSTANCE.getEPackage(StandardPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ StandardPackage theStandardPackage = (StandardPackage) EPackage.Registry.INSTANCE.getEPackage(StandardPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
// Create type parameters
@@ -540,8 +550,10 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
initEClass(satisfyEClass, Satisfy.class, "Satisfy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(testCaseEClass, TestCase.class, "TestCase", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTestCase_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 1, 1, TestCase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getTestCase_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, TestCase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getTestCase_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 1, 1, TestCase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getTestCase_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, TestCase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEReference(getTestCase_Verifies(), this.getRequirement(), null, "verifies", null, 0, -1, TestCase.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEClass(requirementEClass, Requirement.class, "Requirement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -549,19 +561,29 @@ public class RequirementsPackageImpl extends EPackageImpl implements Requirement
initEAttribute(getRequirement_Id(), theTypesPackage.getString(), "id", null, 1, 1, Requirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getRequirement_Derived(), this.getRequirement(), null, "derived", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEReference(getRequirement_DerivedFrom(), this.getRequirement(), null, "derivedFrom", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRequirement_SatisfiedBy(), theUMLPackage.getNamedElement(), null, "satisfiedBy", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRequirement_RefinedBy(), theUMLPackage.getNamedElement(), null, "refinedBy", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRequirement_TracedTo(), theUMLPackage.getNamedElement(), null, "tracedTo", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRequirement_VerifiedBy(), theUMLPackage.getNamedElement(), null, "verifiedBy", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getRequirement_SatisfiedBy(), theUMLPackage.getNamedElement(), null, "satisfiedBy", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getRequirement_RefinedBy(), theUMLPackage.getNamedElement(), null, "refinedBy", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getRequirement_TracedTo(), theUMLPackage.getNamedElement(), null, "tracedTo", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getRequirement_VerifiedBy(), theUMLPackage.getNamedElement(), null, "verifiedBy", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
initEReference(getRequirement_Master(), this.getRequirement(), null, "master", null, 0, 1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRequirement_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, Requirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRequirement_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, Requirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(requirementRelatedEClass, RequirementRelated.class, "RequirementRelated", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRequirementRelated_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, RequirementRelated.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getRequirementRelated_TracedFrom(), this.getRequirement(), null, "tracedFrom", null, 0, -1, RequirementRelated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRequirementRelated_Satisfies(), this.getRequirement(), null, "satisfies", null, 0, -1, RequirementRelated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRequirementRelated_Refines(), this.getRequirement(), null, "refines", null, 0, -1, RequirementRelated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getRequirementRelated_Verifies(), this.getRequirement(), null, "verifies", null, 0, -1, RequirementRelated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getRequirementRelated_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, RequirementRelated.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRequirementRelated_TracedFrom(), this.getRequirement(), null, "tracedFrom", null, 0, -1, RequirementRelated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getRequirementRelated_Satisfies(), this.getRequirement(), null, "satisfies", null, 0, -1, RequirementRelated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getRequirementRelated_Refines(), this.getRequirement(), null, "refines", null, 0, -1, RequirementRelated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getRequirementRelated_Verifies(), this.getRequirement(), null, "verifies", null, 0, -1, RequirementRelated.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
}
} // RequirementsPackageImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/SatisfyImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/SatisfyImpl.java
index 918b79b6ea4..7e3d5226746 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/SatisfyImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/SatisfyImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,14 +21,14 @@ import org.eclipse.papyrus.sysml.requirements.Satisfy;
* <!-- begin-user-doc --> An implementation of the model object ' <em><b>Satisfy</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class SatisfyImpl extends org.eclipse.uml2.uml.profile.standard.internal.impl.TraceImpl implements Satisfy {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected SatisfyImpl() {
@@ -37,7 +37,7 @@ public class SatisfyImpl extends org.eclipse.uml2.uml.profile.standard.internal.
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/TestCaseImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/TestCaseImpl.java
index bba8f3bdc14..977b9858d77 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/TestCaseImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/TestCaseImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -42,7 +42,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl#getVerifies <em>Verifies</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCase {
@@ -51,7 +51,7 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
* The cached value of the '{@link #getBase_Behavior() <em>Base Behavior</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Behavior()
* @generated
* @ordered
@@ -62,7 +62,7 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
* The cached value of the '{@link #getBase_Operation() <em>Base Operation</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @see #getBase_Operation()
* @generated
* @ordered
@@ -71,7 +71,7 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected TestCaseImpl() {
@@ -80,7 +80,7 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Behavior basicGetBase_Behavior() {
@@ -89,7 +89,7 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Operation basicGetBase_Operation() {
@@ -98,19 +98,21 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR:
- if(resolve)
+ if (resolve) {
return getBase_Behavior();
+ }
return basicGetBase_Behavior();
case RequirementsPackage.TEST_CASE__BASE_OPERATION:
- if(resolve)
+ if (resolve) {
return getBase_Operation();
+ }
return basicGetBase_Operation();
case RequirementsPackage.TEST_CASE__VERIFIES:
return getVerifies();
@@ -120,12 +122,12 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR:
return base_Behavior != null;
case RequirementsPackage.TEST_CASE__BASE_OPERATION:
@@ -138,17 +140,17 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR:
- setBase_Behavior((Behavior)newValue);
+ setBase_Behavior((Behavior) newValue);
return;
case RequirementsPackage.TEST_CASE__BASE_OPERATION:
- setBase_Operation((Operation)newValue);
+ setBase_Operation((Operation) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -156,7 +158,7 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -166,17 +168,17 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR:
- setBase_Behavior((Behavior)null);
+ setBase_Behavior((Behavior) null);
return;
case RequirementsPackage.TEST_CASE__BASE_OPERATION:
- setBase_Operation((Operation)null);
+ setBase_Operation((Operation) null);
return;
}
super.eUnset(featureID);
@@ -184,16 +186,17 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Behavior getBase_Behavior() {
- if(base_Behavior != null && base_Behavior.eIsProxy()) {
- InternalEObject oldBase_Behavior = (InternalEObject)base_Behavior;
- base_Behavior = (Behavior)eResolveProxy(oldBase_Behavior);
- if(base_Behavior != oldBase_Behavior) {
- if(eNotificationRequired())
+ if (base_Behavior != null && base_Behavior.eIsProxy()) {
+ InternalEObject oldBase_Behavior = (InternalEObject) base_Behavior;
+ base_Behavior = (Behavior) eResolveProxy(oldBase_Behavior);
+ if (base_Behavior != oldBase_Behavior) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.TEST_CASE__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior));
+ }
}
}
return base_Behavior;
@@ -201,16 +204,17 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Operation getBase_Operation() {
- if(base_Operation != null && base_Operation.eIsProxy()) {
- InternalEObject oldBase_Operation = (InternalEObject)base_Operation;
- base_Operation = (Operation)eResolveProxy(oldBase_Operation);
- if(base_Operation != oldBase_Operation) {
- if(eNotificationRequired())
+ if (base_Operation != null && base_Operation.eIsProxy()) {
+ InternalEObject oldBase_Operation = (InternalEObject) base_Operation;
+ base_Operation = (Operation) eResolveProxy(oldBase_Operation);
+ if (base_Operation != oldBase_Operation) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.TEST_CASE__BASE_OPERATION, oldBase_Operation, base_Operation));
+ }
}
}
return base_Operation;
@@ -218,7 +222,7 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EList<Requirement> getVerifies() {
@@ -226,25 +230,25 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
EList<Requirement> verifies = new BasicEList<Requirement>();
Verify currentVerify = null;
- if((getBase_Behavior() != null) || (getBase_Operation() != null)) {
+ if ((getBase_Behavior() != null) || (getBase_Operation() != null)) {
// Find Verify link
Iterator<Dependency> itDep;
- if(getBase_Behavior() != null) {
+ if (getBase_Behavior() != null) {
itDep = getBase_Behavior().getClientDependencies().iterator();
} else { // if (getBase_Operation() != null)
itDep = getBase_Operation().getClientDependencies().iterator();
}
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Dependency currentDependency = itDep.next();
currentVerify = UMLUtil.getStereotypeApplication(currentDependency, Verify.class);
- if(currentVerify != null) {
+ if (currentVerify != null) {
EList<NamedElement> suppliers = currentVerify.getBase_Abstraction().getSuppliers();
Iterator<NamedElement> it = suppliers.iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class);
- if(currentRequirement != null) {
+ if (currentRequirement != null) {
verifies.add(currentRequirement);
}
}
@@ -258,26 +262,28 @@ public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCa
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Behavior(Behavior newBase_Behavior) {
Behavior oldBase_Behavior = base_Behavior;
base_Behavior = newBase_Behavior;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.TEST_CASE__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBase_Operation(Operation newBase_Operation) {
Operation oldBase_Operation = base_Operation;
base_Operation = newBase_Operation;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.TEST_CASE__BASE_OPERATION, oldBase_Operation, base_Operation));
+ }
}
} // TestCaseImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/VerifyImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/VerifyImpl.java
index a7d0d8755b7..c51d0c58864 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/VerifyImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/internal/impl/VerifyImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,14 +21,14 @@ import org.eclipse.papyrus.sysml.requirements.Verify;
* <!-- begin-user-doc --> An implementation of the model object ' <em><b>Verify</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class VerifyImpl extends org.eclipse.uml2.uml.profile.standard.internal.impl.TraceImpl implements Verify {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected VerifyImpl() {
@@ -37,7 +37,7 @@ public class VerifyImpl extends org.eclipse.uml2.uml.profile.standard.internal.i
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsAdapterFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsAdapterFactory.java
index 5e85a44e059..d7e1e56a56b 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsAdapterFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.sysml.requirements.Verify;
* <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides
* an adapter <code>createXXX</code> method for each class of the model. <!--
* end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage
* @generated
*/
@@ -39,7 +39,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static RequirementsPackage modelPackage;
@@ -47,7 +47,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
/**
* The switch that delegates to the <code>createXXX</code> methods. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected RequirementsSwitch<Adapter> modelSwitch = new RequirementsSwitch<Adapter>() {
@@ -102,11 +102,11 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public RequirementsAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = RequirementsPackage.eINSTANCE;
}
}
@@ -115,15 +115,15 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
- * the object to adapt.
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -131,7 +131,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* begin-user-doc --> This default implementation returns null so that we
* can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.requirements.Copy
* @generated
@@ -146,7 +146,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.requirements.DeriveReqt
* @generated
@@ -159,7 +159,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* Creates a new adapter for the default case.
* <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
@@ -173,7 +173,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.requirements.Requirement
* @generated
@@ -188,7 +188,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.requirements.RequirementRelated
* @generated
@@ -202,7 +202,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This default implementation returns null so that
* we can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.requirements.Satisfy
* @generated
@@ -217,7 +217,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* returns null so that we can easily ignore cases; it's useful to ignore a
* case when inheritance will catch all the cases anyway. <!-- end-user-doc
* -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.requirements.TestCase
* @generated
@@ -231,7 +231,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* begin-user-doc --> This default implementation returns null so that we
* can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.standard.Trace
* @generated
@@ -245,7 +245,7 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This default implementation returns null so that
* we can easily ignore cases; it's useful to ignore a case when inheritance
* will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.sysml.requirements.Verify
* @generated
@@ -259,17 +259,17 @@ public class RequirementsAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc --> This implementation returns <code>true</code> if
* the object is either the model's package or is an instance object of the
* model. <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceFactoryImpl.java
index 62c68e695c6..9c3d4b36d38 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.xmi.XMLResource;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.util.RequirementsResourceImpl
* @generated
*/
@@ -31,7 +31,7 @@ public class RequirementsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public RequirementsResourceFactoryImpl() {
@@ -42,7 +42,7 @@ public class RequirementsResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceImpl.java
index e4491bf2a6e..195efc32eb9 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.util.RequirementsResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class RequirementsResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public RequirementsResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsSwitch.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsSwitch.java
index 3de0cf764f4..57c27806a1c 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsSwitch.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -24,7 +24,7 @@ import org.eclipse.papyrus.sysml.requirements.*;
* starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the
* result of the switch. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage
* @generated
*/
@@ -33,7 +33,7 @@ public class RequirementsSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static RequirementsPackage modelPackage;
@@ -42,11 +42,11 @@ public class RequirementsSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public RequirementsSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = RequirementsPackage.eINSTANCE;
}
}
@@ -54,7 +54,7 @@ public class RequirementsSwitch<T> extends Switch<T> {
/**
* Checks whether this is a switch for the given package. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -68,9 +68,9 @@ public class RequirementsSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of ' <em>Copy</em>'. <!-- begin-user-doc --> This implementation returns null;
* returning a non-null result will terminate the switch. <!-- end-user-doc
* -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of ' <em>Copy</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -84,9 +84,9 @@ public class RequirementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Derive Reqt</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -100,9 +100,9 @@ public class RequirementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Requirement</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -116,9 +116,9 @@ public class RequirementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate
* the switch. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Requirement Related</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -133,9 +133,9 @@ public class RequirementsSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Trace</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -149,9 +149,9 @@ public class RequirementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Satisfy</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -165,9 +165,9 @@ public class RequirementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Test Case</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -181,9 +181,9 @@ public class RequirementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Verify</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -197,9 +197,9 @@ public class RequirementsSwitch<T> extends Switch<T> {
* <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch, but this is
* the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -213,75 +213,79 @@ public class RequirementsSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case RequirementsPackage.DERIVE_REQT:
- {
- DeriveReqt deriveReqt = (DeriveReqt)theEObject;
+ switch (classifierID) {
+ case RequirementsPackage.DERIVE_REQT: {
+ DeriveReqt deriveReqt = (DeriveReqt) theEObject;
T result = caseDeriveReqt(deriveReqt);
- if(result == null)
+ if (result == null) {
result = caseTrace(deriveReqt);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case RequirementsPackage.VERIFY:
- {
- Verify verify = (Verify)theEObject;
+ case RequirementsPackage.VERIFY: {
+ Verify verify = (Verify) theEObject;
T result = caseVerify(verify);
- if(result == null)
+ if (result == null) {
result = caseTrace(verify);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case RequirementsPackage.COPY:
- {
- Copy copy = (Copy)theEObject;
+ case RequirementsPackage.COPY: {
+ Copy copy = (Copy) theEObject;
T result = caseCopy(copy);
- if(result == null)
+ if (result == null) {
result = caseTrace(copy);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case RequirementsPackage.SATISFY:
- {
- Satisfy satisfy = (Satisfy)theEObject;
+ case RequirementsPackage.SATISFY: {
+ Satisfy satisfy = (Satisfy) theEObject;
T result = caseSatisfy(satisfy);
- if(result == null)
+ if (result == null) {
result = caseTrace(satisfy);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case RequirementsPackage.TEST_CASE:
- {
- TestCase testCase = (TestCase)theEObject;
+ case RequirementsPackage.TEST_CASE: {
+ TestCase testCase = (TestCase) theEObject;
T result = caseTestCase(testCase);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case RequirementsPackage.REQUIREMENT:
- {
- Requirement requirement = (Requirement)theEObject;
+ case RequirementsPackage.REQUIREMENT: {
+ Requirement requirement = (Requirement) theEObject;
T result = caseRequirement(requirement);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case RequirementsPackage.REQUIREMENT_RELATED:
- {
- RequirementRelated requirementRelated = (RequirementRelated)theEObject;
+ case RequirementsPackage.REQUIREMENT_RELATED: {
+ RequirementRelated requirementRelated = (RequirementRelated) theEObject;
T result = caseRequirementRelated(requirementRelated);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
default:
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsXMLProcessor.java
index d5262288087..5866b8bc07f 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/util/RequirementsXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.requirements.RequirementsPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class RequirementsXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class RequirementsXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public RequirementsXMLProcessor() {
@@ -44,12 +44,12 @@ public class RequirementsXMLProcessor extends XMLProcessor {
* Register for "*" and "xml" file extensions the RequirementsResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new RequirementsResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new RequirementsResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesFactory.java
index b3775ceeb80..6a55298e6cb 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.statemachines.StatemachinesPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface StatemachinesFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
StatemachinesFactory eINSTANCE = org.eclipse.papyrus.sysml.statemachines.internal.impl.StatemachinesFactoryImpl.init();
@@ -37,7 +37,7 @@ public interface StatemachinesFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesPackage.java
index fde102f12da..7f3e90af964 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/StatemachinesPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -26,7 +26,7 @@ import org.eclipse.emf.ecore.EPackage;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.statemachines.StatemachinesFactory
* @model kind="package"
* @generated
@@ -43,7 +43,7 @@ public interface StatemachinesPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -51,7 +51,7 @@ public interface StatemachinesPackage extends EPackage {
/**
* The meta object literal for the '<em>Dummy</em>' data type. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see java.lang.String
* @see org.eclipse.papyrus.sysml.statemachines.internal.impl.StatemachinesPackageImpl#getDummy()
* @generated
@@ -63,7 +63,7 @@ public interface StatemachinesPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "statemachines";
@@ -71,7 +71,7 @@ public interface StatemachinesPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/StateMachines";
@@ -79,7 +79,7 @@ public interface StatemachinesPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "StateMachines";
@@ -88,7 +88,7 @@ public interface StatemachinesPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
StatemachinesPackage eINSTANCE = org.eclipse.papyrus.sysml.statemachines.internal.impl.StatemachinesPackageImpl.init();
@@ -96,7 +96,7 @@ public interface StatemachinesPackage extends EPackage {
/**
* The meta object id for the '<em>Dummy</em>' data type. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see java.lang.String
* @see org.eclipse.papyrus.sysml.statemachines.internal.impl.StatemachinesPackageImpl#getDummy()
* @generated
@@ -106,7 +106,7 @@ public interface StatemachinesPackage extends EPackage {
/**
* Returns the meta object for data type '{@link java.lang.String <em>Dummy</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for data type '<em>Dummy</em>'.
* @see java.lang.String
* @model instanceClass="java.lang.String"
@@ -117,7 +117,7 @@ public interface StatemachinesPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesFactoryImpl.java
index 48233eedd21..7862f696c60 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -25,14 +25,14 @@ import org.eclipse.papyrus.sysml.statemachines.StatemachinesPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class StatemachinesFactoryImpl extends EFactoryImpl implements StatemachinesFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -45,13 +45,13 @@ public class StatemachinesFactoryImpl extends EFactoryImpl implements Statemachi
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static StatemachinesFactory init() {
try {
- StatemachinesFactory theStatemachinesFactory = (StatemachinesFactory)EPackage.Registry.INSTANCE.getEFactory(StatemachinesPackage.eNS_URI);
- if(theStatemachinesFactory != null) {
+ StatemachinesFactory theStatemachinesFactory = (StatemachinesFactory) EPackage.Registry.INSTANCE.getEFactory(StatemachinesPackage.eNS_URI);
+ if (theStatemachinesFactory != null) {
return theStatemachinesFactory;
}
} catch (Exception exception) {
@@ -64,7 +64,7 @@ public class StatemachinesFactoryImpl extends EFactoryImpl implements Statemachi
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public StatemachinesFactoryImpl() {
@@ -73,7 +73,7 @@ public class StatemachinesFactoryImpl extends EFactoryImpl implements Statemachi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String convertDummyToString(EDataType eDataType, Object instanceValue) {
@@ -82,12 +82,12 @@ public class StatemachinesFactoryImpl extends EFactoryImpl implements Statemachi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case StatemachinesPackage.DUMMY:
return convertDummyToString(eDataType, instanceValue);
default:
@@ -97,12 +97,12 @@ public class StatemachinesFactoryImpl extends EFactoryImpl implements Statemachi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -110,21 +110,21 @@ public class StatemachinesFactoryImpl extends EFactoryImpl implements Statemachi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String createDummyFromString(EDataType eDataType, String initialValue) {
- return (String)super.createFromString(eDataType, initialValue);
+ return (String) super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case StatemachinesPackage.DUMMY:
return createDummyFromString(eDataType, initialValue);
default:
@@ -134,11 +134,11 @@ public class StatemachinesFactoryImpl extends EFactoryImpl implements Statemachi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public StatemachinesPackage getStatemachinesPackage() {
- return (StatemachinesPackage)getEPackage();
+ return (StatemachinesPackage) getEPackage();
}
} // StatemachinesFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesPackageImpl.java
index f192325e99e..eaf3f3dab73 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/internal/impl/StatemachinesPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -43,36 +43,37 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class StatemachinesPackageImpl extends EPackageImpl implements StatemachinesPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link StatemachinesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link StatemachinesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static StatemachinesPackage init() {
- if(isInited)
- return (StatemachinesPackage)EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI);
+ if (isInited) {
+ return (StatemachinesPackage) EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI);
+ }
// Obtain or create and register package
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new StatemachinesPackageImpl());
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new StatemachinesPackageImpl());
isInited = true;
@@ -80,16 +81,24 @@ public class StatemachinesPackageImpl extends EPackageImpl implements Statemachi
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
// Create package meta-data objects
theStatemachinesPackage.createPackageContents();
@@ -128,21 +137,21 @@ public class StatemachinesPackageImpl extends EPackageImpl implements Statemachi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EDataType dummyEDataType = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -152,9 +161,8 @@ public class StatemachinesPackageImpl extends EPackageImpl implements Statemachi
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.statemachines.StatemachinesPackage#eNS_URI
* @see #init()
@@ -169,12 +177,13 @@ public class StatemachinesPackageImpl extends EPackageImpl implements Statemachi
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create data types
@@ -183,7 +192,7 @@ public class StatemachinesPackageImpl extends EPackageImpl implements Statemachi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EDataType getDummy() {
@@ -192,23 +201,24 @@ public class StatemachinesPackageImpl extends EPackageImpl implements Statemachi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public StatemachinesFactory getStatemachinesFactory() {
- return (StatemachinesFactory)getEFactoryInstance();
+ return (StatemachinesFactory) getEFactoryInstance();
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceFactoryImpl.java
index 965906f7719..cdb32d84587 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.statemachines.util.StatemachinesResourceImpl
* @generated
*/
@@ -30,7 +30,7 @@ public class StatemachinesResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public StatemachinesResourceFactoryImpl() {
@@ -41,7 +41,7 @@ public class StatemachinesResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceImpl.java
index 403c6aec0c6..a35223abb88 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.statemachines.util.StatemachinesResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class StatemachinesResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public StatemachinesResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesXMLProcessor.java
index e41bf25b4b6..43f411aeefa 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/statemachines/util/StatemachinesXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.statemachines.StatemachinesPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class StatemachinesXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class StatemachinesXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public StatemachinesXMLProcessor() {
@@ -44,12 +44,12 @@ public class StatemachinesXMLProcessor extends XMLProcessor {
* Register for "*" and "xml" file extensions the StatemachinesResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new StatemachinesResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new StatemachinesResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesFactory.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesFactory.java
index 2aa98d9ccee..ee22d425c4e 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesFactory.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.usecases.UsecasesPackage
* @generated
*/
@@ -28,7 +28,7 @@ public interface UsecasesFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
UsecasesFactory eINSTANCE = org.eclipse.papyrus.sysml.usecases.internal.impl.UsecasesFactoryImpl.init();
@@ -37,7 +37,7 @@ public interface UsecasesFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesPackage.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesPackage.java
index a0938fb7cfd..858cbfce912 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesPackage.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/UsecasesPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -26,7 +26,7 @@ import org.eclipse.emf.ecore.EPackage;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.usecases.UsecasesFactory
* @model kind="package"
* @generated
@@ -43,7 +43,7 @@ public interface UsecasesPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -51,7 +51,7 @@ public interface UsecasesPackage extends EPackage {
/**
* The meta object literal for the '<em>Dummy</em>' data type. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see java.lang.String
* @see org.eclipse.papyrus.sysml.usecases.internal.impl.UsecasesPackageImpl#getDummy()
* @generated
@@ -63,7 +63,7 @@ public interface UsecasesPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "usecases";
@@ -71,7 +71,7 @@ public interface UsecasesPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/SysML/UseCases";
@@ -79,7 +79,7 @@ public interface UsecasesPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "UseCases";
@@ -88,7 +88,7 @@ public interface UsecasesPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
UsecasesPackage eINSTANCE = org.eclipse.papyrus.sysml.usecases.internal.impl.UsecasesPackageImpl.init();
@@ -96,7 +96,7 @@ public interface UsecasesPackage extends EPackage {
/**
* The meta object id for the '<em>Dummy</em>' data type. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see java.lang.String
* @see org.eclipse.papyrus.sysml.usecases.internal.impl.UsecasesPackageImpl#getDummy()
* @generated
@@ -106,7 +106,7 @@ public interface UsecasesPackage extends EPackage {
/**
* Returns the meta object for data type '{@link java.lang.String <em>Dummy</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for data type '<em>Dummy</em>'.
* @see java.lang.String
* @model instanceClass="java.lang.String"
@@ -117,7 +117,7 @@ public interface UsecasesPackage extends EPackage {
/**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesFactoryImpl.java
index 4a0045b52fa..65801a38170 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -25,14 +25,14 @@ import org.eclipse.papyrus.sysml.usecases.UsecasesPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class UsecasesFactoryImpl extends EFactoryImpl implements UsecasesFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -45,13 +45,13 @@ public class UsecasesFactoryImpl extends EFactoryImpl implements UsecasesFactory
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static UsecasesFactory init() {
try {
- UsecasesFactory theUsecasesFactory = (UsecasesFactory)EPackage.Registry.INSTANCE.getEFactory(UsecasesPackage.eNS_URI);
- if(theUsecasesFactory != null) {
+ UsecasesFactory theUsecasesFactory = (UsecasesFactory) EPackage.Registry.INSTANCE.getEFactory(UsecasesPackage.eNS_URI);
+ if (theUsecasesFactory != null) {
return theUsecasesFactory;
}
} catch (Exception exception) {
@@ -64,7 +64,7 @@ public class UsecasesFactoryImpl extends EFactoryImpl implements UsecasesFactory
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public UsecasesFactoryImpl() {
@@ -73,7 +73,7 @@ public class UsecasesFactoryImpl extends EFactoryImpl implements UsecasesFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String convertDummyToString(EDataType eDataType, Object instanceValue) {
@@ -82,12 +82,12 @@ public class UsecasesFactoryImpl extends EFactoryImpl implements UsecasesFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case UsecasesPackage.DUMMY:
return convertDummyToString(eDataType, instanceValue);
default:
@@ -97,12 +97,12 @@ public class UsecasesFactoryImpl extends EFactoryImpl implements UsecasesFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -110,21 +110,21 @@ public class UsecasesFactoryImpl extends EFactoryImpl implements UsecasesFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String createDummyFromString(EDataType eDataType, String initialValue) {
- return (String)super.createFromString(eDataType, initialValue);
+ return (String) super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case UsecasesPackage.DUMMY:
return createDummyFromString(eDataType, initialValue);
default:
@@ -134,11 +134,11 @@ public class UsecasesFactoryImpl extends EFactoryImpl implements UsecasesFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public UsecasesPackage getUsecasesPackage() {
- return (UsecasesPackage)getEPackage();
+ return (UsecasesPackage) getEPackage();
}
} // UsecasesFactoryImpl
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesPackageImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesPackageImpl.java
index 53b1e62638d..09bdd3bbbc8 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesPackageImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/internal/impl/UsecasesPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -43,36 +43,36 @@ import org.eclipse.uml2.uml.profile.standard.StandardPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class UsecasesPackageImpl extends EPackageImpl implements UsecasesPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link UsecasesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link UsecasesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static UsecasesPackage init() {
- if(isInited)
- return (UsecasesPackage)EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI);
+ if (isInited) {
+ return (UsecasesPackage) EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI);
+ }
// Obtain or create and register package
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UsecasesPackageImpl());
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UsecasesPackageImpl());
isInited = true;
@@ -80,16 +80,24 @@ public class UsecasesPackageImpl extends EPackageImpl implements UsecasesPackage
StandardPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
- ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
- BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) : PortandflowsPackage.eINSTANCE);
- ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE);
- ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE);
- AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) : InteractionsPackage.eINSTANCE);
- StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
+ SysmlPackageImpl theSysmlPackage = (SysmlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) instanceof SysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysmlPackage.eNS_URI) : SysmlPackage.eINSTANCE);
+ ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE);
+ BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE);
+ PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI)
+ : PortandflowsPackage.eINSTANCE);
+ ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI)
+ : ConstraintsPackage.eINSTANCE);
+ ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI)
+ : ActivitiesPackage.eINSTANCE);
+ AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI)
+ : AllocationsPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InteractionsPackage.eNS_URI)
+ : InteractionsPackage.eINSTANCE);
+ StatemachinesPackageImpl theStatemachinesPackage = (StatemachinesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StatemachinesPackage.eNS_URI) instanceof StatemachinesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(StatemachinesPackage.eNS_URI) : StatemachinesPackage.eINSTANCE);
// Create package meta-data objects
theUsecasesPackage.createPackageContents();
@@ -128,21 +136,21 @@ public class UsecasesPackageImpl extends EPackageImpl implements UsecasesPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EDataType dummyEDataType = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -152,9 +160,8 @@ public class UsecasesPackageImpl extends EPackageImpl implements UsecasesPackage
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.sysml.usecases.UsecasesPackage#eNS_URI
* @see #init()
@@ -169,12 +176,13 @@ public class UsecasesPackageImpl extends EPackageImpl implements UsecasesPackage
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create data types
@@ -183,7 +191,7 @@ public class UsecasesPackageImpl extends EPackageImpl implements UsecasesPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EDataType getDummy() {
@@ -192,23 +200,24 @@ public class UsecasesPackageImpl extends EPackageImpl implements UsecasesPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public UsecasesFactory getUsecasesFactory() {
- return (UsecasesFactory)getEFactoryInstance();
+ return (UsecasesFactory) getEFactoryInstance();
}
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceFactoryImpl.java
index 840677c3b67..44b027f4b3a 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.usecases.util.UsecasesResourceImpl
* @generated
*/
@@ -30,7 +30,7 @@ public class UsecasesResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public UsecasesResourceFactoryImpl() {
@@ -41,7 +41,7 @@ public class UsecasesResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceImpl.java
index d44b8f1402e..8b7557945cf 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.usecases.util.UsecasesResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class UsecasesResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public UsecasesResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesXMLProcessor.java
index 0fbdae78ce5..14563fb224f 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/usecases/util/UsecasesXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.usecases.UsecasesPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class UsecasesXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class UsecasesXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public UsecasesXMLProcessor() {
@@ -44,12 +44,12 @@ public class UsecasesXMLProcessor extends XMLProcessor {
* Register for "*" and "xml" file extensions the UsecasesResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new UsecasesResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new UsecasesResourceFactoryImpl());
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/ElementUtil.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/ElementUtil.java
index 419801143a3..a62a851f321 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/ElementUtil.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/ElementUtil.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -28,7 +28,7 @@ public class ElementUtil {
* some dependencies propagated by UMLUtils (jface...). Current UMLUtils
* plug-in should probably be separated into two parts one depending on UML2
* plug-in only, and the other bringing ui related features;
- *
+ *
* @deprecated prefer using {@link UMLUtil#getStereotypeApplication(Element, Class)}
*/
@Deprecated
@@ -39,7 +39,7 @@ public class ElementUtil {
/**
* Convenient method to retrieve the StereotypeApplication by passing an
* element of the static profile.
- *
+ *
* @deprecated prefer using {@link UMLUtil#getStereotypeApplication(Element, Class)}
*/
@Deprecated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResource.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResource.java
index 89541bd86fb..e0b8514a990 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResource.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResource.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -48,6 +48,7 @@ public class SysmlResource {
/**
* @deprecated use VIEW_POINT_ID instead
*/
+ @Deprecated
public static String VIEWPOINT_ID = VIEW_POINT_ID;
@Deprecated
@@ -75,6 +76,7 @@ public class SysmlResource {
public static String NESTED_CONNECTOR_END_ID = "SysML::Blocks::NestedConnectorEnd";
/** @deprecated use NESTED_CONNECTOR_END_ID instead */
+ @Deprecated
public static String NESTED_CONNECTOREND_ID = NESTED_CONNECTOR_END_ID;
@Deprecated
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceFactoryImpl.java
index f02624cd73a..b016daa3233 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.util.SysmlResourceImpl
* @generated
*/
@@ -30,7 +30,7 @@ public class SysmlResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public SysmlResourceFactoryImpl() {
@@ -41,7 +41,7 @@ public class SysmlResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceImpl.java
index 087a8aa2f6d..16734d1af82 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.sysml.util.SysmlResourceFactoryImpl
* @generated
*/
@@ -29,9 +29,9 @@ public class SysmlResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @param uri
- * the URI of the new resource.
+ * the URI of the new resource.
* @generated
*/
public SysmlResourceImpl(URI uri) {
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlXMLProcessor.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlXMLProcessor.java
index 8a333ad0066..47aad158763 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlXMLProcessor.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysmlXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.SysmlPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class SysmlXMLProcessor extends XMLProcessor {
@@ -32,7 +32,7 @@ public class SysmlXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public SysmlXMLProcessor() {
@@ -43,12 +43,12 @@ public class SysmlXMLProcessor extends XMLProcessor {
/**
* Register for "*" and "xml" file extensions the SysmlResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new SysmlResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new SysmlResourceFactoryImpl());

Back to the top