Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructureFactory.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructurePackage.java13
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTime.java59
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java82
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java77
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureConstraint.java36
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureGroup.java40
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureLink.java100
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureModel.java61
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureTreeNode.java12
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingFactory.java12
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingPackage.java187
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/VariabilityDependencyKind.java99
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/BindingTimeImpl.java86
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureConstraintImpl.java133
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureGroupImpl.java122
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureImpl.java256
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureLinkImpl.java268
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureModelImpl.java189
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureTreeNodeImpl.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingFactoryImpl.java88
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingPackageImpl.java322
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingAdapterFactory.java139
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceFactoryImpl.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceImpl.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingSwitch.java206
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingXMLProcessor.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AllocateableElement.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Allocation.java22
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionPrototype.java18
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionType.java33
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/BasicSoftwareFunctionType.java8
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/ClientServerKind.java59
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionPrototype.java12
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionType.java34
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/EADirectionKind.java69
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionAllocation.java41
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerInterface.java22
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerPort.java30
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java27
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionFlowPort.java75
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPort.java2
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPowerPort.java31
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPrototype.java21
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionType.java55
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionalDevice.java16
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingFactory.java22
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingPackage.java355
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/HardwareFunctionType.java35
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/LocalDeviceManager.java28
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Operation.java30
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/PortGroup.java35
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocateableElementImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocationImpl.java87
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionPrototypeImpl.java44
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionTypeImpl.java41
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/BasicSoftwareFunctionTypeImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionPrototypeImpl.java42
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionTypeImpl.java41
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionAllocationImpl.java162
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerInterfaceImpl.java74
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerPortImpl.java74
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionConnectorImpl.java103
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionFlowPortImpl.java122
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPortImpl.java66
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPowerPortImpl.java34
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPrototypeImpl.java85
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionTypeImpl.java163
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionalDeviceImpl.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingFactoryImpl.java143
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingPackageImpl.java414
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/HardwareFunctionTypeImpl.java52
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/LocalDeviceManagerImpl.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/OperationImpl.java100
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/PortGroupImpl.java150
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java319
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceFactoryImpl.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceImpl.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java694
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingXMLProcessor.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Actuator.java9
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/AllocationTarget.java8
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/CommunicationHardwarePin.java12
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/ElectricalComponent.java11
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareBusKind.java63
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentPrototype.java22
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentType.java29
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareConnector.java12
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePin.java20
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePort.java38
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePortConnector.java55
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingFactory.java19
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingPackage.java277
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePin.java17
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePinKind.java65
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Node.java27
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/PowerHardwarePin.java8
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Sensor.java8
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ActuatorImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/AllocationTargetImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/CommunicationHardwarePinImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ElectricalComponentImpl.java44
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentPrototypeImpl.java123
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentTypeImpl.java208
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareConnectorImpl.java99
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePinImpl.java135
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortConnectorImpl.java232
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortImpl.java223
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingFactoryImpl.java120
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java338
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/IOHardwarePinImpl.java46
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/NodeImpl.java47
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/PowerHardwarePinImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/SensorImpl.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingAdapterFactory.java240
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceFactoryImpl.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceImpl.java9
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingSwitch.java487
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingXMLProcessor.java9
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructureFactoryImpl.java42
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructurePackageImpl.java156
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/AnalysisLevel.java38
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/DesignLevel.java76
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/ImplementationLevel.java36
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemModel.java61
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingFactory.java12
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingPackage.java153
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/VehicleLevel.java34
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/AnalysisLevelImpl.java140
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/DesignLevelImpl.java221
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/ImplementationLevelImpl.java136
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemModelImpl.java280
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingFactoryImpl.java47
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingPackageImpl.java305
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/VehicleLevelImpl.java129
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingAdapterFactory.java110
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceFactoryImpl.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceImpl.java9
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingSwitch.java171
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingXMLProcessor.java9
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceFactoryImpl.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceImpl.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureXMLProcessor.java6
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationAttributeSet.java110
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationPermissionKind.java86
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehicleFeature.java57
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingFactory.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingPackage.java95
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/DeviationAttributeSetImpl.java341
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehicleFeatureImpl.java152
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingFactoryImpl.java54
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingPackageImpl.java248
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingAdapterFactory.java99
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceFactoryImpl.java5
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceImpl.java7
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingSwitch.java86
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingXMLProcessor.java5
157 files changed, 8863 insertions, 4531 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructureFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructureFactory.java
index fa48847bcba..2b8f0ec3f5f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructureFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructureFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -20,6 +20,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.eastadl.structure.StructurePackage
* @generated
*/
@@ -28,6 +29,7 @@ public interface StructureFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
StructureFactory eINSTANCE = org.eclipse.papyrus.eastadl.structure.impl.StructureFactoryImpl.init();
@@ -35,6 +37,7 @@ public interface StructureFactory 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/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructurePackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructurePackage.java
index ee6a50c1888..139c843f8b8 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructurePackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/StructurePackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,6 +28,7 @@ import org.eclipse.emf.ecore.EPackage;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.StructureFactory
* @model kind="package"
* @generated
@@ -43,6 +44,7 @@ public interface StructurePackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -51,6 +53,7 @@ public interface StructurePackage 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.eastadl.structure.impl.StructurePackageImpl#getDummy()
* @generated
@@ -62,6 +65,7 @@ public interface StructurePackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "structure";
@@ -69,6 +73,7 @@ public interface StructurePackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Structure/1";
@@ -76,6 +81,7 @@ public interface StructurePackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "Structure";
@@ -83,6 +89,7 @@ public interface StructurePackage extends EPackage {
/**
* The singleton instance of the package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
StructurePackage eINSTANCE = org.eclipse.papyrus.eastadl.structure.impl.StructurePackageImpl.init();
@@ -91,6 +98,7 @@ public interface StructurePackage 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.eastadl.structure.impl.StructurePackageImpl#getDummy()
* @generated
@@ -100,7 +108,7 @@ public interface StructurePackage 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"
@@ -112,6 +120,7 @@ public interface StructurePackage 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/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTime.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTime.java
index 40051e04f4e..bd006d3cbf7 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTime.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTime.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,24 +24,27 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
*
* <!-- begin-model-doc -->
* The motivation for attributing features and variable elements with binding times is that binding times encapsulate important information about the variability under view:
- *
- * Variability that must be bound (determined, decided) very early in the system development may not be visible in one single feature model but only in comparison with different feature models in the context of multi-level feature trees; late bound variability is variability providing the driver with choices for current equipment configuration.
- *
- * Binding times are important because they describe if the variability must be decided during system development or if the variability is determined by a customer or if the variability itself is part of the product features that are sold to the customer. Possible binding times are:
- *
- * - SystemDesignTime
- * - CodeGenerationTime
- * - PreCompileTime
- * - LinkTime
- * - PostBuild
- * - Runtime
- *
+ *
+ * Variability that must be bound (determined, decided) very early in the system development may not be visible in one single feature model but only in comparison with different feature models in the context of multi-level feature trees; late bound variability
+ * is variability providing the driver with choices for current equipment configuration.
+ *
+ * Binding times are important because they describe if the variability must be decided during system development or if the variability is determined by a customer or if the variability itself is part of the product features that are sold to the customer.
+ * Possible binding times are:
+ *
+ * - SystemDesignTime
+ * - CodeGenerationTime
+ * - PreCompileTime
+ * - LinkTime
+ * - PostBuild
+ * - Runtime
+ *
* Note that a binding time is never a particular point in time such as April 2nd, 2011, but always a certain stage in the overall development, production and shipment process as represented by the above values.
- *
+ *
* Each feature must have a binding time (association requiredBindingTime) and may have one further binding time (association actualBindingTime).
- *
- * The required binding time describes the binding time that the feature is intended to have. But due to technical conditions it may occur that the actually realized binding time of the feature differs from the originally intended binding time. In this case one has to provide information about the actual binding time. In the rationale it must be described by what the required binding time is motivated and what the reasons are for a (different) actual binding time.
- *
+ *
+ * The required binding time describes the binding time that the feature is intended to have. But due to technical conditions it may occur that the actually realized binding time of the feature differs from the originally intended binding time. In this case
+ * one has to provide information about the actual binding time. In the rationale it must be described by what the required binding time is motivated and what the reasons are for a (different) actual binding time.
+ *
* Extension:
* Class.
* <!-- end-model-doc -->
@@ -49,8 +52,8 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime#getKind <em>Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime#getKind <em>Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime#getBase_Class <em>Base Class</em>}</li>
* </ul>
* </p>
*
@@ -61,12 +64,10 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
public interface BindingTime extends EAElement {
/**
- * Returns the value of the '<em><b>Kind</b></em>' attribute. The default value is
- * <code>"DEVELOPMENT"</code>. The literals are from the enumeration
- * {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind}. <!--
+ * Returns the value of the '<em><b>Kind</b></em>' attribute. The default value is <code>"DEVELOPMENT"</code>. The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind}. <!--
* begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> The kind of the binding
* time, see enumeration of binding times. <!-- end-model-doc -->
- *
+ *
* @return the value of the '<em>Kind</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind
* @see #setKind(BindingTimeKind)
@@ -79,7 +80,9 @@ public interface BindingTime extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime#getKind <em>Kind</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Kind</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Kind</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind
* @see #getKind()
* @generated
@@ -90,10 +93,10 @@ public interface BindingTime extends EAElement {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.featuremodeling.FeaturemodelingPackage#getBindingTime_Base_Class()
@@ -106,7 +109,9 @@ public interface BindingTime extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java
index 933c17d2993..c33ef419d6c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,13 +22,12 @@ import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
- * <!-- begin-user-doc --> A representation of the literals of the enumeration '
- * <em><b>Binding Time Kind</b></em>', and utility methods for working with them. <!-- end-user-doc
+ * <!-- begin-user-doc --> A representation of the literals of the enumeration ' <em><b>Binding Time Kind</b></em>', and utility methods for working with them. <!-- end-user-doc
* --> <!-- begin-model-doc --> The binding time kind gives the set of possible binding times.
- *
+ *
* Semantics: BindingTimeKind has no specific semantics. Further subclasses of BindingTimeKind will
* add semantics appropriate to the concept they represent. <!-- end-model-doc -->
- *
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getBindingTimeKind()
* @model
* @generated
@@ -38,6 +37,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>System Design Time</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #SYSTEM_DESIGN_TIME_VALUE
* @generated
* @ordered
@@ -46,6 +46,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Code Generation Time</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #CODE_GENERATION_TIME_VALUE
* @generated
* @ordered
@@ -54,6 +55,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Precompile Time</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #PRECOMPILE_TIME_VALUE
* @generated
* @ordered
@@ -62,6 +64,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Link Time</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #LINK_TIME_VALUE
* @generated
* @ordered
@@ -70,6 +73,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Post Build</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #POST_BUILD_VALUE
* @generated
* @ordered
@@ -78,6 +82,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Runtime</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #RUNTIME_VALUE
* @generated
* @ordered
@@ -90,7 +95,7 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound during development of the EE-System.
- *
+ *
* From AUTOSAR:
* * Designing the VFB.
* * Software Component types (portinterfaces).
@@ -99,6 +104,7 @@ public enum BindingTimeKind implements Enumerator {
* * ECUs and interconnecting Networks
* * Designing the Communication Matrix and Data Mapping
* <!-- end-model-doc -->
+ *
* @see #SYSTEM_DESIGN_TIME
* @model name="systemDesignTime"
* @generated
@@ -112,13 +118,14 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound during code generation.
- *
+ *
* From AUTOSAR:
* * Coding by hand, based on requirements document.
* * Tool based code generation, e.g. from a model.
* * The model may contain variants.
* * Only code for the selected variant(s) is actually generated.
* <!-- end-model-doc -->
+ *
* @see #CODE_GENERATION_TIME
* @model name="codeGenerationTime"
* @generated
@@ -132,10 +139,12 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound during or immediately prior to code compilation.
- *
+ *
* From AUTOSAR:
- * This is typically the C-Preprocessor. Exclude parts of the code from the compilation process, e.g., because they are not required for the selected variant, because they are incompatible with the selected variant, because they require resources that are not present in the selected variant. Object code is only generated for the selected variant(s). The code that is excluded at this stage code will not be available at later stages.
+ * This is typically the C-Preprocessor. Exclude parts of the code from the compilation process, e.g., because they are not required for the selected variant, because they are incompatible with the selected variant, because they require resources that are
+ * not present in the selected variant. Object code is only generated for the selected variant(s). The code that is excluded at this stage code will not be available at later stages.
* <!-- end-model-doc -->
+ *
* @see #PRECOMPILE_TIME
* @model name="precompileTime"
* @generated
@@ -149,12 +158,13 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound during linking.
- *
+ *
* From AUTOSAR:
* Configure what is included in object code, and what is omitted
* Based on which variant(s) are selected
* E.g. for modules that are delivered as object code (as opposed to those that are delivered as source code)
* <!-- end-model-doc -->
+ *
* @see #LINK_TIME
* @model name="linkTime"
* @generated
@@ -169,6 +179,7 @@ public enum BindingTimeKind implements Enumerator {
* <!-- begin-model-doc -->
* Variability will be bound at certain occasions after shipment, for example when the vehicle is in a workshop.
* <!-- end-model-doc -->
+ *
* @see #POST_BUILD
* @model name="postBuild"
* @generated
@@ -182,9 +193,11 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound by the customer after shipment by way of vehicle configuration.
- *
- * Variability with such a late binding time can also be seen as a special functionality of the system which is not documented as variability at all. However, it is sometimes advantageous to represent such cases as variability in order to be able to seamlessly include them in the overall variability management activities.
+ *
+ * Variability with such a late binding time can also be seen as a special functionality of the system which is not documented as variability at all. However, it is sometimes advantageous to represent such cases as variability in order to be able to
+ * seamlessly include them in the overall variability management activities.
* <!-- end-model-doc -->
+ *
* @see #RUNTIME
* @model name="runtime"
* @generated
@@ -196,6 +209,7 @@ public enum BindingTimeKind implements Enumerator {
* An array of all the '<em><b>Binding Time Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final BindingTimeKind[] VALUES_ARRAY = new BindingTimeKind[] {
@@ -205,12 +219,12 @@ public enum BindingTimeKind implements Enumerator {
LINK_TIME,
POST_BUILD,
RUNTIME,
- };
+ };
/**
* A public read-only list of all the '<em><b>Binding Time Kind</b></em>' enumerators. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<BindingTimeKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -218,16 +232,23 @@ public enum BindingTimeKind implements Enumerator {
/**
* Returns the '<em><b>Binding Time Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static BindingTimeKind get(int value) {
switch (value) {
- case SYSTEM_DESIGN_TIME_VALUE: return SYSTEM_DESIGN_TIME;
- case CODE_GENERATION_TIME_VALUE: return CODE_GENERATION_TIME;
- case PRECOMPILE_TIME_VALUE: return PRECOMPILE_TIME;
- case LINK_TIME_VALUE: return LINK_TIME;
- case POST_BUILD_VALUE: return POST_BUILD;
- case RUNTIME_VALUE: return RUNTIME;
+ case SYSTEM_DESIGN_TIME_VALUE:
+ return SYSTEM_DESIGN_TIME;
+ case CODE_GENERATION_TIME_VALUE:
+ return CODE_GENERATION_TIME;
+ case PRECOMPILE_TIME_VALUE:
+ return PRECOMPILE_TIME;
+ case LINK_TIME_VALUE:
+ return LINK_TIME;
+ case POST_BUILD_VALUE:
+ return POST_BUILD;
+ case RUNTIME_VALUE:
+ return RUNTIME;
}
return null;
}
@@ -235,6 +256,7 @@ public enum BindingTimeKind implements Enumerator {
/**
* Returns the '<em><b>Binding Time Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static BindingTimeKind get(String literal) {
@@ -250,7 +272,7 @@ public enum BindingTimeKind implements Enumerator {
/**
* Returns the '<em><b>Binding Time Kind</b></em>' literal with the specified name. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static BindingTimeKind getByName(String name) {
@@ -265,18 +287,21 @@ public enum BindingTimeKind 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;
@@ -284,6 +309,7 @@ public enum BindingTimeKind implements Enumerator {
/**
* Only this class can construct instances.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private BindingTimeKind(int value, String name, String literal) {
@@ -294,32 +320,38 @@ public enum BindingTimeKind implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getLiteral() {
- return literal;
+ return literal;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public int getValue() {
- return value;
+ return value;
}
/**
* Returns the literal value of the enumerator, which is its string representation. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java
index 73ffa8511e5..a5b2fd8d777 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,16 +24,17 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
*
* <!-- begin-model-doc -->
* A Feature represents a characteristic or trait of some object of consideration. The actual object of consideration depends on the particular purpose of the feature's containing feature model.
- *
- * Example 1: The core technical feature model on vehicle level defines the technical properties of the complete-system, i.e. vehicle. So its object of consideration is the vehicle as a whole and therefore its features represent characteristics or traits of the vehicle as a whole.
- *
+ *
+ * Example 1: The core technical feature model on vehicle level defines the technical properties of the complete-system, i.e. vehicle. So its object of consideration is the vehicle as a whole and therefore its features represent characteristics or traits of
+ * the vehicle as a whole.
+ *
* Example 2: The public feature model of some function F in the FDA defines the features of this particular software function. So its object of consideration is function F and therefore its features represent characteristics or traits of this function F.
- *
- *
+ *
+ *
* Semantics:
* Feature is a (non)functional characteristic, constraint or property that can be present or not in a (vehicle) product line.
- *
- *
+ *
+ *
* Extension:
* Class
* <!-- end-model-doc -->
@@ -41,12 +42,12 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getCardinality <em>Cardinality</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getRequiredBindingTime <em>Required Binding Time</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getActualBindingTime <em>Actual Binding Time</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getFeatureParameter <em>Feature Parameter</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getChildNode <em>Child Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getCardinality <em>Cardinality</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getRequiredBindingTime <em>Required Binding Time</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getActualBindingTime <em>Actual Binding Time</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getFeatureParameter <em>Feature Parameter</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getChildNode <em>Child Node</em>}</li>
* </ul>
* </p>
*
@@ -60,10 +61,10 @@ public interface Feature extends FeatureTreeNode {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature_Base_Class()
@@ -76,7 +77,9 @@ public interface Feature extends FeatureTreeNode {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -86,12 +89,11 @@ public interface Feature extends FeatureTreeNode {
* Returns the value of the '<em><b>Actual Binding Time</b></em>' reference. <!-- begin-user-doc
* -->
* <p>
- * If the meaning of the '<em>Actual Binding Time</em>' reference isn't clear, there really
- * should be more of a description here...
+ * If the meaning of the '<em>Actual Binding Time</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The actual binding time, independent of the
* required binding time. <!-- end-model-doc -->
- *
+ *
* @return the value of the '<em>Actual Binding Time</em>' reference.
* @see #setActualBindingTime(BindingTimeAttribute)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature_ActualBindingTime()
@@ -103,8 +105,7 @@ public interface Feature extends FeatureTreeNode {
/**
* Returns the value of the '<em><b>Cardinality</b></em>' attribute. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Cardinality</em>' attribute isn't clear, there really should be
- * more of a description here...
+ * If the meaning of the '<em>Cardinality</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The Cardinality describes for a feature its
* cardinality. In the context of a feature group it describes the variability behavior of the
@@ -116,7 +117,7 @@ public interface Feature extends FeatureTreeNode {
* for how features are applied. If this is not desired-needed in a certain project,
* cardinalities >1 can be prohibited by specifying a complianceLevel in FeatureModel. <!--
* end-model-doc -->
- *
+ *
* @return the value of the '<em>Cardinality</em>' attribute.
* @see #setCardinality(String)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature_Cardinality()
@@ -129,10 +130,10 @@ public interface Feature extends FeatureTreeNode {
* Returns the value of the '<em><b>Child Node</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Child Node</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Child Node</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Child Node</em>' reference.
* @see #setChildNode(FeatureTreeNode)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature_ChildNode()
@@ -145,7 +146,9 @@ public interface Feature extends FeatureTreeNode {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getChildNode <em>Child Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Child Node</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Child Node</em>' reference.
* @see #getChildNode()
* @generated
*/
@@ -155,10 +158,10 @@ public interface Feature extends FeatureTreeNode {
* Returns the value of the '<em><b>Feature Parameter</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Feature Parameter</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Feature Parameter</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Feature Parameter</em>' reference.
* @see #setFeatureParameter(EADatatype)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature_FeatureParameter()
@@ -171,7 +174,9 @@ public interface Feature extends FeatureTreeNode {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getFeatureParameter <em>Feature Parameter</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Feature Parameter</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Feature Parameter</em>' reference.
* @see #getFeatureParameter()
* @generated
*/
@@ -183,7 +188,7 @@ public interface Feature extends FeatureTreeNode {
* could possibly deviate from the actual binding time but reflects the intended binding time
* and actual binding time can be later adapted to the required binding time, if surrounding
* constraints allow a change. <!-- end-model-doc -->
- *
+ *
* @return the value of the '<em>Required Binding Time</em>' reference.
* @see #setRequiredBindingTime(BindingTimeAttribute)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature_RequiredBindingTime()
@@ -195,7 +200,9 @@ public interface Feature extends FeatureTreeNode {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getActualBindingTime <em>Actual Binding Time</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Actual Binding Time</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Actual Binding Time</em>' reference.
* @see #getActualBindingTime()
* @generated
*/
@@ -204,7 +211,9 @@ public interface Feature extends FeatureTreeNode {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getCardinality <em>Cardinality</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Cardinality</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Cardinality</em>' attribute.
* @see #getCardinality()
* @generated
*/
@@ -213,7 +222,9 @@ public interface Feature extends FeatureTreeNode {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getRequiredBindingTime <em>Required Binding Time</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Required Binding Time</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Required Binding Time</em>' reference.
* @see #getRequiredBindingTime()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureConstraint.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureConstraint.java
index ce30acad575..3014db1cf16 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureConstraint.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureConstraint.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -21,19 +21,19 @@ import org.eclipse.uml2.uml.Constraint;
/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Feature Constraint</b></em>
- * '. <!-- end-user-doc -->
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>Feature Constraint</b></em> '. <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * Captures a constraint on the containing feature model's configuration which is too complex to be expressed by way of a FeatureLink. In general, all constraints that can be expressed by a FeatureLink can also be expressed by a FeatureConstraint, but not vice versa.
+ * Captures a constraint on the containing feature model's configuration which is too complex to be expressed by way of a FeatureLink. In general, all constraints that can be expressed by a FeatureLink can also be expressed by a FeatureConstraint, but not vice
+ * versa.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getCriterion <em>Criterion</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getBase_Constraint <em>Base Constraint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getCriterion <em>Criterion</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getBase_Constraint <em>Base Constraint</em>}</li>
* </ul>
* </p>
*
@@ -49,7 +49,7 @@ public interface FeatureConstraint extends EAElement {
* in VSL like the inclusionCriterion of a ConfigDecision. For the constraint to be met this
* expression always has to evaluate to true. For example, to express a mutual exclusion of two
* features use the expression " ! (Radar & RainSensor) ". <!-- end-model-doc -->
- *
+ *
* @return the value of the '<em>Criterion</em>' attribute.
* @see #setCriterion(String)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureConstraint_Criterion()
@@ -61,7 +61,9 @@ public interface FeatureConstraint extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getCriterion <em>Criterion</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Criterion</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Criterion</em>' attribute.
* @see #getCriterion()
* @generated
*/
@@ -71,10 +73,10 @@ public interface FeatureConstraint extends EAElement {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureConstraint_Base_Class()
@@ -87,7 +89,9 @@ public interface FeatureConstraint extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -97,10 +101,10 @@ public interface FeatureConstraint extends EAElement {
* Returns the value of the '<em><b>Base Constraint</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Constraint</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Base Constraint</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 Constraint</em>' reference.
* @see #setBase_Constraint(Constraint)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureConstraint_Base_Constraint()
@@ -113,7 +117,9 @@ public interface FeatureConstraint extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getBase_Constraint <em>Base Constraint</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Base Constraint</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Base Constraint</em>' reference.
* @see #getBase_Constraint()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureGroup.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureGroup.java
index 56de042f407..a00b61de4ab 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureGroup.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureGroup.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,13 +22,14 @@ import org.eclipse.emf.common.util.EList;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * FeatureGroup is a specialization of the FeatureTreeNode, enabling grouping of several Features. It specifies with its cardinality how these grouped features can be combined. For example, a FeatureGroup owning the two Features A and B, with a cardinality of [1] means that A and B are alternative.
- *
- *
+ * FeatureGroup is a specialization of the FeatureTreeNode, enabling grouping of several Features. It specifies with its cardinality how these grouped features can be combined. For example, a FeatureGroup owning the two Features A and B, with a cardinality of
+ * [1] means that A and B are alternative.
+ *
+ *
* Semantics:
* FeatureGroup is a grouping entity for sibling Features to reflect variability for a set of Features.
- *
- *
+ *
+ *
* Extension:
* Class
* <!-- end-model-doc -->
@@ -36,9 +37,9 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getCardinality <em>Cardinality</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getChildFeature <em>Child Feature</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getCardinality <em>Cardinality</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getChildFeature <em>Child Feature</em>}</li>
* </ul>
* </p>
*
@@ -52,10 +53,10 @@ public interface FeatureGroup extends FeatureTreeNode {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureGroup_Base_Class()
@@ -68,7 +69,9 @@ public interface FeatureGroup extends FeatureTreeNode {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -77,14 +80,13 @@ public interface FeatureGroup extends FeatureTreeNode {
/**
* Returns the value of the '<em><b>Cardinality</b></em>' attribute. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Cardinality</em>' attribute isn't clear, there really should be
- * more of a description here...
+ * If the meaning of the '<em>Cardinality</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The Cardinality describes for a feature group
* its cardinality. It describes the variability behavior of the group (e.g. a cardinality of 1
* in a feature group means that one of the child features has to be selected). <!--
* end-model-doc -->
- *
+ *
* @return the value of the '<em>Cardinality</em>' attribute.
* @see #setCardinality(String)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureGroup_Cardinality()
@@ -98,10 +100,10 @@ public interface FeatureGroup extends FeatureTreeNode {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Child Feature</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Child Feature</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Child Feature</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureGroup_ChildFeature()
* @model lower="2" transient="true" volatile="true" derived="true" ordered="false"
@@ -113,7 +115,9 @@ public interface FeatureGroup extends FeatureTreeNode {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getCardinality <em>Cardinality</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Cardinality</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Cardinality</em>' attribute.
* @see #getCardinality()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureLink.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureLink.java
index ab3c54ed5b9..e4eb5016aba 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureLink.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureLink.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -26,19 +26,21 @@ import org.eclipse.uml2.uml.Dependency;
*
* <!-- begin-model-doc -->
* A FeatureLink resembles a Relationship between two Features referred to as 'start' and 'end' feature (such as "feature S requires feature E" or "S excludes E").
- *
- * The type of the FeatureLink specifies the precise semantics of the relationship. There are several predefined types, for example "needs" states that S requires E. In addition, user-defined types are allowed as well. For user-defined types, attribute 'customType' provides a unique identifier of the custom link type and attribute 'isBidirectional' states whether the link is uni- or bidirectional.
- *
- * FeatureLinks are similar to FeatureConstraints but much more restricted. The rationale for having FeatureLinks in addition to FeatureConstraints is that in many cases FeatureLinks are sufficient and tools can deal with them more easily and appropriately (e.g. they can easily be presented visually as arrows in a diagram).
- *
- *
+ *
+ * The type of the FeatureLink specifies the precise semantics of the relationship. There are several predefined types, for example "needs" states that S requires E. In addition, user-defined types are allowed as well. For user-defined types, attribute
+ * 'customType' provides a unique identifier of the custom link type and attribute 'isBidirectional' states whether the link is uni- or bidirectional.
+ *
+ * FeatureLinks are similar to FeatureConstraints but much more restricted. The rationale for having FeatureLinks in addition to FeatureConstraints is that in many cases FeatureLinks are sufficient and tools can deal with them more easily and appropriately
+ * (e.g. they can easily be presented visually as arrows in a diagram).
+ *
+ *
* Semantics:
* The FeatureLink is a relationship between Features that may constraint the selection of Features involved in the relationship.
- *
- *
+ *
+ *
* Constraints:
* [1] The start and end Features of a FeatureLink must be contained in the FeatureModel that contains the FeatureLink.
- *
+ *
* Extension:
* AssociationClass
* <!-- end-model-doc -->
@@ -46,13 +48,13 @@ import org.eclipse.uml2.uml.Dependency;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#isIsBidirectional <em>Is Bidirectional</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getCustomType <em>Custom Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getBase_Dependency <em>Base Dependency</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getStart <em>Start</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getEnd <em>End</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getBase_AssociationClass <em>Base Association Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getKind <em>Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#isIsBidirectional <em>Is Bidirectional</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getCustomType <em>Custom Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getBase_Dependency <em>Base Dependency</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getStart <em>Start</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getEnd <em>End</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getBase_AssociationClass <em>Base Association Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getKind <em>Kind</em>}</li>
* </ul>
* </p>
*
@@ -66,10 +68,10 @@ public interface FeatureLink extends Relationship {
* Returns the value of the '<em><b>Custom Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Custom Type</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Custom Type</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Custom Type</em>' attribute.
* @see #setCustomType(String)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureLink_CustomType()
@@ -80,16 +82,14 @@ public interface FeatureLink extends Relationship {
/**
* Returns the value of the '<em><b>End</b></em>' reference. It is bidirectional and its
- * opposite is '
- * {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getEndingLink
+ * opposite is ' {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getEndingLink
* <em>Ending Link</em>}'. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>End</em>' reference isn't clear, there really should be more of a
- * description here...
+ * 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 --> <!-- begin-model-doc --> The target feature of the dependency. {derived
* from UML::DirectedRelationship::target} <!-- end-model-doc -->
- *
+ *
* @return the value of the '<em>End</em>' reference.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureLink_End()
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getEndingLink
@@ -104,10 +104,10 @@ public interface FeatureLink extends Relationship {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependencyKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Kind</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Kind</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Kind</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependencyKind
* @see #setKind(VariabilityDependencyKind)
@@ -119,16 +119,14 @@ public interface FeatureLink extends Relationship {
/**
* Returns the value of the '<em><b>Start</b></em>' reference. It is bidirectional and its
- * opposite is '
- * {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getStartingLink
+ * opposite is ' {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getStartingLink
* <em>Starting Link</em>}'. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Start</em>' reference isn't clear, there really should be more of
- * a description here...
+ * If the meaning of the '<em>Start</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The source feature of the dependency. {derived
* from UML::DirectedRelationship::source} <!-- end-model-doc -->
- *
+ *
* @return the value of the '<em>Start</em>' reference.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureLink_Start()
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getStartingLink
@@ -142,10 +140,10 @@ public interface FeatureLink extends Relationship {
* Returns the value of the '<em><b>Is Bidirectional</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Is Bidirectional</em>' attribute isn't clear, there really should
- * be more of a description here...
+ * If the meaning of the '<em>Is Bidirectional</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 Bidirectional</em>' attribute.
* @see #setIsBidirectional(boolean)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureLink_IsBidirectional()
@@ -158,7 +156,9 @@ public interface FeatureLink extends Relationship {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getCustomType <em>Custom Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Custom Type</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Custom Type</em>' attribute.
* @see #getCustomType()
* @generated
*/
@@ -168,10 +168,10 @@ public interface FeatureLink extends Relationship {
* Returns the value of the '<em><b>Base Dependency</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Dependency</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureLink_Base_Dependency()
@@ -184,7 +184,9 @@ public interface FeatureLink extends Relationship {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Dependency</em>' reference.
* @see #getBase_Dependency()
* @generated
*/
@@ -194,7 +196,9 @@ public interface FeatureLink extends Relationship {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getEnd <em>End</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>End</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>End</em>' reference.
* @see #getEnd()
* @generated
*/
@@ -204,10 +208,10 @@ public interface FeatureLink extends Relationship {
* Returns the value of the '<em><b>Base Association Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Association Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Base Association 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 Association Class</em>' reference.
* @see #setBase_AssociationClass(AssociationClass)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureLink_Base_AssociationClass()
@@ -220,7 +224,9 @@ public interface FeatureLink extends Relationship {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getBase_AssociationClass <em>Base Association Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Base Association Class</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Base Association Class</em>' reference.
* @see #getBase_AssociationClass()
* @generated
*/
@@ -229,7 +235,9 @@ public interface FeatureLink extends Relationship {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#isIsBidirectional <em>Is Bidirectional</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Bidirectional</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Is Bidirectional</em>' attribute.
* @see #isIsBidirectional()
* @generated
*/
@@ -239,7 +247,9 @@ public interface FeatureLink extends Relationship {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getKind <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Kind</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Kind</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependencyKind
* @see #getKind()
* @generated
@@ -250,7 +260,9 @@ public interface FeatureLink extends Relationship {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getStart <em>Start</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Start</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Start</em>' reference.
* @see #getStart()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureModel.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureModel.java
index 670e097809b..e5ef65cdf8e 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureModel.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureModel.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -25,18 +25,21 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.Context;
*
* <!-- begin-model-doc -->
* FeatureModel denotes a model owning Features. The FeatureModel can be used to describe variability and commonality of a specified EE-System at any abstraction level in the SystemModel.
- *
- * The FeatureModel can be used either to describe the variability within a particular Function or to describe the overall variability of a vehicle (cf. VehicleLevel). The FeatureModel describing internal variability of a FunctionType refers to the VehicleLevel by a «realizes» link (informative).
- *
- * Note, however, that a FeatureModel per definition does not always have to define variability. If a feature model contains only mandatory features, then its purpose is completely unrelated to variability. The features in such a FeatureModel could serve, for example, as invariant "coarse-grained requirements". The most important example is the core technical feature model on vehicle level which is also used for SystemModels that do not contain any variability at all. However, most uses of feature models in EAST-ADL2 are primarily motivated by variability definition and management.
- *
+ *
+ * The FeatureModel can be used either to describe the variability within a particular Function or to describe the overall variability of a vehicle (cf. VehicleLevel). The FeatureModel describing internal variability of a FunctionType refers to the
+ * VehicleLevel by a «realizes» link (informative).
+ *
+ * Note, however, that a FeatureModel per definition does not always have to define variability. If a feature model contains only mandatory features, then its purpose is completely unrelated to variability. The features in such a FeatureModel could serve, for
+ * example, as invariant "coarse-grained requirements". The most important example is the core technical feature model on vehicle level which is also used for SystemModels that do not contain any variability at all. However, most uses of feature models in
+ * EAST-ADL2 are primarily motivated by variability definition and management.
+ *
* A public, local FeatureModel of an artifact element realizes a VehicleFeature of the VehicleLevel.
- *
- *
+ *
+ *
* Semantics:
* The FeatureModel has no specific semantics. Further subclasses of FeatureModel will add semantics appropriate to the concept they represent.
- *
- *
+ *
+ *
* Extension:
* Package
* <!-- end-model-doc -->
@@ -44,11 +47,11 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.Context;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getRootFeature <em>Root Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getFeatureLink <em>Feature Link</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getFeatureConstraint <em>Feature Constraint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getRootFeature <em>Root Feature</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getFeatureLink <em>Feature Link</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getFeatureConstraint <em>Feature Constraint</em>}</li>
* </ul>
* </p>
*
@@ -62,10 +65,10 @@ public interface FeatureModel extends Context {
* Returns the value of the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Package</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureModel_Base_Package()
@@ -78,7 +81,9 @@ public interface FeatureModel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Package</em>' reference.
* @see #getBase_Package()
* @generated
*/
@@ -88,10 +93,10 @@ public interface FeatureModel extends Context {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureModel_Base_Class()
@@ -104,7 +109,9 @@ public interface FeatureModel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -115,10 +122,10 @@ public interface FeatureModel extends Context {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Feature Constraint</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Feature Constraint</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Feature Constraint</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureModel_FeatureConstraint()
* @model transient="true" volatile="true" derived="true" ordered="false"
@@ -131,10 +138,10 @@ public interface FeatureModel extends Context {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Feature Link</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Feature Link</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Feature Link</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureModel_FeatureLink()
* @model ordered="false"
@@ -147,10 +154,10 @@ public interface FeatureModel extends Context {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Root Feature</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Root Feature</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Root Feature</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeatureModel_RootFeature()
* @model transient="true" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureTreeNode.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureTreeNode.java
index a1ac4b06d39..17923d33c99 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureTreeNode.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeatureTreeNode.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,13 +23,13 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.Context;
*
* <!-- begin-model-doc -->
* The abstract base class for all nodes in a feature tree.
- *
- *
+ *
+ *
* Semantics:
* FeatureTreeNode has no specific semantics. Further subclasses of FeatureTreeNode will add semantics appropriate to the concept they represent.
- *
- *
- * Extension:
+ *
+ *
+ * Extension:
* abstract, no extension
* <!-- end-model-doc -->
*
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingFactory.java
index fe5251f1c07..bf93079ed20 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -20,6 +20,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.eastadl.structure.featuremodeling.FeaturemodelingPackage
* @generated
*/
@@ -28,6 +29,7 @@ public interface FeaturemodelingFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
FeaturemodelingFactory eINSTANCE = org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingFactoryImpl.init();
@@ -36,6 +38,7 @@ public interface FeaturemodelingFactory extends EFactory {
* Returns a new object of class '<em>Binding Time</em>'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @return a new object of class '<em>Binding Time</em>'.
* @generated
*/
@@ -44,7 +47,7 @@ public interface FeaturemodelingFactory extends EFactory {
/**
* Returns a new object of class '<em>Feature</em>'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @return a new object of class '<em>Feature</em>'.
* @generated
*/
@@ -54,6 +57,7 @@ public interface FeaturemodelingFactory extends EFactory {
* Returns a new object of class '<em>Feature Constraint</em>'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @return a new object of class '<em>Feature Constraint</em>'.
* @generated
*/
@@ -63,6 +67,7 @@ public interface FeaturemodelingFactory extends EFactory {
* Returns a new object of class '<em>Feature Group</em>'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @return a new object of class '<em>Feature Group</em>'.
* @generated
*/
@@ -72,6 +77,7 @@ public interface FeaturemodelingFactory extends EFactory {
* Returns a new object of class '<em>Feature Link</em>'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @return a new object of class '<em>Feature Link</em>'.
* @generated
*/
@@ -81,6 +87,7 @@ public interface FeaturemodelingFactory extends EFactory {
* Returns a new object of class '<em>Feature Model</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Feature Model</em>'.
* @generated
*/
@@ -89,6 +96,7 @@ public interface FeaturemodelingFactory 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/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingPackage.java
index 7f8b4c6e2dd..a167cf42f59 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingPackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/FeaturemodelingPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,10 +34,10 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
* </ul>
* <!-- end-user-doc --> <!-- begin-model-doc --> This subprofile describes the orthogonal feature
* modeling that is needed for the VFM and the artifacts.
- *
+ *
* Overview: This subprofile describes the orthogonal feature modeling that is needed for the VFM
* and the artifacts. <!-- end-model-doc -->
- *
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingFactory
* @model kind="package"
* @generated
@@ -53,6 +53,7 @@ public interface FeaturemodelingPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -60,6 +61,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl <em>Feature Model</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureModel()
* @generated
@@ -69,7 +71,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Package</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FEATURE_MODEL__BASE_PACKAGE = eINSTANCE.getFeatureModel_Base_Package();
@@ -77,7 +79,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FEATURE_MODEL__BASE_CLASS = eINSTANCE.getFeatureModel_Base_Class();
@@ -86,6 +88,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Root Feature</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE_MODEL__ROOT_FEATURE = eINSTANCE.getFeatureModel_RootFeature();
@@ -94,6 +97,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Feature Link</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE_MODEL__FEATURE_LINK = eINSTANCE.getFeatureModel_FeatureLink();
@@ -102,6 +106,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Feature Constraint</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE_MODEL__FEATURE_CONSTRAINT = eINSTANCE.getFeatureModel_FeatureConstraint();
@@ -109,6 +114,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl <em>Feature Link</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureLink()
* @generated
@@ -118,6 +124,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Is Bidirectional</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute FEATURE_LINK__IS_BIDIRECTIONAL = eINSTANCE.getFeatureLink_IsBidirectional();
@@ -126,6 +133,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Custom Type</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute FEATURE_LINK__CUSTOM_TYPE = eINSTANCE.getFeatureLink_CustomType();
@@ -133,7 +141,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Dependency</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FEATURE_LINK__BASE_DEPENDENCY = eINSTANCE.getFeatureLink_Base_Dependency();
@@ -141,7 +149,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Start</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FEATURE_LINK__START = eINSTANCE.getFeatureLink_Start();
@@ -149,7 +157,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>End</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FEATURE_LINK__END = eINSTANCE.getFeatureLink_End();
@@ -158,6 +166,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Association Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE_LINK__BASE_ASSOCIATION_CLASS = eINSTANCE.getFeatureLink_Base_AssociationClass();
@@ -166,6 +175,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Kind</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute FEATURE_LINK__KIND = eINSTANCE.getFeatureLink_Kind();
@@ -173,6 +183,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl <em>Feature</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeature()
* @generated
@@ -182,7 +193,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FEATURE__BASE_CLASS = eINSTANCE.getFeature_Base_Class();
@@ -190,7 +201,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Cardinality</b></em>' attribute feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute FEATURE__CARDINALITY = eINSTANCE.getFeature_Cardinality();
@@ -198,6 +209,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Required Binding Time</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE__REQUIRED_BINDING_TIME = eINSTANCE.getFeature_RequiredBindingTime();
@@ -205,6 +217,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Actual Binding Time</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE__ACTUAL_BINDING_TIME = eINSTANCE.getFeature_ActualBindingTime();
@@ -213,6 +226,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Feature Parameter</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE__FEATURE_PARAMETER = eINSTANCE.getFeature_FeatureParameter();
@@ -221,6 +235,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Child Node</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE__CHILD_NODE = eINSTANCE.getFeature_ChildNode();
@@ -228,6 +243,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureTreeNodeImpl <em>Feature Tree Node</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureTreeNodeImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureTreeNode()
* @generated
@@ -237,6 +253,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.BindingTimeImpl <em>Binding Time</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.BindingTimeImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getBindingTime()
* @generated
@@ -246,7 +263,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Kind</b></em>' attribute feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute BINDING_TIME__KIND = eINSTANCE.getBindingTime_Kind();
@@ -254,7 +271,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference BINDING_TIME__BASE_CLASS = eINSTANCE.getBindingTime_Base_Class();
@@ -262,6 +279,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl <em>Feature Group</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureGroup()
* @generated
@@ -271,7 +289,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FEATURE_GROUP__BASE_CLASS = eINSTANCE.getFeatureGroup_Base_Class();
@@ -279,7 +297,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Cardinality</b></em>' attribute feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute FEATURE_GROUP__CARDINALITY = eINSTANCE.getFeatureGroup_Cardinality();
@@ -288,6 +306,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Child Feature</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE_GROUP__CHILD_FEATURE = eINSTANCE.getFeatureGroup_ChildFeature();
@@ -295,6 +314,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl <em>Feature Constraint</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureConstraint()
* @generated
@@ -304,7 +324,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Criterion</b></em>' attribute feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute FEATURE_CONSTRAINT__CRITERION = eINSTANCE.getFeatureConstraint_Criterion();
@@ -312,7 +332,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference FEATURE_CONSTRAINT__BASE_CLASS = eINSTANCE.getFeatureConstraint_Base_Class();
@@ -321,6 +341,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Constraint</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE_CONSTRAINT__BASE_CONSTRAINT = eINSTANCE.getFeatureConstraint_Base_Constraint();
@@ -328,6 +349,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind <em>Binding Time Kind</em>}' enum.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getBindingTimeKind()
* @generated
@@ -338,6 +360,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependencyKind <em>Variability Dependency Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependencyKind
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getVariabilityDependencyKind()
* @generated
@@ -349,6 +372,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "featuremodeling";
@@ -356,6 +380,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Structure/FeatureModeling/1";
@@ -363,6 +388,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "FeatureModeling";
@@ -370,6 +396,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The singleton instance of the package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
FeaturemodelingPackage eINSTANCE = org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl.init();
@@ -377,6 +404,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl <em>Feature Model</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureModel()
* @generated
@@ -386,6 +414,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl <em>Feature Link</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureLink()
* @generated
@@ -395,6 +424,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl <em>Feature</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeature()
* @generated
@@ -404,6 +434,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureTreeNodeImpl <em>Feature Tree Node</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureTreeNodeImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureTreeNode()
* @generated
@@ -413,6 +444,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.BindingTimeImpl <em>Binding Time</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.BindingTimeImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getBindingTime()
* @generated
@@ -422,6 +454,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl <em>Feature Group</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureGroup()
* @generated
@@ -431,6 +464,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl <em>Feature Constraint</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getFeatureConstraint()
* @generated
@@ -441,6 +475,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -450,6 +485,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -459,6 +495,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -468,6 +505,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -476,7 +514,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -485,7 +523,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Owned Relationship</b></em>' containment reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -494,7 +532,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The number of structural features of the '<em>Feature Tree Node</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -504,6 +542,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of operations of the '<em>Feature Tree Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -513,6 +552,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -522,6 +562,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -531,6 +572,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -540,6 +582,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -548,7 +591,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -557,7 +600,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Owned Relationship</b></em>' containment reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -567,6 +610,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -576,6 +620,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -585,6 +630,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Root Feature</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -594,6 +640,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Feature Link</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -603,6 +650,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Feature Constraint</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -612,6 +660,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of structural features of the '<em>Feature Model</em>' class.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -621,6 +670,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of operations of the '<em>Feature Model</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -630,6 +680,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -639,6 +690,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -648,6 +700,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -657,6 +710,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -665,7 +719,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -674,7 +728,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Owned Relationship</b></em>' containment reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -684,6 +738,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -693,6 +748,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Cardinality</b></em>' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -702,6 +758,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Required Binding Time</b></em>' reference.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -711,6 +768,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Actual Binding Time</b></em>' reference.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -720,6 +778,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Feature Parameter</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -729,6 +788,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Child Node</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -738,6 +798,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of structural features of the '<em>Feature</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -747,6 +808,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of operations of the '<em>Feature</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -756,6 +818,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -765,6 +828,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -774,6 +838,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -783,6 +848,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Kind</b></em>' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -792,6 +858,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -801,6 +868,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of structural features of the '<em>Binding Time</em>' class.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -810,6 +878,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of operations of the '<em>Binding Time</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -819,6 +888,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -828,6 +898,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -837,6 +908,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -846,6 +918,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Bidirectional</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -855,6 +928,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Custom Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -864,6 +938,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Dependency</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -873,6 +948,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Start</b></em>' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -882,6 +958,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>End</b></em>' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -891,6 +968,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Association Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -900,6 +978,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Kind</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -909,6 +988,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of structural features of the '<em>Feature Link</em>' class.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -918,6 +998,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of operations of the '<em>Feature Link</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -927,6 +1008,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -936,6 +1018,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -945,6 +1028,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -954,6 +1038,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Criterion</b></em>' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -963,6 +1048,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -972,6 +1058,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Constraint</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -980,7 +1067,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The number of structural features of the '<em>Feature Constraint</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -990,6 +1077,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of operations of the '<em>Feature Constraint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -999,6 +1087,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1008,6 +1097,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1017,6 +1107,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1026,6 +1117,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1034,7 +1126,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1043,7 +1135,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Owned Relationship</b></em>' containment reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1053,6 +1145,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1062,6 +1155,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Cardinality</b></em>' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1071,6 +1165,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Child Feature</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1080,6 +1175,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of structural features of the '<em>Feature Group</em>' class.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1089,6 +1185,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The number of operations of the '<em>Feature Group</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1097,6 +1194,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind <em>Binding Time Kind</em>}' enum.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getBindingTimeKind()
* @generated
@@ -1107,6 +1205,7 @@ public interface FeaturemodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependencyKind <em>Variability Dependency Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependencyKind
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl#getVariabilityDependencyKind()
* @generated
@@ -1116,6 +1215,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime <em>Binding Time</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Binding Time</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime
* @generated
@@ -1125,6 +1225,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime#getKind <em>Kind</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime#getKind()
* @see #getBindingTime()
@@ -1136,6 +1237,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTime#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.eastadl.structure.featuremodeling.BindingTime#getBase_Class()
* @see #getBindingTime()
@@ -1146,6 +1248,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for enum '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind <em>Binding Time Kind</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for enum '<em>Binding Time Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.BindingTimeKind
* @generated
@@ -1155,6 +1258,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature <em>Feature</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Feature</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature
* @generated
@@ -1165,6 +1269,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#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.eastadl.structure.featuremodeling.Feature#getBase_Class()
* @see #getFeature()
@@ -1175,6 +1280,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getActualBindingTime <em>Actual Binding Time</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Actual Binding Time</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getActualBindingTime()
* @see #getFeature()
@@ -1185,6 +1291,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getCardinality <em>Cardinality</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Cardinality</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getCardinality()
* @see #getFeature()
@@ -1196,6 +1303,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getChildNode <em>Child Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Child Node</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getChildNode()
* @see #getFeature()
@@ -1207,6 +1315,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getFeatureParameter <em>Feature Parameter</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Feature Parameter</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getFeatureParameter()
* @see #getFeature()
@@ -1217,6 +1326,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getRequiredBindingTime <em>Required Binding Time</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Required Binding Time</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getRequiredBindingTime()
* @see #getFeature()
@@ -1227,6 +1337,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint <em>Feature Constraint</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Feature Constraint</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint
* @generated
@@ -1236,6 +1347,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getCriterion <em>Criterion</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Criterion</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getCriterion()
* @see #getFeatureConstraint()
@@ -1247,6 +1359,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#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.eastadl.structure.featuremodeling.FeatureConstraint#getBase_Class()
* @see #getFeatureConstraint()
@@ -1258,6 +1371,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getBase_Constraint <em>Base Constraint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Base Constraint</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureConstraint#getBase_Constraint()
* @see #getFeatureConstraint()
@@ -1268,6 +1382,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup <em>Feature Group</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Feature Group</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup
* @generated
@@ -1278,6 +1393,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#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.eastadl.structure.featuremodeling.FeatureGroup#getBase_Class()
* @see #getFeatureGroup()
@@ -1288,6 +1404,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getCardinality <em>Cardinality</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Cardinality</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getCardinality()
* @see #getFeatureGroup()
@@ -1299,6 +1416,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getChildFeature <em>Child Feature</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Child Feature</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureGroup#getChildFeature()
* @see #getFeatureGroup()
@@ -1309,6 +1427,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink <em>Feature Link</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Feature Link</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink
* @generated
@@ -1319,6 +1438,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getCustomType <em>Custom Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Custom Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getCustomType()
* @see #getFeatureLink()
@@ -1330,6 +1450,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#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.eastadl.structure.featuremodeling.FeatureLink#getBase_Dependency()
* @see #getFeatureLink()
@@ -1340,6 +1461,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getEnd <em>End</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>End</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getEnd()
* @see #getFeatureLink()
@@ -1351,6 +1473,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getBase_AssociationClass <em>Base Association Class</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Base Association Class</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getBase_AssociationClass()
* @see #getFeatureLink()
@@ -1361,6 +1484,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#isIsBidirectional <em>Is Bidirectional</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Is Bidirectional</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#isIsBidirectional()
* @see #getFeatureLink()
@@ -1372,6 +1496,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getKind <em>Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getKind()
* @see #getFeatureLink()
@@ -1382,6 +1507,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getStart <em>Start</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Start</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureLink#getStart()
* @see #getFeatureLink()
@@ -1392,6 +1518,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel <em>Feature Model</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Feature Model</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel
* @generated
@@ -1402,6 +1529,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#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.eastadl.structure.featuremodeling.FeatureModel#getBase_Package()
* @see #getFeatureModel()
@@ -1413,6 +1541,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#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.eastadl.structure.featuremodeling.FeatureModel#getBase_Class()
* @see #getFeatureModel()
@@ -1424,6 +1553,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getFeatureConstraint <em>Feature Constraint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Feature Constraint</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getFeatureConstraint()
* @see #getFeatureModel()
@@ -1435,6 +1565,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getFeatureLink <em>Feature Link</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Feature Link</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getFeatureLink()
* @see #getFeatureModel()
@@ -1446,6 +1577,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getRootFeature <em>Root Feature</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Root Feature</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel#getRootFeature()
* @see #getFeatureModel()
@@ -1457,6 +1589,7 @@ public interface FeaturemodelingPackage 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
*/
@@ -1465,6 +1598,7 @@ public interface FeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureTreeNode <em>Feature Tree Node</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Feature Tree Node</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureTreeNode
* @generated
@@ -1475,6 +1609,7 @@ public interface FeaturemodelingPackage extends EPackage {
* Returns the meta object for enum '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependencyKind <em>Variability Dependency Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for enum '<em>Variability Dependency Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependencyKind
* @generated
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/VariabilityDependencyKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/VariabilityDependencyKind.java
index 4bc4ecb9d44..665eb16403f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/VariabilityDependencyKind.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/VariabilityDependencyKind.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,13 +28,14 @@ import org.eclipse.emf.common.util.Enumerator;
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* This enumeration encapsulates the available types of constraints that can be applied to a FeatureLink or VariationGroup (the latter is applicable only if the variability extension is used).
- *
+ *
* Semantics:
* Predefined kinds of constraints that can be associated to a FeatureLink or VariationGroup.
- *
- * Extension:
+ *
+ * Extension:
* Enumeration, no extension.
* <!-- end-model-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getVariabilityDependencyKind()
* @model
* @generated
@@ -44,6 +45,7 @@ public enum VariabilityDependencyKind implements Enumerator {
* The '<em><b>Needs</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #NEEDS_VALUE
* @generated
* @ordered
@@ -54,6 +56,7 @@ public enum VariabilityDependencyKind implements Enumerator {
* The '<em><b>Optional Alternative</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #OPTIONAL_ALTERNATIVE_VALUE
* @generated
* @ordered
@@ -64,6 +67,7 @@ public enum VariabilityDependencyKind implements Enumerator {
* The '<em><b>Custom</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #CUSTOM_VALUE
* @generated
* @ordered
@@ -74,6 +78,7 @@ public enum VariabilityDependencyKind implements Enumerator {
* The '<em><b>Mandatory Alternative</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #MANDATORY_ALTERNATIVE_VALUE
* @generated
* @ordered
@@ -84,6 +89,7 @@ public enum VariabilityDependencyKind implements Enumerator {
* The '<em><b>Suggests</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #SUGGESTS_VALUE
* @generated
* @ordered
@@ -94,6 +100,7 @@ public enum VariabilityDependencyKind implements Enumerator {
* The '<em><b>Impedes</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #IMPEDES_VALUE
* @generated
* @ordered
@@ -106,9 +113,10 @@ public enum VariabilityDependencyKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* When used in a FeatureLink: if the FeatureLink's start feature S is selected, then also its end feature E must be selected: not (S and not E). Always unidirectional.
- *
+ *
* When used in a VariationGroup: assuming the ordered association variableElement in meta-class VariationGroup refers to elements VE1, VE2, ..., VEn, this kind states that VE1 requires (i.e. may not appear without) all other elements VE2, VE3, ..., VEn.
* <!-- end-model-doc -->
+ *
* @see #NEEDS
* @model name="needs"
* @generated
@@ -122,9 +130,10 @@ public enum VariabilityDependencyKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* When used in a FeatureLink: the FeatureLink's start feature S and end feature E are incompatible and must never be both selected in a single configuration: not (S and E). Always bidirectional.
- *
+ *
* When used in a VariationGroup: this kind states that at most(!) one element of the elements denoted by association variableElement of the VariationGroup must be selected in any valid final system configuration.
* <!-- end-model-doc -->
+ *
* @see #OPTIONAL_ALTERNATIVE
* @model name="optionalAlternative"
* @generated
@@ -138,9 +147,10 @@ public enum VariabilityDependencyKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* When used in a FeatureLink: the attribute customType in the FeatureLink defines the custom feature link type as explained there.
- *
+ *
* When used in a VariationGroup: this kind states that the dependency between the elements denoted by association variableElement of the VariationGroup will be defined by a logical expression in attribute 'constraint' of the VariationGroup.
* <!-- end-model-doc -->
+ *
* @see #CUSTOM
* @model name="custom"
* @generated
@@ -154,9 +164,10 @@ public enum VariabilityDependencyKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* When used in a FeatureLink: either the FeatureLink's start feature S or its end feature E must be selected in any configuration: S xor E. Always bidirectional.
- *
+ *
* When used in a VariationGroup: this kind states that exactly(!) one element of the elements denoted by association variableElement of the VariationGroup must be selected in any valid final system configuration.
* <!-- end-model-doc -->
+ *
* @see #MANDATORY_ALTERNATIVE
* @model name="mandatoryAlternative"
* @generated
@@ -169,12 +180,13 @@ public enum VariabilityDependencyKind implements Enumerator {
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * Weak form of "needs".
- *
+ * Weak form of "needs".
+ *
* When used in a FeatureLink: if the FeatureLink's start feature S is selected, then usually(!) also its end feature E must be selected. You can select S without E but you should have a good reason to do so. Always unidirectional.
- *
+ *
* When used in a VariationGroup: accordingly as above.
* <!-- end-model-doc -->
+ *
* @see #SUGGESTS
* @model name="suggests"
* @generated
@@ -188,11 +200,12 @@ public enum VariabilityDependencyKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Weak from of "excludes".
- *
+ *
* When used in a FeatureLink: the FeatureLink's start feature S and its end feature E must usually(!) not be selected in a single configuration. You can select S together with E but you should have a good reason to do so. Always bidirectional.
- *
+ *
* When used in a VariationGroup: accordingly as above.
* <!-- end-model-doc -->
+ *
* @see #IMPEDES
* @model name="impedes"
* @generated
@@ -204,22 +217,24 @@ public enum VariabilityDependencyKind implements Enumerator {
* An array of all the '<em><b>Variability Dependency Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final VariabilityDependencyKind[] VALUES_ARRAY =
- new VariabilityDependencyKind[] {
- NEEDS,
- OPTIONAL_ALTERNATIVE,
- CUSTOM,
- MANDATORY_ALTERNATIVE,
- SUGGESTS,
- IMPEDES,
- };
+ new VariabilityDependencyKind[] {
+ NEEDS,
+ OPTIONAL_ALTERNATIVE,
+ CUSTOM,
+ MANDATORY_ALTERNATIVE,
+ SUGGESTS,
+ IMPEDES,
+ };
/**
* A public read-only list of all the '<em><b>Variability Dependency Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<VariabilityDependencyKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -228,16 +243,23 @@ public enum VariabilityDependencyKind implements Enumerator {
* Returns the '<em><b>Variability Dependency Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static VariabilityDependencyKind get(int value) {
switch (value) {
- case NEEDS_VALUE: return NEEDS;
- case OPTIONAL_ALTERNATIVE_VALUE: return OPTIONAL_ALTERNATIVE;
- case CUSTOM_VALUE: return CUSTOM;
- case MANDATORY_ALTERNATIVE_VALUE: return MANDATORY_ALTERNATIVE;
- case SUGGESTS_VALUE: return SUGGESTS;
- case IMPEDES_VALUE: return IMPEDES;
+ case NEEDS_VALUE:
+ return NEEDS;
+ case OPTIONAL_ALTERNATIVE_VALUE:
+ return OPTIONAL_ALTERNATIVE;
+ case CUSTOM_VALUE:
+ return CUSTOM;
+ case MANDATORY_ALTERNATIVE_VALUE:
+ return MANDATORY_ALTERNATIVE;
+ case SUGGESTS_VALUE:
+ return SUGGESTS;
+ case IMPEDES_VALUE:
+ return IMPEDES;
}
return null;
}
@@ -246,6 +268,7 @@ public enum VariabilityDependencyKind implements Enumerator {
* Returns the '<em><b>Variability Dependency Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static VariabilityDependencyKind get(String literal) {
@@ -262,6 +285,7 @@ public enum VariabilityDependencyKind implements Enumerator {
* Returns the '<em><b>Variability Dependency Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static VariabilityDependencyKind getByName(String name) {
@@ -277,6 +301,7 @@ public enum VariabilityDependencyKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -284,6 +309,7 @@ public enum VariabilityDependencyKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -291,6 +317,7 @@ public enum VariabilityDependencyKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -299,6 +326,7 @@ public enum VariabilityDependencyKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private VariabilityDependencyKind(int value, String name, String literal) {
@@ -310,39 +338,46 @@ public enum VariabilityDependencyKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getLiteral() {
- return literal;
+ return literal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public int getValue() {
- return value;
+ return value;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
return literal;
}
-
-} //VariabilityDependencyKind
+
+} // VariabilityDependencyKind
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/BindingTimeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/BindingTimeImpl.java
index 9928d677ce4..7fea6feb957 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/BindingTimeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/BindingTimeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -31,8 +31,8 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPack
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.BindingTimeImpl#getKind <em>Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.BindingTimeImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.BindingTimeImpl#getKind <em>Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.BindingTimeImpl#getBase_Class <em>Base Class</em>}</li>
* </ul>
* </p>
*
@@ -44,6 +44,7 @@ public class BindingTimeImpl extends EAElementImpl implements BindingTime {
* The default value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @see #getKind()
* @generated
* @ordered
@@ -54,6 +55,7 @@ public class BindingTimeImpl extends EAElementImpl implements BindingTime {
* The cached value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getKind()
* @generated
* @ordered
@@ -64,6 +66,7 @@ public class BindingTimeImpl extends EAElementImpl implements BindingTime {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -72,6 +75,7 @@ public class BindingTimeImpl extends EAElementImpl implements BindingTime {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected BindingTimeImpl() {
@@ -80,54 +84,60 @@ public class BindingTimeImpl extends EAElementImpl implements BindingTime {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FeaturemodelingPackage.BINDING_TIME__KIND:
- return getKind();
- case FeaturemodelingPackage.BINDING_TIME__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
+ case FeaturemodelingPackage.BINDING_TIME__KIND:
+ return getKind();
+ case FeaturemodelingPackage.BINDING_TIME__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.BINDING_TIME__KIND:
- return kind != KIND_EDEFAULT;
- case FeaturemodelingPackage.BINDING_TIME__BASE_CLASS:
- return base_Class != null;
+ case FeaturemodelingPackage.BINDING_TIME__KIND:
+ return kind != KIND_EDEFAULT;
+ case FeaturemodelingPackage.BINDING_TIME__BASE_CLASS:
+ return base_Class != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FeaturemodelingPackage.BINDING_TIME__KIND:
- setKind((BindingTimeKind)newValue);
- return;
- case FeaturemodelingPackage.BINDING_TIME__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
+ case FeaturemodelingPackage.BINDING_TIME__KIND:
+ setKind((BindingTimeKind) newValue);
+ return;
+ case FeaturemodelingPackage.BINDING_TIME__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -137,52 +147,61 @@ public class BindingTimeImpl extends EAElementImpl implements BindingTime {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.BINDING_TIME__KIND:
- setKind(KIND_EDEFAULT);
- return;
- case FeaturemodelingPackage.BINDING_TIME__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
+ case FeaturemodelingPackage.BINDING_TIME__KIND:
+ setKind(KIND_EDEFAULT);
+ return;
+ case FeaturemodelingPackage.BINDING_TIME__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public BindingTimeKind getKind() {
return kind;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setKind(BindingTimeKind newKind) {
BindingTimeKind oldKind = kind;
kind = newKind == null ? KIND_EDEFAULT : newKind;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.BINDING_TIME__KIND, oldKind, kind));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.BINDING_TIME__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -191,6 +210,7 @@ public class BindingTimeImpl extends EAElementImpl implements BindingTime {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -200,22 +220,28 @@ public class BindingTimeImpl extends EAElementImpl implements BindingTime {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FeaturemodelingPackage.BINDING_TIME__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (kind: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureConstraintImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureConstraintImpl.java
index 282cf2b8fc8..06261df38d5 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureConstraintImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureConstraintImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -26,14 +26,13 @@ import org.eclipse.uml2.uml.Constraint;
/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Feature Constraint</b></em>
- * '. <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Feature Constraint</b></em> '. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl#getCriterion <em>Criterion</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl#getBase_Constraint <em>Base Constraint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl#getCriterion <em>Criterion</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureConstraintImpl#getBase_Constraint <em>Base Constraint</em>}</li>
* </ul>
* </p>
*
@@ -44,7 +43,7 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
/**
* The default value of the '{@link #getCriterion() <em>Criterion</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getCriterion()
* @generated
* @ordered
@@ -54,7 +53,7 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
/**
* The cached value of the '{@link #getCriterion() <em>Criterion</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getCriterion()
* @generated
* @ordered
@@ -65,6 +64,7 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -75,6 +75,7 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
* The cached value of the '{@link #getBase_Constraint() <em>Base Constraint</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Constraint()
* @generated
* @ordered
@@ -83,6 +84,7 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FeatureConstraintImpl() {
@@ -91,62 +93,70 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__CRITERION:
- return getCriterion();
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT:
- if (resolve) return getBase_Constraint();
- return basicGetBase_Constraint();
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__CRITERION:
+ return getCriterion();
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT:
+ if (resolve) {
+ return getBase_Constraint();
+ }
+ return basicGetBase_Constraint();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__CRITERION:
- return CRITERION_EDEFAULT == null ? criterion != null : !CRITERION_EDEFAULT.equals(criterion);
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS:
- return base_Class != null;
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT:
- return base_Constraint != null;
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__CRITERION:
+ return CRITERION_EDEFAULT == null ? criterion != null : !CRITERION_EDEFAULT.equals(criterion);
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS:
+ return base_Class != null;
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT:
+ return base_Constraint != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__CRITERION:
- setCriterion((String)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT:
- setBase_Constraint((Constraint)newValue);
- return;
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__CRITERION:
+ setCriterion((String) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT:
+ setBase_Constraint((Constraint) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -156,55 +166,64 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__CRITERION:
- setCriterion(CRITERION_EDEFAULT);
- return;
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT:
- setBase_Constraint((Constraint)null);
- return;
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__CRITERION:
+ setCriterion(CRITERION_EDEFAULT);
+ return;
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT:
+ setBase_Constraint((Constraint) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getCriterion() {
return criterion;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setCriterion(String newCriterion) {
String oldCriterion = criterion;
criterion = newCriterion;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE_CONSTRAINT__CRITERION, oldCriterion, criterion));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -213,6 +232,7 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -222,27 +242,33 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Constraint getBase_Constraint() {
if (base_Constraint != null && base_Constraint.eIsProxy()) {
- InternalEObject oldBase_Constraint = (InternalEObject)base_Constraint;
- base_Constraint = (Constraint)eResolveProxy(oldBase_Constraint);
+ InternalEObject oldBase_Constraint = (InternalEObject) base_Constraint;
+ base_Constraint = (Constraint) eResolveProxy(oldBase_Constraint);
if (base_Constraint != oldBase_Constraint) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT, oldBase_Constraint, base_Constraint));
+ }
}
}
return base_Constraint;
@@ -251,6 +277,7 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Constraint basicGetBase_Constraint() {
@@ -260,22 +287,28 @@ public class FeatureConstraintImpl extends EAElementImpl implements FeatureConst
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setBase_Constraint(Constraint newBase_Constraint) {
Constraint oldBase_Constraint = base_Constraint;
base_Constraint = newBase_Constraint;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE_CONSTRAINT__BASE_CONSTRAINT, oldBase_Constraint, base_Constraint));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (criterion: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureGroupImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureGroupImpl.java
index 5a176c8d4fc..ada3029ae2f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureGroupImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureGroupImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,9 +38,9 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl#getCardinality <em>Cardinality</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl#getChildFeature <em>Child Feature</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl#getCardinality <em>Cardinality</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureGroupImpl#getChildFeature <em>Child Feature</em>}</li>
* </ul>
* </p>
*
@@ -52,6 +52,7 @@ public class FeatureGroupImpl extends FeatureTreeNodeImpl implements FeatureGrou
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -62,6 +63,7 @@ public class FeatureGroupImpl extends FeatureTreeNodeImpl implements FeatureGrou
* The default value of the '{@link #getCardinality() <em>Cardinality</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCardinality()
* @generated
* @ordered
@@ -71,7 +73,7 @@ public class FeatureGroupImpl extends FeatureTreeNodeImpl implements FeatureGrou
/**
* The cached value of the '{@link #getCardinality() <em>Cardinality</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getCardinality()
* @generated
* @ordered
@@ -80,6 +82,7 @@ public class FeatureGroupImpl extends FeatureTreeNodeImpl implements FeatureGrou
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FeatureGroupImpl() {
@@ -88,63 +91,69 @@ public class FeatureGroupImpl extends FeatureTreeNodeImpl implements FeatureGrou
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case FeaturemodelingPackage.FEATURE_GROUP__CARDINALITY:
- return getCardinality();
- case FeaturemodelingPackage.FEATURE_GROUP__CHILD_FEATURE:
- return getChildFeature();
+ case FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case FeaturemodelingPackage.FEATURE_GROUP__CARDINALITY:
+ return getCardinality();
+ case FeaturemodelingPackage.FEATURE_GROUP__CHILD_FEATURE:
+ return getChildFeature();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS:
- return base_Class != null;
- case FeaturemodelingPackage.FEATURE_GROUP__CARDINALITY:
- return CARDINALITY_EDEFAULT == null ? cardinality != null : !CARDINALITY_EDEFAULT.equals(cardinality);
- case FeaturemodelingPackage.FEATURE_GROUP__CHILD_FEATURE:
- return !getChildFeature().isEmpty();
+ case FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS:
+ return base_Class != null;
+ case FeaturemodelingPackage.FEATURE_GROUP__CARDINALITY:
+ return CARDINALITY_EDEFAULT == null ? cardinality != null : !CARDINALITY_EDEFAULT.equals(cardinality);
+ case FeaturemodelingPackage.FEATURE_GROUP__CHILD_FEATURE:
+ return !getChildFeature().isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_GROUP__CARDINALITY:
- setCardinality((String)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_GROUP__CHILD_FEATURE:
- getChildFeature().clear();
- getChildFeature().addAll((Collection<? extends Feature>)newValue);
- return;
+ case FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_GROUP__CARDINALITY:
+ setCardinality((String) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_GROUP__CHILD_FEATURE:
+ getChildFeature().clear();
+ getChildFeature().addAll((Collection<? extends Feature>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -155,15 +164,18 @@ public class FeatureGroupImpl extends FeatureTreeNodeImpl implements FeatureGrou
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -172,6 +184,7 @@ public class FeatureGroupImpl extends FeatureTreeNodeImpl implements FeatureGrou
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -181,84 +194,99 @@ public class FeatureGroupImpl extends FeatureTreeNodeImpl implements FeatureGrou
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case FeaturemodelingPackage.FEATURE_GROUP__CARDINALITY:
- setCardinality(CARDINALITY_EDEFAULT);
- return;
- case FeaturemodelingPackage.FEATURE_GROUP__CHILD_FEATURE:
- getChildFeature().clear();
- return;
+ case FeaturemodelingPackage.FEATURE_GROUP__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case FeaturemodelingPackage.FEATURE_GROUP__CARDINALITY:
+ setCardinality(CARDINALITY_EDEFAULT);
+ return;
+ case FeaturemodelingPackage.FEATURE_GROUP__CHILD_FEATURE:
+ getChildFeature().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getCardinality() {
return cardinality;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated NOT
*/
+ @Override
public EList<Feature> getChildFeature() {
EList<Feature> results = new BasicEList<Feature>();
Feature adlFeature = null;
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
+
while (it.hasNext()) {
Element element = it.next();
- adlFeature = (Feature )UMLUtil.getStereotypeApplication(element, Feature.class);
- if (adlFeature != null)
+ adlFeature = UMLUtil.getStereotypeApplication(element, Feature.class);
+ if (adlFeature != null) {
results.add(adlFeature);
+ }
}
}
-
+
return new BasicInternalEList<Feature>(Feature.class, results.size(), results.toArray());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setCardinality(String newCardinality) {
String oldCardinality = cardinality;
cardinality = newCardinality;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE_GROUP__CARDINALITY, oldCardinality, cardinality));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (cardinality: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureImpl.java
index 6faa6edfe68..b05b5d71271 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -36,12 +36,12 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getCardinality <em>Cardinality</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getRequiredBindingTime <em>Required Binding Time</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getActualBindingTime <em>Actual Binding Time</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getFeatureParameter <em>Feature Parameter</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getChildNode <em>Child Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getCardinality <em>Cardinality</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getRequiredBindingTime <em>Required Binding Time</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getActualBindingTime <em>Actual Binding Time</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getFeatureParameter <em>Feature Parameter</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureImpl#getChildNode <em>Child Node</em>}</li>
* </ul>
* </p>
*
@@ -53,6 +53,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -62,7 +63,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* The default value of the '{@link #getCardinality() <em>Cardinality</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getCardinality()
* @generated
* @ordered
@@ -72,7 +73,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* The cached value of the '{@link #getCardinality() <em>Cardinality</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getCardinality()
* @generated
* @ordered
@@ -82,6 +83,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* The cached value of the '{@link #getRequiredBindingTime() <em>Required Binding Time</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getRequiredBindingTime()
* @generated
* @ordered
@@ -91,6 +93,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* The cached value of the '{@link #getActualBindingTime() <em>Actual Binding Time</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getActualBindingTime()
* @generated
* @ordered
@@ -100,6 +103,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* The cached value of the '{@link #getFeatureParameter() <em>Feature Parameter</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getFeatureParameter()
* @generated
* @ordered
@@ -108,6 +112,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FeatureImpl() {
@@ -117,6 +122,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public BindingTime basicGetActualBindingTime() {
@@ -126,6 +132,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EADatatype basicGetFeatureParameter() {
@@ -135,18 +142,22 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setFeatureParameter(EADatatype newFeatureParameter) {
EADatatype oldFeatureParameter = featureParameter;
featureParameter = newFeatureParameter;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER, oldFeatureParameter, featureParameter));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public BindingTime basicGetRequiredBindingTime() {
@@ -155,86 +166,100 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case FeaturemodelingPackage.FEATURE__CARDINALITY:
- return getCardinality();
- case FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME:
- if (resolve) return getRequiredBindingTime();
- return basicGetRequiredBindingTime();
- case FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME:
- if (resolve) return getActualBindingTime();
- return basicGetActualBindingTime();
- case FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER:
- if (resolve) return getFeatureParameter();
- return basicGetFeatureParameter();
- case FeaturemodelingPackage.FEATURE__CHILD_NODE:
- if (resolve) return getChildNode();
- return basicGetChildNode();
+ case FeaturemodelingPackage.FEATURE__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case FeaturemodelingPackage.FEATURE__CARDINALITY:
+ return getCardinality();
+ case FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME:
+ if (resolve) {
+ return getRequiredBindingTime();
+ }
+ return basicGetRequiredBindingTime();
+ case FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME:
+ if (resolve) {
+ return getActualBindingTime();
+ }
+ return basicGetActualBindingTime();
+ case FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER:
+ if (resolve) {
+ return getFeatureParameter();
+ }
+ return basicGetFeatureParameter();
+ case FeaturemodelingPackage.FEATURE__CHILD_NODE:
+ if (resolve) {
+ return getChildNode();
+ }
+ return basicGetChildNode();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE__BASE_CLASS:
- return base_Class != null;
- case FeaturemodelingPackage.FEATURE__CARDINALITY:
- return CARDINALITY_EDEFAULT == null ? cardinality != null : !CARDINALITY_EDEFAULT.equals(cardinality);
- case FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME:
- return requiredBindingTime != null;
- case FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME:
- return actualBindingTime != null;
- case FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER:
- return featureParameter != null;
- case FeaturemodelingPackage.FEATURE__CHILD_NODE:
- return basicGetChildNode() != null;
+ case FeaturemodelingPackage.FEATURE__BASE_CLASS:
+ return base_Class != null;
+ case FeaturemodelingPackage.FEATURE__CARDINALITY:
+ return CARDINALITY_EDEFAULT == null ? cardinality != null : !CARDINALITY_EDEFAULT.equals(cardinality);
+ case FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME:
+ return requiredBindingTime != null;
+ case FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME:
+ return actualBindingTime != null;
+ case FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER:
+ return featureParameter != null;
+ case FeaturemodelingPackage.FEATURE__CHILD_NODE:
+ return basicGetChildNode() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case FeaturemodelingPackage.FEATURE__CARDINALITY:
- setCardinality((String)newValue);
- return;
- case FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME:
- setRequiredBindingTime((BindingTime)newValue);
- return;
- case FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME:
- setActualBindingTime((BindingTime)newValue);
- return;
- case FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER:
- setFeatureParameter((EADatatype)newValue);
- return;
- case FeaturemodelingPackage.FEATURE__CHILD_NODE:
- setChildNode((FeatureTreeNode)newValue);
- return;
+ case FeaturemodelingPackage.FEATURE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE__CARDINALITY:
+ setCardinality((String) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME:
+ setRequiredBindingTime((BindingTime) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME:
+ setActualBindingTime((BindingTime) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER:
+ setFeatureParameter((EADatatype) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE__CHILD_NODE:
+ setChildNode((FeatureTreeNode) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -245,15 +270,18 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -262,6 +290,7 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -271,55 +300,62 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FeaturemodelingPackage.FEATURE__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case FeaturemodelingPackage.FEATURE__CARDINALITY:
- setCardinality(CARDINALITY_EDEFAULT);
- return;
- case FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME:
- setRequiredBindingTime((BindingTime)null);
- return;
- case FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME:
- setActualBindingTime((BindingTime)null);
- return;
- case FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER:
- setFeatureParameter((EADatatype)null);
- return;
- case FeaturemodelingPackage.FEATURE__CHILD_NODE:
- setChildNode((FeatureTreeNode)null);
- return;
+ case FeaturemodelingPackage.FEATURE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case FeaturemodelingPackage.FEATURE__CARDINALITY:
+ setCardinality(CARDINALITY_EDEFAULT);
+ return;
+ case FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME:
+ setRequiredBindingTime((BindingTime) null);
+ return;
+ case FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME:
+ setActualBindingTime((BindingTime) null);
+ return;
+ case FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER:
+ setFeatureParameter((EADatatype) null);
+ return;
+ case FeaturemodelingPackage.FEATURE__CHILD_NODE:
+ setChildNode((FeatureTreeNode) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public BindingTime getActualBindingTime() {
if (actualBindingTime != null && actualBindingTime.eIsProxy()) {
- InternalEObject oldActualBindingTime = (InternalEObject)actualBindingTime;
- actualBindingTime = (BindingTime)eResolveProxy(oldActualBindingTime);
+ InternalEObject oldActualBindingTime = (InternalEObject) actualBindingTime;
+ actualBindingTime = (BindingTime) eResolveProxy(oldActualBindingTime);
if (actualBindingTime != oldActualBindingTime) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME, oldActualBindingTime, actualBindingTime));
+ }
}
}
return actualBindingTime;
@@ -327,37 +363,43 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getCardinality() {
return cardinality;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FeatureTreeNode getChildNode() {
FeatureTreeNode childNode = basicGetChildNode();
- return childNode != null && childNode.eIsProxy() ? (FeatureTreeNode)eResolveProxy((InternalEObject)childNode) : childNode;
+ return childNode != null && childNode.eIsProxy() ? (FeatureTreeNode) eResolveProxy((InternalEObject) childNode) : childNode;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
public FeatureTreeNode basicGetChildNode() {
FeatureTreeNode featureTreeNode = null;
- if(getBase_NamedElement() != null) {
+ if (getBase_NamedElement() != null) {
// Retrieve the type of the DesignFunctionPrototype
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Element element = it.next();
- featureTreeNode = (FeatureTreeNode)UMLUtil.getStereotypeApplication(element, FeatureTreeNode.class);
- if (featureTreeNode !=null)
+ featureTreeNode = UMLUtil.getStereotypeApplication(element, FeatureTreeNode.class);
+ if (featureTreeNode != null) {
return featureTreeNode;
+ }
}
}
@@ -367,8 +409,10 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setChildNode(FeatureTreeNode newChildNode) {
// TODO: implement this method to set the 'Child Node' reference
// Ensure that you remove @generated or mark it @generated NOT
@@ -377,15 +421,18 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EADatatype getFeatureParameter() {
if (featureParameter != null && featureParameter.eIsProxy()) {
- InternalEObject oldFeatureParameter = (InternalEObject)featureParameter;
- featureParameter = (EADatatype)eResolveProxy(oldFeatureParameter);
+ InternalEObject oldFeatureParameter = (InternalEObject) featureParameter;
+ featureParameter = (EADatatype) eResolveProxy(oldFeatureParameter);
if (featureParameter != oldFeatureParameter) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE__FEATURE_PARAMETER, oldFeatureParameter, featureParameter));
+ }
}
}
return featureParameter;
@@ -393,15 +440,18 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public BindingTime getRequiredBindingTime() {
if (requiredBindingTime != null && requiredBindingTime.eIsProxy()) {
- InternalEObject oldRequiredBindingTime = (InternalEObject)requiredBindingTime;
- requiredBindingTime = (BindingTime)eResolveProxy(oldRequiredBindingTime);
+ InternalEObject oldRequiredBindingTime = (InternalEObject) requiredBindingTime;
+ requiredBindingTime = (BindingTime) eResolveProxy(oldRequiredBindingTime);
if (requiredBindingTime != oldRequiredBindingTime) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME, oldRequiredBindingTime, requiredBindingTime));
+ }
}
}
return requiredBindingTime;
@@ -409,44 +459,56 @@ public class FeatureImpl extends FeatureTreeNodeImpl implements Feature {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setActualBindingTime(BindingTime newActualBindingTime) {
BindingTime oldActualBindingTime = actualBindingTime;
actualBindingTime = newActualBindingTime;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE__ACTUAL_BINDING_TIME, oldActualBindingTime, actualBindingTime));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setCardinality(String newCardinality) {
String oldCardinality = cardinality;
cardinality = newCardinality;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE__CARDINALITY, oldCardinality, cardinality));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setRequiredBindingTime(BindingTime newRequiredBindingTime) {
BindingTime oldRequiredBindingTime = requiredBindingTime;
requiredBindingTime = newRequiredBindingTime;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE__REQUIRED_BINDING_TIME, oldRequiredBindingTime, requiredBindingTime));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (cardinality: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureLinkImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureLinkImpl.java
index 487e51c6372..21c147e91c6 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureLinkImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureLinkImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,13 +38,13 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#isIsBidirectional <em>Is Bidirectional</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getCustomType <em>Custom Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getBase_Dependency <em>Base Dependency</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getStart <em>Start</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getEnd <em>End</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getBase_AssociationClass <em>Base Association Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getKind <em>Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#isIsBidirectional <em>Is Bidirectional</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getCustomType <em>Custom Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getBase_Dependency <em>Base Dependency</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getStart <em>Start</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getEnd <em>End</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getBase_AssociationClass <em>Base Association Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureLinkImpl#getKind <em>Kind</em>}</li>
* </ul>
* </p>
*
@@ -55,6 +55,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* The default value of the '{@link #isIsBidirectional() <em>Is Bidirectional</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isIsBidirectional()
* @generated
* @ordered
@@ -64,6 +65,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* The cached value of the '{@link #isIsBidirectional() <em>Is Bidirectional</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isIsBidirectional()
* @generated
* @ordered
@@ -73,7 +75,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* The default value of the '{@link #getCustomType() <em>Custom Type</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getCustomType()
* @generated
* @ordered
@@ -83,7 +85,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* The cached value of the '{@link #getCustomType() <em>Custom Type</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getCustomType()
* @generated
* @ordered
@@ -94,6 +96,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
* The cached value of the '{@link #getBase_Dependency() <em>Base Dependency</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Dependency()
* @generated
* @ordered
@@ -104,6 +107,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
* The cached value of the '{@link #getBase_AssociationClass() <em>Base Association Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_AssociationClass()
* @generated
* @ordered
@@ -114,6 +118,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
* The default value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @see #getKind()
* @generated
* @ordered
@@ -124,6 +129,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
* The cached value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getKind()
* @generated
* @ordered
@@ -132,6 +138,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FeatureLinkImpl() {
@@ -140,6 +147,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated NOT
*/
public Feature basicGetEnd() {
@@ -148,9 +156,10 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
Iterator<Element> it = getBase_Dependency().getTargets().iterator();
while (it.hasNext()) {
Element element = it.next();
- adlFeature = (Feature) UMLUtil.getStereotypeApplication(element, Feature.class);
- if (adlFeature!=null)
+ adlFeature = UMLUtil.getStereotypeApplication(element, Feature.class);
+ if (adlFeature != null) {
return adlFeature;
+ }
}
}
return null;
@@ -158,6 +167,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated NOT
*/
public Feature basicGetStart() {
@@ -166,9 +176,10 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
Iterator<Element> it = getBase_Dependency().getSources().iterator();
while (it.hasNext()) {
Element element = it.next();
- adlFeature = (Feature) UMLUtil.getStereotypeApplication(element, Feature.class);
- if (adlFeature!=null)
+ adlFeature = UMLUtil.getStereotypeApplication(element, Feature.class);
+ if (adlFeature != null) {
return adlFeature;
+ }
}
}
return null;
@@ -176,92 +187,104 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_LINK__IS_BIDIRECTIONAL:
- return isIsBidirectional();
- case FeaturemodelingPackage.FEATURE_LINK__CUSTOM_TYPE:
- return getCustomType();
- case FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY:
- if (resolve) return getBase_Dependency();
- return basicGetBase_Dependency();
- case FeaturemodelingPackage.FEATURE_LINK__START:
- if (resolve) return getStart();
- return basicGetStart();
- case FeaturemodelingPackage.FEATURE_LINK__END:
- if (resolve) return getEnd();
- return basicGetEnd();
- case FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS:
- if (resolve) return getBase_AssociationClass();
- return basicGetBase_AssociationClass();
- case FeaturemodelingPackage.FEATURE_LINK__KIND:
- return getKind();
+ case FeaturemodelingPackage.FEATURE_LINK__IS_BIDIRECTIONAL:
+ return isIsBidirectional();
+ case FeaturemodelingPackage.FEATURE_LINK__CUSTOM_TYPE:
+ return getCustomType();
+ case FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY:
+ if (resolve) {
+ return getBase_Dependency();
+ }
+ return basicGetBase_Dependency();
+ case FeaturemodelingPackage.FEATURE_LINK__START:
+ if (resolve) {
+ return getStart();
+ }
+ return basicGetStart();
+ case FeaturemodelingPackage.FEATURE_LINK__END:
+ if (resolve) {
+ return getEnd();
+ }
+ return basicGetEnd();
+ case FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS:
+ if (resolve) {
+ return getBase_AssociationClass();
+ }
+ return basicGetBase_AssociationClass();
+ case FeaturemodelingPackage.FEATURE_LINK__KIND:
+ return getKind();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_LINK__IS_BIDIRECTIONAL:
- return isBidirectional != IS_BIDIRECTIONAL_EDEFAULT;
- case FeaturemodelingPackage.FEATURE_LINK__CUSTOM_TYPE:
- return CUSTOM_TYPE_EDEFAULT == null ? customType != null : !CUSTOM_TYPE_EDEFAULT.equals(customType);
- case FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY:
- return base_Dependency != null;
- case FeaturemodelingPackage.FEATURE_LINK__START:
- return basicGetStart() != null;
- case FeaturemodelingPackage.FEATURE_LINK__END:
- return basicGetEnd() != null;
- case FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS:
- return base_AssociationClass != null;
- case FeaturemodelingPackage.FEATURE_LINK__KIND:
- return kind != KIND_EDEFAULT;
+ case FeaturemodelingPackage.FEATURE_LINK__IS_BIDIRECTIONAL:
+ return isBidirectional != IS_BIDIRECTIONAL_EDEFAULT;
+ case FeaturemodelingPackage.FEATURE_LINK__CUSTOM_TYPE:
+ return CUSTOM_TYPE_EDEFAULT == null ? customType != null : !CUSTOM_TYPE_EDEFAULT.equals(customType);
+ case FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY:
+ return base_Dependency != null;
+ case FeaturemodelingPackage.FEATURE_LINK__START:
+ return basicGetStart() != null;
+ case FeaturemodelingPackage.FEATURE_LINK__END:
+ return basicGetEnd() != null;
+ case FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS:
+ return base_AssociationClass != null;
+ case FeaturemodelingPackage.FEATURE_LINK__KIND:
+ return kind != KIND_EDEFAULT;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_LINK__IS_BIDIRECTIONAL:
- setIsBidirectional((Boolean)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__CUSTOM_TYPE:
- setCustomType((String)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY:
- setBase_Dependency((Dependency)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__START:
- setStart((Feature)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__END:
- setEnd((Feature)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS:
- setBase_AssociationClass((AssociationClass)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__KIND:
- setKind((VariabilityDependencyKind)newValue);
- return;
+ case FeaturemodelingPackage.FEATURE_LINK__IS_BIDIRECTIONAL:
+ setIsBidirectional((Boolean) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__CUSTOM_TYPE:
+ setCustomType((String) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY:
+ setBase_Dependency((Dependency) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__START:
+ setStart((Feature) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__END:
+ setEnd((Feature) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS:
+ setBase_AssociationClass((AssociationClass) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__KIND:
+ setKind((VariabilityDependencyKind) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -271,101 +294,118 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_LINK__IS_BIDIRECTIONAL:
- setIsBidirectional(IS_BIDIRECTIONAL_EDEFAULT);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__CUSTOM_TYPE:
- setCustomType(CUSTOM_TYPE_EDEFAULT);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY:
- setBase_Dependency((Dependency)null);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__START:
- setStart((Feature)null);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__END:
- setEnd((Feature)null);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS:
- setBase_AssociationClass((AssociationClass)null);
- return;
- case FeaturemodelingPackage.FEATURE_LINK__KIND:
- setKind(KIND_EDEFAULT);
- return;
+ case FeaturemodelingPackage.FEATURE_LINK__IS_BIDIRECTIONAL:
+ setIsBidirectional(IS_BIDIRECTIONAL_EDEFAULT);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__CUSTOM_TYPE:
+ setCustomType(CUSTOM_TYPE_EDEFAULT);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY:
+ setBase_Dependency((Dependency) null);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__START:
+ setStart((Feature) null);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__END:
+ setEnd((Feature) null);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS:
+ setBase_AssociationClass((AssociationClass) null);
+ return;
+ case FeaturemodelingPackage.FEATURE_LINK__KIND:
+ setKind(KIND_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getCustomType() {
return customType;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Feature getEnd() {
Feature end = basicGetEnd();
- return end != null && end.eIsProxy() ? (Feature)eResolveProxy((InternalEObject)end) : end;
+ return end != null && end.eIsProxy() ? (Feature) eResolveProxy((InternalEObject) end) : end;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public VariabilityDependencyKind getKind() {
return kind;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Feature getStart() {
Feature start = basicGetStart();
- return start != null && start.eIsProxy() ? (Feature)eResolveProxy((InternalEObject)start) : start;
+ return start != null && start.eIsProxy() ? (Feature) eResolveProxy((InternalEObject) start) : start;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isIsBidirectional() {
return isBidirectional;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setCustomType(String newCustomType) {
String oldCustomType = customType;
customType = newCustomType;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE_LINK__CUSTOM_TYPE, oldCustomType, customType));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Dependency getBase_Dependency() {
if (base_Dependency != null && base_Dependency.eIsProxy()) {
- InternalEObject oldBase_Dependency = (InternalEObject)base_Dependency;
- base_Dependency = (Dependency)eResolveProxy(oldBase_Dependency);
+ InternalEObject oldBase_Dependency = (InternalEObject) base_Dependency;
+ base_Dependency = (Dependency) eResolveProxy(oldBase_Dependency);
if (base_Dependency != oldBase_Dependency) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency));
+ }
}
}
return base_Dependency;
@@ -374,6 +414,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Dependency basicGetBase_Dependency() {
@@ -383,19 +424,24 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FeaturemodelingPackage.FEATURE_LINK__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setEnd(Feature newEnd) {
// TODO: implement this method to set the 'End' reference
// Ensure that you remove @generated or mark it @generated NOT
@@ -405,15 +451,18 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AssociationClass getBase_AssociationClass() {
if (base_AssociationClass != null && base_AssociationClass.eIsProxy()) {
- InternalEObject oldBase_AssociationClass = (InternalEObject)base_AssociationClass;
- base_AssociationClass = (AssociationClass)eResolveProxy(oldBase_AssociationClass);
+ InternalEObject oldBase_AssociationClass = (InternalEObject) base_AssociationClass;
+ base_AssociationClass = (AssociationClass) eResolveProxy(oldBase_AssociationClass);
if (base_AssociationClass != oldBase_AssociationClass) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS, oldBase_AssociationClass, base_AssociationClass));
+ }
}
}
return base_AssociationClass;
@@ -422,6 +471,7 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public AssociationClass basicGetBase_AssociationClass() {
@@ -431,41 +481,52 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setBase_AssociationClass(AssociationClass newBase_AssociationClass) {
AssociationClass oldBase_AssociationClass = base_AssociationClass;
base_AssociationClass = newBase_AssociationClass;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE_LINK__BASE_ASSOCIATION_CLASS, oldBase_AssociationClass, base_AssociationClass));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setIsBidirectional(boolean newIsBidirectional) {
boolean oldIsBidirectional = isBidirectional;
isBidirectional = newIsBidirectional;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE_LINK__IS_BIDIRECTIONAL, oldIsBidirectional, isBidirectional));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setKind(VariabilityDependencyKind newKind) {
VariabilityDependencyKind oldKind = kind;
kind = newKind == null ? KIND_EDEFAULT : newKind;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FeaturemodelingPackage.FEATURE_LINK__KIND, oldKind, kind));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setStart(Feature newStart) {
// TODO: implement this method to set the 'Start' reference
// Ensure that you remove @generated or mark it @generated NOT
@@ -474,11 +535,14 @@ public class FeatureLinkImpl extends RelationshipImpl implements FeatureLink {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isBidirectional: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureModelImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureModelImpl.java
index 331735cbd58..79b69f97942 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureModelImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureModelImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -42,11 +42,11 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getRootFeature <em>Root Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getFeatureLink <em>Feature Link</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getFeatureConstraint <em>Feature Constraint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getRootFeature <em>Root Feature</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getFeatureLink <em>Feature Link</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeatureModelImpl#getFeatureConstraint <em>Feature Constraint</em>}</li>
* </ul>
* </p>
*
@@ -58,6 +58,7 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
* The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Package()
* @generated
* @ordered
@@ -68,6 +69,7 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -77,6 +79,7 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
/**
* The cached value of the '{@link #getFeatureLink() <em>Feature Link</em>}' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getFeatureLink()
* @generated
* @ordered
@@ -85,6 +88,7 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FeatureModelImpl() {
@@ -93,80 +97,88 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE:
- if (resolve) return getBase_Package();
- return basicGetBase_Package();
- case FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case FeaturemodelingPackage.FEATURE_MODEL__ROOT_FEATURE:
- return getRootFeature();
- case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_LINK:
- return getFeatureLink();
- case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_CONSTRAINT:
- return getFeatureConstraint();
+ case FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE:
+ if (resolve) {
+ return getBase_Package();
+ }
+ return basicGetBase_Package();
+ case FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case FeaturemodelingPackage.FEATURE_MODEL__ROOT_FEATURE:
+ return getRootFeature();
+ case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_LINK:
+ return getFeatureLink();
+ case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_CONSTRAINT:
+ return getFeatureConstraint();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE:
- return base_Package != null;
- case FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS:
- return base_Class != null;
- case FeaturemodelingPackage.FEATURE_MODEL__ROOT_FEATURE:
- return !getRootFeature().isEmpty();
- case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_LINK:
- return featureLink != null && !featureLink.isEmpty();
- case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_CONSTRAINT:
- return !getFeatureConstraint().isEmpty();
+ case FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE:
+ return base_Package != null;
+ case FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS:
+ return base_Class != null;
+ case FeaturemodelingPackage.FEATURE_MODEL__ROOT_FEATURE:
+ return !getRootFeature().isEmpty();
+ case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_LINK:
+ return featureLink != null && !featureLink.isEmpty();
+ case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_CONSTRAINT:
+ return !getFeatureConstraint().isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_MODEL__ROOT_FEATURE:
- getRootFeature().clear();
- getRootFeature().addAll((Collection<? extends Feature>)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_LINK:
- getFeatureLink().clear();
- getFeatureLink().addAll((Collection<? extends FeatureLink>)newValue);
- return;
- case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_CONSTRAINT:
- getFeatureConstraint().clear();
- getFeatureConstraint().addAll((Collection<? extends FeatureConstraint>)newValue);
- return;
+ case FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_MODEL__ROOT_FEATURE:
+ getRootFeature().clear();
+ getRootFeature().addAll((Collection<? extends Feature>) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_LINK:
+ getFeatureLink().clear();
+ getFeatureLink().addAll((Collection<? extends FeatureLink>) newValue);
+ return;
+ case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_CONSTRAINT:
+ getFeatureConstraint().clear();
+ getFeatureConstraint().addAll((Collection<? extends FeatureConstraint>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -177,15 +189,18 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Package = (InternalEObject) base_Package;
+ base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package);
if (base_Package != oldBase_Package) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
}
return base_Package;
@@ -194,6 +209,7 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Package basicGetBase_Package() {
@@ -203,27 +219,33 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -232,6 +254,7 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -241,66 +264,75 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)null);
- return;
- case FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case FeaturemodelingPackage.FEATURE_MODEL__ROOT_FEATURE:
- getRootFeature().clear();
- return;
- case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_LINK:
- getFeatureLink().clear();
- return;
- case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_CONSTRAINT:
- getFeatureConstraint().clear();
- return;
+ case FeaturemodelingPackage.FEATURE_MODEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) null);
+ return;
+ case FeaturemodelingPackage.FEATURE_MODEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case FeaturemodelingPackage.FEATURE_MODEL__ROOT_FEATURE:
+ getRootFeature().clear();
+ return;
+ case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_LINK:
+ getFeatureLink().clear();
+ return;
+ case FeaturemodelingPackage.FEATURE_MODEL__FEATURE_CONSTRAINT:
+ getFeatureConstraint().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated NOT
*/
+ @Override
public EList<FeatureConstraint> getFeatureConstraint() {
EList<FeatureConstraint> results = new BasicEList<FeatureConstraint>();
FeatureConstraint adlFeatureConstraint = null;
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
+
while (it.hasNext()) {
Element element = it.next();
- adlFeatureConstraint = (FeatureConstraint )UMLUtil.getStereotypeApplication(element, FeatureConstraint.class);
- if (adlFeatureConstraint != null)
+ adlFeatureConstraint = UMLUtil.getStereotypeApplication(element, FeatureConstraint.class);
+ if (adlFeatureConstraint != null) {
results.add(adlFeatureConstraint);
+ }
}
}
-
+
return new BasicInternalEList<FeatureConstraint>(FeatureConstraint.class, results.size(), results.toArray());
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<FeatureLink> getFeatureLink() {
if (featureLink == null) {
featureLink = new EObjectResolvingEList<FeatureLink>(FeatureLink.class, this, FeaturemodelingPackage.FEATURE_MODEL__FEATURE_LINK);
@@ -310,22 +342,25 @@ public class FeatureModelImpl extends ContextImpl implements FeatureModel {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated NOT
*/
+ @Override
public EList<Feature> getRootFeature() {
EList<Feature> results = new BasicEList<Feature>();
Feature adlFeature = null;
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
+
while (it.hasNext()) {
Element element = it.next();
- adlFeature = (Feature )UMLUtil.getStereotypeApplication(element, Feature.class);
- if (adlFeature != null)
+ adlFeature = UMLUtil.getStereotypeApplication(element, Feature.class);
+ if (adlFeature != null) {
results.add(adlFeature);
+ }
}
}
-
+
return new BasicInternalEList<Feature>(Feature.class, results.size(), results.toArray());
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureTreeNodeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureTreeNodeImpl.java
index df5536395f4..b7486b8ba60 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureTreeNodeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeatureTreeNodeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,8 +22,7 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPack
/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Feature Tree Node</b></em>
- * '. <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Feature Tree Node</b></em> '. <!-- end-user-doc -->
* <p>
* </p>
*
@@ -33,6 +32,7 @@ public abstract class FeatureTreeNodeImpl extends ContextImpl implements Feature
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FeatureTreeNodeImpl() {
@@ -41,6 +41,7 @@ public abstract class FeatureTreeNodeImpl extends ContextImpl implements Feature
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingFactoryImpl.java
index 14f66f33c46..9e7634b66e9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -35,12 +35,14 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.VariabilityDependen
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class FeaturemodelingFactoryImpl extends EFactoryImpl implements FeaturemodelingFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -52,16 +54,16 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static FeaturemodelingFactory init() {
try {
- FeaturemodelingFactory theFeaturemodelingFactory = (FeaturemodelingFactory)EPackage.Registry.INSTANCE.getEFactory(FeaturemodelingPackage.eNS_URI);
+ FeaturemodelingFactory theFeaturemodelingFactory = (FeaturemodelingFactory) EPackage.Registry.INSTANCE.getEFactory(FeaturemodelingPackage.eNS_URI);
if (theFeaturemodelingFactory != null) {
return theFeaturemodelingFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new FeaturemodelingFactoryImpl();
@@ -70,6 +72,7 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FeaturemodelingFactoryImpl() {
@@ -78,6 +81,7 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String convertBindingTimeKindToString(EDataType eDataType, Object instanceValue) {
@@ -86,23 +90,25 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
switch (eDataType.getClassifierID()) {
- case FeaturemodelingPackage.BINDING_TIME_KIND:
- return convertBindingTimeKindToString(eDataType, instanceValue);
- case FeaturemodelingPackage.VARIABILITY_DEPENDENCY_KIND:
- return convertVariabilityDependencyKindToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case FeaturemodelingPackage.BINDING_TIME_KIND:
+ return convertBindingTimeKindToString(eDataType, instanceValue);
+ case FeaturemodelingPackage.VARIABILITY_DEPENDENCY_KIND:
+ return convertVariabilityDependencyKindToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String convertVariabilityDependencyKindToString(EDataType eDataType, Object instanceValue) {
@@ -111,26 +117,35 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case FeaturemodelingPackage.FEATURE_MODEL: return createFeatureModel();
- case FeaturemodelingPackage.FEATURE: return createFeature();
- case FeaturemodelingPackage.BINDING_TIME: return createBindingTime();
- case FeaturemodelingPackage.FEATURE_LINK: return createFeatureLink();
- case FeaturemodelingPackage.FEATURE_CONSTRAINT: return createFeatureConstraint();
- case FeaturemodelingPackage.FEATURE_GROUP: return createFeatureGroup();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case FeaturemodelingPackage.FEATURE_MODEL:
+ return createFeatureModel();
+ case FeaturemodelingPackage.FEATURE:
+ return createFeature();
+ case FeaturemodelingPackage.BINDING_TIME:
+ return createBindingTime();
+ case FeaturemodelingPackage.FEATURE_LINK:
+ return createFeatureLink();
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT:
+ return createFeatureConstraint();
+ case FeaturemodelingPackage.FEATURE_GROUP:
+ return createFeatureGroup();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public BindingTime createBindingTime() {
BindingTimeImpl bindingTime = new BindingTimeImpl();
return bindingTime;
@@ -138,18 +153,23 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public BindingTimeKind createBindingTimeKindFromString(EDataType eDataType, String initialValue) {
BindingTimeKind result = BindingTimeKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ 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
*/
+ @Override
public Feature createFeature() {
FeatureImpl feature = new FeatureImpl();
return feature;
@@ -157,8 +177,10 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FeatureConstraint createFeatureConstraint() {
FeatureConstraintImpl featureConstraint = new FeatureConstraintImpl();
return featureConstraint;
@@ -166,8 +188,10 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FeatureGroup createFeatureGroup() {
FeatureGroupImpl featureGroup = new FeatureGroupImpl();
return featureGroup;
@@ -175,8 +199,10 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FeatureLink createFeatureLink() {
FeatureLinkImpl featureLink = new FeatureLinkImpl();
return featureLink;
@@ -185,8 +211,10 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FeatureModel createFeatureModel() {
FeatureModelImpl featureModel = new FeatureModelImpl();
return featureModel;
@@ -194,37 +222,43 @@ public class FeaturemodelingFactoryImpl extends EFactoryImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
switch (eDataType.getClassifierID()) {
- case FeaturemodelingPackage.BINDING_TIME_KIND:
- return createBindingTimeKindFromString(eDataType, initialValue);
- case FeaturemodelingPackage.VARIABILITY_DEPENDENCY_KIND:
- return createVariabilityDependencyKindFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case FeaturemodelingPackage.BINDING_TIME_KIND:
+ return createBindingTimeKindFromString(eDataType, initialValue);
+ case FeaturemodelingPackage.VARIABILITY_DEPENDENCY_KIND:
+ return createVariabilityDependencyKindFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public VariabilityDependencyKind createVariabilityDependencyKindFromString(EDataType eDataType, String initialValue) {
VariabilityDependencyKind result = VariabilityDependencyKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ 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
*/
+ @Override
public FeaturemodelingPackage getFeaturemodelingPackage() {
- return (FeaturemodelingPackage)getEPackage();
+ return (FeaturemodelingPackage) getEPackage();
}
} // FeaturemodelingFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingPackageImpl.java
index 6bdcf7f62a0..4485c849729 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/impl/FeaturemodelingPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -103,32 +103,37 @@ import org.eclipse.uml2.uml.UMLPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class FeaturemodelingPackageImpl extends EPackageImpl implements FeaturemodelingPackage {
/**
* <!-- 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 FeaturemodelingPackage#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
+ * -->
*
- * <p>This method is used to initialize {@link FeaturemodelingPackage#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 FeaturemodelingPackage init() {
- if (isInited) return (FeaturemodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI);
+ if (isInited) {
+ return (FeaturemodelingPackage) EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI);
+ }
// Obtain or create and register package
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FeaturemodelingPackageImpl());
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FeaturemodelingPackageImpl());
isInited = true;
@@ -136,39 +141,67 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
SysmlPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
- VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
- InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
- DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
- UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
- ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
- ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
- StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
- FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
- VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
- VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
- org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
- TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
- TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
- EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
- NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
- BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
- AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
- TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
- ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
- GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
+ EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
+ VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI)
+ : VariabilityPackage.eINSTANCE);
+ InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
+ DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI)
+ : DatatypesPackage.eINSTANCE);
+ UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
+ ElementsPackageImpl theElementsPackage = (ElementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI)
+ : ElementsPackage.eINSTANCE);
+ StructurePackageImpl theStructurePackage = (StructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI)
+ : StructurePackage.eINSTANCE);
+ FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
+ SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
+ VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI)
+ : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI)
+ : ErrormodelPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
+ VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI)
+ : BehaviorPackage.eINSTANCE);
+ TimingPackageImpl theTimingPackage = (TimingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
+ TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
+ EventsPackageImpl theEventsPackage = (EventsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
+ EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI)
+ : EnvironmentPackage.eINSTANCE);
+ AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
+ NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
+ GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
theFeaturemodelingPackage.createPackageContents();
@@ -245,7 +278,7 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
// Mark meta-data to indicate it can't be changed
theFeaturemodelingPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(FeaturemodelingPackage.eNS_URI, theFeaturemodelingPackage);
return theFeaturemodelingPackage;
@@ -253,48 +286,56 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass featureModelEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass featureLinkEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass featureEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass featureTreeNodeEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass bindingTimeEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass featureGroupEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass featureConstraintEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum bindingTimeKindEEnum = null;
@@ -302,31 +343,31 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum variabilityDependencyKindEEnum = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#eNS_URI
* @see #init()
@@ -337,13 +378,16 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
}
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents() {
- if (isCreated) return;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create classes and their features
@@ -394,41 +438,51 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getBindingTime() {
return bindingTimeEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getBindingTime_Kind() {
- return (EAttribute)bindingTimeEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) bindingTimeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getBindingTime_Base_Class() {
- return (EReference)bindingTimeEClass.getEStructuralFeatures().get(1);
+ return (EReference) bindingTimeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EEnum getBindingTimeKind() {
return bindingTimeKindEEnum;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFeature() {
return featureEClass;
}
@@ -436,92 +490,114 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeature_Base_Class() {
- return (EReference)featureEClass.getEStructuralFeatures().get(0);
+ return (EReference) featureEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeature_ActualBindingTime() {
- return (EReference)featureEClass.getEStructuralFeatures().get(3);
+ return (EReference) featureEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFeature_Cardinality() {
- return (EAttribute)featureEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) featureEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeature_ChildNode() {
- return (EReference)featureEClass.getEStructuralFeatures().get(5);
+ return (EReference) featureEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeature_FeatureParameter() {
- return (EReference)featureEClass.getEStructuralFeatures().get(4);
+ return (EReference) featureEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeature_RequiredBindingTime() {
- return (EReference)featureEClass.getEStructuralFeatures().get(2);
+ return (EReference) featureEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFeatureConstraint() {
return featureConstraintEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFeatureConstraint_Criterion() {
- return (EAttribute)featureConstraintEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) featureConstraintEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureConstraint_Base_Class() {
- return (EReference)featureConstraintEClass.getEStructuralFeatures().get(1);
+ return (EReference) featureConstraintEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureConstraint_Base_Constraint() {
- return (EReference)featureConstraintEClass.getEStructuralFeatures().get(2);
+ return (EReference) featureConstraintEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFeatureGroup() {
return featureGroupEClass;
}
@@ -529,33 +605,41 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureGroup_Base_Class() {
- return (EReference)featureGroupEClass.getEStructuralFeatures().get(0);
+ return (EReference) featureGroupEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFeatureGroup_Cardinality() {
- return (EAttribute)featureGroupEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) featureGroupEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureGroup_ChildFeature() {
- return (EReference)featureGroupEClass.getEStructuralFeatures().get(2);
+ return (EReference) featureGroupEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFeatureLink() {
return featureLinkEClass;
}
@@ -563,67 +647,83 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFeatureLink_CustomType() {
- return (EAttribute)featureLinkEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) featureLinkEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureLink_Base_Dependency() {
- return (EReference)featureLinkEClass.getEStructuralFeatures().get(2);
+ return (EReference) featureLinkEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureLink_End() {
- return (EReference)featureLinkEClass.getEStructuralFeatures().get(4);
+ return (EReference) featureLinkEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureLink_Base_AssociationClass() {
- return (EReference)featureLinkEClass.getEStructuralFeatures().get(5);
+ return (EReference) featureLinkEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFeatureLink_IsBidirectional() {
- return (EAttribute)featureLinkEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) featureLinkEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFeatureLink_Kind() {
- return (EAttribute)featureLinkEClass.getEStructuralFeatures().get(6);
+ return (EAttribute) featureLinkEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureLink_Start() {
- return (EReference)featureLinkEClass.getEStructuralFeatures().get(3);
+ return (EReference) featureLinkEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFeatureModel() {
return featureModelEClass;
}
@@ -631,60 +731,74 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureModel_Base_Package() {
- return (EReference)featureModelEClass.getEStructuralFeatures().get(0);
+ return (EReference) featureModelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureModel_Base_Class() {
- return (EReference)featureModelEClass.getEStructuralFeatures().get(1);
+ return (EReference) featureModelEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureModel_FeatureConstraint() {
- return (EReference)featureModelEClass.getEStructuralFeatures().get(4);
+ return (EReference) featureModelEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureModel_FeatureLink() {
- return (EReference)featureModelEClass.getEStructuralFeatures().get(3);
+ return (EReference) featureModelEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureModel_RootFeature() {
- return (EReference)featureModelEClass.getEStructuralFeatures().get(2);
+ return (EReference) featureModelEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FeaturemodelingFactory getFeaturemodelingFactory() {
- return (FeaturemodelingFactory)getEFactoryInstance();
+ return (FeaturemodelingFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFeatureTreeNode() {
return featureTreeNodeEClass;
}
@@ -692,20 +806,25 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EEnum getVariabilityDependencyKind() {
return variabilityDependencyKindEEnum;
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) return;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -714,10 +833,10 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
setNsURI(eNS_URI);
// Obtain other dependent packages
- ElementsPackage theElementsPackage = (ElementsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
- DatatypesPackage theDatatypesPackage = (DatatypesPackage)EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
+ ElementsPackage theElementsPackage = (ElementsPackage) EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ DatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
// Create type parameters
@@ -736,40 +855,53 @@ public class FeaturemodelingPackageImpl extends EPackageImpl implements Featurem
initEClass(featureTreeNodeEClass, FeatureTreeNode.class, "FeatureTreeNode", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(featureModelEClass, FeatureModel.class, "FeatureModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFeatureModel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, FeatureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFeatureModel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, FeatureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFeatureModel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, FeatureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getFeatureModel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, FeatureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEReference(getFeatureModel_RootFeature(), this.getFeature(), null, "rootFeature", null, 0, -1, FeatureModel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getFeatureModel_FeatureLink(), this.getFeatureLink(), null, "featureLink", null, 0, -1, FeatureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFeatureModel_FeatureConstraint(), this.getFeatureConstraint(), null, "featureConstraint", null, 0, -1, FeatureModel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getFeatureModel_FeatureLink(), this.getFeatureLink(), null, "featureLink", null, 0, -1, FeatureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getFeatureModel_FeatureConstraint(), this.getFeatureConstraint(), null, "featureConstraint", null, 0, -1, FeatureModel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
initEClass(featureEClass, Feature.class, "Feature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getFeature_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, Feature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getFeature_Cardinality(), theTypesPackage.getString(), "cardinality", null, 1, 1, Feature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFeature_RequiredBindingTime(), this.getBindingTime(), null, "requiredBindingTime", null, 0, 1, Feature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFeature_ActualBindingTime(), this.getBindingTime(), null, "actualBindingTime", null, 1, 1, Feature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFeature_FeatureParameter(), theDatatypesPackage.getEADatatype(), null, "featureParameter", null, 0, 1, Feature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFeature_RequiredBindingTime(), this.getBindingTime(), null, "requiredBindingTime", null, 0, 1, Feature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getFeature_ActualBindingTime(), this.getBindingTime(), null, "actualBindingTime", null, 1, 1, Feature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getFeature_FeatureParameter(), theDatatypesPackage.getEADatatype(), null, "featureParameter", null, 0, 1, Feature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEReference(getFeature_ChildNode(), this.getFeatureTreeNode(), null, "childNode", null, 0, 1, Feature.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEClass(bindingTimeEClass, BindingTime.class, "BindingTime", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getBindingTime_Kind(), this.getBindingTimeKind(), "kind", "systemDesignTime", 1, 1, BindingTime.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getBindingTime_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, BindingTime.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getBindingTime_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, BindingTime.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(featureLinkEClass, FeatureLink.class, "FeatureLink", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getFeatureLink_IsBidirectional(), theTypesPackage.getBoolean(), "isBidirectional", null, 0, 1, FeatureLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getFeatureLink_CustomType(), theTypesPackage.getString(), "customType", null, 1, 1, FeatureLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFeatureLink_Base_Dependency(), theUMLPackage.getDependency(), null, "base_Dependency", null, 0, 1, FeatureLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFeatureLink_Base_Dependency(), theUMLPackage.getDependency(), null, "base_Dependency", null, 0, 1, FeatureLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEReference(getFeatureLink_Start(), this.getFeature(), null, "start", null, 1, 1, FeatureLink.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEReference(getFeatureLink_End(), this.getFeature(), null, "end", null, 1, 1, FeatureLink.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getFeatureLink_Base_AssociationClass(), theUMLPackage.getAssociationClass(), null, "base_AssociationClass", null, 0, 1, FeatureLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFeatureLink_Base_AssociationClass(), theUMLPackage.getAssociationClass(), null, "base_AssociationClass", null, 0, 1, FeatureLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getFeatureLink_Kind(), this.getVariabilityDependencyKind(), "kind", null, 1, 1, FeatureLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(featureConstraintEClass, FeatureConstraint.class, "FeatureConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getFeatureConstraint_Criterion(), theTypesPackage.getString(), "criterion", null, 1, 1, FeatureConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFeatureConstraint_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, FeatureConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFeatureConstraint_Base_Constraint(), theUMLPackage.getConstraint(), null, "base_Constraint", null, 0, 1, FeatureConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFeatureConstraint_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, FeatureConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFeatureConstraint_Base_Constraint(), theUMLPackage.getConstraint(), null, "base_Constraint", null, 0, 1, FeatureConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(featureGroupEClass, FeatureGroup.class, "FeatureGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFeatureGroup_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, FeatureGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFeatureGroup_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, FeatureGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEAttribute(getFeatureGroup_Cardinality(), theTypesPackage.getString(), "cardinality", null, 1, 1, FeatureGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getFeatureGroup_ChildFeature(), this.getFeature(), null, "childFeature", null, 2, -1, FeatureGroup.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingAdapterFactory.java
index ee6daf82827..c5af33bc2c9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingAdapterFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,8 +34,8 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPack
/**
- * <!-- 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 -->
+ * <!-- 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.eastadl.structure.featuremodeling.FeaturemodelingPackage
* @generated
*/
@@ -44,6 +44,7 @@ public class FeaturemodelingAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static FeaturemodelingPackage modelPackage;
@@ -52,62 +53,75 @@ public class FeaturemodelingAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
protected FeaturemodelingSwitch<Adapter> modelSwitch = new FeaturemodelingSwitch<Adapter>() {
- @Override
- public Adapter caseFeatureTreeNode(FeatureTreeNode object) {
- return createFeatureTreeNodeAdapter();
- }
- @Override
- public Adapter caseFeatureModel(FeatureModel object) {
- return createFeatureModelAdapter();
- }
- @Override
- public Adapter caseFeature(Feature object) {
- return createFeatureAdapter();
- }
- @Override
- public Adapter caseBindingTime(BindingTime object) {
- return createBindingTimeAdapter();
- }
- @Override
- public Adapter caseFeatureLink(FeatureLink object) {
- return createFeatureLinkAdapter();
- }
- @Override
- public Adapter caseFeatureConstraint(FeatureConstraint object) {
- return createFeatureConstraintAdapter();
- }
- @Override
- public Adapter caseFeatureGroup(FeatureGroup object) {
- return createFeatureGroupAdapter();
- }
- @Override
- public Adapter caseEAElement(EAElement object) {
- return createEAElementAdapter();
- }
- @Override
- public Adapter caseEAPackageableElement(EAPackageableElement object) {
- return createEAPackageableElementAdapter();
- }
- @Override
- public Adapter caseContext(Context object) {
- return createContextAdapter();
- }
- @Override
- public Adapter caseRelationship(Relationship object) {
- return createRelationshipAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseFeatureTreeNode(FeatureTreeNode object) {
+ return createFeatureTreeNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseFeatureModel(FeatureModel object) {
+ return createFeatureModelAdapter();
+ }
+
+ @Override
+ public Adapter caseFeature(Feature object) {
+ return createFeatureAdapter();
+ }
+
+ @Override
+ public Adapter caseBindingTime(BindingTime object) {
+ return createBindingTimeAdapter();
+ }
+
+ @Override
+ public Adapter caseFeatureLink(FeatureLink object) {
+ return createFeatureLinkAdapter();
+ }
+
+ @Override
+ public Adapter caseFeatureConstraint(FeatureConstraint object) {
+ return createFeatureConstraintAdapter();
+ }
+
+ @Override
+ public Adapter caseFeatureGroup(FeatureGroup object) {
+ return createFeatureGroupAdapter();
+ }
+
+ @Override
+ public Adapter caseEAElement(EAElement object) {
+ return createEAElementAdapter();
+ }
+
+ @Override
+ public Adapter caseEAPackageableElement(EAPackageableElement object) {
+ return createEAPackageableElementAdapter();
+ }
+
+ @Override
+ public Adapter caseContext(Context object) {
+ return createContextAdapter();
+ }
+
+ @Override
+ public Adapter caseRelationship(Relationship object) {
+ return createRelationshipAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FeaturemodelingAdapterFactory() {
@@ -119,13 +133,15 @@ public class FeaturemodelingAdapterFactory extends AdapterFactoryImpl {
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param target the object to adapt.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -133,6 +149,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.structure.featuremodeling.BindingTime
* @generated
@@ -147,6 +164,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.infrastructure.elements.Context
* @generated
@@ -159,6 +177,7 @@ public class FeaturemodelingAdapterFactory 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
*/
@@ -171,6 +190,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.structure.featuremodeling.Feature
* @generated
@@ -184,6 +204,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.structure.featuremodeling.FeatureConstraint
* @generated
@@ -197,6 +218,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.structure.featuremodeling.FeatureGroup
* @generated
@@ -211,6 +233,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.infrastructure.elements.EAElement
* @generated
@@ -225,6 +248,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.infrastructure.elements.EAPackageableElement
* @generated
@@ -238,6 +262,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.structure.featuremodeling.FeatureLink
* @generated
@@ -251,6 +276,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.structure.featuremodeling.FeatureModel
* @generated
@@ -264,6 +290,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.structure.featuremodeling.FeatureTreeNode
* @generated
@@ -278,6 +305,7 @@ public class FeaturemodelingAdapterFactory 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.eastadl.infrastructure.elements.Relationship
* @generated
@@ -291,6 +319,7 @@ public class FeaturemodelingAdapterFactory 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
*/
@@ -300,7 +329,7 @@ public class FeaturemodelingAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceFactoryImpl.java
index 9b65c253565..c1250bc03e0 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,6 +23,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.eastadl.structure.featuremodeling.util.FeaturemodelingResourceImpl
* @generated
*/
@@ -31,6 +32,7 @@ public class FeaturemodelingResourceFactoryImpl extends ResourceFactoryImpl {
/**
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FeaturemodelingResourceFactoryImpl() {
@@ -40,6 +42,7 @@ public class FeaturemodelingResourceFactoryImpl extends ResourceFactoryImpl {
/**
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceImpl.java
index e0f01bec67e..c6472467885 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -20,6 +20,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.eastadl.structure.featuremodeling.util.FeaturemodelingResourceFactoryImpl
* @generated
*/
@@ -28,7 +29,9 @@ public class FeaturemodelingResourceImpl extends XMLResourceImpl {
/**
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public FeaturemodelingResourceImpl(URI uri) {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingSwitch.java
index a1befe59952..9d2af19616f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingSwitch.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,6 +38,7 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPack
* each class of the model, starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage
* @generated
*/
@@ -46,6 +47,7 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static FeaturemodelingPackage modelPackage;
@@ -53,6 +55,7 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
/**
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FeaturemodelingSwitch() {
@@ -65,6 +68,7 @@ public class FeaturemodelingSwitch<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
@@ -78,7 +82,7 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Binding Time</em>'. <!--
* begin-user-doc --> This implementation returns null; returning a non-null result will
* terminate the switch. <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Binding Time</em>'.
@@ -95,7 +99,9 @@ public class FeaturemodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Context</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -108,7 +114,7 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Feature</em>'. <!--
* begin-user-doc --> This implementation returns null; returning a non-null result will
* terminate the switch. <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature</em>'.
@@ -123,7 +129,9 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Feature Constraint</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature Constraint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -136,7 +144,9 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Feature Group</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature Group</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -151,7 +161,9 @@ public class FeaturemodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -166,7 +178,9 @@ public class FeaturemodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Packageable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -179,7 +193,7 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Feature Link</em>'. <!--
* begin-user-doc --> This implementation returns null; returning a non-null result will
* terminate the switch. <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature Link</em>'.
@@ -194,7 +208,9 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Feature Model</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature Model</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -207,7 +223,9 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Feature Tree Node</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature Tree Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -222,7 +240,9 @@ public class FeaturemodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Relationship</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -235,7 +255,7 @@ public class FeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!--
* begin-user-doc --> This implementation returns null; returning a non-null result will
* terminate the switch, but this is the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
@@ -250,73 +270,125 @@ public class FeaturemodelingSwitch<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 FeaturemodelingPackage.FEATURE_TREE_NODE: {
- FeatureTreeNode featureTreeNode = (FeatureTreeNode)theEObject;
- T result = caseFeatureTreeNode(featureTreeNode);
- if (result == null) result = caseContext(featureTreeNode);
- if (result == null) result = caseEAPackageableElement(featureTreeNode);
- if (result == null) result = caseEAElement(featureTreeNode);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ case FeaturemodelingPackage.FEATURE_TREE_NODE: {
+ FeatureTreeNode featureTreeNode = (FeatureTreeNode) theEObject;
+ T result = caseFeatureTreeNode(featureTreeNode);
+ if (result == null) {
+ result = caseContext(featureTreeNode);
}
- case FeaturemodelingPackage.FEATURE_MODEL: {
- FeatureModel featureModel = (FeatureModel)theEObject;
- T result = caseFeatureModel(featureModel);
- if (result == null) result = caseContext(featureModel);
- if (result == null) result = caseEAPackageableElement(featureModel);
- if (result == null) result = caseEAElement(featureModel);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = caseEAPackageableElement(featureTreeNode);
+ }
+ if (result == null) {
+ result = caseEAElement(featureTreeNode);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FeaturemodelingPackage.FEATURE_MODEL: {
+ FeatureModel featureModel = (FeatureModel) theEObject;
+ T result = caseFeatureModel(featureModel);
+ if (result == null) {
+ result = caseContext(featureModel);
}
- case FeaturemodelingPackage.FEATURE: {
- Feature feature = (Feature)theEObject;
- T result = caseFeature(feature);
- if (result == null) result = caseFeatureTreeNode(feature);
- if (result == null) result = caseContext(feature);
- if (result == null) result = caseEAPackageableElement(feature);
- if (result == null) result = caseEAElement(feature);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = caseEAPackageableElement(featureModel);
}
- case FeaturemodelingPackage.BINDING_TIME: {
- BindingTime bindingTime = (BindingTime)theEObject;
- T result = caseBindingTime(bindingTime);
- if (result == null) result = caseEAElement(bindingTime);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = caseEAElement(featureModel);
}
- case FeaturemodelingPackage.FEATURE_LINK: {
- FeatureLink featureLink = (FeatureLink)theEObject;
- T result = caseFeatureLink(featureLink);
- if (result == null) result = caseRelationship(featureLink);
- if (result == null) result = caseEAElement(featureLink);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case FeaturemodelingPackage.FEATURE_CONSTRAINT: {
- FeatureConstraint featureConstraint = (FeatureConstraint)theEObject;
- T result = caseFeatureConstraint(featureConstraint);
- if (result == null) result = caseEAElement(featureConstraint);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case FeaturemodelingPackage.FEATURE: {
+ Feature feature = (Feature) theEObject;
+ T result = caseFeature(feature);
+ if (result == null) {
+ result = caseFeatureTreeNode(feature);
+ }
+ if (result == null) {
+ result = caseContext(feature);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(feature);
+ }
+ if (result == null) {
+ result = caseEAElement(feature);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FeaturemodelingPackage.BINDING_TIME: {
+ BindingTime bindingTime = (BindingTime) theEObject;
+ T result = caseBindingTime(bindingTime);
+ if (result == null) {
+ result = caseEAElement(bindingTime);
}
- case FeaturemodelingPackage.FEATURE_GROUP: {
- FeatureGroup featureGroup = (FeatureGroup)theEObject;
- T result = caseFeatureGroup(featureGroup);
- if (result == null) result = caseFeatureTreeNode(featureGroup);
- if (result == null) result = caseContext(featureGroup);
- if (result == null) result = caseEAPackageableElement(featureGroup);
- if (result == null) result = caseEAElement(featureGroup);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- default: return defaultCase(theEObject);
+ return result;
+ }
+ case FeaturemodelingPackage.FEATURE_LINK: {
+ FeatureLink featureLink = (FeatureLink) theEObject;
+ T result = caseFeatureLink(featureLink);
+ if (result == null) {
+ result = caseRelationship(featureLink);
+ }
+ if (result == null) {
+ result = caseEAElement(featureLink);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FeaturemodelingPackage.FEATURE_CONSTRAINT: {
+ FeatureConstraint featureConstraint = (FeatureConstraint) theEObject;
+ T result = caseFeatureConstraint(featureConstraint);
+ if (result == null) {
+ result = caseEAElement(featureConstraint);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FeaturemodelingPackage.FEATURE_GROUP: {
+ FeatureGroup featureGroup = (FeatureGroup) theEObject;
+ T result = caseFeatureGroup(featureGroup);
+ if (result == null) {
+ result = caseFeatureTreeNode(featureGroup);
+ }
+ if (result == null) {
+ result = caseContext(featureGroup);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(featureGroup);
+ }
+ if (result == null) {
+ result = caseEAElement(featureGroup);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingXMLProcessor.java
index 7b42a0dd7e3..962678aa980 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/util/FeaturemodelingXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,6 +27,7 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPack
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
*/
public class FeaturemodelingXMLProcessor extends XMLProcessor {
@@ -34,6 +35,7 @@ public class FeaturemodelingXMLProcessor extends XMLProcessor {
/**
* Public constructor to instantiate the helper.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FeaturemodelingXMLProcessor() {
@@ -44,6 +46,7 @@ public class FeaturemodelingXMLProcessor extends XMLProcessor {
/**
* Register for "*" and "xml" file extensions the FeaturemodelingResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AllocateableElement.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AllocateableElement.java
index 01f52f5973a..2623a7ac8b4 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AllocateableElement.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AllocateableElement.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,11 +24,11 @@ import org.eclipse.emf.ecore.EObject;
*
* <!-- begin-model-doc -->
* The AllocateableElement is an abstract superclass for elements that are allocateable.
- *
+ *
* Semantics:
* The AllocateableElement abstracts all elements that are allocateable.
* Subclasses of the abstract class AllocateableElement add their own semantics.
- *
+ *
* Extension: abstract, no extension
* <!-- end-model-doc -->
*
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Allocation.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Allocation.java
index 4687629e016..281c609bd61 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Allocation.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Allocation.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -26,18 +26,18 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
*
* <!-- begin-model-doc -->
* The Allocation element contains functionAllocations. It can bundle functionAllocations that belong together, e.g., all functionAllocations for a simulation.
- *
+ *
* Semantics:
* The Allocation element contains functionAllocations, i.e., it can bundle functionAllocations that belong together.
- *
+ *
* Extension: Class
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation#getFunctionAllocation <em>Function Allocation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation#getFunctionAllocation <em>Function Allocation</em>}</li>
* </ul>
* </p>
*
@@ -50,10 +50,10 @@ public interface Allocation extends EAElement {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.functionmodeling.FunctionmodelingPackage#getAllocation_Base_Class()
@@ -66,7 +66,9 @@ public interface Allocation extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -77,10 +79,10 @@ public interface Allocation extends EAElement {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Function Allocation</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Function Allocation</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Function Allocation</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getAllocation_FunctionAllocation()
* @model transient="true" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionPrototype.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionPrototype.java
index 803908ab32a..30d16f02c3a 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionPrototype.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionPrototype.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,14 +23,14 @@ package org.eclipse.papyrus.eastadl.structure.functionmodeling;
*
* <!-- begin-model-doc -->
* The AnalysisFunctionPrototype represents references to the occurrence of the AnalysisFunctionType that types it when it acts as a part.
- *
+ *
* The AnalysisFunctionPrototype is typed by an AnalysisFunctionType.
- *
- *
+ *
+ *
* Semantics:
* The AnalysisFunctionPrototype represents an occurrence of the AnalysisFunctionType that types it.
- *
- *
+ *
+ *
* Extension:
* UML Property, specialization of SysML::BlockProperty
* <!-- end-model-doc -->
@@ -38,7 +38,7 @@ package org.eclipse.papyrus.eastadl.structure.functionmodeling;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -51,10 +51,10 @@ public interface AnalysisFunctionPrototype extends FunctionPrototype {
* Returns the value of the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Type</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>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>Type</em>' reference.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getAnalysisFunctionPrototype_Type()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionType.java
index 3716bd22698..c2c03a2a8a6 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionType.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/AnalysisFunctionType.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,29 +23,32 @@ import org.eclipse.emf.common.util.EList;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The AnalysisFunctionType is a concrete FunctionType and therefore inherits the elementary function properties from the abstract metaclass FunctionType. The AnalysisFunctionType is used to model the functional structure on AnalysisLevel. The syntax of AnalysisFunctionTypes is inspired from the type-prototype pattern used by AUTOSAR.
- *
+ * The AnalysisFunctionType is a concrete FunctionType and therefore inherits the elementary function properties from the abstract metaclass FunctionType. The AnalysisFunctionType is used to model the functional structure on AnalysisLevel. The syntax of
+ * AnalysisFunctionTypes is inspired from the type-prototype pattern used by AUTOSAR.
+ *
* The AnalysisFunctions may interact with other AnalysisFunctions (i.e., also FunctionalDevices) through their FunctionPorts.
- *
+ *
* Furthermore, an AnalysisFunction may be decomposed into (sub-)AnalysisFunctions. This allows breaking up hierarchically the functionalities provided by the parent AnalysisFunction into subfunctionalities.
- *
- * A FunctionBehavior may be associated with each AnalysisFunction. In the case where the AnalysisFunction is decomposed, the behavior is a specification for the composed behavior of the subAnalysisFunction. If the AnalysisFunction is not decomposed (i.e., if the AnalysisFunction is elementary), then the behavior is describing the behavior of the subAnalysisFunction, which is to be used when building the global behavior of the FunctionalAnalysisArchitecture by composition of the leaf behaviors.
- *
- *
+ *
+ * A FunctionBehavior may be associated with each AnalysisFunction. In the case where the AnalysisFunction is decomposed, the behavior is a specification for the composed behavior of the subAnalysisFunction. If the AnalysisFunction is not decomposed (i.e., if
+ * the AnalysisFunction is elementary), then the behavior is describing the behavior of the subAnalysisFunction, which is to be used when building the global behavior of the FunctionalAnalysisArchitecture by composition of the leaf behaviors.
+ *
+ *
* Semantics:
- * The AnalysisFunctionType represents a node in a tree structure corresponding to the functional decomposition of a top level AnalysisFunction. The AnalysisFunction is representing the analysis function used to describe the functionalities provided by a vehicle on the AnalysisLevel. At the AnalysisLevel, AnalysisFunctions are defined and structured according to the functional requirements, i.e., the functionalities provided to the user.
- *
+ * The AnalysisFunctionType represents a node in a tree structure corresponding to the functional decomposition of a top level AnalysisFunction. The AnalysisFunction is representing the analysis function used to describe the functionalities provided by a
+ * vehicle on the AnalysisLevel. At the AnalysisLevel, AnalysisFunctions are defined and structured according to the functional requirements, i.e., the functionalities provided to the user.
+ *
* Constraints:
* [1] AnalysisFunctionTypes may only be used on AnalysisLevel.
- *
- *
+ *
+ *
* Extension: UML Class, specialization of SysML::Block
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionType#getPart <em>Part</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionType#getPart <em>Part</em>}</li>
* </ul>
* </p>
*
@@ -59,10 +62,10 @@ public interface AnalysisFunctionType extends FunctionType {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Part</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Part</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>Part</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getAnalysisFunctionType_Part()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/BasicSoftwareFunctionType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/BasicSoftwareFunctionType.java
index 90596270efa..51a411a47b8 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/BasicSoftwareFunctionType.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/BasicSoftwareFunctionType.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,11 +23,11 @@ package org.eclipse.papyrus.eastadl.structure.functionmodeling;
*
* <!-- begin-model-doc -->
* The BasicSoftwareFunctionType is an abstraction of middleware functionality.
- *
+ *
* Semantics:
* The BasicSoftwareFunctionType is an abstraction of the middleware.
- *
- * Extension:
+ *
+ * Extension:
* UML Class, specialization of SysML::Block
* <!-- end-model-doc -->
*
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/ClientServerKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/ClientServerKind.java
index 5300b880bd9..e8e1320c153 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/ClientServerKind.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/ClientServerKind.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,13 +28,14 @@ import org.eclipse.emf.common.util.Enumerator;
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* This element is an enumeration for the kind of the FunctionClientServerPort, which can either be a "client" or a "server".
- *
+ *
* Semantics:
* The ClientServerKind is an enumeration with the two literals "client" and "server".
- *
- * Extension:
+ *
+ * Extension:
* Enumeration, no extension.
* <!-- end-model-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getClientServerKind()
* @model
* @generated
@@ -44,6 +45,7 @@ public enum ClientServerKind implements Enumerator {
* The '<em><b>Client</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #CLIENT_VALUE
* @generated
* @ordered
@@ -54,6 +56,7 @@ public enum ClientServerKind implements Enumerator {
* The '<em><b>Server</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #SERVER_VALUE
* @generated
* @ordered
@@ -64,10 +67,10 @@ public enum ClientServerKind implements Enumerator {
* The '<em><b>Client</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Client</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Client</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #CLIENT
* @model name="client"
* @generated
@@ -79,10 +82,10 @@ public enum ClientServerKind implements Enumerator {
* The '<em><b>Server</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Server</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>Server</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #SERVER
* @model name="server"
* @generated
@@ -94,18 +97,20 @@ public enum ClientServerKind implements Enumerator {
* An array of all the '<em><b>Client Server Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final ClientServerKind[] VALUES_ARRAY =
- new ClientServerKind[] {
- CLIENT,
- SERVER,
- };
+ new ClientServerKind[] {
+ CLIENT,
+ SERVER,
+ };
/**
* A public read-only list of all the '<em><b>Client Server Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<ClientServerKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -114,12 +119,15 @@ public enum ClientServerKind implements Enumerator {
* Returns the '<em><b>Client Server Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static ClientServerKind get(int value) {
switch (value) {
- case CLIENT_VALUE: return CLIENT;
- case SERVER_VALUE: return SERVER;
+ case CLIENT_VALUE:
+ return CLIENT;
+ case SERVER_VALUE:
+ return SERVER;
}
return null;
}
@@ -128,6 +136,7 @@ public enum ClientServerKind implements Enumerator {
* Returns the '<em><b>Client Server Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static ClientServerKind get(String literal) {
@@ -144,6 +153,7 @@ public enum ClientServerKind implements Enumerator {
* Returns the '<em><b>Client Server Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static ClientServerKind getByName(String name) {
@@ -159,6 +169,7 @@ public enum ClientServerKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -166,6 +177,7 @@ public enum ClientServerKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -173,6 +185,7 @@ public enum ClientServerKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -181,6 +194,7 @@ public enum ClientServerKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private ClientServerKind(int value, String name, String literal) {
@@ -192,39 +206,46 @@ public enum ClientServerKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getLiteral() {
- return literal;
+ return literal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public int getValue() {
- return value;
+ return value;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
return literal;
}
-
-} //ClientServerKind
+
+} // ClientServerKind
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionPrototype.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionPrototype.java
index 836f41b4117..787421b433b 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionPrototype.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionPrototype.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,10 +24,10 @@ package org.eclipse.papyrus.eastadl.structure.functionmodeling;
* <!-- begin-model-doc -->
* The DesignFunctionPrototype represents references to the occurrence of the DesignFunctionType that types it when it acts as a part.
* The DesignFunctionPrototype is typed by a DesignFunctionType .
- *
+ *
* Semantics:
* The DesignFunctionPrototype represents an occurrence of the DesignFunctionType that types it.
- *
+ *
* Extension:
* UML Property, specialization of SysML::BlockProperty
* <!-- end-model-doc -->
@@ -35,7 +35,7 @@ package org.eclipse.papyrus.eastadl.structure.functionmodeling;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -48,10 +48,10 @@ public interface DesignFunctionPrototype extends FunctionPrototype, Allocateable
* Returns the value of the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Type</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>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>Type</em>' reference.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getDesignFunctionPrototype_Type()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionType.java
index f4da575acf9..dc6f17302bd 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionType.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/DesignFunctionType.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,32 +23,34 @@ import org.eclipse.emf.common.util.EList;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The DesignFunctionType is a concrete FunctionType and therefore inherits the elementary function properties from the abstract metaclass FunctionType. The DesignFunctionType is used to model the functional structure on DesignLevel. The syntax of DesignFunctionTypes is inspired from the type-prototype pattern used by AUTOSAR.
- *
+ * The DesignFunctionType is a concrete FunctionType and therefore inherits the elementary function properties from the abstract metaclass FunctionType. The DesignFunctionType is used to model the functional structure on DesignLevel. The syntax of
+ * DesignFunctionTypes is inspired from the type-prototype pattern used by AUTOSAR.
+ *
* The DesignFunctions may interact with other DesignFunctions (i.e., also BasicSoftwareFunctions, HardwareFunctions, and LocalDeviceManager) through their FunctionPorts.
- *
+ *
* Furthermore, a DesignFunction may be decomposed into (sub-)DesignFunctions. This allows breaking up hierarchically the functionalities provided by the parent DesignFunction into subfunctionalities.
- *
+ *
* Execution time constraints on the DesignFunctionType can be expressed by ExecutionTimeConstraints, see the Timing package.
- *
+ *
* If two or more occurrences of an elementary Function are allocated on the same ECU, the code will be placed on the ECU only once (so these occurrences will use the same code but separate memory areas for data).
- *
- *
+ *
+ *
* Semantics:
- * The DesignFunctionType represents a node in a tree structure corresponding to the functional decomposition of a top level DesignFunction. The DesignFunction is representing the design function used to describe the functionalities provided by a vehicle on the DesignLevel. At the DesignLevel, DesignFunctions are defined and structured according to the functional and hardware system design.
- *
+ * The DesignFunctionType represents a node in a tree structure corresponding to the functional decomposition of a top level DesignFunction. The DesignFunction is representing the design function used to describe the functionalities provided by a vehicle on
+ * the DesignLevel. At the DesignLevel, DesignFunctions are defined and structured according to the functional and hardware system design.
+ *
* Constraints:
* [1] DesignFunctionTypes may only be used on DesignLevel.
- *
- *
- *
+ *
+ *
+ *
* Extension: UML Class, specialization of SysML::Block
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionType#getPart <em>Part</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionType#getPart <em>Part</em>}</li>
* </ul>
* </p>
*
@@ -62,10 +64,10 @@ public interface DesignFunctionType extends FunctionType {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Part</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Part</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>Part</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getDesignFunctionType_Part()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/EADirectionKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/EADirectionKind.java
index c429e8c2086..ba3601ab9c6 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/EADirectionKind.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/EADirectionKind.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,13 +28,14 @@ import org.eclipse.emf.common.util.Enumerator;
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* This element is an enumeration for the direction of a Port, which can either be "in", "out", or "inout".
- *
+ *
* Semantics:
* The EADirectionKind is an enumeration with the three literals "in", "out", and "inout".
- *
- * Extension:
+ *
+ * Extension:
* Enumeration, no extension.
* <!-- end-model-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getEADirectionKind()
* @model
* @generated
@@ -44,6 +45,7 @@ public enum EADirectionKind implements Enumerator {
* The '<em><b>In</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #IN_VALUE
* @generated
* @ordered
@@ -54,6 +56,7 @@ public enum EADirectionKind implements Enumerator {
* The '<em><b>Out</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #OUT_VALUE
* @generated
* @ordered
@@ -64,6 +67,7 @@ public enum EADirectionKind implements Enumerator {
* The '<em><b>Inout</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #INOUT_VALUE
* @generated
* @ordered
@@ -74,10 +78,10 @@ public enum EADirectionKind implements Enumerator {
* The '<em><b>In</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>In</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * 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
@@ -89,10 +93,10 @@ public enum EADirectionKind implements Enumerator {
* The '<em><b>Out</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Out</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * 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
@@ -104,10 +108,10 @@ public enum EADirectionKind implements Enumerator {
* The '<em><b>Inout</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>Inout</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * 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
@@ -119,19 +123,21 @@ public enum EADirectionKind implements Enumerator {
* An array of all the '<em><b>EA Direction Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final EADirectionKind[] VALUES_ARRAY =
- new EADirectionKind[] {
- IN,
- OUT,
- INOUT,
- };
+ new EADirectionKind[] {
+ IN,
+ OUT,
+ INOUT,
+ };
/**
* A public read-only list of all the '<em><b>EA Direction Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<EADirectionKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -140,13 +146,17 @@ public enum EADirectionKind implements Enumerator {
* Returns the '<em><b>EA Direction Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static EADirectionKind get(int value) {
switch (value) {
- case IN_VALUE: return IN;
- case OUT_VALUE: return OUT;
- case INOUT_VALUE: return INOUT;
+ case IN_VALUE:
+ return IN;
+ case OUT_VALUE:
+ return OUT;
+ case INOUT_VALUE:
+ return INOUT;
}
return null;
}
@@ -155,6 +165,7 @@ public enum EADirectionKind implements Enumerator {
* Returns the '<em><b>EA Direction Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static EADirectionKind get(String literal) {
@@ -171,6 +182,7 @@ public enum EADirectionKind implements Enumerator {
* Returns the '<em><b>EA Direction Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static EADirectionKind getByName(String name) {
@@ -186,6 +198,7 @@ public enum EADirectionKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -193,6 +206,7 @@ public enum EADirectionKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -200,6 +214,7 @@ public enum EADirectionKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -208,6 +223,7 @@ public enum EADirectionKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EADirectionKind(int value, String name, String literal) {
@@ -219,39 +235,46 @@ public enum EADirectionKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getLiteral() {
- return literal;
+ return literal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public int getValue() {
- return value;
+ return value;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
return literal;
}
-
-} //EADirectionKind
+
+} // EADirectionKind
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionAllocation.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionAllocation.java
index 1ccfdd637b3..5a5d59d301b 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionAllocation.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionAllocation.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,20 +28,20 @@ import org.eclipse.uml2.uml.Abstraction;
*
* <!-- begin-model-doc -->
* FunctionAllocation represents an allocation constraint binding an AllocateableElement on an AllocationTarget.
- *
+ *
* The same constraint could be expressed in a textual design constraint.
- *
+ *
* Semantics:
* AllocationTarget is specialized by HardwareComponentPrototype in the HardwareModeling package and AllocateableElement is specialized by the concrete elements DesignFunctionPrototype and FunctionConnector in the FunctionModeling package.
- *
+ *
* Notation:
* A FunctionAllocation is shown as a dependency (dashed line) with an "allocation" keyword attached to it.
- *
- *
+ *
+ *
* Extension: Class, specializesDesignConstraint
* target to AUTOSAR::ECUResourceTemplate::ECU
* allocatedAutosarComponent to AUTOSAR::Components::ClientPort
- *
+ *
* ToDo:
* Cf. AUTOSAR SWMapping::MappingConstraint
* <!-- end-model-doc -->
@@ -49,9 +49,9 @@ import org.eclipse.uml2.uml.Abstraction;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getTarget <em>Target</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getAllocatedElement <em>Allocated Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getBase_Abstraction <em>Base Abstraction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getAllocatedElement <em>Allocated Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getBase_Abstraction <em>Base Abstraction</em>}</li>
* </ul>
* </p>
*
@@ -64,10 +64,10 @@ public interface FunctionAllocation extends EAElement {
* Returns the value of the '<em><b>Allocated Element</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allocated Element</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Allocated 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>Allocated Element</em>' containment reference.
* @see #setAllocatedElement(AllocatedElementInstanceRef)
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionAllocation_AllocatedElement()
@@ -80,7 +80,9 @@ public interface FunctionAllocation extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getAllocatedElement <em>Allocated Element</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Allocated Element</em>' containment reference.
+ *
+ * @param value
+ * the new value of the '<em>Allocated Element</em>' containment reference.
* @see #getAllocatedElement()
* @generated
*/
@@ -90,10 +92,10 @@ public interface FunctionAllocation extends EAElement {
* Returns the value of the '<em><b>Base Abstraction</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Abstraction</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionAllocation_Base_Abstraction()
@@ -106,7 +108,9 @@ public interface FunctionAllocation extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Abstraction</em>' reference.
* @see #getBase_Abstraction()
* @generated
*/
@@ -116,6 +120,7 @@ public interface FunctionAllocation extends EAElement {
* Returns the value of the '<em><b>Target</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Target</em>' containment reference.
* @see #setTarget(TargetInstanceRef)
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionAllocation_Target()
@@ -128,7 +133,9 @@ public interface FunctionAllocation extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getTarget <em>Target</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Target</em>' containment reference.
+ *
+ * @param value
+ * the new value of the '<em>Target</em>' containment reference.
* @see #getTarget()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerInterface.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerInterface.java
index ca57cb25df7..c24169b8039 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerInterface.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerInterface.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,18 +27,18 @@ import org.eclipse.uml2.uml.Interface;
*
* <!-- begin-model-doc -->
* The FunctionClientServerInterface is used to specify the operations in FunctionClientServerPorts.
- *
+ *
* Semantics:
* The operations of the FunctionClientServerInterface are required or provided through the FunctionClientServerPorts typed by the FunctionClientServerInterface.
- *
+ *
* Extension: UML Interface
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface#getBase_Interface <em>Base Interface</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface#getOperation <em>Operation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface#getBase_Interface <em>Base Interface</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface#getOperation <em>Operation</em>}</li>
* </ul>
* </p>
*
@@ -51,10 +51,10 @@ public interface FunctionClientServerInterface extends TraceableSpecification {
* Returns the value of the '<em><b>Base Interface</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Interface</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionClientServerInterface_Base_Interface()
@@ -67,7 +67,9 @@ public interface FunctionClientServerInterface extends TraceableSpecification {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Interface</em>' reference.
* @see #getBase_Interface()
* @generated
*/
@@ -78,10 +80,10 @@ public interface FunctionClientServerInterface extends TraceableSpecification {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Operation</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Operation</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>Operation</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionClientServerInterface_Operation()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerPort.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerPort.java
index fa8f95c573e..090da6e0801 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerPort.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionClientServerPort.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,24 +22,25 @@ package org.eclipse.papyrus.eastadl.structure.functionmodeling;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The FunctionClientServerPort is a FunctionPort for client-server interaction. A number of FunctionClientServerPorts of clientServerType "client" can be connected to one FunctionClientServerPort of clientServerType "server", i.e. when connected the multiplicity for the connection is n to 1 for client and server.
- *
- * Semantics:
+ * The FunctionClientServerPort is a FunctionPort for client-server interaction. A number of FunctionClientServerPorts of clientServerType "client" can be connected to one FunctionClientServerPort of clientServerType "server", i.e. when connected the
+ * multiplicity for the connection is n to 1 for client and server.
+ *
+ * Semantics:
* The FunctionClientServerPort is a FunctionPort for client-server interaction.
- *
+ *
* FunctionClientServerPorts are single buffer overwrite and nonconsumable.
- *
+ *
* Constraints:
* [1] A FunctionClientServerPort of clientServerType "client" can only be connected to one FunctionClientServerPort of clientServerType "server".
- *
+ *
* Extension: UML Port
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort#getClientServerKind <em>Client Server Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort#getClientServerKind <em>Client Server Kind</em>}</li>
* </ul>
* </p>
*
@@ -54,9 +55,10 @@ public interface FunctionClientServerPort extends FunctionPort {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The interface of this port.
- *
+ *
* {derived from UML::TypedElement::type}
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Type</em>' reference.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionClientServerPort_Type()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -69,10 +71,10 @@ public interface FunctionClientServerPort extends FunctionPort {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.ClientServerKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Client Server Kind</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Client Server Kind</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Client Server Kind</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.ClientServerKind
* @see #setClientServerKind(ClientServerKind)
@@ -86,7 +88,9 @@ public interface FunctionClientServerPort extends FunctionPort {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort#getClientServerKind <em>Client Server Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Client Server Kind</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Client Server Kind</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.ClientServerKind
* @see #getClientServerKind()
* @generated
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java
index 10e790d4de5..f7cbbd89015 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,32 +28,34 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
*
* <!-- begin-model-doc -->
* The FunctionConnector indicates that the connected FunctionPorts exchange signals or client-server requests/responses.
- *
+ *
* Semantics:
- * The FunctionConnector connects a pair of FunctionFlowPorts or FunctionClientServerPorts. If two FunctionFlowPorts are connected, data elements of the type of the output FunctionFlowPort flow from the output FunctionFlowPort to the input FunctionFlowPort. If FunctionClientServerPorts are connected, the client calls the server according to the operations of the interfaces. The occurrence of the FunctionType that specifies the occurrence of the FunctionPrototype has to be identified by the FunctionConnector as well.
+ * The FunctionConnector connects a pair of FunctionFlowPorts or FunctionClientServerPorts. If two FunctionFlowPorts are connected, data elements of the type of the output FunctionFlowPort flow from the output FunctionFlowPort to the input FunctionFlowPort. If
+ * FunctionClientServerPorts are connected, the client calls the server according to the operations of the interfaces. The occurrence of the FunctionType that specifies the occurrence of the FunctionPrototype has to be identified by the FunctionConnector as
+ * well.
* The FunctionConnector is normally routed according to the hardware topology and the allocation of source and destination. If there are redundant paths, a FunctionAllocation may be used to prescribe allocation.
- *
- *
+ *
+ *
* Constraints:
* [1] Can connect two FunctionFlowPorts of different direction when this is an assembly FunctionConnector.
- *
+ *
* [2] Can connect two FunctionFlowPorts of the same direction when this is a delegation FunctionConnector.
- *
+ *
* [3] Can connect two ClientServerPorts of different kind when this is an assembly FunctionConnector.
- *
+ *
* [4] Can connect two ClientServerPorts of the same kind when this is a delegation FunctionConnector.
- *
+ *
* [5] Can connect two FunctionFlowPorts with direction inout.
- *
+ *
* Notation: FunctionConnector is shown as a solid line
- *
+ *
* Extension: UML Connector
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getPort <em>Port</em>}</li>
* </ul>
* </p>
*
@@ -67,6 +69,7 @@ public interface FunctionConnector extends EAElement, EAConnector, AllocateableE
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Port</em>' containment reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionConnector_Port()
* @model containment="true" lower="2" upper="2" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionFlowPort.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionFlowPort.java
index 3bd86e106ea..5a34035447f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionFlowPort.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionFlowPort.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,58 +27,60 @@ import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
*
* <!-- begin-model-doc -->
* The FunctionFlowPort is a metaclass for flowports, inspired by the SysML FlowPort.
- *
+ *
* Semantics:
* FunctionFlowPorts are single buffer overwrite and nonconsumable.
- *
+ *
* FunctionFlowPorts can be connected if their FunctionPort signatures match; i.e.:
- *
+ *
* EADatatypes that are ValueTypes are compatible if
- *
+ *
* * They have the same "dimension".
- *
+ *
* * They have the same "unit".
- *
+ *
* EADatatypes that are RangeableValueTypes are compatible if
- *
+ *
* * The source EADatatype has the same or better "accuracy".
- *
+ *
* * They have the same baseRangeable.
- *
+ *
* * The source EADatatype has the same or smaller "maxValue".
- *
+ *
* * The source EADatatype has the same or higher "minValue".
- *
+ *
* * The source EADatatype has the same or higher "resolution".
- *
+ *
* * They have the same "significantDigits".
- *
+ *
* EADatatypes that are EnumerationValueTypes are compatible if
- *
+ *
* * They have the same baseEnumeration.
- *
+ *
* FunctionFlowPort with direction=in, is called an input FunctionFlowPort:
- *
- * The input FunctionFlowPort indicates that the containing Function requires input data. The EADatatype of this data is defined by the associated EADatatype. The data is sampled at the invocation of the containing entity for discrete Functions. For continuous Functions, the input FunctionFlowPort represents a continuous input connection point.
- *
+ *
+ * The input FunctionFlowPort indicates that the containing Function requires input data. The EADatatype of this data is defined by the associated EADatatype. The data is sampled at the invocation of the containing entity for discrete Functions. For continuous
+ * Functions, the input FunctionFlowPort represents a continuous input connection point.
+ *
* The input FunctionFlowPort declares a reception point of data. It represents a single element buffer, which is overridden with the latest data. The type of the data is defined by the associated EADatatype.
- *
+ *
* FunctionFlowPort with direction=out, is called an output FunctionFlowPort:
- *
- * The output FunctionFlowPort indicates that the containing Function provides output data. The EADatatype of this data is defined by the associated EADatatype. The data is sent at the completion of the containing entity for discrete Functions. For continuous Functions, the output FunctionFlowPort represents a (time-)continuous output connection point.
- *
+ *
+ * The output FunctionFlowPort indicates that the containing Function provides output data. The EADatatype of this data is defined by the associated EADatatype. The data is sent at the completion of the containing entity for discrete Functions. For continuous
+ * Functions, the output FunctionFlowPort represents a (time-)continuous output connection point.
+ *
* The output FunctionFlowPort declares a transmission point of data. The type of the data is defined by the associated EADatatype.
- *
- *
+ *
+ *
* Extension: UML Port, specialization of SysML::FlowPort
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDefaultValue <em>Default Value</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDefaultValue <em>Default Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
*
@@ -91,6 +93,7 @@ public interface FunctionFlowPort extends FunctionPort {
* Returns the value of the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Type</em>' reference.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionFlowPort_Type()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -102,10 +105,10 @@ public interface FunctionFlowPort extends FunctionPort {
* Returns the value of the '<em><b>Default Value</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Default Value</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Default Value</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Default Value</em>' reference.
* @see #setDefaultValue(EAValue)
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionFlowPort_DefaultValue()
@@ -118,7 +121,9 @@ public interface FunctionFlowPort extends FunctionPort {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDefaultValue <em>Default Value</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Default Value</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Default Value</em>' reference.
* @see #getDefaultValue()
* @generated
*/
@@ -129,10 +134,10 @@ public interface FunctionFlowPort extends FunctionPort {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Direction</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.functionmodeling.EADirectionKind
* @see #setDirection(EADirectionKind)
@@ -146,7 +151,9 @@ public interface FunctionFlowPort extends FunctionPort {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDirection <em>Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Direction</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind
* @see #getDirection()
* @generated
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPort.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPort.java
index 24b72f03797..439cfab5f80 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPort.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPort.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPowerPort.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPowerPort.java
index 60827731236..52c661b573c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPowerPort.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPowerPort.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -25,27 +25,28 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.CompositeDatatype;
*
* <!-- begin-model-doc -->
* The FunctionPowerPort is a FunctionPort for denoting the physical interactions between environment and sensing/actuation functions.
- *
- * Semantics:
+ *
+ * Semantics:
* The FunctionPowerPort conserves physical variables in a dynamic process.
- *
- * The typing Datatype owns two datatypePrototypes called Across and Through, representing the exchanged physical variables of the FunctionPowerPort. In two or more directly connected function power ports, the Across variables always get the same value and the Through variables always sum up to zero.
- *
+ *
+ * The typing Datatype owns two datatypePrototypes called Across and Through, representing the exchanged physical variables of the FunctionPowerPort. In two or more directly connected function power ports, the Across variables always get the same value and the
+ * Through variables always sum up to zero.
+ *
* Constraints:
- * [1] The owner of a FunctionPowerPort is either a FunctionalDevice, a HardwareFunctionType, or a FunctionType for environment
- *
+ * [1] The owner of a FunctionPowerPort is either a FunctionalDevice, a HardwareFunctionType, or a FunctionType for environment
+ *
* [2] Two connected FunctionPowerPort must have the same Datatype.
- *
- * [3] The typing Datatype shall have two datatypePrototypes called Across and Through, with Datatypes that are consistent and representing the variables of the PowerPort.
- *
- *
+ *
+ * [3] The typing Datatype shall have two datatypePrototypes called Across and Through, with Datatypes that are consistent and representing the variables of the PowerPort.
+ *
+ *
* Extension: UML Port
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPowerPort#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPowerPort#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -58,10 +59,10 @@ public interface FunctionPowerPort extends FunctionPort {
* Returns the value of the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Type</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>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>Type</em>' reference.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionPowerPort_Type()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPrototype.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPrototype.java
index a546f7b9bab..2e69c149bd3 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPrototype.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionPrototype.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,23 +28,23 @@ import org.eclipse.uml2.uml.Image;
*
* <!-- begin-model-doc -->
* FunctionPrototype represents a reference to the occurrence of a FunctionType when it acts as a part.
- *
+ *
* The FunctionPrototype is typed by a FunctionType.
- *
+ *
* FunctionTrigger in the Behavior package is associated to a FunctionPrototype.
- *
- *
- *
+ *
+ *
+ *
* Semantics:
* The FunctionPrototype represents an occurrence of the FunctionType that types it.
- *
+ *
* Notation:
* Shall be shown in the same style as the class specified as type, however it shall be clear that this is a part.
- *
+ *
* Changes:
* Renamed from ADLFunctionPart
- *
- * Extension:
+ *
+ * Extension:
* To specialize SysML::BlockProperty, which extends Property
* <!-- end-model-doc -->
*
@@ -57,6 +57,7 @@ public interface FunctionPrototype extends EAElement, EAPrototype {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @model kind="operation" required="true" ordered="false"
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionType.java
index c057791cc12..5b9536123e4 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionType.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionType.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,11 +27,12 @@ import org.eclipse.uml2.uml.Image;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The abstract metaclass FunctionType abstracts the function component types that are used to model the functional structure, which is distinguished from the implementation of component types using AUTOSAR. The syntax of FunctionTypes is inspired from the concept of Block from SysML.
- *
+ * The abstract metaclass FunctionType abstracts the function component types that are used to model the functional structure, which is distinguished from the implementation of component types using AUTOSAR. The syntax of FunctionTypes is inspired from the
+ * concept of Block from SysML.
+ *
* FunctionBehavior and FunctionTrigger in the Behavior package are associated to a FunctionType.
- *
- *
+ *
+ *
* Semantics:
* The FunctionType abstracts the function component types that are used to model the functional structure on AnalysisLevel and DesignLevel.
* Leaf functions of an EAST-ADL2 function hierarchy are called elementary Functions.
@@ -41,38 +42,39 @@ import org.eclipse.uml2.uml.Image;
* 3. Write outputs
* Execution is defined by a behavior that acts as a transfer function.
* Subclasses of the abstract class FunctionType add their own semantics.
- *
+ *
* If a behavior is attached to the FunctionType, the execution semantic for a discrete elementary FunctionType complies with the run-to-completion semantic. This has the following implications:
- *
+ *
* 1. Input that arrives at the input FunctionPorts after execution begins will be ignored until the next execution cycle.
- *
+ *
* 2. If more than one input value arrives per FunctionPort before execution begins the last value will override all previous ones in the public part of the input FunctionPort (single element buffers for input).
- *
+ *
* 3. The local part of a FunctionPort does not change its value during execution of the behavior.
- *
- * 4. During an execution cycle only one output value can be sent per FunctionPort. If consecutive output values are produced on the same FunctionPort during a single execution cycle, the last value will override all previous ones on the output FunctionPort (single element buffers for output).
- *
+ *
+ * 4. During an execution cycle only one output value can be sent per FunctionPort. If consecutive output values are produced on the same FunctionPort during a single execution cycle, the last value will override all previous ones on the output FunctionPort
+ * (single element buffers for output).
+ *
* 5. Output will not be available at an output FunctionPort before execution ends.
- *
+ *
* 6. Elementary FunctionTypes may not produce any side effects (i.e., all data passes the FunctionPorts).
- *
- *
+ *
+ *
* Constraints:
* [1] Elementary FunctionTypes shall not have parts.
- *
+ *
* Notation:
* The FunctionType is shown as a solid-outline rectangle containing the name, with its FunctionPorts or PortGroups on the perimeter. Contained entities may be shown with its FunctionConnectors (White-box view)
- *
+ *
* Extension: UML Class, specialization of SysML::Block
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#isIsElementary <em>Is Elementary</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getPort <em>Port</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getPortGroup <em>Port Group</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getConnector <em>Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#isIsElementary <em>Is Elementary</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getPortGroup <em>Port Group</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getConnector <em>Connector</em>}</li>
* </ul>
* </p>
*
@@ -86,10 +88,10 @@ public interface FunctionType extends Context, EAType {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Connector</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Connector</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>Connector</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionType_Connector()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -100,6 +102,7 @@ public interface FunctionType extends Context, EAType {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @model kind="operation" required="true" ordered="false"
* @generated
*/
@@ -114,6 +117,7 @@ public interface FunctionType extends Context, EAType {
* Owned in- and out-flow ports.
* {derived from UML::EncapsulatedClassifier::ownedPort}
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Port</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionType_Port()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -130,6 +134,7 @@ public interface FunctionType extends Context, EAType {
* Grouping of ports owned by this element.
* {derived from UML::Class::nestedClassifier}
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Port Group</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionType_PortGroup()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -142,10 +147,10 @@ public interface FunctionType extends Context, EAType {
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Is Elementary</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Is Elementary</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 Elementary</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionType_IsElementary()
* @model default="false" dataType="org.eclipse.uml2.types.Boolean" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionalDevice.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionalDevice.java
index e63bc7f1e1a..52e7c34a1a3 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionalDevice.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionalDevice.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -20,18 +20,20 @@ package org.eclipse.papyrus.eastadl.structure.functionmodeling;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The FunctionalDevice represents an abstract sensor or actuator that encapsulates sensor/actuator dynamics and the interfacing software. The FunctionalDevice is the interface between the electronic architecture and the environment (connected by ClampConnectors). As such, it is a transfer function between the AnalysisFunction and the physical entity that it measures or actuates.
+ * The FunctionalDevice represents an abstract sensor or actuator that encapsulates sensor/actuator dynamics and the interfacing software. The FunctionalDevice is the interface between the electronic architecture and the environment (connected by
+ * ClampConnectors). As such, it is a transfer function between the AnalysisFunction and the physical entity that it measures or actuates.
* A Realization dependency can be used for traceability between LocalDeviceManagers and Sensors/Actuators that are represented by the FunctionalDevice.
- *
+ *
* Semantics:
- * The behavior associated with the FunctionalDevice is the transfer function between the environment model representing the environment and an AnalysisFunction. The transfer function represents the sensor or actuator and its interfacing hardware and software (connectors, electronics, in/out interface, driver software, and application software).
- *
+ * The behavior associated with the FunctionalDevice is the transfer function between the environment model representing the environment and an AnalysisFunction. The transfer function represents the sensor or actuator and its interfacing hardware and software
+ * (connectors, electronics, in/out interface, driver software, and application software).
+ *
* Constraints:
* No additional constraints.
- *
+ *
* Changes:
* Now specializes AnalysisFunctionType.
- *
+ *
* Extension: Class, specialization of SysML::Block
* <!-- end-model-doc -->
*
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingFactory.java
index 61d0d4adb2b..9dbe196de47 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -20,6 +20,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.eastadl.structure.functionmodeling.FunctionmodelingPackage
* @generated
*/
@@ -28,6 +29,7 @@ public interface FunctionmodelingFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
FunctionmodelingFactory eINSTANCE = org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingFactoryImpl.init();
@@ -36,6 +38,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Allocation</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Allocation</em>'.
* @generated
*/
@@ -45,6 +48,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Analysis Function Prototype</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Analysis Function Prototype</em>'.
* @generated
*/
@@ -54,6 +58,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Analysis Function Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Analysis Function Type</em>'.
* @generated
*/
@@ -63,6 +68,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Basic Software Function Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Basic Software Function Type</em>'.
* @generated
*/
@@ -72,6 +78,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Design Function Prototype</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Design Function Prototype</em>'.
* @generated
*/
@@ -81,6 +88,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Design Function Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Design Function Type</em>'.
* @generated
*/
@@ -90,6 +98,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Functional Device</em>'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @return a new object of class '<em>Functional Device</em>'.
* @generated
*/
@@ -99,6 +108,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Function Allocation</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Function Allocation</em>'.
* @generated
*/
@@ -108,6 +118,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Function Client Server Interface</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Function Client Server Interface</em>'.
* @generated
*/
@@ -117,6 +128,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Function Client Server Port</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Function Client Server Port</em>'.
* @generated
*/
@@ -126,6 +138,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Function Connector</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Function Connector</em>'.
* @generated
*/
@@ -135,6 +148,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Function Flow Port</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Function Flow Port</em>'.
* @generated
*/
@@ -144,6 +158,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Function Power Port</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Function Power Port</em>'.
* @generated
*/
@@ -153,6 +168,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Hardware Function Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Hardware Function Type</em>'.
* @generated
*/
@@ -162,6 +178,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Local Device Manager</em>'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @return a new object of class '<em>Local Device Manager</em>'.
* @generated
*/
@@ -171,6 +188,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Operation</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Operation</em>'.
* @generated
*/
@@ -180,6 +198,7 @@ public interface FunctionmodelingFactory extends EFactory {
* Returns a new object of class '<em>Port Group</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Port Group</em>'.
* @generated
*/
@@ -188,6 +207,7 @@ public interface FunctionmodelingFactory 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/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingPackage.java
index 0585df8b208..762178d5645 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingPackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionmodelingPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -41,12 +41,12 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
* domain metamodel package is to specify rigorously ("formally") the FunctionModeling concepts for
* the specific domain. This section contains a specification for each individual metaclass in the
* FunctionModeling package.
- *
+ *
* Overview: Essentially the modeling is done via a set of interconnected functions which may be
* composed hierarchically. Thus the core elements are ADLFunctionType and ADLFunctionPrototype. The
* latter represents the local use of an instance of the former. Functions are connected through
* ADLConnectorPrototypes and ADLPorts. <!-- end-model-doc -->
- *
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingFactory
* @model kind="package"
* @generated
@@ -62,6 +62,7 @@ public interface FunctionmodelingPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -70,6 +71,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl <em>Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionType()
* @generated
@@ -80,6 +82,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Is Elementary</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute FUNCTION_TYPE__IS_ELEMENTARY = eINSTANCE.getFunctionType_IsElementary();
@@ -88,6 +91,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Port</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_TYPE__PORT = eINSTANCE.getFunctionType_Port();
@@ -96,6 +100,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Port Group</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_TYPE__PORT_GROUP = eINSTANCE.getFunctionType_PortGroup();
@@ -104,6 +109,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Connector</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_TYPE__CONNECTOR = eINSTANCE.getFunctionType_Connector();
@@ -112,6 +118,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Get Icon</b></em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EOperation FUNCTION_TYPE___GET_ICON = eINSTANCE.getFunctionType__GetIcon();
@@ -120,6 +127,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPortImpl <em>Function Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPortImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionPort()
* @generated
@@ -130,6 +138,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionConnectorImpl <em>Function Connector</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionConnectorImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionConnector()
* @generated
@@ -140,6 +149,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Port</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_CONNECTOR__PORT = eINSTANCE.getFunctionConnector_Port();
@@ -148,6 +158,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionPrototypeImpl <em>Analysis Function Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionPrototypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getAnalysisFunctionPrototype()
* @generated
@@ -158,6 +169,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ANALYSIS_FUNCTION_PROTOTYPE__TYPE = eINSTANCE.getAnalysisFunctionPrototype_Type();
@@ -166,6 +178,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl <em>Function Flow Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionFlowPort()
* @generated
@@ -176,6 +189,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_FLOW_PORT__TYPE = eINSTANCE.getFunctionFlowPort_Type();
@@ -184,6 +198,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Default Value</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_FLOW_PORT__DEFAULT_VALUE = eINSTANCE.getFunctionFlowPort_DefaultValue();
@@ -192,6 +207,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute FUNCTION_FLOW_PORT__DIRECTION = eINSTANCE.getFunctionFlowPort_Direction();
@@ -200,6 +216,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerPortImpl <em>Function Client Server Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerPortImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionClientServerPort()
* @generated
@@ -210,6 +227,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_CLIENT_SERVER_PORT__TYPE = eINSTANCE.getFunctionClientServerPort_Type();
@@ -218,6 +236,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Client Server Kind</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND = eINSTANCE.getFunctionClientServerPort_ClientServerKind();
@@ -226,6 +245,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerInterfaceImpl <em>Function Client Server Interface</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerInterfaceImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionClientServerInterface()
* @generated
@@ -236,6 +256,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Interface</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE = eINSTANCE.getFunctionClientServerInterface_Base_Interface();
@@ -244,6 +265,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Operation</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_CLIENT_SERVER_INTERFACE__OPERATION = eINSTANCE.getFunctionClientServerInterface_Operation();
@@ -252,6 +274,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl <em>Operation</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getOperation()
* @generated
@@ -262,6 +285,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Operation</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference OPERATION__BASE_OPERATION = eINSTANCE.getOperation_Base_Operation();
@@ -270,6 +294,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Argument</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference OPERATION__ARGUMENT = eINSTANCE.getOperation_Argument();
@@ -278,6 +303,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Return</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference OPERATION__RETURN = eINSTANCE.getOperation_Return();
@@ -286,6 +312,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl <em>Port Group</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getPortGroup()
* @generated
@@ -296,6 +323,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Port</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PORT_GROUP__PORT = eINSTANCE.getPortGroup_Port();
@@ -304,6 +332,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PORT_GROUP__BASE_CLASS = eINSTANCE.getPortGroup_Base_Class();
@@ -312,6 +341,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Port</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PORT_GROUP__BASE_PORT = eINSTANCE.getPortGroup_Base_Port();
@@ -320,6 +350,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Port Group</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PORT_GROUP__PORT_GROUP = eINSTANCE.getPortGroup_PortGroup();
@@ -328,6 +359,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.BasicSoftwareFunctionTypeImpl <em>Basic Software Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.BasicSoftwareFunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getBasicSoftwareFunctionType()
* @generated
@@ -338,6 +370,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.HardwareFunctionTypeImpl <em>Hardware Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.HardwareFunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getHardwareFunctionType()
* @generated
@@ -348,6 +381,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Hardware Component</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT = eINSTANCE.getHardwareFunctionType_HardwareComponent();
@@ -356,6 +390,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl <em>Function Allocation</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionAllocation()
* @generated
@@ -366,6 +401,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Target</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_ALLOCATION__TARGET = eINSTANCE.getFunctionAllocation_Target();
@@ -374,6 +410,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Allocated Element</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_ALLOCATION__ALLOCATED_ELEMENT = eINSTANCE.getFunctionAllocation_AllocatedElement();
@@ -382,6 +419,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Abstraction</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_ALLOCATION__BASE_ABSTRACTION = eINSTANCE.getFunctionAllocation_Base_Abstraction();
@@ -390,6 +428,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocationImpl <em>Allocation</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocationImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getAllocation()
* @generated
@@ -400,6 +439,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALLOCATION__BASE_CLASS = eINSTANCE.getAllocation_Base_Class();
@@ -408,6 +448,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Function Allocation</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALLOCATION__FUNCTION_ALLOCATION = eINSTANCE.getAllocation_FunctionAllocation();
@@ -416,6 +457,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPowerPortImpl <em>Function Power Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPowerPortImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionPowerPort()
* @generated
@@ -426,6 +468,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FUNCTION_POWER_PORT__TYPE = eINSTANCE.getFunctionPowerPort_Type();
@@ -434,6 +477,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind <em>EA Direction Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getEADirectionKind()
* @generated
@@ -444,6 +488,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.ClientServerKind <em>Client Server Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.ClientServerKind
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getClientServerKind()
* @generated
@@ -454,6 +499,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPrototypeImpl <em>Function Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPrototypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionPrototype()
* @generated
@@ -464,6 +510,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Get Icon</b></em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EOperation FUNCTION_PROTOTYPE___GET_ICON = eINSTANCE.getFunctionPrototype__GetIcon();
@@ -472,6 +519,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocateableElementImpl <em>Allocateable Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocateableElementImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getAllocateableElement()
* @generated
@@ -481,6 +529,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.LocalDeviceManagerImpl <em>Local Device Manager</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.LocalDeviceManagerImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getLocalDeviceManager()
* @generated
@@ -491,6 +540,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionTypeImpl <em>Design Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getDesignFunctionType()
* @generated
@@ -501,6 +551,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Part</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DESIGN_FUNCTION_TYPE__PART = eINSTANCE.getDesignFunctionType_Part();
@@ -509,6 +560,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionPrototypeImpl <em>Design Function Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionPrototypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getDesignFunctionPrototype()
* @generated
@@ -519,6 +571,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DESIGN_FUNCTION_PROTOTYPE__TYPE = eINSTANCE.getDesignFunctionPrototype_Type();
@@ -526,6 +579,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionalDeviceImpl <em>Functional Device</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionalDeviceImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionalDevice()
* @generated
@@ -536,6 +590,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionTypeImpl <em>Analysis Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getAnalysisFunctionType()
* @generated
@@ -546,6 +601,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Part</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ANALYSIS_FUNCTION_TYPE__PART = eINSTANCE.getAnalysisFunctionType_Part();
@@ -555,6 +611,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "functionmodeling";
@@ -562,6 +619,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Structure/FunctionModeling/1";
@@ -569,6 +627,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "FunctionModeling";
@@ -576,6 +635,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The singleton instance of the package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
FunctionmodelingPackage eINSTANCE = org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl.init();
@@ -584,6 +644,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionTypeImpl <em>Design Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getDesignFunctionType()
* @generated
@@ -594,6 +655,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl <em>Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionType()
* @generated
@@ -604,6 +666,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -613,6 +676,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -622,6 +686,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -631,6 +696,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -640,6 +706,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -649,6 +716,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -658,6 +726,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionConnectorImpl <em>Function Connector</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionConnectorImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionConnector()
* @generated
@@ -668,6 +737,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl <em>Function Flow Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionFlowPort()
* @generated
@@ -678,6 +748,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerPortImpl <em>Function Client Server Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerPortImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionClientServerPort()
* @generated
@@ -688,6 +759,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerInterfaceImpl <em>Function Client Server Interface</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerInterfaceImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionClientServerInterface()
* @generated
@@ -698,6 +770,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl <em>Port Group</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getPortGroup()
* @generated
@@ -707,6 +780,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.LocalDeviceManagerImpl <em>Local Device Manager</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.LocalDeviceManagerImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getLocalDeviceManager()
* @generated
@@ -716,6 +790,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionalDeviceImpl <em>Functional Device</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionalDeviceImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionalDevice()
* @generated
@@ -726,6 +801,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionTypeImpl <em>Analysis Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getAnalysisFunctionType()
* @generated
@@ -736,6 +812,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionPrototypeImpl <em>Analysis Function Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionPrototypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getAnalysisFunctionPrototype()
* @generated
@@ -746,6 +823,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPrototypeImpl <em>Function Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPrototypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionPrototype()
* @generated
@@ -756,6 +834,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl <em>Operation</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getOperation()
* @generated
@@ -766,6 +845,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionPrototypeImpl <em>Design Function Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionPrototypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getDesignFunctionPrototype()
* @generated
@@ -776,6 +856,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocateableElementImpl <em>Allocateable Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocateableElementImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getAllocateableElement()
* @generated
@@ -786,6 +867,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -795,6 +877,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Elementary</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -804,6 +887,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -813,6 +897,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Group</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -822,6 +907,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -831,6 +917,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -840,6 +927,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -849,6 +937,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -858,6 +947,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -867,6 +957,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -876,6 +967,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -885,6 +977,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -894,6 +987,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -903,6 +997,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -912,6 +1007,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -921,6 +1017,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Elementary</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -930,6 +1027,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -939,6 +1037,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Group</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -948,6 +1047,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -957,6 +1057,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -966,6 +1067,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Design Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -975,6 +1077,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -984,6 +1087,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Design Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -993,6 +1097,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1002,6 +1107,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1011,6 +1117,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1020,6 +1127,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1029,6 +1137,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1038,6 +1147,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1047,6 +1157,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1056,6 +1167,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Elementary</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1065,6 +1177,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1074,6 +1187,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Group</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1083,6 +1197,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1092,6 +1207,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1100,7 +1216,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The number of structural features of the '<em>Local Device Manager</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1110,6 +1226,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1119,6 +1236,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Local Device Manager</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1128,6 +1246,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPortImpl <em>Function Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPortImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionPort()
* @generated
@@ -1138,6 +1257,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1147,6 +1267,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1156,6 +1277,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1165,6 +1287,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1174,6 +1297,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Function Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1183,6 +1307,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Function Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1192,6 +1317,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1201,6 +1327,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1210,6 +1337,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1219,6 +1347,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1228,6 +1357,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1237,6 +1367,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1246,6 +1377,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Group</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1255,6 +1387,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Port Group</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1264,6 +1397,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Port Group</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1273,6 +1407,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1282,6 +1417,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1291,6 +1427,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1300,6 +1437,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Connector</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1309,6 +1447,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1318,6 +1457,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Function Connector</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1327,6 +1467,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Function Connector</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1336,6 +1477,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Allocateable Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1345,6 +1487,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Allocateable Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1354,6 +1497,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1363,6 +1507,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1372,6 +1517,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1381,6 +1527,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1390,6 +1537,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Function Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1399,6 +1547,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1408,6 +1557,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Function Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1417,6 +1567,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1426,6 +1577,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1435,6 +1587,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1444,6 +1597,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1453,6 +1607,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1462,6 +1617,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Design Function Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1471,6 +1627,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1480,6 +1637,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Design Function Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1489,6 +1647,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1498,6 +1657,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1507,6 +1667,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1516,6 +1677,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1525,6 +1687,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1534,6 +1697,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1543,6 +1707,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1552,6 +1717,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Elementary</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1561,6 +1727,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1570,6 +1737,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Group</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1579,6 +1747,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1588,6 +1757,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1597,6 +1767,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Analysis Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1606,6 +1777,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1615,6 +1787,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Analysis Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1624,6 +1797,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1633,6 +1807,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1642,6 +1817,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1651,6 +1827,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1660,6 +1837,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1669,6 +1847,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1678,6 +1857,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1687,6 +1867,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Elementary</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1696,6 +1877,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1705,6 +1887,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Group</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1714,6 +1897,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1723,6 +1907,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1731,7 +1916,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* The number of structural features of the '<em>Functional Device</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1741,6 +1926,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1750,6 +1936,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Functional Device</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1759,6 +1946,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1768,6 +1956,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1777,6 +1966,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1786,6 +1976,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1795,6 +1986,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1804,6 +1996,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Analysis Function Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1813,6 +2006,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1822,6 +2016,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Analysis Function Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1831,6 +2026,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1840,6 +2036,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1849,6 +2046,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1858,6 +2056,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1867,6 +2066,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1876,6 +2076,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Default Value</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1885,6 +2086,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Direction</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1894,6 +2096,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Function Flow Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1903,6 +2106,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Function Flow Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1912,6 +2116,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1921,6 +2126,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1930,6 +2136,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1939,6 +2146,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1948,6 +2156,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1957,6 +2166,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Client Server Kind</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1966,6 +2176,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Function Client Server Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1975,6 +2186,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Function Client Server Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1984,6 +2196,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1993,6 +2206,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2002,6 +2216,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2011,6 +2226,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2020,6 +2236,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Note</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2029,6 +2246,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Interface</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2038,6 +2256,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Operation</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2047,6 +2266,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Function Client Server Interface</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2056,6 +2276,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Function Client Server Interface</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2065,6 +2286,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.BasicSoftwareFunctionTypeImpl <em>Basic Software Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.BasicSoftwareFunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getBasicSoftwareFunctionType()
* @generated
@@ -2075,6 +2297,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.HardwareFunctionTypeImpl <em>Hardware Function Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.HardwareFunctionTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getHardwareFunctionType()
* @generated
@@ -2085,6 +2308,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl <em>Function Allocation</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionAllocation()
* @generated
@@ -2095,6 +2319,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocationImpl <em>Allocation</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocationImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getAllocation()
* @generated
@@ -2105,6 +2330,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPowerPortImpl <em>Function Power Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPowerPortImpl
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getFunctionPowerPort()
* @generated
@@ -2115,6 +2341,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2124,6 +2351,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2133,6 +2361,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2142,6 +2371,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Operation</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2151,6 +2381,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Argument</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2160,6 +2391,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Return</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2169,6 +2401,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Operation</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2178,6 +2411,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Operation</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2187,6 +2421,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2196,6 +2431,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2205,6 +2441,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2214,6 +2451,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2223,6 +2461,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2232,6 +2471,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2241,6 +2481,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2250,6 +2491,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Elementary</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2259,6 +2501,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2268,6 +2511,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Group</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2277,6 +2521,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2286,6 +2531,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2295,6 +2541,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Basic Software Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2304,6 +2551,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2313,6 +2561,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Basic Software Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2322,6 +2571,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2331,6 +2581,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2340,6 +2591,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2349,6 +2601,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2358,6 +2611,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2367,6 +2621,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2376,6 +2631,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2385,6 +2641,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Elementary</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2394,6 +2651,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2403,6 +2661,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Group</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2412,6 +2671,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2421,6 +2681,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2430,6 +2691,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Hardware Component</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2439,6 +2701,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Hardware Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2448,6 +2711,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2457,6 +2721,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Hardware Function Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2466,6 +2731,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2475,6 +2741,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2484,6 +2751,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2493,6 +2761,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Target</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2502,6 +2771,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Allocated Element</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2511,6 +2781,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Abstraction</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2520,6 +2791,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Function Allocation</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2529,6 +2801,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Function Allocation</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2538,6 +2811,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2547,6 +2821,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2556,6 +2831,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2565,6 +2841,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2574,6 +2851,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Function Allocation</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2583,6 +2861,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Allocation</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2592,6 +2871,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Allocation</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2601,6 +2881,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2610,6 +2891,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2619,6 +2901,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2628,6 +2911,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2637,6 +2921,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2646,6 +2931,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of structural features of the '<em>Function Power Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2655,6 +2941,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The number of operations of the '<em>Function Power Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -2664,6 +2951,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind <em>EA Direction Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getEADirectionKind()
* @generated
@@ -2674,6 +2962,7 @@ public interface FunctionmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.ClientServerKind <em>Client Server Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.ClientServerKind
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl#getClientServerKind()
* @generated
@@ -2684,6 +2973,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AllocateableElement <em>Allocateable Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Allocateable Element</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.AllocateableElement
* @generated
@@ -2694,6 +2984,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation <em>Allocation</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Allocation</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation
* @generated
@@ -2704,6 +2995,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation#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.eastadl.structure.functionmodeling.Allocation#getBase_Class()
* @see #getAllocation()
@@ -2715,6 +3007,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation#getFunctionAllocation <em>Function Allocation</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Function Allocation</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation#getFunctionAllocation()
* @see #getAllocation()
@@ -2726,6 +3019,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype <em>Analysis Function Prototype</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Analysis Function Prototype</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype
* @generated
@@ -2736,6 +3030,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype#getType()
* @see #getAnalysisFunctionPrototype()
@@ -2747,6 +3042,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionType <em>Analysis Function Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Analysis Function Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionType
* @generated
@@ -2757,6 +3053,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionType#getPart <em>Part</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Part</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionType#getPart()
* @see #getAnalysisFunctionType()
@@ -2768,6 +3065,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.BasicSoftwareFunctionType <em>Basic Software Function Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Basic Software Function Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.BasicSoftwareFunctionType
* @generated
@@ -2778,6 +3076,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for enum '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.ClientServerKind <em>Client Server Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for enum '<em>Client Server Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.ClientServerKind
* @generated
@@ -2788,6 +3087,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for enum '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind <em>EA Direction Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for enum '<em>EA Direction Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind
* @generated
@@ -2798,6 +3098,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype <em>Design Function Prototype</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Design Function Prototype</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype
* @generated
@@ -2808,6 +3109,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype#getType()
* @see #getDesignFunctionPrototype()
@@ -2819,6 +3121,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionType <em>Design Function Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Design Function Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionType
* @generated
@@ -2829,6 +3132,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionType#getPart <em>Part</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Part</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionType#getPart()
* @see #getDesignFunctionType()
@@ -2839,6 +3143,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionalDevice <em>Functional Device</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Functional Device</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionalDevice
* @generated
@@ -2849,6 +3154,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation <em>Function Allocation</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Function Allocation</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation
* @generated
@@ -2859,6 +3165,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getAllocatedElement <em>Allocated Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference '<em>Allocated Element</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getAllocatedElement()
* @see #getFunctionAllocation()
@@ -2870,6 +3177,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#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.eastadl.structure.functionmodeling.FunctionAllocation#getBase_Abstraction()
* @see #getFunctionAllocation()
@@ -2881,6 +3189,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getTarget <em>Target</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference '<em>Target</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation#getTarget()
* @see #getFunctionAllocation()
@@ -2892,6 +3201,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface <em>Function Client Server Interface</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Function Client Server Interface</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface
* @generated
@@ -2902,6 +3212,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface#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.eastadl.structure.functionmodeling.FunctionClientServerInterface#getBase_Interface()
* @see #getFunctionClientServerInterface()
@@ -2913,6 +3224,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface#getOperation <em>Operation</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Operation</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface#getOperation()
* @see #getFunctionClientServerInterface()
@@ -2924,6 +3236,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort <em>Function Client Server Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Function Client Server Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort
* @generated
@@ -2934,6 +3247,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort#getType()
* @see #getFunctionClientServerPort()
@@ -2945,6 +3259,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort#getClientServerKind <em>Client Server Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Client Server Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort#getClientServerKind()
* @see #getFunctionClientServerPort()
@@ -2956,6 +3271,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector <em>Function Connector</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Function Connector</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector
* @generated
@@ -2966,6 +3282,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getPort <em>Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getPort()
* @see #getFunctionConnector()
@@ -2977,6 +3294,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort <em>Function Flow Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Function Flow Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort
* @generated
@@ -2987,6 +3305,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getType()
* @see #getFunctionFlowPort()
@@ -2998,6 +3317,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDefaultValue <em>Default Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Default Value</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDefaultValue()
* @see #getFunctionFlowPort()
@@ -3009,6 +3329,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDirection <em>Direction</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Direction</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort#getDirection()
* @see #getFunctionFlowPort()
@@ -3020,6 +3341,7 @@ public interface FunctionmodelingPackage 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
*/
@@ -3029,6 +3351,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort <em>Function Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Function Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort
* @generated
@@ -3039,6 +3362,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPowerPort <em>Function Power Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Function Power Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPowerPort
* @generated
@@ -3049,6 +3373,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPowerPort#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPowerPort#getType()
* @see #getFunctionPowerPort()
@@ -3060,6 +3385,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype <em>Function Prototype</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Function Prototype</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype
* @generated
@@ -3070,6 +3396,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype#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.eastadl.structure.functionmodeling.FunctionPrototype#getIcon()
* @generated
@@ -3080,6 +3407,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType <em>Function Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Function Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType
* @generated
@@ -3090,6 +3418,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getConnector <em>Connector</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Connector</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getConnector()
* @see #getFunctionType()
@@ -3101,6 +3430,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#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.eastadl.structure.functionmodeling.FunctionType#getIcon()
* @generated
@@ -3111,6 +3441,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#isIsElementary <em>Is Elementary</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Is Elementary</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#isIsElementary()
* @see #getFunctionType()
@@ -3122,6 +3453,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getPort <em>Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getPort()
* @see #getFunctionType()
@@ -3133,6 +3465,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getPortGroup <em>Port Group</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Port Group</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType#getPortGroup()
* @see #getFunctionType()
@@ -3144,6 +3477,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType <em>Hardware Function Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Hardware Function Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType
* @generated
@@ -3154,6 +3488,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType#getHardwareComponent <em>Hardware Component</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Hardware Component</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType#getHardwareComponent()
* @see #getHardwareFunctionType()
@@ -3164,6 +3499,7 @@ public interface FunctionmodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.LocalDeviceManager <em>Local Device Manager</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Local Device Manager</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.LocalDeviceManager
* @generated
@@ -3174,6 +3510,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation <em>Operation</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Operation</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation
* @generated
@@ -3184,6 +3521,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#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.eastadl.structure.functionmodeling.Operation#getBase_Operation()
* @see #getOperation()
@@ -3195,6 +3533,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getArgument <em>Argument</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Argument</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getArgument()
* @see #getOperation()
@@ -3206,6 +3545,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getReturn <em>Return</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Return</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getReturn()
* @see #getOperation()
@@ -3217,6 +3557,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup <em>Port Group</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Port Group</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup
* @generated
@@ -3227,6 +3568,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getPort <em>Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getPort()
* @see #getPortGroup()
@@ -3238,6 +3580,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#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.eastadl.structure.functionmodeling.PortGroup#getBase_Class()
* @see #getPortGroup()
@@ -3249,6 +3592,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#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.eastadl.structure.functionmodeling.PortGroup#getBase_Port()
* @see #getPortGroup()
@@ -3260,6 +3604,7 @@ public interface FunctionmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getPortGroup <em>Port Group</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Port Group</em>'.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getPortGroup()
* @see #getPortGroup()
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/HardwareFunctionType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/HardwareFunctionType.java
index 15dc0a16f51..2fc793f320d 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/HardwareFunctionType.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/HardwareFunctionType.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,29 +23,30 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentT
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The HardwareFunctionType is the transfer function for the identified HardwareComponentType or a specification of an intended transfer function. HardwareFunctionType types DesignFunctionPrototypes in the FunctionalDesignArchitecture. The DesignFunctionPrototype is typically the end of the ClampConnector on DesignLevel.
- *
+ * The HardwareFunctionType is the transfer function for the identified HardwareComponentType or a specification of an intended transfer function. HardwareFunctionType types DesignFunctionPrototypes in the FunctionalDesignArchitecture. The
+ * DesignFunctionPrototype is typically the end of the ClampConnector on DesignLevel.
+ *
* Prototypes typed by HardwareComponentType may be allocated to HardwareComponents in which case the HardwareFunctionType must match the HardwareFunctionType of the target HardwareComponent.
- *
+ *
* DesignFunctionPrototypes typed by HardwareFunctionType may be allocated to HardwareComponents in which case the HardwareFunctionType must match the HardwareFunctionType of the target HardwareComponent.
- *
+ *
* Constraints:
* [1] A DesignFunctionPrototype typed by a HardwareFunctionType shall be connected to the EnvironmentModel via ClampConnectors and to BSWFunctions via FunctionConnectors.
- *
- * Semantics:
- * The HardwareFunctionHardwareFunctionType is the transfer function for hardware components such as sensors, actuators, amplifiers, etc or a specification of an intended transfer function.
- *
+ *
+ * Semantics:
+ * The HardwareFunctionHardwareFunctionType is the transfer function for hardware components such as sensors, actuators, amplifiers, etc or a specification of an intended transfer function.
+ *
* HardwareFunctions can be allocated to Sensors or Actuators, i.e. the interfacing element to the plant model.
- *
- *
- * Extension:
+ *
+ *
+ * Extension:
* UML Class, specialization of SysML::Block
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType#getHardwareComponent <em>Hardware Component</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType#getHardwareComponent <em>Hardware Component</em>}</li>
* </ul>
* </p>
*
@@ -58,10 +59,10 @@ public interface HardwareFunctionType extends DesignFunctionType {
* Returns the value of the '<em><b>Hardware Component</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Hardware Component</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Hardware Component</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Hardware Component</em>' reference.
* @see #setHardwareComponent(HardwareComponentType)
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getHardwareFunctionType_HardwareComponent()
@@ -74,7 +75,9 @@ public interface HardwareFunctionType extends DesignFunctionType {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType#getHardwareComponent <em>Hardware Component</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Hardware Component</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Hardware Component</em>' reference.
* @see #getHardwareComponent()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/LocalDeviceManager.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/LocalDeviceManager.java
index 0510e8881d2..4fa1a0b81b5 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/LocalDeviceManager.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/LocalDeviceManager.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -16,25 +16,27 @@
package org.eclipse.papyrus.eastadl.structure.functionmodeling;
/**
- * <!-- begin-user-doc --> A representation of the model object '
- * <em><b>Local Device Manager</b></em>'. <!-- end-user-doc -->
+ * <!-- begin-user-doc --> A representation of the model object ' <em><b>Local Device Manager</b></em>'. <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The LocalDeviceManager represents a DesignFunction that act as a manager or functional interface to Sensors, Actuators and other devices. It is responsible fort translating between the electrical/logical interface of the device, as provided by a BasicSoftwareFunction, and the physical interface of the device. For example, consider a temperature sensor with voltage output. The HardwareFunctionType defines the transfer from temperature to voltage. A BasicSoftwareFunction relays the voltage from the microcontroller’s I/O. The role of the LocalDeviceManager is now to translate from voltage to temperature value, taking into account the sensor’s characteristics such as nonlinearities, calibration, etc. The resulting temperature is available to the other DesignFunctions. By separating the device specific part from the middleware and ECU specific parts, it is possible to systematically change interface function together with the device.
- *
- *
+ * The LocalDeviceManager represents a DesignFunction that act as a manager or functional interface to Sensors, Actuators and other devices. It is responsible fort translating between the electrical/logical interface of the device, as provided by a
+ * BasicSoftwareFunction, and the physical interface of the device. For example, consider a temperature sensor with voltage output. The HardwareFunctionType defines the transfer from temperature to voltage. A BasicSoftwareFunction relays the voltage from the
+ * microcontroller’s I/O. The role of the LocalDeviceManager is now to translate from voltage to temperature value, taking into account the sensor’s characteristics such as nonlinearities, calibration, etc. The resulting temperature is available to the
+ * other DesignFunctions. By separating the device specific part from the middleware and ECU specific parts, it is possible to systematically change interface function together with the device.
+ *
+ *
* Semantics:
* The LocalDeviceManager encapsulates the device-specific or functional parts of a Sensor or, Actuator, device, etc. interface.
- *
- *
+ *
+ *
* Constraints:
* [1] A DesignFunctionPrototype typed by a LocalDeviceManager shall be allocated to the same ECU node as the device that it manages is connected to.
- *
+ *
* [2] A LocalDeviceManager may only interface either Sensors or Actuators.
- *
- * [3] A LocalDeviceManager shall interface BSWFunctions and DesignFunctions.
- *
- *
+ *
+ * [3] A LocalDeviceManager shall interface BSWFunctions and DesignFunctions.
+ *
+ *
* Extension: Class, specialization of SysML::Block
* <!-- end-model-doc -->
*
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Operation.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Operation.java
index 1e741772c08..32dcf43077a 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Operation.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/Operation.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,19 +27,19 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
*
* <!-- begin-model-doc -->
* The Operation is the provided/required operation of a FunctionClientServerInterface. It can specify its return values and arguments by EADatatypePrototypes.
- *
- * Semantics:
+ *
+ * Semantics:
* The Operation is the provided/required operation of a FunctionClientServerInterface.
- *
+ *
* Extension: UML Operation
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getBase_Operation <em>Base Operation</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getArgument <em>Argument</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getReturn <em>Return</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getBase_Operation <em>Base Operation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getArgument <em>Argument</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#getReturn <em>Return</em>}</li>
* </ul>
* </p>
*
@@ -52,10 +52,10 @@ public interface Operation extends EAElement {
* Returns the value of the '<em><b>Base Operation</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Operation</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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(org.eclipse.uml2.uml.Operation)
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getOperation_Base_Operation()
@@ -68,7 +68,9 @@ public interface Operation extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Operation</em>' reference.
* @see #getBase_Operation()
* @generated
*/
@@ -79,10 +81,10 @@ public interface Operation extends EAElement {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Argument</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Argument</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>Argument</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getOperation_Argument()
* @model transient="true" changeable="false" volatile="true" derived="true"
@@ -94,10 +96,10 @@ public interface Operation extends EAElement {
* Returns the value of the '<em><b>Return</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Return</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Return</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Return</em>' reference.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getOperation_Return()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/PortGroup.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/PortGroup.java
index 20726ad7553..b6a54d49adf 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/PortGroup.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/PortGroup.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,8 +28,8 @@ import org.eclipse.uml2.uml.Port;
* <!-- begin-model-doc -->
* The ADLPortGroup metaclass is used to collapse several ports to one. All ports that are part of a port group are graphically represented as a single port. Connectors connected to ports of a port group pair are graphically collapsed to a single line.
* The ADLPortGroup has no semantic meaning except that it makes graphical representation of the connected ports easier to read, and provides a means to logically organize several ports to one group.
- * Connectors are still connected to the contained ports, but tool support may simplify connections by allowing semi-automatic or automatic connection to all ports of a port group.
- *
+ * Connectors are still connected to the contained ports, but tool support may simplify connections by allowing semi-automatic or automatic connection to all ports of a port group.
+ *
* Semantics:
* The ADLPortGroup provides a means to organize ports and connectors. It does not add semantics. In the model, the ports contained in the port group are connected as individual ports.
* <!-- end-model-doc -->
@@ -37,10 +37,10 @@ import org.eclipse.uml2.uml.Port;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getPort <em>Port</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getBase_Port <em>Base Port</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getPortGroup <em>Port Group</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getBase_Port <em>Base Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#getPortGroup <em>Port Group</em>}</li>
* </ul>
* </p>
*
@@ -58,6 +58,7 @@ public interface PortGroup extends EAElement {
* The grouped ports.
* {derived from UML::EncapsulatedClassifier::ownedPort} when this stereotype is applied on a Class. When the stereotype is applied on a Port the value is derived from the ports in the type.
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Port</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getPortGroup_Port()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -69,10 +70,10 @@ public interface PortGroup extends EAElement {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.functionmodeling.FunctionmodelingPackage#getPortGroup_Base_Class()
@@ -85,7 +86,9 @@ public interface PortGroup extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -95,10 +98,10 @@ public interface PortGroup extends EAElement {
* Returns the value of the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Port</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.functionmodeling.FunctionmodelingPackage#getPortGroup_Base_Port()
@@ -111,7 +114,9 @@ public interface PortGroup extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Port</em>' reference.
* @see #getBase_Port()
* @generated
*/
@@ -122,10 +127,10 @@ public interface PortGroup extends EAElement {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Port Group</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Port Group</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Port Group</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getPortGroup_PortGroup()
* @model ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocateableElementImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocateableElementImpl.java
index e71129ef4cc..a0675aa3cd7 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocateableElementImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocateableElementImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,6 +34,7 @@ public abstract class AllocateableElementImpl extends MinimalEObjectImpl.Contain
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AllocateableElementImpl() {
@@ -43,6 +44,7 @@ public abstract class AllocateableElementImpl extends MinimalEObjectImpl.Contain
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -50,4 +52,4 @@ public abstract class AllocateableElementImpl extends MinimalEObjectImpl.Contain
return FunctionmodelingPackage.Literals.ALLOCATEABLE_ELEMENT;
}
-} //AllocateableElementImpl
+} // AllocateableElementImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocationImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocationImpl.java
index cfc08a98834..af5a38977be 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocationImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AllocationImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -40,8 +40,8 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocationImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocationImpl#getFunctionAllocation <em>Function Allocation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocationImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AllocationImpl#getFunctionAllocation <em>Function Allocation</em>}</li>
* </ul>
* </p>
*
@@ -52,6 +52,7 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -61,6 +62,7 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AllocationImpl() {
@@ -70,16 +72,19 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.ALLOCATION__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case FunctionmodelingPackage.ALLOCATION__FUNCTION_ALLOCATION:
- return getFunctionAllocation();
+ case FunctionmodelingPackage.ALLOCATION__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case FunctionmodelingPackage.ALLOCATION__FUNCTION_ALLOCATION:
+ return getFunctionAllocation();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -87,15 +92,16 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.ALLOCATION__BASE_CLASS:
- return base_Class != null;
- case FunctionmodelingPackage.ALLOCATION__FUNCTION_ALLOCATION:
- return !getFunctionAllocation().isEmpty();
+ case FunctionmodelingPackage.ALLOCATION__BASE_CLASS:
+ return base_Class != null;
+ case FunctionmodelingPackage.ALLOCATION__FUNCTION_ALLOCATION:
+ return !getFunctionAllocation().isEmpty();
}
return super.eIsSet(featureID);
}
@@ -103,19 +109,20 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.ALLOCATION__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case FunctionmodelingPackage.ALLOCATION__FUNCTION_ALLOCATION:
- getFunctionAllocation().clear();
- getFunctionAllocation().addAll((Collection<? extends FunctionAllocation>)newValue);
- return;
+ case FunctionmodelingPackage.ALLOCATION__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case FunctionmodelingPackage.ALLOCATION__FUNCTION_ALLOCATION:
+ getFunctionAllocation().clear();
+ getFunctionAllocation().addAll((Collection<? extends FunctionAllocation>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -123,6 +130,7 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -133,15 +141,18 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.ALLOCATION__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -150,6 +161,7 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -159,29 +171,33 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FunctionmodelingPackage.ALLOCATION__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.ALLOCATION__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case FunctionmodelingPackage.ALLOCATION__FUNCTION_ALLOCATION:
- getFunctionAllocation().clear();
- return;
+ case FunctionmodelingPackage.ALLOCATION__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case FunctionmodelingPackage.ALLOCATION__FUNCTION_ALLOCATION:
+ getFunctionAllocation().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -189,23 +205,26 @@ public class AllocationImpl extends EAElementImpl implements Allocation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
+ @Override
public EList<FunctionAllocation> getFunctionAllocation() {
EList<FunctionAllocation> results = new BasicEList<FunctionAllocation>();
FunctionAllocation functionAllocation = null;
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
+
while (it.hasNext()) {
Element element = it.next();
- functionAllocation = (FunctionAllocation )UMLUtil.getStereotypeApplication(element, FunctionAllocation.class);
- if (functionAllocation != null)
+ functionAllocation = UMLUtil.getStereotypeApplication(element, FunctionAllocation.class);
+ if (functionAllocation != null) {
results.add(functionAllocation);
+ }
}
}
-
+
return new BasicInternalEList<FunctionAllocation>(FunctionAllocation.class, results.size(), results.toArray());
}
-} //AllocationImpl
+} // AllocationImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionPrototypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionPrototypeImpl.java
index 143d17e4c4b..e9bbf3f7838 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionPrototypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionPrototypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,7 +34,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionPrototypeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionPrototypeImpl#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -44,6 +44,7 @@ public class AnalysisFunctionPrototypeImpl extends FunctionPrototypeImpl impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AnalysisFunctionPrototypeImpl() {
@@ -52,20 +53,21 @@ public class AnalysisFunctionPrototypeImpl extends FunctionPrototypeImpl impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public AnalysisFunctionType basicGetType() {
AnalysisFunctionType type = null;
- if(getBase_Property() != null) {
+ if (getBase_Property() != null) {
// Retrieve the type of the ADLFunctionPrototype
Type basicType = getBase_Property().getType();
-
- if(basicType != null) {
- type = (AnalysisFunctionType)UMLUtil.getStereotypeApplication(basicType, AnalysisFunctionType.class);
+
+ if (basicType != null) {
+ type = UMLUtil.getStereotypeApplication(basicType, AnalysisFunctionType.class);
}
}
@@ -74,33 +76,38 @@ public class AnalysisFunctionPrototypeImpl extends FunctionPrototypeImpl impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE__TYPE:
- if (resolve) return getType();
- return basicGetType();
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE__TYPE:
+ if (resolve) {
+ return getType();
+ }
+ return basicGetType();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE__TYPE:
- return basicGetType() != null;
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE__TYPE:
+ return basicGetType() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -110,25 +117,26 @@ public class AnalysisFunctionPrototypeImpl extends FunctionPrototypeImpl impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public Image getIcon() {
Image ImageNotFound = null;
- if(getBase_Property() != null) {
+ if (getBase_Property() != null) {
Stereotype st = getBase_Property().getAppliedStereotype(EASTResource.ANALYSISFUNCTIONPROTOTYPE_ID);
Image defaultImage = st.getIcons().get(0);
Image typeImage = null;
FunctionType type = getType();
- if((type != null) && (type.getBase_Class() != null)) {
+ if ((type != null) && (type.getBase_Class() != null)) {
typeImage = ElementUtil.getStereotypeImage(type.getBase_Class(), "icon");
}
- if(typeImage != null) {
+ if (typeImage != null) {
return typeImage;
} else {
return defaultImage;
@@ -141,11 +149,13 @@ public class AnalysisFunctionPrototypeImpl extends FunctionPrototypeImpl impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AnalysisFunctionType getType() {
AnalysisFunctionType type = basicGetType();
- return type != null && type.eIsProxy() ? (AnalysisFunctionType)eResolveProxy((InternalEObject)type) : type;
+ return type != null && type.eIsProxy() ? (AnalysisFunctionType) eResolveProxy((InternalEObject) type) : type;
}
} // AnalysisFunctionPrototypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionTypeImpl.java
index c1399adf819..869e3c09c8a 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionTypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/AnalysisFunctionTypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionTypeImpl#getPart <em>Part</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.AnalysisFunctionTypeImpl#getPart <em>Part</em>}</li>
* </ul>
* </p>
*
@@ -46,6 +46,7 @@ public class AnalysisFunctionTypeImpl extends FunctionTypeImpl implements Analys
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AnalysisFunctionTypeImpl() {
@@ -54,32 +55,35 @@ public class AnalysisFunctionTypeImpl extends FunctionTypeImpl implements Analys
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE__PART:
- return getPart();
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE__PART:
+ return getPart();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE__PART:
- return !getPart().isEmpty();
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE__PART:
+ return !getPart().isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -89,16 +93,17 @@ public class AnalysisFunctionTypeImpl extends FunctionTypeImpl implements Analys
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public Image getIcon() {
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Stereotype st = getBase_Class().getAppliedStereotype(EASTResource.ANALYSISFUNCTIONTYPE_ID);
EList<Image> images = st.getIcons();
- if(isIsElementary()) {
+ if (isIsElementary()) {
return images.get(1);
} else {
return images.get(0);
@@ -110,23 +115,24 @@ public class AnalysisFunctionTypeImpl extends FunctionTypeImpl implements Analys
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<AnalysisFunctionPrototype> getPart() {
EList<AnalysisFunctionPrototype> parts = new BasicEList<AnalysisFunctionPrototype>();
AnalysisFunctionPrototype currentFunctionPrototype;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
// Parse owned Properties
Iterator<Property> itDep = getBase_Class().getAttributes().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Property currentProperty = itDep.next();
- currentFunctionPrototype = (AnalysisFunctionPrototype)UMLUtil.getStereotypeApplication(currentProperty,
- AnalysisFunctionPrototype.class);
+ currentFunctionPrototype = UMLUtil.getStereotypeApplication(currentProperty,
+ AnalysisFunctionPrototype.class);
- if(currentFunctionPrototype != null) {
+ if (currentFunctionPrototype != null) {
parts.add(currentFunctionPrototype);
}
}
@@ -134,14 +140,15 @@ public class AnalysisFunctionTypeImpl extends FunctionTypeImpl implements Analys
// Convert to InternalEList<?>
return new BasicInternalEList<AnalysisFunctionPrototype>(AnalysisFunctionPrototype.class, parts.size(), parts
- .toArray());
+ .toArray());
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public boolean isIsElementary() {
return ((getPart().size() == 0) && (getConnector().size() == 0));
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/BasicSoftwareFunctionTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/BasicSoftwareFunctionTypeImpl.java
index f6463e7f8e4..d6d0c5fb0a3 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/BasicSoftwareFunctionTypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/BasicSoftwareFunctionTypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,6 +33,7 @@ public class BasicSoftwareFunctionTypeImpl extends DesignFunctionTypeImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected BasicSoftwareFunctionTypeImpl() {
@@ -42,6 +43,7 @@ public class BasicSoftwareFunctionTypeImpl extends DesignFunctionTypeImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -49,4 +51,4 @@ public class BasicSoftwareFunctionTypeImpl extends DesignFunctionTypeImpl implem
return FunctionmodelingPackage.Literals.BASIC_SOFTWARE_FUNCTION_TYPE;
}
-} //BasicSoftwareFunctionTypeImpl
+} // BasicSoftwareFunctionTypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionPrototypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionPrototypeImpl.java
index 07637b92b0c..de90f04feeb 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionPrototypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionPrototypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,7 +34,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionPrototypeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionPrototypeImpl#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -44,6 +44,7 @@ public class DesignFunctionPrototypeImpl extends FunctionPrototypeImpl implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected DesignFunctionPrototypeImpl() {
@@ -52,19 +53,20 @@ public class DesignFunctionPrototypeImpl extends FunctionPrototypeImpl implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public DesignFunctionType basicGetType() {
DesignFunctionType type = null;
- if(getBase_Property() != null) {
+ if (getBase_Property() != null) {
// Retrieve the type of the DesignFunctionPrototype
Type basicType = getBase_Property().getType();
- if(basicType != null) {
- type = (DesignFunctionType)UMLUtil.getStereotypeApplication(basicType, DesignFunctionType.class);
+ if (basicType != null) {
+ type = UMLUtil.getStereotypeApplication(basicType, DesignFunctionType.class);
}
}
@@ -73,33 +75,38 @@ public class DesignFunctionPrototypeImpl extends FunctionPrototypeImpl implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE__TYPE:
- if (resolve) return getType();
- return basicGetType();
+ case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE__TYPE:
+ if (resolve) {
+ return getType();
+ }
+ return basicGetType();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE__TYPE:
- return basicGetType() != null;
+ case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE__TYPE:
+ return basicGetType() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -109,25 +116,26 @@ public class DesignFunctionPrototypeImpl extends FunctionPrototypeImpl implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public Image getIcon() {
Image ImageNotFound = null;
- if(getBase_Property() != null) {
+ if (getBase_Property() != null) {
Stereotype st = getBase_Property().getAppliedStereotype(EASTResource.DESIGNFUNCTIONPROTOTYPE_ID);
Image defaultImage = st.getIcons().get(0);
Image typeImage = null;
FunctionType type = getType();
- if((type != null) && (type.getBase_Class() != null)) {
+ if ((type != null) && (type.getBase_Class() != null)) {
typeImage = ElementUtil.getStereotypeImage(type.getBase_Class(), "icon");
}
- if(typeImage != null) {
+ if (typeImage != null) {
return typeImage;
} else {
return defaultImage;
@@ -140,11 +148,13 @@ public class DesignFunctionPrototypeImpl extends FunctionPrototypeImpl implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DesignFunctionType getType() {
DesignFunctionType type = basicGetType();
- return type != null && type.eIsProxy() ? (DesignFunctionType)eResolveProxy((InternalEObject)type) : type;
+ return type != null && type.eIsProxy() ? (DesignFunctionType) eResolveProxy((InternalEObject) type) : type;
}
} // DesignFunctionPrototypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionTypeImpl.java
index 3c8866367f4..da8ec271773 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionTypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/DesignFunctionTypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionTypeImpl#getPart <em>Part</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.DesignFunctionTypeImpl#getPart <em>Part</em>}</li>
* </ul>
* </p>
*
@@ -46,6 +46,7 @@ public class DesignFunctionTypeImpl extends FunctionTypeImpl implements DesignFu
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected DesignFunctionTypeImpl() {
@@ -54,32 +55,35 @@ public class DesignFunctionTypeImpl extends FunctionTypeImpl implements DesignFu
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE__PART:
- return getPart();
+ case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE__PART:
+ return getPart();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE__PART:
- return !getPart().isEmpty();
+ case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE__PART:
+ return !getPart().isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -89,16 +93,17 @@ public class DesignFunctionTypeImpl extends FunctionTypeImpl implements DesignFu
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public Image getIcon() {
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Stereotype st = getBase_Class().getAppliedStereotype(EASTResource.DESIGNFUNCTIONTYPE_ID);
EList<Image> images = st.getIcons();
- if(isIsElementary()) {
+ if (isIsElementary()) {
return images.get(1);
} else {
return images.get(0);
@@ -110,23 +115,24 @@ public class DesignFunctionTypeImpl extends FunctionTypeImpl implements DesignFu
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<DesignFunctionPrototype> getPart() {
EList<DesignFunctionPrototype> parts = new BasicEList<DesignFunctionPrototype>();
DesignFunctionPrototype currentFunctionPrototype;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
// Parse owned Properties
Iterator<Property> itDep = getBase_Class().getAttributes().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Property currentProperty = itDep.next();
- currentFunctionPrototype = (DesignFunctionPrototype)UMLUtil.getStereotypeApplication(currentProperty,
+ currentFunctionPrototype = UMLUtil.getStereotypeApplication(currentProperty,
DesignFunctionPrototype.class);
-
- if(currentFunctionPrototype != null) {
+
+ if (currentFunctionPrototype != null) {
parts.add(currentFunctionPrototype);
}
}
@@ -134,14 +140,15 @@ public class DesignFunctionTypeImpl extends FunctionTypeImpl implements DesignFu
// Convert to InternalEList<?>
return new BasicInternalEList<DesignFunctionPrototype>(DesignFunctionPrototype.class, parts.size(), parts
- .toArray());
+ .toArray());
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public boolean isIsElementary() {
return ((getPart().size() == 0) && (getConnector().size() == 0));
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionAllocationImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionAllocationImpl.java
index 9a447e0a346..9731b5ffca0 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionAllocationImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionAllocationImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,9 +33,9 @@ import org.eclipse.uml2.uml.Abstraction;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl#getTarget <em>Target</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl#getAllocatedElement <em>Allocated Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl#getBase_Abstraction <em>Base Abstraction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl#getAllocatedElement <em>Allocated Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionAllocationImpl#getBase_Abstraction <em>Base Abstraction</em>}</li>
* </ul>
* </p>
*
@@ -47,6 +47,7 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
* The cached value of the '{@link #getTarget() <em>Target</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getTarget()
* @generated
* @ordered
@@ -56,6 +57,7 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
* The cached value of the '{@link #getAllocatedElement() <em>Allocated Element</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAllocatedElement()
* @generated
* @ordered
@@ -66,13 +68,16 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
* The cached value of the '{@link #getBase_Abstraction() <em>Base Abstraction</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Abstraction()
* @generated
* @ordered
*/
protected Abstraction base_Abstraction;
+
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionAllocationImpl() {
@@ -81,61 +86,67 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
- return getTarget();
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
- return getAllocatedElement();
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION:
- if (resolve) return getBase_Abstraction();
- return basicGetBase_Abstraction();
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
+ return getTarget();
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
+ return getAllocatedElement();
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION:
+ if (resolve) {
+ return getBase_Abstraction();
+ }
+ return basicGetBase_Abstraction();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
- return target != null;
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
- return allocatedElement != null;
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION:
- return base_Abstraction != null;
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
+ return target != null;
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
+ return allocatedElement != null;
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION:
+ return base_Abstraction != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
- setTarget((TargetInstanceRef)newValue);
- return;
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
- setAllocatedElement((AllocatedElementInstanceRef)newValue);
- return;
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION:
- setBase_Abstraction((Abstraction)newValue);
- return;
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
+ setTarget((TargetInstanceRef) newValue);
+ return;
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
+ setAllocatedElement((AllocatedElementInstanceRef) newValue);
+ return;
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION:
+ setBase_Abstraction((Abstraction) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -145,28 +156,31 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
- setTarget((TargetInstanceRef)null);
- return;
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
- setAllocatedElement((AllocatedElementInstanceRef)null);
- return;
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION:
- setBase_Abstraction((Abstraction)null);
- return;
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
+ setTarget((TargetInstanceRef) null);
+ return;
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
+ setAllocatedElement((AllocatedElementInstanceRef) null);
+ return;
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION:
+ setBase_Abstraction((Abstraction) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AllocatedElementInstanceRef getAllocatedElement() {
return allocatedElement;
}
@@ -174,6 +188,7 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetAllocatedElement(AllocatedElementInstanceRef newAllocatedElement, NotificationChain msgs) {
@@ -181,7 +196,11 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
allocatedElement = newAllocatedElement;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT, oldAllocatedElement, newAllocatedElement);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -189,34 +208,44 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllocatedElement(AllocatedElementInstanceRef newAllocatedElement) {
if (newAllocatedElement != allocatedElement) {
NotificationChain msgs = null;
- if (allocatedElement != null)
- msgs = ((InternalEObject)allocatedElement).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT, null, msgs);
- if (newAllocatedElement != null)
- msgs = ((InternalEObject)newAllocatedElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT, null, msgs);
+ if (allocatedElement != null) {
+ msgs = ((InternalEObject) allocatedElement).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT, null, msgs);
+ }
+ if (newAllocatedElement != null) {
+ msgs = ((InternalEObject) newAllocatedElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT, null, msgs);
+ }
msgs = basicSetAllocatedElement(newAllocatedElement, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT, newAllocatedElement, newAllocatedElement));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Abstraction getBase_Abstraction() {
if (base_Abstraction != null && base_Abstraction.eIsProxy()) {
- InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction;
- base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction);
+ InternalEObject oldBase_Abstraction = (InternalEObject) base_Abstraction;
+ base_Abstraction = (Abstraction) eResolveProxy(oldBase_Abstraction);
if (base_Abstraction != oldBase_Abstraction) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction));
+ }
}
}
return base_Abstraction;
@@ -225,6 +254,7 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Abstraction basicGetBase_Abstraction() {
@@ -234,35 +264,41 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FunctionmodelingPackage.FUNCTION_ALLOCATION__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
- return basicSetTarget(null, msgs);
- case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
- return basicSetAllocatedElement(null, msgs);
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET:
+ return basicSetTarget(null, msgs);
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION__ALLOCATED_ELEMENT:
+ return basicSetAllocatedElement(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public TargetInstanceRef getTarget() {
return target;
}
@@ -270,6 +306,7 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetTarget(TargetInstanceRef newTarget, NotificationChain msgs) {
@@ -277,7 +314,11 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
target = newTarget;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET, oldTarget, newTarget);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -285,20 +326,27 @@ public class FunctionAllocationImpl extends EAElementImpl implements FunctionAll
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setTarget(TargetInstanceRef newTarget) {
if (newTarget != target) {
NotificationChain msgs = null;
- if (target != null)
- msgs = ((InternalEObject)target).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET, null, msgs);
- if (newTarget != null)
- msgs = ((InternalEObject)newTarget).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET, null, msgs);
+ if (target != null) {
+ msgs = ((InternalEObject) target).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET, null, msgs);
+ }
+ if (newTarget != null) {
+ msgs = ((InternalEObject) newTarget).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET, null, msgs);
+ }
msgs = basicSetTarget(newTarget, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FunctionmodelingPackage.FUNCTION_ALLOCATION__TARGET, newTarget, newTarget));
+ }
}
} // FunctionAllocationImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerInterfaceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerInterfaceImpl.java
index b4b34391028..a6e9c1689f7 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerInterfaceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerInterfaceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -37,8 +37,8 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerInterfaceImpl#getBase_Interface <em>Base Interface</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerInterfaceImpl#getOperation <em>Operation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerInterfaceImpl#getBase_Interface <em>Base Interface</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerInterfaceImpl#getOperation <em>Operation</em>}</li>
* </ul>
* </p>
*
@@ -50,13 +50,16 @@ public class FunctionClientServerInterfaceImpl extends TraceableSpecificationImp
* The cached value of the '{@link #getBase_Interface() <em>Base Interface</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Interface()
* @generated
* @ordered
*/
protected Interface base_Interface;
+
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionClientServerInterfaceImpl() {
@@ -65,51 +68,57 @@ public class FunctionClientServerInterfaceImpl extends TraceableSpecificationImp
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE:
- if (resolve) return getBase_Interface();
- return basicGetBase_Interface();
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__OPERATION:
- return getOperation();
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE:
+ if (resolve) {
+ return getBase_Interface();
+ }
+ return basicGetBase_Interface();
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__OPERATION:
+ return getOperation();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE:
- return base_Interface != null;
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__OPERATION:
- return !getOperation().isEmpty();
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE:
+ return base_Interface != null;
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__OPERATION:
+ return !getOperation().isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE:
- setBase_Interface((Interface)newValue);
- return;
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE:
+ setBase_Interface((Interface) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -120,15 +129,18 @@ public class FunctionClientServerInterfaceImpl extends TraceableSpecificationImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Interface getBase_Interface() {
if (base_Interface != null && base_Interface.eIsProxy()) {
- InternalEObject oldBase_Interface = (InternalEObject)base_Interface;
- base_Interface = (Interface)eResolveProxy(oldBase_Interface);
+ InternalEObject oldBase_Interface = (InternalEObject) base_Interface;
+ base_Interface = (Interface) eResolveProxy(oldBase_Interface);
if (base_Interface != oldBase_Interface) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE, oldBase_Interface, base_Interface));
+ }
}
}
return base_Interface;
@@ -137,6 +149,7 @@ public class FunctionClientServerInterfaceImpl extends TraceableSpecificationImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Interface basicGetBase_Interface() {
@@ -146,49 +159,54 @@ public class FunctionClientServerInterfaceImpl extends TraceableSpecificationImp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE, oldBase_Interface, base_Interface));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE:
- setBase_Interface((Interface)null);
- return;
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE__BASE_INTERFACE:
+ setBase_Interface((Interface) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<Operation> getOperation() {
EList<Operation> parts = new BasicEList<Operation>();
Operation currentOperation;
- if(getBase_Interface() != null) {
+ if (getBase_Interface() != null) {
// Parse owned Operation
Iterator<org.eclipse.uml2.uml.Operation> itDep = getBase_Interface().getAllOperations().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
org.eclipse.uml2.uml.Operation currentOp = itDep.next();
-
- currentOperation = (Operation)UMLUtil.getStereotypeApplication(currentOp,
+
+ currentOperation = UMLUtil.getStereotypeApplication(currentOp,
Operation.class);
- if(currentOperation != null) {
+ if (currentOperation != null) {
parts.add(currentOperation);
}
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerPortImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerPortImpl.java
index 658a10e4dcd..faea3a62ceb 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerPortImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionClientServerPortImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,8 +33,8 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerPortImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerPortImpl#getClientServerKind <em>Client Server Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerPortImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionClientServerPortImpl#getClientServerKind <em>Client Server Kind</em>}</li>
* </ul>
* </p>
*
@@ -46,6 +46,7 @@ public class FunctionClientServerPortImpl extends FunctionPortImpl implements Fu
* The default value of the '{@link #getClientServerKind() <em>Client Server Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getClientServerKind()
* @generated
* @ordered
@@ -56,6 +57,7 @@ public class FunctionClientServerPortImpl extends FunctionPortImpl implements Fu
* The cached value of the '{@link #getClientServerKind() <em>Client Server Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getClientServerKind()
* @generated
* @ordered
@@ -64,6 +66,7 @@ public class FunctionClientServerPortImpl extends FunctionPortImpl implements Fu
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionClientServerPortImpl() {
@@ -72,20 +75,20 @@ public class FunctionClientServerPortImpl extends FunctionPortImpl implements Fu
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public FunctionClientServerInterface basicGetType() {
// Implementation for basicGetType() defined on ADLClientServerPortImpl
FunctionClientServerInterface adlInterface = null;
- if(getBase_Port() != null) {
+ if (getBase_Port() != null) {
Type umlType = getBase_Port().getType();
- if(umlType != null) {
- adlInterface = (FunctionClientServerInterface)UMLUtil.getStereotypeApplication(umlType,FunctionClientServerInterface.class);
+ if (umlType != null) {
+ adlInterface = UMLUtil.getStereotypeApplication(umlType, FunctionClientServerInterface.class);
}
-
-
+
+
}
return adlInterface;
@@ -94,8 +97,10 @@ public class FunctionClientServerPortImpl extends FunctionPortImpl implements Fu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ClientServerKind getClientServerKind() {
return clientServerKind;
}
@@ -103,62 +108,71 @@ public class FunctionClientServerPortImpl extends FunctionPortImpl implements Fu
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setClientServerKind(ClientServerKind newClientServerKind) {
ClientServerKind oldClientServerKind = clientServerKind;
clientServerKind = newClientServerKind == null ? CLIENT_SERVER_KIND_EDEFAULT : newClientServerKind;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND, oldClientServerKind, clientServerKind));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__TYPE:
- if (resolve) return getType();
- return basicGetType();
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND:
- return getClientServerKind();
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__TYPE:
+ if (resolve) {
+ return getType();
+ }
+ return basicGetType();
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND:
+ return getClientServerKind();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__TYPE:
- return basicGetType() != null;
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND:
- return clientServerKind != CLIENT_SERVER_KIND_EDEFAULT;
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__TYPE:
+ return basicGetType() != null;
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND:
+ return clientServerKind != CLIENT_SERVER_KIND_EDEFAULT;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND:
- setClientServerKind((ClientServerKind)newValue);
- return;
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND:
+ setClientServerKind((ClientServerKind) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -168,35 +182,41 @@ public class FunctionClientServerPortImpl extends FunctionPortImpl implements Fu
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND:
- setClientServerKind(CLIENT_SERVER_KIND_EDEFAULT);
- return;
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT__CLIENT_SERVER_KIND:
+ setClientServerKind(CLIENT_SERVER_KIND_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionClientServerInterface getType() {
FunctionClientServerInterface type = basicGetType();
- return type != null && type.eIsProxy() ? (FunctionClientServerInterface)eResolveProxy((InternalEObject)type) : type;
+ return type != null && type.eIsProxy() ? (FunctionClientServerInterface) eResolveProxy((InternalEObject) type) : type;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (clientServerKind: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionConnectorImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionConnectorImpl.java
index ea5b9f934dd..14beca9191e 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionConnectorImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionConnectorImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,8 +38,8 @@ import org.eclipse.uml2.uml.Connector;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionConnectorImpl#getBase_Connector <em>Base Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionConnectorImpl#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionConnectorImpl#getBase_Connector <em>Base Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionConnectorImpl#getPort <em>Port</em>}</li>
* </ul>
* </p>
*
@@ -51,6 +51,7 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
* The cached value of the '{@link #getBase_Connector() <em>Base Connector</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Connector()
* @generated
* @ordered
@@ -60,13 +61,16 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
* The cached value of the '{@link #getPort() <em>Port</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPort()
* @generated
* @ordered
*/
protected EList<FunctionConnectorPortInstanceRef> port;
+
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionConnectorImpl() {
@@ -75,31 +79,35 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR:
- if (resolve) return getBase_Connector();
- return basicGetBase_Connector();
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
- return getPort();
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR:
+ if (resolve) {
+ return getBase_Connector();
+ }
+ return basicGetBase_Connector();
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
+ return getPort();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR:
- return base_Connector != null;
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
- return port != null && !port.isEmpty();
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR:
+ return base_Connector != null;
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
+ return port != null && !port.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -107,19 +115,23 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAConnector.class) {
switch (derivedFeatureID) {
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR: return ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR;
- default: return -1;
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR:
+ return ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR;
+ default:
+ return -1;
}
}
if (baseClass == AllocateableElement.class) {
switch (derivedFeatureID) {
- default: return -1;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -128,19 +140,23 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAConnector.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR: return FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR;
- default: return -1;
+ case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR:
+ return FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR;
+ default:
+ return -1;
}
}
if (baseClass == AllocateableElement.class) {
switch (baseFeatureID) {
- default: return -1;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -148,25 +164,27 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR:
- setBase_Connector((Connector)newValue);
- return;
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
- getPort().clear();
- getPort().addAll((Collection<? extends FunctionConnectorPortInstanceRef>)newValue);
- return;
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR:
+ setBase_Connector((Connector) newValue);
+ return;
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
+ getPort().clear();
+ getPort().addAll((Collection<? extends FunctionConnectorPortInstanceRef>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -177,15 +195,18 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Connector getBase_Connector() {
if (base_Connector != null && base_Connector.eIsProxy()) {
- InternalEObject oldBase_Connector = (InternalEObject)base_Connector;
- base_Connector = (Connector)eResolveProxy(oldBase_Connector);
+ InternalEObject oldBase_Connector = (InternalEObject) base_Connector;
+ base_Connector = (Connector) eResolveProxy(oldBase_Connector);
if (base_Connector != oldBase_Connector) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
}
}
return base_Connector;
@@ -194,6 +215,7 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Connector basicGetBase_Connector() {
@@ -203,36 +225,42 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR:
- setBase_Connector((Connector)null);
- return;
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
- getPort().clear();
- return;
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__BASE_CONNECTOR:
+ setBase_Connector((Connector) null);
+ return;
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
+ getPort().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<FunctionConnectorPortInstanceRef> getPort() {
if (port == null) {
port = new EObjectContainmentEList<FunctionConnectorPortInstanceRef>(FunctionConnectorPortInstanceRef.class, this, FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT);
@@ -243,13 +271,14 @@ public class FunctionConnectorImpl extends EAElementImpl implements FunctionConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
- return ((InternalEList<?>)getPort()).basicRemove(otherEnd, msgs);
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR__PORT:
+ return ((InternalEList<?>) getPort()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionFlowPortImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionFlowPortImpl.java
index 096efa84519..f09588aa3de 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionFlowPortImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionFlowPortImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,9 +33,9 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl#getDefaultValue <em>Default Value</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl#getDefaultValue <em>Default Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionFlowPortImpl#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
*
@@ -47,6 +47,7 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
* The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDefaultValue()
* @generated
* @ordered
@@ -57,6 +58,7 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
* The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -66,6 +68,7 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
* The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -74,6 +77,7 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionFlowPortImpl() {
@@ -82,18 +86,18 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EADatatype basicGetType() {
EADatatype dataType = null;
- if(getBase_Port() != null) {
+ if (getBase_Port() != null) {
Type umlType = getBase_Port().getType();
-
- if(umlType != null) {
- dataType = (EADatatype)UMLUtil.getStereotypeApplication(umlType, EADatatype.class);
+
+ if (umlType != null) {
+ dataType = UMLUtil.getStereotypeApplication(umlType, EADatatype.class);
}
}
@@ -103,15 +107,18 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAValue getDefaultValue() {
if (defaultValue != null && defaultValue.eIsProxy()) {
- InternalEObject oldDefaultValue = (InternalEObject)defaultValue;
- defaultValue = (EAValue)eResolveProxy(oldDefaultValue);
+ InternalEObject oldDefaultValue = (InternalEObject) defaultValue;
+ defaultValue = (EAValue) eResolveProxy(oldDefaultValue);
if (defaultValue != oldDefaultValue) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE, oldDefaultValue, defaultValue));
+ }
}
}
return defaultValue;
@@ -120,6 +127,7 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAValue basicGetDefaultValue() {
@@ -129,20 +137,25 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setDefaultValue(EAValue newDefaultValue) {
EAValue oldDefaultValue = defaultValue;
defaultValue = newDefaultValue;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE, oldDefaultValue, defaultValue));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EADirectionKind getDirection() {
return direction;
}
@@ -150,47 +163,56 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setDirection(EADirectionKind newDirection) {
EADirectionKind oldDirection = direction;
direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FunctionmodelingPackage.FUNCTION_FLOW_PORT__DIRECTION, oldDirection, direction));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__TYPE:
- if (resolve) return getType();
- return basicGetType();
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE:
- if (resolve) return getDefaultValue();
- return basicGetDefaultValue();
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DIRECTION:
- return getDirection();
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__TYPE:
+ if (resolve) {
+ return getType();
+ }
+ return basicGetType();
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE:
+ if (resolve) {
+ return getDefaultValue();
+ }
+ return basicGetDefaultValue();
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DIRECTION:
+ return getDirection();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__TYPE:
- return basicGetType() != null;
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE:
- return defaultValue != null;
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DIRECTION:
- return direction != DIRECTION_EDEFAULT;
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__TYPE:
+ return basicGetType() != null;
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE:
+ return defaultValue != null;
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DIRECTION:
+ return direction != DIRECTION_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -198,11 +220,14 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (direction: ");
@@ -213,23 +238,25 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE:
- setDefaultValue((EAValue)newValue);
- return;
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DIRECTION:
- setDirection((EADirectionKind)newValue);
- return;
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE:
+ setDefaultValue((EAValue) newValue);
+ return;
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DIRECTION:
+ setDirection((EADirectionKind) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -240,17 +267,18 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE:
- setDefaultValue((EAValue)null);
- return;
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DIRECTION:
- setDirection(DIRECTION_EDEFAULT);
- return;
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DEFAULT_VALUE:
+ setDefaultValue((EAValue) null);
+ return;
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT__DIRECTION:
+ setDirection(DIRECTION_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -258,25 +286,28 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public String getName() {
return getBase_Port().getName();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EADatatype getType() {
EADatatype type = basicGetType();
- return type != null && type.eIsProxy() ? (EADatatype)eResolveProxy((InternalEObject)type) : type;
+ return type != null && type.eIsProxy() ? (EADatatype) eResolveProxy((InternalEObject) type) : type;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public boolean isIsAtomic() {
@@ -287,9 +318,10 @@ public class FunctionFlowPortImpl extends FunctionPortImpl implements FunctionFl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public void setName(String newName) {
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPortImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPortImpl.java
index 19108e92790..af0ba02d935 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPortImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPortImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,7 +34,7 @@ import org.eclipse.uml2.uml.Port;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPortImpl#getBase_Port <em>Base Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPortImpl#getBase_Port <em>Base Port</em>}</li>
* </ul>
* </p>
*
@@ -45,6 +45,7 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
* The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Port()
* @generated
* @ordered
@@ -54,6 +55,7 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionPortImpl() {
@@ -63,6 +65,7 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -73,15 +76,18 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Port getBase_Port() {
if (base_Port != null && base_Port.eIsProxy()) {
- InternalEObject oldBase_Port = (InternalEObject)base_Port;
- base_Port = (Port)eResolveProxy(oldBase_Port);
+ InternalEObject oldBase_Port = (InternalEObject) base_Port;
+ base_Port = (Port) eResolveProxy(oldBase_Port);
if (base_Port != oldBase_Port) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT, oldBase_Port, base_Port));
+ }
}
}
return base_Port;
@@ -90,6 +96,7 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Port basicGetBase_Port() {
@@ -99,26 +106,32 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT, oldBase_Port, base_Port));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT:
- if (resolve) return getBase_Port();
- return basicGetBase_Port();
+ case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT:
+ if (resolve) {
+ return getBase_Port();
+ }
+ return basicGetBase_Port();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -126,14 +139,15 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT:
- setBase_Port((Port)newValue);
- return;
+ case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT:
+ setBase_Port((Port) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -141,14 +155,15 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT:
- setBase_Port((Port)null);
- return;
+ case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT:
+ setBase_Port((Port) null);
+ return;
}
super.eUnset(featureID);
}
@@ -156,13 +171,14 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT:
- return base_Port != null;
+ case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT:
+ return base_Port != null;
}
return super.eIsSet(featureID);
}
@@ -170,14 +186,17 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAPort.class) {
switch (derivedFeatureID) {
- case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT: return ElementsPackage.EA_PORT__BASE_PORT;
- default: return -1;
+ case FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT:
+ return ElementsPackage.EA_PORT__BASE_PORT;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -186,17 +205,20 @@ public abstract class FunctionPortImpl extends EAElementImpl implements Function
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAPort.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_PORT__BASE_PORT: return FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT;
- default: return -1;
+ case ElementsPackage.EA_PORT__BASE_PORT:
+ return FunctionmodelingPackage.FUNCTION_PORT__BASE_PORT;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
}
-} //FunctionPortImpl
+} // FunctionPortImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPowerPortImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPowerPortImpl.java
index 854a391e65a..ef5e47641f0 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPowerPortImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPowerPortImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -29,7 +29,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPowerPortImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPowerPortImpl#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -39,6 +39,7 @@ public class FunctionPowerPortImpl extends FunctionPortImpl implements FunctionP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionPowerPortImpl() {
@@ -47,17 +48,17 @@ public class FunctionPowerPortImpl extends FunctionPortImpl implements FunctionP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public CompositeDatatype basicGetType() {
CompositeDatatype dataType = null;
- if(getBase_Port() != null) {
+ if (getBase_Port() != null) {
Type umlType = getBase_Port().getType();
-
- if(umlType != null) {
- dataType = (CompositeDatatype)UMLUtil.getStereotypeApplication(umlType, CompositeDatatype.class);
+
+ if (umlType != null) {
+ dataType = UMLUtil.getStereotypeApplication(umlType, CompositeDatatype.class);
}
}
@@ -66,33 +67,38 @@ public class FunctionPowerPortImpl extends FunctionPortImpl implements FunctionP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_POWER_PORT__TYPE:
- if (resolve) return getType();
- return basicGetType();
+ case FunctionmodelingPackage.FUNCTION_POWER_PORT__TYPE:
+ if (resolve) {
+ return getType();
+ }
+ return basicGetType();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_POWER_PORT__TYPE:
- return basicGetType() != null;
+ case FunctionmodelingPackage.FUNCTION_POWER_PORT__TYPE:
+ return basicGetType() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -102,11 +108,13 @@ public class FunctionPowerPortImpl extends FunctionPortImpl implements FunctionP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public CompositeDatatype getType() {
CompositeDatatype type = basicGetType();
- return type != null && type.eIsProxy() ? (CompositeDatatype)eResolveProxy((InternalEObject)type) : type;
+ return type != null && type.eIsProxy() ? (CompositeDatatype) eResolveProxy((InternalEObject) type) : type;
}
} // FunctionPowerPortImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPrototypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPrototypeImpl.java
index 9318a6c99d5..3d8a92c4000 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPrototypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionPrototypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -39,7 +39,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPrototypeImpl#getBase_Property <em>Base Property</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionPrototypeImpl#getBase_Property <em>Base Property</em>}</li>
* </ul>
* </p>
*
@@ -51,13 +51,16 @@ public abstract class FunctionPrototypeImpl extends EAElementImpl implements Fun
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Property()
* @generated
* @ordered
*/
protected Property base_Property;
+
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionPrototypeImpl() {
@@ -66,20 +69,20 @@ public abstract class FunctionPrototypeImpl extends EAElementImpl implements Fun
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public FunctionType basicGetType() {
FunctionType type = null;
- if(getBase_Property() != null) {
+ if (getBase_Property() != null) {
// Retrieve the type of the FunctionPrototype
Type basicType = getBase_Property().getType();
- if(basicType != null) {
-
- type = (FunctionType)UMLUtil.getStereotypeApplication(basicType, FunctionType.class);
+ if (basicType != null) {
+
+ type = UMLUtil.getStereotypeApplication(basicType, FunctionType.class);
}
}
@@ -88,27 +91,31 @@ public abstract class FunctionPrototypeImpl extends EAElementImpl implements Fun
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY:
- if (resolve) return getBase_Property();
- return basicGetBase_Property();
+ case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY:
+ if (resolve) {
+ return getBase_Property();
+ }
+ return basicGetBase_Property();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY:
- return base_Property != null;
+ case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY:
+ return base_Property != null;
}
return super.eIsSet(featureID);
}
@@ -116,14 +123,17 @@ public abstract class FunctionPrototypeImpl extends EAElementImpl implements Fun
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAPrototype.class) {
switch (derivedFeatureID) {
- case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY: return ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY;
- default: return -1;
+ case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY:
+ return ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -132,14 +142,17 @@ public abstract class FunctionPrototypeImpl extends EAElementImpl implements Fun
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAPrototype.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY: return FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY;
- default: return -1;
+ case ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY:
+ return FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -148,34 +161,37 @@ public abstract class FunctionPrototypeImpl extends EAElementImpl implements Fun
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
switch (operationID) {
- case FunctionmodelingPackage.FUNCTION_PROTOTYPE___GET_ICON:
- return getIcon();
+ case FunctionmodelingPackage.FUNCTION_PROTOTYPE___GET_ICON:
+ return getIcon();
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-
+
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY:
- setBase_Property((Property)newValue);
- return;
+ case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY:
+ setBase_Property((Property) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -186,15 +202,18 @@ public abstract class FunctionPrototypeImpl extends EAElementImpl implements Fun
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Property getBase_Property() {
if (base_Property != null && base_Property.eIsProxy()) {
- InternalEObject oldBase_Property = (InternalEObject)base_Property;
- base_Property = (Property)eResolveProxy(oldBase_Property);
+ InternalEObject oldBase_Property = (InternalEObject) base_Property;
+ base_Property = (Property) eResolveProxy(oldBase_Property);
if (base_Property != oldBase_Property) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
}
return base_Property;
@@ -203,6 +222,7 @@ public abstract class FunctionPrototypeImpl extends EAElementImpl implements Fun
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Property basicGetBase_Property() {
@@ -212,34 +232,39 @@ public abstract class FunctionPrototypeImpl extends EAElementImpl implements Fun
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY:
- setBase_Property((Property)null);
- return;
+ case FunctionmodelingPackage.FUNCTION_PROTOTYPE__BASE_PROPERTY:
+ setBase_Property((Property) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public Image getIcon() {
return null;
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionTypeImpl.java
index abee5594342..ec0130139f3 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionTypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionTypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -48,11 +48,11 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#isIsElementary <em>Is Elementary</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#getPort <em>Port</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#getPortGroup <em>Port Group</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#getConnector <em>Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#isIsElementary <em>Is Elementary</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#getPortGroup <em>Port Group</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionTypeImpl#getConnector <em>Connector</em>}</li>
* </ul>
* </p>
*
@@ -63,7 +63,7 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -73,7 +73,7 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* The default value of the '{@link #isIsElementary() <em>Is Elementary</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #isIsElementary()
* @generated
* @ordered
@@ -82,6 +82,7 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionTypeImpl() {
@@ -90,6 +91,7 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -98,14 +100,17 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAType.class) {
switch (derivedFeatureID) {
- case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS: return ElementsPackage.EA_TYPE__BASE_CLASS;
- default: return -1;
+ case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS:
+ return ElementsPackage.EA_TYPE__BASE_CLASS;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -113,14 +118,17 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAType.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_TYPE__BASE_CLASS: return FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS;
- default: return -1;
+ case ElementsPackage.EA_TYPE__BASE_CLASS:
+ return FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -129,76 +137,83 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
switch (operationID) {
- case FunctionmodelingPackage.FUNCTION_TYPE___GET_ICON:
- return getIcon();
+ case FunctionmodelingPackage.FUNCTION_TYPE___GET_ICON:
+ return getIcon();
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case FunctionmodelingPackage.FUNCTION_TYPE__IS_ELEMENTARY:
- return isIsElementary();
- case FunctionmodelingPackage.FUNCTION_TYPE__PORT:
- return getPort();
- case FunctionmodelingPackage.FUNCTION_TYPE__PORT_GROUP:
- return getPortGroup();
- case FunctionmodelingPackage.FUNCTION_TYPE__CONNECTOR:
- return getConnector();
+ case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case FunctionmodelingPackage.FUNCTION_TYPE__IS_ELEMENTARY:
+ return isIsElementary();
+ case FunctionmodelingPackage.FUNCTION_TYPE__PORT:
+ return getPort();
+ case FunctionmodelingPackage.FUNCTION_TYPE__PORT_GROUP:
+ return getPortGroup();
+ case FunctionmodelingPackage.FUNCTION_TYPE__CONNECTOR:
+ return getConnector();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS:
- return base_Class != null;
- case FunctionmodelingPackage.FUNCTION_TYPE__IS_ELEMENTARY:
- return isIsElementary() != IS_ELEMENTARY_EDEFAULT;
- case FunctionmodelingPackage.FUNCTION_TYPE__PORT:
- return !getPort().isEmpty();
- case FunctionmodelingPackage.FUNCTION_TYPE__PORT_GROUP:
- return !getPortGroup().isEmpty();
- case FunctionmodelingPackage.FUNCTION_TYPE__CONNECTOR:
- return !getConnector().isEmpty();
+ case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS:
+ return base_Class != null;
+ case FunctionmodelingPackage.FUNCTION_TYPE__IS_ELEMENTARY:
+ return isIsElementary() != IS_ELEMENTARY_EDEFAULT;
+ case FunctionmodelingPackage.FUNCTION_TYPE__PORT:
+ return !getPort().isEmpty();
+ case FunctionmodelingPackage.FUNCTION_TYPE__PORT_GROUP:
+ return !getPortGroup().isEmpty();
+ case FunctionmodelingPackage.FUNCTION_TYPE__CONNECTOR:
+ return !getConnector().isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
+ case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -208,29 +223,33 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
+ case FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -238,25 +257,26 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<FunctionConnector> getConnector() {
EList<FunctionConnector> connectors = new BasicEList<FunctionConnector>();
FunctionConnector currentConnectorPrototype;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
// Parse owned Connectors
Iterator<Connector> itDep = getBase_Class().getOwnedConnectors().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Connector currentConnector = itDep.next();
// Test if currentProperty is stereotyped ADLFunctionPrototype
- currentConnectorPrototype = (FunctionConnector)UMLUtil.getStereotypeApplication(currentConnector,
- FunctionConnector.class);
+ currentConnectorPrototype = UMLUtil.getStereotypeApplication(currentConnector,
+ FunctionConnector.class);
- if(currentConnectorPrototype != null) {
+ if (currentConnectorPrototype != null) {
connectors.add(currentConnectorPrototype);
}
}
@@ -264,21 +284,22 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
// Convert to InternalEList<?>
return new BasicInternalEList<FunctionConnector>(FunctionConnector.class, connectors.size(), connectors
- .toArray());
+ .toArray());
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public Image getIcon() {
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Stereotype st = getBase_Class().getAppliedStereotype(EASTResource.FUNCTIONTYPE_ID);
EList<Image> images = st.getIcons();
- if(isIsElementary()) {
+ if (isIsElementary()) {
return images.get(1);
} else {
return images.get(0);
@@ -290,25 +311,26 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<FunctionPort> getPort() {
EList<FunctionPort> groupedPorts = new BasicEList<FunctionPort>();
FunctionPort currentADLFlowPort;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
// Parse owned Ports
Iterator<Port> itDep = getBase_Class().getOwnedPorts().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Port currentPort = itDep.next();
// Test if currentPort is stereotyped FlowPort
- currentADLFlowPort = (FunctionPort)UMLUtil.getStereotypeApplication(currentPort,
- FunctionPort.class);
+ currentADLFlowPort = UMLUtil.getStereotypeApplication(currentPort,
+ FunctionPort.class);
- if(currentADLFlowPort != null) {
+ if (currentADLFlowPort != null) {
groupedPorts.add(currentADLFlowPort);
}
}
@@ -320,25 +342,26 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<PortGroup> getPortGroup() {
EList<PortGroup> portGroups = new BasicEList<PortGroup>();
PortGroup currentADLPortGroup;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
// Parse owned Ports
Iterator<Classifier> itDep = getBase_Class().getNestedClassifiers().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Classifier currentClass = itDep.next();
// Test if currentPort is stereotyped ADLFlowPort
- currentADLPortGroup = (PortGroup)UMLUtil.getStereotypeApplication(currentClass,
- PortGroup.class);
+ currentADLPortGroup = UMLUtil.getStereotypeApplication(currentClass,
+ PortGroup.class);
- if(currentADLPortGroup != null) {
+ if (currentADLPortGroup != null) {
portGroups.add(currentADLPortGroup);
}
}
@@ -350,22 +373,26 @@ public abstract class FunctionTypeImpl extends ContextImpl implements FunctionTy
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public boolean isIsElementary() {
return false;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FunctionmodelingPackage.FUNCTION_TYPE__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
} // FunctionTypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionalDeviceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionalDeviceImpl.java
index 06576f6eb13..d93d1d49c02 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionalDeviceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionalDeviceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -21,8 +21,7 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPa
/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Functional Device</b></em>
- * '. <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Functional Device</b></em> '. <!-- end-user-doc -->
* <p>
* </p>
*
@@ -32,6 +31,7 @@ public class FunctionalDeviceImpl extends AnalysisFunctionTypeImpl implements Fu
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected FunctionalDeviceImpl() {
@@ -40,6 +40,7 @@ public class FunctionalDeviceImpl extends AnalysisFunctionTypeImpl implements Fu
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingFactoryImpl.java
index 7ee4599fdea..5d2ad57fc91 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -46,12 +46,14 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class FunctionmodelingFactoryImpl extends EFactoryImpl implements FunctionmodelingFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -63,16 +65,16 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static FunctionmodelingFactory init() {
try {
- FunctionmodelingFactory theFunctionmodelingFactory = (FunctionmodelingFactory)EPackage.Registry.INSTANCE.getEFactory(FunctionmodelingPackage.eNS_URI);
+ FunctionmodelingFactory theFunctionmodelingFactory = (FunctionmodelingFactory) EPackage.Registry.INSTANCE.getEFactory(FunctionmodelingPackage.eNS_URI);
if (theFunctionmodelingFactory != null) {
return theFunctionmodelingFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new FunctionmodelingFactoryImpl();
@@ -81,6 +83,7 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FunctionmodelingFactoryImpl() {
@@ -90,6 +93,7 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String convertClientServerKindToString(EDataType eDataType, Object instanceValue) {
@@ -99,17 +103,21 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EADirectionKind createEADirectionKindFromString(EDataType eDataType, String initialValue) {
EADirectionKind result = EADirectionKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ if (result == null) {
+ throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ }
return result;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String convertEADirectionKindToString(EDataType eDataType, Object instanceValue) {
@@ -119,54 +127,75 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
switch (eDataType.getClassifierID()) {
- case FunctionmodelingPackage.EA_DIRECTION_KIND:
- return convertEADirectionKindToString(eDataType, instanceValue);
- case FunctionmodelingPackage.CLIENT_SERVER_KIND:
- return convertClientServerKindToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case FunctionmodelingPackage.EA_DIRECTION_KIND:
+ return convertEADirectionKindToString(eDataType, instanceValue);
+ case FunctionmodelingPackage.CLIENT_SERVER_KIND:
+ return convertClientServerKindToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case FunctionmodelingPackage.LOCAL_DEVICE_MANAGER: return createLocalDeviceManager();
- case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE: return createDesignFunctionType();
- case FunctionmodelingPackage.PORT_GROUP: return createPortGroup();
- case FunctionmodelingPackage.FUNCTION_CONNECTOR: return createFunctionConnector();
- case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE: return createDesignFunctionPrototype();
- case FunctionmodelingPackage.FUNCTIONAL_DEVICE: return createFunctionalDevice();
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE: return createAnalysisFunctionType();
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE: return createAnalysisFunctionPrototype();
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT: return createFunctionFlowPort();
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT: return createFunctionClientServerPort();
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE: return createFunctionClientServerInterface();
- case FunctionmodelingPackage.OPERATION: return createOperation();
- case FunctionmodelingPackage.BASIC_SOFTWARE_FUNCTION_TYPE: return createBasicSoftwareFunctionType();
- case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE: return createHardwareFunctionType();
- case FunctionmodelingPackage.FUNCTION_ALLOCATION: return createFunctionAllocation();
- case FunctionmodelingPackage.ALLOCATION: return createAllocation();
- case FunctionmodelingPackage.FUNCTION_POWER_PORT: return createFunctionPowerPort();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case FunctionmodelingPackage.LOCAL_DEVICE_MANAGER:
+ return createLocalDeviceManager();
+ case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE:
+ return createDesignFunctionType();
+ case FunctionmodelingPackage.PORT_GROUP:
+ return createPortGroup();
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR:
+ return createFunctionConnector();
+ case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE:
+ return createDesignFunctionPrototype();
+ case FunctionmodelingPackage.FUNCTIONAL_DEVICE:
+ return createFunctionalDevice();
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE:
+ return createAnalysisFunctionType();
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE:
+ return createAnalysisFunctionPrototype();
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT:
+ return createFunctionFlowPort();
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT:
+ return createFunctionClientServerPort();
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE:
+ return createFunctionClientServerInterface();
+ case FunctionmodelingPackage.OPERATION:
+ return createOperation();
+ case FunctionmodelingPackage.BASIC_SOFTWARE_FUNCTION_TYPE:
+ return createBasicSoftwareFunctionType();
+ case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE:
+ return createHardwareFunctionType();
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION:
+ return createFunctionAllocation();
+ case FunctionmodelingPackage.ALLOCATION:
+ return createAllocation();
+ case FunctionmodelingPackage.FUNCTION_POWER_PORT:
+ return createFunctionPowerPort();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Allocation createAllocation() {
AllocationImpl allocation = new AllocationImpl();
return allocation;
@@ -175,8 +204,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AnalysisFunctionPrototype createAnalysisFunctionPrototype() {
AnalysisFunctionPrototypeImpl analysisFunctionPrototype = new AnalysisFunctionPrototypeImpl();
return analysisFunctionPrototype;
@@ -185,8 +216,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AnalysisFunctionType createAnalysisFunctionType() {
AnalysisFunctionTypeImpl analysisFunctionType = new AnalysisFunctionTypeImpl();
return analysisFunctionType;
@@ -195,8 +228,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public BasicSoftwareFunctionType createBasicSoftwareFunctionType() {
BasicSoftwareFunctionTypeImpl basicSoftwareFunctionType = new BasicSoftwareFunctionTypeImpl();
return basicSoftwareFunctionType;
@@ -205,19 +240,24 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ClientServerKind createClientServerKindFromString(EDataType eDataType, String initialValue) {
ClientServerKind result = ClientServerKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ 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
*/
+ @Override
public DesignFunctionPrototype createDesignFunctionPrototype() {
DesignFunctionPrototypeImpl designFunctionPrototype = new DesignFunctionPrototypeImpl();
return designFunctionPrototype;
@@ -226,8 +266,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DesignFunctionType createDesignFunctionType() {
DesignFunctionTypeImpl designFunctionType = new DesignFunctionTypeImpl();
return designFunctionType;
@@ -236,24 +278,27 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
switch (eDataType.getClassifierID()) {
- case FunctionmodelingPackage.EA_DIRECTION_KIND:
- return createEADirectionKindFromString(eDataType, initialValue);
- case FunctionmodelingPackage.CLIENT_SERVER_KIND:
- return createClientServerKindFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case FunctionmodelingPackage.EA_DIRECTION_KIND:
+ return createEADirectionKindFromString(eDataType, initialValue);
+ case FunctionmodelingPackage.CLIENT_SERVER_KIND:
+ return createClientServerKindFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionalDevice createFunctionalDevice() {
FunctionalDeviceImpl functionalDevice = new FunctionalDeviceImpl();
return functionalDevice;
@@ -262,8 +307,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionAllocation createFunctionAllocation() {
FunctionAllocationImpl functionAllocation = new FunctionAllocationImpl();
return functionAllocation;
@@ -272,8 +319,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionClientServerInterface createFunctionClientServerInterface() {
FunctionClientServerInterfaceImpl functionClientServerInterface = new FunctionClientServerInterfaceImpl();
return functionClientServerInterface;
@@ -282,8 +331,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionClientServerPort createFunctionClientServerPort() {
FunctionClientServerPortImpl functionClientServerPort = new FunctionClientServerPortImpl();
return functionClientServerPort;
@@ -292,8 +343,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionConnector createFunctionConnector() {
FunctionConnectorImpl functionConnector = new FunctionConnectorImpl();
return functionConnector;
@@ -302,8 +355,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionFlowPort createFunctionFlowPort() {
FunctionFlowPortImpl functionFlowPort = new FunctionFlowPortImpl();
return functionFlowPort;
@@ -312,8 +367,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionPowerPort createFunctionPowerPort() {
FunctionPowerPortImpl functionPowerPort = new FunctionPowerPortImpl();
return functionPowerPort;
@@ -322,8 +379,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwareFunctionType createHardwareFunctionType() {
HardwareFunctionTypeImpl hardwareFunctionType = new HardwareFunctionTypeImpl();
return hardwareFunctionType;
@@ -331,8 +390,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public LocalDeviceManager createLocalDeviceManager() {
LocalDeviceManagerImpl localDeviceManager = new LocalDeviceManagerImpl();
return localDeviceManager;
@@ -341,8 +402,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Operation createOperation() {
OperationImpl operation = new OperationImpl();
return operation;
@@ -351,8 +414,10 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public PortGroup createPortGroup() {
PortGroupImpl portGroup = new PortGroupImpl();
return portGroup;
@@ -360,10 +425,12 @@ public class FunctionmodelingFactoryImpl extends EFactoryImpl implements Functio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionmodelingPackage getFunctionmodelingPackage() {
- return (FunctionmodelingPackage)getEPackage();
+ return (FunctionmodelingPackage) getEPackage();
}
} // FunctionmodelingFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingPackageImpl.java
index edb0fe72884..8ec1c412a33 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/FunctionmodelingPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -118,6 +118,7 @@ import org.eclipse.uml2.uml.UMLPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class FunctionmodelingPackageImpl extends EPackageImpl implements FunctionmodelingPackage {
@@ -125,6 +126,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionTypeEClass = null;
@@ -132,32 +134,37 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionPortEClass = 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 FunctionmodelingPackage#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 -->
*
- * <p>This method is used to initialize {@link FunctionmodelingPackage#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 FunctionmodelingPackage init() {
- if (isInited) return (FunctionmodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
+ if (isInited) {
+ return (FunctionmodelingPackage) EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
+ }
// Obtain or create and register package
- FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FunctionmodelingPackageImpl());
+ FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FunctionmodelingPackageImpl());
isInited = true;
@@ -165,39 +172,67 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
SysmlPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
- VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
- InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
- DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
- UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
- ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
- ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
- StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
- VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
- VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
- org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
- TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
- TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
- EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
- NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
- BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
- AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
- TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
- ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
- GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
+ EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
+ VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI)
+ : VariabilityPackage.eINSTANCE);
+ InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
+ DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI)
+ : DatatypesPackage.eINSTANCE);
+ UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
+ ElementsPackageImpl theElementsPackage = (ElementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI)
+ : ElementsPackage.eINSTANCE);
+ StructurePackageImpl theStructurePackage = (StructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI)
+ : StructurePackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
+ SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
+ VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI)
+ : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI)
+ : ErrormodelPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
+ VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI)
+ : BehaviorPackage.eINSTANCE);
+ TimingPackageImpl theTimingPackage = (TimingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
+ TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
+ EventsPackageImpl theEventsPackage = (EventsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
+ EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI)
+ : EnvironmentPackage.eINSTANCE);
+ AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
+ NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
+ GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
theFunctionmodelingPackage.createPackageContents();
@@ -274,7 +309,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
// Mark meta-data to indicate it can't be changed
theFunctionmodelingPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(FunctionmodelingPackage.eNS_URI, theFunctionmodelingPackage);
return theFunctionmodelingPackage;
@@ -283,6 +318,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionConnectorEClass = null;
@@ -290,6 +326,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass analysisFunctionPrototypeEClass = null;
@@ -297,6 +334,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionFlowPortEClass = null;
@@ -304,6 +342,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionClientServerPortEClass = null;
@@ -311,6 +350,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionClientServerInterfaceEClass = null;
@@ -318,6 +358,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass operationEClass = null;
@@ -325,6 +366,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass portGroupEClass = null;
@@ -332,6 +374,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass basicSoftwareFunctionTypeEClass = null;
@@ -339,6 +382,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass hardwareFunctionTypeEClass = null;
@@ -346,6 +390,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionAllocationEClass = null;
@@ -353,6 +398,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass allocationEClass = null;
@@ -360,6 +406,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionPowerPortEClass = null;
@@ -367,6 +414,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum eaDirectionKindEEnum = null;
@@ -374,6 +422,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum clientServerKindEEnum = null;
@@ -381,6 +430,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionPrototypeEClass = null;
@@ -388,12 +438,14 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass allocateableElementEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass localDeviceManagerEClass = null;
@@ -401,6 +453,7 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass designFunctionTypeEClass = null;
@@ -408,12 +461,14 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass designFunctionPrototypeEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass functionalDeviceEClass = null;
@@ -421,31 +476,31 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass analysisFunctionTypeEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#eNS_URI
* @see #init()
@@ -456,13 +511,16 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
}
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents() {
- if (isCreated) return;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create classes and their features
@@ -548,8 +606,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAllocateableElement() {
return allocateableElementEClass;
}
@@ -557,8 +617,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAllocation() {
return allocationEClass;
}
@@ -566,26 +628,32 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAllocation_Base_Class() {
- return (EReference)allocationEClass.getEStructuralFeatures().get(0);
+ return (EReference) allocationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAllocation_FunctionAllocation() {
- return (EReference)allocationEClass.getEStructuralFeatures().get(1);
+ return (EReference) allocationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAnalysisFunctionPrototype() {
return analysisFunctionPrototypeEClass;
}
@@ -593,17 +661,21 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAnalysisFunctionPrototype_Type() {
- return (EReference)analysisFunctionPrototypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) analysisFunctionPrototypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAnalysisFunctionType() {
return analysisFunctionTypeEClass;
}
@@ -611,17 +683,21 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAnalysisFunctionType_Part() {
- return (EReference)analysisFunctionTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) analysisFunctionTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getBasicSoftwareFunctionType() {
return basicSoftwareFunctionTypeEClass;
}
@@ -629,8 +705,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EEnum getClientServerKind() {
return clientServerKindEEnum;
}
@@ -638,8 +716,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EEnum getEADirectionKind() {
return eaDirectionKindEEnum;
}
@@ -647,8 +727,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getDesignFunctionPrototype() {
return designFunctionPrototypeEClass;
}
@@ -656,17 +738,21 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getDesignFunctionPrototype_Type() {
- return (EReference)designFunctionPrototypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) designFunctionPrototypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getDesignFunctionType() {
return designFunctionTypeEClass;
}
@@ -674,16 +760,20 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getDesignFunctionType_Part() {
- return (EReference)designFunctionTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) designFunctionTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionalDevice() {
return functionalDeviceEClass;
}
@@ -691,8 +781,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionAllocation() {
return functionAllocationEClass;
}
@@ -700,35 +792,43 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionAllocation_AllocatedElement() {
- return (EReference)functionAllocationEClass.getEStructuralFeatures().get(1);
+ return (EReference) functionAllocationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionAllocation_Base_Abstraction() {
- return (EReference)functionAllocationEClass.getEStructuralFeatures().get(2);
+ return (EReference) functionAllocationEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionAllocation_Target() {
- return (EReference)functionAllocationEClass.getEStructuralFeatures().get(0);
+ return (EReference) functionAllocationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionClientServerInterface() {
return functionClientServerInterfaceEClass;
}
@@ -736,26 +836,32 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionClientServerInterface_Base_Interface() {
- return (EReference)functionClientServerInterfaceEClass.getEStructuralFeatures().get(0);
+ return (EReference) functionClientServerInterfaceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionClientServerInterface_Operation() {
- return (EReference)functionClientServerInterfaceEClass.getEStructuralFeatures().get(1);
+ return (EReference) functionClientServerInterfaceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionClientServerPort() {
return functionClientServerPortEClass;
}
@@ -763,26 +869,32 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionClientServerPort_Type() {
- return (EReference)functionClientServerPortEClass.getEStructuralFeatures().get(0);
+ return (EReference) functionClientServerPortEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFunctionClientServerPort_ClientServerKind() {
- return (EAttribute)functionClientServerPortEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) functionClientServerPortEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionConnector() {
return functionConnectorEClass;
}
@@ -790,17 +902,21 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionConnector_Port() {
- return (EReference)functionConnectorEClass.getEStructuralFeatures().get(0);
+ return (EReference) functionConnectorEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionFlowPort() {
return functionFlowPortEClass;
}
@@ -808,43 +924,53 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionFlowPort_Type() {
- return (EReference)functionFlowPortEClass.getEStructuralFeatures().get(0);
+ return (EReference) functionFlowPortEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionFlowPort_DefaultValue() {
- return (EReference)functionFlowPortEClass.getEStructuralFeatures().get(1);
+ return (EReference) functionFlowPortEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFunctionFlowPort_Direction() {
- return (EAttribute)functionFlowPortEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) functionFlowPortEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FunctionmodelingFactory getFunctionmodelingFactory() {
- return (FunctionmodelingFactory)getEFactoryInstance();
+ return (FunctionmodelingFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionPort() {
return functionPortEClass;
}
@@ -852,8 +978,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionPowerPort() {
return functionPowerPortEClass;
}
@@ -861,17 +989,21 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionPowerPort_Type() {
- return (EReference)functionPowerPortEClass.getEStructuralFeatures().get(0);
+ return (EReference) functionPowerPortEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionPrototype() {
return functionPrototypeEClass;
}
@@ -879,8 +1011,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EOperation getFunctionPrototype__GetIcon() {
return functionPrototypeEClass.getEOperations().get(0);
}
@@ -888,8 +1022,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFunctionType() {
return functionTypeEClass;
}
@@ -897,17 +1033,21 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionType_Connector() {
- return (EReference)functionTypeEClass.getEStructuralFeatures().get(3);
+ return (EReference) functionTypeEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EOperation getFunctionType__GetIcon() {
return functionTypeEClass.getEOperations().get(0);
}
@@ -915,35 +1055,43 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFunctionType_IsElementary() {
- return (EAttribute)functionTypeEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) functionTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionType_Port() {
- return (EReference)functionTypeEClass.getEStructuralFeatures().get(1);
+ return (EReference) functionTypeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFunctionType_PortGroup() {
- return (EReference)functionTypeEClass.getEStructuralFeatures().get(2);
+ return (EReference) functionTypeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getHardwareFunctionType() {
return hardwareFunctionTypeEClass;
}
@@ -951,16 +1099,20 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwareFunctionType_HardwareComponent() {
- return (EReference)hardwareFunctionTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) hardwareFunctionTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getLocalDeviceManager() {
return localDeviceManagerEClass;
}
@@ -968,8 +1120,10 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getOperation() {
return operationEClass;
}
@@ -977,35 +1131,43 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getOperation_Base_Operation() {
- return (EReference)operationEClass.getEStructuralFeatures().get(0);
+ return (EReference) operationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getOperation_Argument() {
- return (EReference)operationEClass.getEStructuralFeatures().get(1);
+ return (EReference) operationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getOperation_Return() {
- return (EReference)operationEClass.getEStructuralFeatures().get(2);
+ return (EReference) operationEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getPortGroup() {
return portGroupEClass;
}
@@ -1013,47 +1175,58 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getPortGroup_Port() {
- return (EReference)portGroupEClass.getEStructuralFeatures().get(0);
+ return (EReference) portGroupEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getPortGroup_Base_Class() {
- return (EReference)portGroupEClass.getEStructuralFeatures().get(1);
+ return (EReference) portGroupEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getPortGroup_Base_Port() {
- return (EReference)portGroupEClass.getEStructuralFeatures().get(2);
+ return (EReference) portGroupEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getPortGroup_PortGroup() {
- return (EReference)portGroupEClass.getEStructuralFeatures().get(3);
+ return (EReference) portGroupEClass.getEStructuralFeatures().get(3);
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) return;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -1062,13 +1235,13 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
setNsURI(eNS_URI);
// Obtain other dependent packages
- ElementsPackage theElementsPackage = (ElementsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
- TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- InfrastructurePackage theInfrastructurePackage = (InfrastructurePackage)EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);
- DatatypesPackage theDatatypesPackage = (DatatypesPackage)EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
- ValuesPackage theValuesPackage = (ValuesPackage)EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI);
- HardwaremodelingPackage theHardwaremodelingPackage = (HardwaremodelingPackage)EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
+ ElementsPackage theElementsPackage = (ElementsPackage) EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ InfrastructurePackage theInfrastructurePackage = (InfrastructurePackage) EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);
+ DatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
+ ValuesPackage theValuesPackage = (ValuesPackage) EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI);
+ HardwaremodelingPackage theHardwaremodelingPackage = (HardwaremodelingPackage) EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
// Create type parameters
@@ -1106,13 +1279,15 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
initEClass(localDeviceManagerEClass, LocalDeviceManager.class, "LocalDeviceManager", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(designFunctionTypeEClass, DesignFunctionType.class, "DesignFunctionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDesignFunctionType_Part(), this.getDesignFunctionPrototype(), null, "part", null, 0, -1, DesignFunctionType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDesignFunctionType_Part(), this.getDesignFunctionPrototype(), null, "part", null, 0, -1, DesignFunctionType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
initEClass(functionTypeEClass, FunctionType.class, "FunctionType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getFunctionType_IsElementary(), theTypesPackage.getBoolean(), "isElementary", "false", 1, 1, FunctionType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEReference(getFunctionType_Port(), this.getFunctionPort(), null, "port", null, 0, -1, FunctionType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEReference(getFunctionType_PortGroup(), this.getPortGroup(), null, "portGroup", null, 0, -1, FunctionType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getFunctionType_Connector(), this.getFunctionConnector(), null, "connector", null, 0, -1, FunctionType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionType_Connector(), this.getFunctionConnector(), null, "connector", null, 0, -1, FunctionType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
initEOperation(getFunctionType__GetIcon(), theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !IS_ORDERED);
@@ -1125,7 +1300,8 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
initEReference(getPortGroup_PortGroup(), this.getPortGroup(), null, "portGroup", null, 0, -1, PortGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(functionConnectorEClass, FunctionConnector.class, "FunctionConnector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFunctionConnector_Port(), theInfrastructurePackage.getFunctionConnectorPortInstanceRef(), null, "port", null, 2, 2, FunctionConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionConnector_Port(), theInfrastructurePackage.getFunctionConnectorPortInstanceRef(), null, "port", null, 2, 2, FunctionConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(allocateableElementEClass, AllocateableElement.class, "AllocateableElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1134,50 +1310,68 @@ public class FunctionmodelingPackageImpl extends EPackageImpl implements Functio
initEOperation(getFunctionPrototype__GetIcon(), theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !IS_ORDERED);
initEClass(designFunctionPrototypeEClass, DesignFunctionPrototype.class, "DesignFunctionPrototype", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDesignFunctionPrototype_Type(), this.getDesignFunctionType(), null, "type", null, 1, 1, DesignFunctionPrototype.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDesignFunctionPrototype_Type(), this.getDesignFunctionType(), null, "type", null, 1, 1, DesignFunctionPrototype.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
initEClass(functionalDeviceEClass, FunctionalDevice.class, "FunctionalDevice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(analysisFunctionTypeEClass, AnalysisFunctionType.class, "AnalysisFunctionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAnalysisFunctionType_Part(), this.getAnalysisFunctionPrototype(), null, "part", null, 0, -1, AnalysisFunctionType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getAnalysisFunctionType_Part(), this.getAnalysisFunctionPrototype(), null, "part", null, 0, -1, AnalysisFunctionType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
initEClass(analysisFunctionPrototypeEClass, AnalysisFunctionPrototype.class, "AnalysisFunctionPrototype", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAnalysisFunctionPrototype_Type(), this.getAnalysisFunctionType(), null, "type", null, 1, 1, AnalysisFunctionPrototype.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getAnalysisFunctionPrototype_Type(), this.getAnalysisFunctionType(), null, "type", null, 1, 1, AnalysisFunctionPrototype.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
initEClass(functionFlowPortEClass, FunctionFlowPort.class, "FunctionFlowPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFunctionFlowPort_Type(), theDatatypesPackage.getEADatatype(), null, "type", null, 1, 1, FunctionFlowPort.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getFunctionFlowPort_DefaultValue(), theValuesPackage.getEAValue(), null, "defaultValue", null, 0, 1, FunctionFlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionFlowPort_Type(), theDatatypesPackage.getEADatatype(), null, "type", null, 1, 1, FunctionFlowPort.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getFunctionFlowPort_DefaultValue(), theValuesPackage.getEAValue(), null, "defaultValue", null, 0, 1, FunctionFlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEAttribute(getFunctionFlowPort_Direction(), this.getEADirectionKind(), "direction", null, 1, 1, FunctionFlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(functionClientServerPortEClass, FunctionClientServerPort.class, "FunctionClientServerPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFunctionClientServerPort_Type(), this.getFunctionClientServerInterface(), null, "type", null, 1, 1, FunctionClientServerPort.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEAttribute(getFunctionClientServerPort_ClientServerKind(), this.getClientServerKind(), "clientServerKind", null, 1, 1, FunctionClientServerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionClientServerPort_Type(), this.getFunctionClientServerInterface(), null, "type", null, 1, 1, FunctionClientServerPort.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getFunctionClientServerPort_ClientServerKind(), this.getClientServerKind(), "clientServerKind", null, 1, 1, FunctionClientServerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(functionClientServerInterfaceEClass, FunctionClientServerInterface.class, "FunctionClientServerInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFunctionClientServerInterface_Base_Interface(), theUMLPackage.getInterface(), null, "base_Interface", null, 1, 1, FunctionClientServerInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFunctionClientServerInterface_Operation(), this.getOperation(), null, "operation", null, 0, -1, FunctionClientServerInterface.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionClientServerInterface_Base_Interface(), theUMLPackage.getInterface(), null, "base_Interface", null, 1, 1, FunctionClientServerInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionClientServerInterface_Operation(), this.getOperation(), null, "operation", null, 0, -1, FunctionClientServerInterface.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEClass(operationEClass, Operation.class, "Operation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOperation_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getOperation_Argument(), theDatatypesPackage.getEADatatypePrototype(), null, "argument", null, 0, -1, Operation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getOperation_Return(), theDatatypesPackage.getEADatatypePrototype(), null, "return", null, 0, 1, Operation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getOperation_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getOperation_Argument(), theDatatypesPackage.getEADatatypePrototype(), null, "argument", null, 0, -1, Operation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getOperation_Return(), theDatatypesPackage.getEADatatypePrototype(), null, "return", null, 0, 1, Operation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
initEClass(basicSoftwareFunctionTypeEClass, BasicSoftwareFunctionType.class, "BasicSoftwareFunctionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(hardwareFunctionTypeEClass, HardwareFunctionType.class, "HardwareFunctionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getHardwareFunctionType_HardwareComponent(), theHardwaremodelingPackage.getHardwareComponentType(), null, "hardwareComponent", null, 0, 1, HardwareFunctionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareFunctionType_HardwareComponent(), theHardwaremodelingPackage.getHardwareComponentType(), null, "hardwareComponent", null, 0, 1, HardwareFunctionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(functionAllocationEClass, FunctionAllocation.class, "FunctionAllocation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFunctionAllocation_Target(), theInfrastructurePackage.getTargetInstanceRef(), null, "target", null, 1, 1, FunctionAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFunctionAllocation_AllocatedElement(), theInfrastructurePackage.getAllocatedElementInstanceRef(), null, "allocatedElement", null, 1, 1, FunctionAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getFunctionAllocation_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 1, 1, FunctionAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionAllocation_Target(), theInfrastructurePackage.getTargetInstanceRef(), null, "target", null, 1, 1, FunctionAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionAllocation_AllocatedElement(), theInfrastructurePackage.getAllocatedElementInstanceRef(), null, "allocatedElement", null, 1, 1, FunctionAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionAllocation_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 1, 1, FunctionAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(allocationEClass, Allocation.class, "Allocation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getAllocation_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, Allocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getAllocation_FunctionAllocation(), this.getFunctionAllocation(), null, "functionAllocation", null, 0, -1, Allocation.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getAllocation_FunctionAllocation(), this.getFunctionAllocation(), null, "functionAllocation", null, 0, -1, Allocation.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
initEClass(functionPowerPortEClass, FunctionPowerPort.class, "FunctionPowerPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFunctionPowerPort_Type(), theDatatypesPackage.getCompositeDatatype(), null, "type", null, 1, 1, FunctionPowerPort.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getFunctionPowerPort_Type(), theDatatypesPackage.getCompositeDatatype(), null, "type", null, 1, 1, FunctionPowerPort.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(eaDirectionKindEEnum, EADirectionKind.class, "EADirectionKind");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/HardwareFunctionTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/HardwareFunctionTypeImpl.java
index a083a4f91f6..9cd2c745232 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/HardwareFunctionTypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/HardwareFunctionTypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -31,7 +31,7 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentT
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.HardwareFunctionTypeImpl#getHardwareComponent <em>Hardware Component</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.HardwareFunctionTypeImpl#getHardwareComponent <em>Hardware Component</em>}</li>
* </ul>
* </p>
*
@@ -42,6 +42,7 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
* The cached value of the '{@link #getHardwareComponent() <em>Hardware Component</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getHardwareComponent()
* @generated
* @ordered
@@ -51,6 +52,7 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected HardwareFunctionTypeImpl() {
@@ -60,6 +62,7 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public HardwareComponentType basicGetHardwareComponent() {
@@ -69,14 +72,17 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT:
- if (resolve) return getHardwareComponent();
- return basicGetHardwareComponent();
+ case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT:
+ if (resolve) {
+ return getHardwareComponent();
+ }
+ return basicGetHardwareComponent();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -84,13 +90,14 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT:
- return hardwareComponent != null;
+ case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT:
+ return hardwareComponent != null;
}
return super.eIsSet(featureID);
}
@@ -98,14 +105,15 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT:
- setHardwareComponent((HardwareComponentType)newValue);
- return;
+ case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT:
+ setHardwareComponent((HardwareComponentType) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -113,6 +121,7 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -123,14 +132,15 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT:
- setHardwareComponent((HardwareComponentType)null);
- return;
+ case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT:
+ setHardwareComponent((HardwareComponentType) null);
+ return;
}
super.eUnset(featureID);
}
@@ -138,15 +148,18 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwareComponentType getHardwareComponent() {
if (hardwareComponent != null && hardwareComponent.eIsProxy()) {
- InternalEObject oldHardwareComponent = (InternalEObject)hardwareComponent;
- hardwareComponent = (HardwareComponentType)eResolveProxy(oldHardwareComponent);
+ InternalEObject oldHardwareComponent = (InternalEObject) hardwareComponent;
+ hardwareComponent = (HardwareComponentType) eResolveProxy(oldHardwareComponent);
if (hardwareComponent != oldHardwareComponent) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT, oldHardwareComponent, hardwareComponent));
+ }
}
}
return hardwareComponent;
@@ -155,13 +168,16 @@ public class HardwareFunctionTypeImpl extends DesignFunctionTypeImpl implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setHardwareComponent(HardwareComponentType newHardwareComponent) {
HardwareComponentType oldHardwareComponent = hardwareComponent;
hardwareComponent = newHardwareComponent;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE__HARDWARE_COMPONENT, oldHardwareComponent, hardwareComponent));
+ }
}
-} //HardwareFunctionTypeImpl
+} // HardwareFunctionTypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/LocalDeviceManagerImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/LocalDeviceManagerImpl.java
index 0db8b16b757..8bacbeb5737 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/LocalDeviceManagerImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/LocalDeviceManagerImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -21,8 +21,7 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.LocalDeviceManager
/**
- * <!-- begin-user-doc --> An implementation of the model object '
- * <em><b>Local Device Manager</b></em>'. <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>Local Device Manager</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
*
@@ -32,6 +31,7 @@ public class LocalDeviceManagerImpl extends DesignFunctionTypeImpl implements Lo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected LocalDeviceManagerImpl() {
@@ -40,6 +40,7 @@ public class LocalDeviceManagerImpl extends DesignFunctionTypeImpl implements Lo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/OperationImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/OperationImpl.java
index 9adb2cb084c..b72730b53a7 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/OperationImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/OperationImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,9 +38,9 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl#getBase_Operation <em>Base Operation</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl#getArgument <em>Argument</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl#getReturn <em>Return</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl#getBase_Operation <em>Base Operation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl#getArgument <em>Argument</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.OperationImpl#getReturn <em>Return</em>}</li>
* </ul>
* </p>
*
@@ -52,13 +52,16 @@ public class OperationImpl extends EAElementImpl implements Operation {
* The cached value of the '{@link #getBase_Operation() <em>Base Operation</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Operation()
* @generated
* @ordered
*/
protected org.eclipse.uml2.uml.Operation base_Operation;
+
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected OperationImpl() {
@@ -67,18 +70,18 @@ public class OperationImpl extends EAElementImpl implements Operation {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public EADatatypePrototype basicGetReturn() {
EADatatypePrototype data = null;
- if(getBase_Operation() != null) {
+ if (getBase_Operation() != null) {
// Parse owned behaviors
Parameter param = getBase_Operation().getReturnResult();
- if(param != null) {
+ if (param != null) {
// Test if parameter is stereotyped EADataPrototype
- data = (EADatatypePrototype)UMLUtil.getStereotypeApplication(param, EADatatypePrototype.class);
+ data = UMLUtil.getStereotypeApplication(param, EADatatypePrototype.class);
}
}
@@ -87,56 +90,64 @@ public class OperationImpl extends EAElementImpl implements Operation {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.OPERATION__BASE_OPERATION:
- if (resolve) return getBase_Operation();
- return basicGetBase_Operation();
- case FunctionmodelingPackage.OPERATION__ARGUMENT:
- return getArgument();
- case FunctionmodelingPackage.OPERATION__RETURN:
- if (resolve) return getReturn();
- return basicGetReturn();
+ case FunctionmodelingPackage.OPERATION__BASE_OPERATION:
+ if (resolve) {
+ return getBase_Operation();
+ }
+ return basicGetBase_Operation();
+ case FunctionmodelingPackage.OPERATION__ARGUMENT:
+ return getArgument();
+ case FunctionmodelingPackage.OPERATION__RETURN:
+ if (resolve) {
+ return getReturn();
+ }
+ return basicGetReturn();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.OPERATION__BASE_OPERATION:
- return base_Operation != null;
- case FunctionmodelingPackage.OPERATION__ARGUMENT:
- return !getArgument().isEmpty();
- case FunctionmodelingPackage.OPERATION__RETURN:
- return basicGetReturn() != null;
+ case FunctionmodelingPackage.OPERATION__BASE_OPERATION:
+ return base_Operation != null;
+ case FunctionmodelingPackage.OPERATION__ARGUMENT:
+ return !getArgument().isEmpty();
+ case FunctionmodelingPackage.OPERATION__RETURN:
+ return basicGetReturn() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.OPERATION__BASE_OPERATION:
- setBase_Operation((org.eclipse.uml2.uml.Operation)newValue);
- return;
+ case FunctionmodelingPackage.OPERATION__BASE_OPERATION:
+ setBase_Operation((org.eclipse.uml2.uml.Operation) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -147,15 +158,18 @@ public class OperationImpl extends EAElementImpl implements Operation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public org.eclipse.uml2.uml.Operation getBase_Operation() {
if (base_Operation != null && base_Operation.eIsProxy()) {
- InternalEObject oldBase_Operation = (InternalEObject)base_Operation;
- base_Operation = (org.eclipse.uml2.uml.Operation)eResolveProxy(oldBase_Operation);
+ InternalEObject oldBase_Operation = (InternalEObject) base_Operation;
+ base_Operation = (org.eclipse.uml2.uml.Operation) eResolveProxy(oldBase_Operation);
if (base_Operation != oldBase_Operation) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.OPERATION__BASE_OPERATION, oldBase_Operation, base_Operation));
+ }
}
}
return base_Operation;
@@ -164,6 +178,7 @@ public class OperationImpl extends EAElementImpl implements Operation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Operation basicGetBase_Operation() {
@@ -173,49 +188,54 @@ public class OperationImpl extends EAElementImpl implements Operation {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setBase_Operation(org.eclipse.uml2.uml.Operation newBase_Operation) {
org.eclipse.uml2.uml.Operation oldBase_Operation = base_Operation;
base_Operation = newBase_Operation;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FunctionmodelingPackage.OPERATION__BASE_OPERATION, oldBase_Operation, base_Operation));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.OPERATION__BASE_OPERATION:
- setBase_Operation((org.eclipse.uml2.uml.Operation)null);
- return;
+ case FunctionmodelingPackage.OPERATION__BASE_OPERATION:
+ setBase_Operation((org.eclipse.uml2.uml.Operation) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<EADatatypePrototype> getArgument() {
EList<EADatatypePrototype> args = new BasicEList<EADatatypePrototype>();
EADatatypePrototype currentDataPrototype;
- if(getBase_Operation() != null) {
+ if (getBase_Operation() != null) {
// Parse parameters
Iterator<Parameter> itDep = getBase_Operation().getOwnedParameters().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Parameter currentParameter = itDep.next();
// Test if currentProperty is stereotyped ADLFunctionPrototype
- currentDataPrototype = (EADatatypePrototype)UMLUtil.getStereotypeApplication(currentParameter,
- EADatatypePrototype.class);
+ currentDataPrototype = UMLUtil.getStereotypeApplication(currentParameter,
+ EADatatypePrototype.class);
- if(currentDataPrototype != null) {
+ if (currentDataPrototype != null) {
args.add(currentDataPrototype);
}
}
@@ -227,11 +247,13 @@ public class OperationImpl extends EAElementImpl implements Operation {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EADatatypePrototype getReturn() {
EADatatypePrototype return_ = basicGetReturn();
- return return_ != null && return_.eIsProxy() ? (EADatatypePrototype)eResolveProxy((InternalEObject)return_) : return_;
+ return return_ != null && return_.eIsProxy() ? (EADatatypePrototype) eResolveProxy((InternalEObject) return_) : return_;
}
} // OperationImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/PortGroupImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/PortGroupImpl.java
index b69e25f860a..0e317266fb7 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/PortGroupImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/impl/PortGroupImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -42,10 +42,10 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl#getPort <em>Port</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl#getBase_Port <em>Base Port</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl#getPortGroup <em>Port Group</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl#getBase_Port <em>Base Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.PortGroupImpl#getPortGroup <em>Port Group</em>}</li>
* </ul>
* </p>
*
@@ -57,6 +57,7 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -67,6 +68,7 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
* The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Port()
* @generated
* @ordered
@@ -76,6 +78,7 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
/**
* The cached value of the '{@link #getPortGroup() <em>Port Group</em>}' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getPortGroup()
* @generated
* @ordered
@@ -84,6 +87,7 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected PortGroupImpl() {
@@ -92,68 +96,76 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FunctionmodelingPackage.PORT_GROUP__PORT:
- return getPort();
- case FunctionmodelingPackage.PORT_GROUP__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case FunctionmodelingPackage.PORT_GROUP__BASE_PORT:
- if (resolve) return getBase_Port();
- return basicGetBase_Port();
- case FunctionmodelingPackage.PORT_GROUP__PORT_GROUP:
- return getPortGroup();
+ case FunctionmodelingPackage.PORT_GROUP__PORT:
+ return getPort();
+ case FunctionmodelingPackage.PORT_GROUP__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case FunctionmodelingPackage.PORT_GROUP__BASE_PORT:
+ if (resolve) {
+ return getBase_Port();
+ }
+ return basicGetBase_Port();
+ case FunctionmodelingPackage.PORT_GROUP__PORT_GROUP:
+ return getPortGroup();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.PORT_GROUP__PORT:
- return !getPort().isEmpty();
- case FunctionmodelingPackage.PORT_GROUP__BASE_CLASS:
- return base_Class != null;
- case FunctionmodelingPackage.PORT_GROUP__BASE_PORT:
- return base_Port != null;
- case FunctionmodelingPackage.PORT_GROUP__PORT_GROUP:
- return portGroup != null && !portGroup.isEmpty();
+ case FunctionmodelingPackage.PORT_GROUP__PORT:
+ return !getPort().isEmpty();
+ case FunctionmodelingPackage.PORT_GROUP__BASE_CLASS:
+ return base_Class != null;
+ case FunctionmodelingPackage.PORT_GROUP__BASE_PORT:
+ return base_Port != null;
+ case FunctionmodelingPackage.PORT_GROUP__PORT_GROUP:
+ return portGroup != null && !portGroup.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FunctionmodelingPackage.PORT_GROUP__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case FunctionmodelingPackage.PORT_GROUP__BASE_PORT:
- setBase_Port((Port)newValue);
- return;
- case FunctionmodelingPackage.PORT_GROUP__PORT_GROUP:
- getPortGroup().clear();
- getPortGroup().addAll((Collection<? extends PortGroup>)newValue);
- return;
+ case FunctionmodelingPackage.PORT_GROUP__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case FunctionmodelingPackage.PORT_GROUP__BASE_PORT:
+ setBase_Port((Port) newValue);
+ return;
+ case FunctionmodelingPackage.PORT_GROUP__PORT_GROUP:
+ getPortGroup().clear();
+ getPortGroup().addAll((Collection<? extends PortGroup>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -163,60 +175,62 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FunctionmodelingPackage.PORT_GROUP__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case FunctionmodelingPackage.PORT_GROUP__BASE_PORT:
- setBase_Port((Port)null);
- return;
- case FunctionmodelingPackage.PORT_GROUP__PORT_GROUP:
- getPortGroup().clear();
- return;
+ case FunctionmodelingPackage.PORT_GROUP__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case FunctionmodelingPackage.PORT_GROUP__BASE_PORT:
+ setBase_Port((Port) null);
+ return;
+ case FunctionmodelingPackage.PORT_GROUP__PORT_GROUP:
+ getPortGroup().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<FunctionPort> getPort() {
EList<FunctionPort> groupedPorts = new BasicEList<FunctionPort>();
FunctionPort currentFunctionPort;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
// Parse owned Ports
Iterator<Port> itDep = getBase_Class().getOwnedPorts().iterator();
- while(itDep.hasNext()) {
+ while (itDep.hasNext()) {
Port currentPort = itDep.next();
// Test if currentPort is stereotyped ADLFlowPort
- currentFunctionPort = (FunctionPort)UMLUtil.getStereotypeApplication(currentPort,
- FunctionPort.class);
+ currentFunctionPort = UMLUtil.getStereotypeApplication(currentPort,
+ FunctionPort.class);
- if(currentFunctionPort != null) {
+ if (currentFunctionPort != null) {
groupedPorts.add(currentFunctionPort);
}
}
- } else if(getBase_Port() != null) {
+ } else if (getBase_Port() != null) {
// When the stereotype is applied on a Port, the port is expected
// to be typed by a "ADLPortGroup" Class
// getGroupedPort returns the grouped ports of the ADLPortGroup type
Type type = getBase_Port().getType();
- if(type instanceof Class) {
+ if (type instanceof Class) {
- PortGroup currentPortGroupType = (PortGroup)UMLUtil.getStereotypeApplication(type,
+ PortGroup currentPortGroupType = UMLUtil.getStereotypeApplication(type,
PortGroup.class);
// The port type is stereotype ADLPortGroup
- if(currentPortGroupType != null) {
+ if (currentPortGroupType != null) {
groupedPorts.addAll(currentPortGroupType.getPort());
}
}
@@ -228,15 +242,18 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.PORT_GROUP__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -245,6 +262,7 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -254,27 +272,33 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FunctionmodelingPackage.PORT_GROUP__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Port getBase_Port() {
if (base_Port != null && base_Port.eIsProxy()) {
- InternalEObject oldBase_Port = (InternalEObject)base_Port;
- base_Port = (Port)eResolveProxy(oldBase_Port);
+ InternalEObject oldBase_Port = (InternalEObject) base_Port;
+ base_Port = (Port) eResolveProxy(oldBase_Port);
if (base_Port != oldBase_Port) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionmodelingPackage.PORT_GROUP__BASE_PORT, oldBase_Port, base_Port));
+ }
}
}
return base_Port;
@@ -283,6 +307,7 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Port basicGetBase_Port() {
@@ -292,19 +317,24 @@ public class PortGroupImpl extends EAElementImpl implements PortGroup {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, FunctionmodelingPackage.PORT_GROUP__BASE_PORT, oldBase_Port, base_Port));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<PortGroup> getPortGroup() {
if (portGroup == null) {
portGroup = new EObjectResolvingEList<PortGroup>(PortGroup.class, this, FunctionmodelingPackage.PORT_GROUP__PORT_GROUP);
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java
index 30bc24151c1..2b816f6dfee 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -52,8 +52,8 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup;
/**
- * <!-- 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 -->
+ * <!-- 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.eastadl.structure.functionmodeling.FunctionmodelingPackage
* @generated
*/
@@ -62,6 +62,7 @@ public class FunctionmodelingAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static FunctionmodelingPackage modelPackage;
@@ -70,134 +71,165 @@ public class FunctionmodelingAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
protected FunctionmodelingSwitch<Adapter> modelSwitch = new FunctionmodelingSwitch<Adapter>() {
- @Override
- public Adapter caseLocalDeviceManager(LocalDeviceManager object) {
- return createLocalDeviceManagerAdapter();
- }
- @Override
- public Adapter caseDesignFunctionType(DesignFunctionType object) {
- return createDesignFunctionTypeAdapter();
- }
- @Override
- public Adapter caseFunctionType(FunctionType object) {
- return createFunctionTypeAdapter();
- }
- @Override
- public Adapter caseFunctionPort(FunctionPort object) {
- return createFunctionPortAdapter();
- }
- @Override
- public Adapter casePortGroup(PortGroup object) {
- return createPortGroupAdapter();
- }
- @Override
- public Adapter caseFunctionConnector(FunctionConnector object) {
- return createFunctionConnectorAdapter();
- }
- @Override
- public Adapter caseAllocateableElement(AllocateableElement object) {
- return createAllocateableElementAdapter();
- }
- @Override
- public Adapter caseFunctionPrototype(FunctionPrototype object) {
- return createFunctionPrototypeAdapter();
- }
- @Override
- public Adapter caseDesignFunctionPrototype(DesignFunctionPrototype object) {
- return createDesignFunctionPrototypeAdapter();
- }
- @Override
- public Adapter caseFunctionalDevice(FunctionalDevice object) {
- return createFunctionalDeviceAdapter();
- }
- @Override
- public Adapter caseAnalysisFunctionType(AnalysisFunctionType object) {
- return createAnalysisFunctionTypeAdapter();
- }
- @Override
- public Adapter caseAnalysisFunctionPrototype(AnalysisFunctionPrototype object) {
- return createAnalysisFunctionPrototypeAdapter();
- }
- @Override
- public Adapter caseFunctionFlowPort(FunctionFlowPort object) {
- return createFunctionFlowPortAdapter();
- }
- @Override
- public Adapter caseFunctionClientServerPort(FunctionClientServerPort object) {
- return createFunctionClientServerPortAdapter();
- }
- @Override
- public Adapter caseFunctionClientServerInterface(FunctionClientServerInterface object) {
- return createFunctionClientServerInterfaceAdapter();
- }
- @Override
- public Adapter caseOperation(Operation object) {
- return createOperationAdapter();
- }
- @Override
- public Adapter caseBasicSoftwareFunctionType(BasicSoftwareFunctionType object) {
- return createBasicSoftwareFunctionTypeAdapter();
- }
- @Override
- public Adapter caseHardwareFunctionType(HardwareFunctionType object) {
- return createHardwareFunctionTypeAdapter();
- }
- @Override
- public Adapter caseFunctionAllocation(FunctionAllocation object) {
- return createFunctionAllocationAdapter();
- }
- @Override
- public Adapter caseAllocation(Allocation object) {
- return createAllocationAdapter();
- }
- @Override
- public Adapter caseFunctionPowerPort(FunctionPowerPort object) {
- return createFunctionPowerPortAdapter();
- }
- @Override
- public Adapter caseEAElement(EAElement object) {
- return createEAElementAdapter();
- }
- @Override
- public Adapter caseEAPackageableElement(EAPackageableElement object) {
- return createEAPackageableElementAdapter();
- }
- @Override
- public Adapter caseContext(Context object) {
- return createContextAdapter();
- }
- @Override
- public Adapter caseEAType(EAType object) {
- return createEATypeAdapter();
- }
- @Override
- public Adapter caseEAPort(EAPort object) {
- return createEAPortAdapter();
- }
- @Override
- public Adapter caseEAConnector(EAConnector object) {
- return createEAConnectorAdapter();
- }
- @Override
- public Adapter caseEAPrototype(EAPrototype object) {
- return createEAPrototypeAdapter();
- }
- @Override
- public Adapter caseTraceableSpecification(TraceableSpecification object) {
- return createTraceableSpecificationAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseLocalDeviceManager(LocalDeviceManager object) {
+ return createLocalDeviceManagerAdapter();
+ }
+
+ @Override
+ public Adapter caseDesignFunctionType(DesignFunctionType object) {
+ return createDesignFunctionTypeAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionType(FunctionType object) {
+ return createFunctionTypeAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionPort(FunctionPort object) {
+ return createFunctionPortAdapter();
+ }
+
+ @Override
+ public Adapter casePortGroup(PortGroup object) {
+ return createPortGroupAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionConnector(FunctionConnector object) {
+ return createFunctionConnectorAdapter();
+ }
+
+ @Override
+ public Adapter caseAllocateableElement(AllocateableElement object) {
+ return createAllocateableElementAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionPrototype(FunctionPrototype object) {
+ return createFunctionPrototypeAdapter();
+ }
+
+ @Override
+ public Adapter caseDesignFunctionPrototype(DesignFunctionPrototype object) {
+ return createDesignFunctionPrototypeAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionalDevice(FunctionalDevice object) {
+ return createFunctionalDeviceAdapter();
+ }
+
+ @Override
+ public Adapter caseAnalysisFunctionType(AnalysisFunctionType object) {
+ return createAnalysisFunctionTypeAdapter();
+ }
+
+ @Override
+ public Adapter caseAnalysisFunctionPrototype(AnalysisFunctionPrototype object) {
+ return createAnalysisFunctionPrototypeAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionFlowPort(FunctionFlowPort object) {
+ return createFunctionFlowPortAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionClientServerPort(FunctionClientServerPort object) {
+ return createFunctionClientServerPortAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionClientServerInterface(FunctionClientServerInterface object) {
+ return createFunctionClientServerInterfaceAdapter();
+ }
+
+ @Override
+ public Adapter caseOperation(Operation object) {
+ return createOperationAdapter();
+ }
+
+ @Override
+ public Adapter caseBasicSoftwareFunctionType(BasicSoftwareFunctionType object) {
+ return createBasicSoftwareFunctionTypeAdapter();
+ }
+
+ @Override
+ public Adapter caseHardwareFunctionType(HardwareFunctionType object) {
+ return createHardwareFunctionTypeAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionAllocation(FunctionAllocation object) {
+ return createFunctionAllocationAdapter();
+ }
+
+ @Override
+ public Adapter caseAllocation(Allocation object) {
+ return createAllocationAdapter();
+ }
+
+ @Override
+ public Adapter caseFunctionPowerPort(FunctionPowerPort object) {
+ return createFunctionPowerPortAdapter();
+ }
+
+ @Override
+ public Adapter caseEAElement(EAElement object) {
+ return createEAElementAdapter();
+ }
+
+ @Override
+ public Adapter caseEAPackageableElement(EAPackageableElement object) {
+ return createEAPackageableElementAdapter();
+ }
+
+ @Override
+ public Adapter caseContext(Context object) {
+ return createContextAdapter();
+ }
+
+ @Override
+ public Adapter caseEAType(EAType object) {
+ return createEATypeAdapter();
+ }
+
+ @Override
+ public Adapter caseEAPort(EAPort object) {
+ return createEAPortAdapter();
+ }
+
+ @Override
+ public Adapter caseEAConnector(EAConnector object) {
+ return createEAConnectorAdapter();
+ }
+
+ @Override
+ public Adapter caseEAPrototype(EAPrototype object) {
+ return createEAPrototypeAdapter();
+ }
+
+ @Override
+ public Adapter caseTraceableSpecification(TraceableSpecification object) {
+ return createTraceableSpecificationAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FunctionmodelingAdapterFactory() {
@@ -209,13 +241,15 @@ public class FunctionmodelingAdapterFactory extends AdapterFactoryImpl {
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param target the object to adapt.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -223,6 +257,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.AllocateableElement
* @generated
@@ -237,6 +272,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.Allocation
* @generated
@@ -251,6 +287,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.AnalysisFunctionPrototype
* @generated
@@ -265,6 +302,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.AnalysisFunctionType
* @generated
@@ -279,6 +317,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.BasicSoftwareFunctionType
* @generated
@@ -293,6 +332,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.infrastructure.elements.EAType
* @generated
@@ -307,6 +347,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.infrastructure.elements.EAPort
* @generated
@@ -321,6 +362,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.infrastructure.elements.EAConnector
* @generated
@@ -335,6 +377,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.infrastructure.elements.EAPrototype
* @generated
@@ -349,6 +392,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.infrastructure.elements.EAPackageableElement
* @generated
@@ -363,6 +407,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.infrastructure.elements.TraceableSpecification
* @generated
@@ -377,6 +422,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.infrastructure.elements.Context
* @generated
@@ -391,6 +437,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.DesignFunctionPrototype
* @generated
@@ -405,6 +452,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.DesignFunctionType
* @generated
@@ -417,6 +465,7 @@ public class FunctionmodelingAdapterFactory 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
*/
@@ -429,6 +478,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionalDevice
* @generated
@@ -443,6 +493,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionAllocation
* @generated
@@ -457,6 +508,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionClientServerInterface
* @generated
@@ -471,6 +523,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionClientServerPort
* @generated
@@ -485,6 +538,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionConnector
* @generated
@@ -499,6 +553,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionFlowPort
* @generated
@@ -513,6 +568,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionPort
* @generated
@@ -527,6 +583,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionPowerPort
* @generated
@@ -541,6 +598,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.infrastructure.elements.EAElement
* @generated
@@ -555,6 +613,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionPrototype
* @generated
@@ -569,6 +628,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.FunctionType
* @generated
@@ -583,6 +643,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.HardwareFunctionType
* @generated
@@ -596,6 +657,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.LocalDeviceManager
* @generated
@@ -610,6 +672,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.Operation
* @generated
@@ -624,6 +687,7 @@ public class FunctionmodelingAdapterFactory 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.eastadl.structure.functionmodeling.PortGroup
* @generated
@@ -637,6 +701,7 @@ public class FunctionmodelingAdapterFactory 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
*/
@@ -646,7 +711,7 @@ public class FunctionmodelingAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceFactoryImpl.java
index 7540147eaa9..7142b87749c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,6 +23,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.eastadl.structure.functionmodeling.util.FunctionmodelingResourceImpl
* @generated
*/
@@ -31,6 +32,7 @@ public class FunctionmodelingResourceFactoryImpl extends ResourceFactoryImpl {
/**
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FunctionmodelingResourceFactoryImpl() {
@@ -40,6 +42,7 @@ public class FunctionmodelingResourceFactoryImpl extends ResourceFactoryImpl {
/**
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceImpl.java
index 2d69c8f3e77..941354a23fe 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -20,6 +20,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.eastadl.structure.functionmodeling.util.FunctionmodelingResourceFactoryImpl
* @generated
*/
@@ -28,7 +29,9 @@ public class FunctionmodelingResourceImpl extends XMLResourceImpl {
/**
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public FunctionmodelingResourceImpl(URI uri) {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java
index 5efe7f28c4c..f28ced900c1 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -56,6 +56,7 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup;
* each class of the model, starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage
* @generated
*/
@@ -64,6 +65,7 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static FunctionmodelingPackage modelPackage;
@@ -71,6 +73,7 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
/**
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FunctionmodelingSwitch() {
@@ -83,6 +86,7 @@ public class FunctionmodelingSwitch<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
@@ -96,7 +100,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Allocateable Element</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Allocateable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -111,7 +117,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Allocation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -126,7 +134,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Analysis Function Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -141,7 +151,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Analysis Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -156,7 +168,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Basic Software Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -171,7 +185,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -186,7 +202,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -201,7 +219,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -216,7 +236,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -231,7 +253,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Packageable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -246,7 +270,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Traceable Specification</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -261,7 +287,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Context</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -276,7 +304,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Design Function Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -291,7 +321,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Design Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -304,7 +336,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Functional Device</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Functional Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -319,7 +353,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Allocation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -334,7 +370,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Client Server Interface</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -349,7 +387,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Client Server Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -364,7 +404,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -379,7 +421,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Flow Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -394,7 +438,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -409,7 +455,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Power Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -424,7 +472,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -439,7 +489,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -454,7 +506,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -469,7 +523,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Hardware Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -482,7 +538,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Local Device Manager</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Local Device Manager</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -497,7 +555,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Operation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -512,7 +572,9 @@ public class FunctionmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Port Group</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -525,7 +587,7 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!--
* begin-user-doc --> This implementation returns null; returning a non-null result will
* terminate the switch, but this is the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
@@ -540,207 +602,387 @@ public class FunctionmodelingSwitch<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 FunctionmodelingPackage.LOCAL_DEVICE_MANAGER: {
- LocalDeviceManager localDeviceManager = (LocalDeviceManager)theEObject;
- T result = caseLocalDeviceManager(localDeviceManager);
- if (result == null) result = caseDesignFunctionType(localDeviceManager);
- if (result == null) result = caseFunctionType(localDeviceManager);
- if (result == null) result = caseContext(localDeviceManager);
- if (result == null) result = caseEAType(localDeviceManager);
- if (result == null) result = caseEAPackageableElement(localDeviceManager);
- if (result == null) result = caseEAElement(localDeviceManager);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE: {
- DesignFunctionType designFunctionType = (DesignFunctionType)theEObject;
- T result = caseDesignFunctionType(designFunctionType);
- if (result == null) result = caseFunctionType(designFunctionType);
- if (result == null) result = caseContext(designFunctionType);
- if (result == null) result = caseEAType(designFunctionType);
- if (result == null) result = caseEAPackageableElement(designFunctionType);
- if (result == null) result = caseEAElement(designFunctionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_TYPE: {
- FunctionType functionType = (FunctionType)theEObject;
- T result = caseFunctionType(functionType);
- if (result == null) result = caseContext(functionType);
- if (result == null) result = caseEAType(functionType);
- if (result == null) result = caseEAPackageableElement(functionType);
- if (result == null) result = caseEAElement(functionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_PORT: {
- FunctionPort functionPort = (FunctionPort)theEObject;
- T result = caseFunctionPort(functionPort);
- if (result == null) result = caseEAElement(functionPort);
- if (result == null) result = caseEAPort(functionPort);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.PORT_GROUP: {
- PortGroup portGroup = (PortGroup)theEObject;
- T result = casePortGroup(portGroup);
- if (result == null) result = caseEAElement(portGroup);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_CONNECTOR: {
- FunctionConnector functionConnector = (FunctionConnector)theEObject;
- T result = caseFunctionConnector(functionConnector);
- if (result == null) result = caseEAElement(functionConnector);
- if (result == null) result = caseEAConnector(functionConnector);
- if (result == null) result = caseAllocateableElement(functionConnector);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.ALLOCATEABLE_ELEMENT: {
- AllocateableElement allocateableElement = (AllocateableElement)theEObject;
- T result = caseAllocateableElement(allocateableElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_PROTOTYPE: {
- FunctionPrototype functionPrototype = (FunctionPrototype)theEObject;
- T result = caseFunctionPrototype(functionPrototype);
- if (result == null) result = caseEAElement(functionPrototype);
- if (result == null) result = caseEAPrototype(functionPrototype);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE: {
- DesignFunctionPrototype designFunctionPrototype = (DesignFunctionPrototype)theEObject;
- T result = caseDesignFunctionPrototype(designFunctionPrototype);
- if (result == null) result = caseFunctionPrototype(designFunctionPrototype);
- if (result == null) result = caseAllocateableElement(designFunctionPrototype);
- if (result == null) result = caseEAElement(designFunctionPrototype);
- if (result == null) result = caseEAPrototype(designFunctionPrototype);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTIONAL_DEVICE: {
- FunctionalDevice functionalDevice = (FunctionalDevice)theEObject;
- T result = caseFunctionalDevice(functionalDevice);
- if (result == null) result = caseAnalysisFunctionType(functionalDevice);
- if (result == null) result = caseFunctionType(functionalDevice);
- if (result == null) result = caseContext(functionalDevice);
- if (result == null) result = caseEAType(functionalDevice);
- if (result == null) result = caseEAPackageableElement(functionalDevice);
- if (result == null) result = caseEAElement(functionalDevice);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE: {
- AnalysisFunctionType analysisFunctionType = (AnalysisFunctionType)theEObject;
- T result = caseAnalysisFunctionType(analysisFunctionType);
- if (result == null) result = caseFunctionType(analysisFunctionType);
- if (result == null) result = caseContext(analysisFunctionType);
- if (result == null) result = caseEAType(analysisFunctionType);
- if (result == null) result = caseEAPackageableElement(analysisFunctionType);
- if (result == null) result = caseEAElement(analysisFunctionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE: {
- AnalysisFunctionPrototype analysisFunctionPrototype = (AnalysisFunctionPrototype)theEObject;
- T result = caseAnalysisFunctionPrototype(analysisFunctionPrototype);
- if (result == null) result = caseFunctionPrototype(analysisFunctionPrototype);
- if (result == null) result = caseEAElement(analysisFunctionPrototype);
- if (result == null) result = caseEAPrototype(analysisFunctionPrototype);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT: {
- FunctionFlowPort functionFlowPort = (FunctionFlowPort)theEObject;
- T result = caseFunctionFlowPort(functionFlowPort);
- if (result == null) result = caseFunctionPort(functionFlowPort);
- if (result == null) result = caseEAElement(functionFlowPort);
- if (result == null) result = caseEAPort(functionFlowPort);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT: {
- FunctionClientServerPort functionClientServerPort = (FunctionClientServerPort)theEObject;
- T result = caseFunctionClientServerPort(functionClientServerPort);
- if (result == null) result = caseFunctionPort(functionClientServerPort);
- if (result == null) result = caseEAElement(functionClientServerPort);
- if (result == null) result = caseEAPort(functionClientServerPort);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE: {
- FunctionClientServerInterface functionClientServerInterface = (FunctionClientServerInterface)theEObject;
- T result = caseFunctionClientServerInterface(functionClientServerInterface);
- if (result == null) result = caseTraceableSpecification(functionClientServerInterface);
- if (result == null) result = caseEAPackageableElement(functionClientServerInterface);
- if (result == null) result = caseEAElement(functionClientServerInterface);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.OPERATION: {
- Operation operation = (Operation)theEObject;
- T result = caseOperation(operation);
- if (result == null) result = caseEAElement(operation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.BASIC_SOFTWARE_FUNCTION_TYPE: {
- BasicSoftwareFunctionType basicSoftwareFunctionType = (BasicSoftwareFunctionType)theEObject;
- T result = caseBasicSoftwareFunctionType(basicSoftwareFunctionType);
- if (result == null) result = caseDesignFunctionType(basicSoftwareFunctionType);
- if (result == null) result = caseFunctionType(basicSoftwareFunctionType);
- if (result == null) result = caseContext(basicSoftwareFunctionType);
- if (result == null) result = caseEAType(basicSoftwareFunctionType);
- if (result == null) result = caseEAPackageableElement(basicSoftwareFunctionType);
- if (result == null) result = caseEAElement(basicSoftwareFunctionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE: {
- HardwareFunctionType hardwareFunctionType = (HardwareFunctionType)theEObject;
- T result = caseHardwareFunctionType(hardwareFunctionType);
- if (result == null) result = caseDesignFunctionType(hardwareFunctionType);
- if (result == null) result = caseFunctionType(hardwareFunctionType);
- if (result == null) result = caseContext(hardwareFunctionType);
- if (result == null) result = caseEAType(hardwareFunctionType);
- if (result == null) result = caseEAPackageableElement(hardwareFunctionType);
- if (result == null) result = caseEAElement(hardwareFunctionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_ALLOCATION: {
- FunctionAllocation functionAllocation = (FunctionAllocation)theEObject;
- T result = caseFunctionAllocation(functionAllocation);
- if (result == null) result = caseEAElement(functionAllocation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.ALLOCATION: {
- Allocation allocation = (Allocation)theEObject;
- T result = caseAllocation(allocation);
- if (result == null) result = caseEAElement(allocation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_POWER_PORT: {
- FunctionPowerPort functionPowerPort = (FunctionPowerPort)theEObject;
- T result = caseFunctionPowerPort(functionPowerPort);
- if (result == null) result = caseFunctionPort(functionPowerPort);
- if (result == null) result = caseEAElement(functionPowerPort);
- if (result == null) result = caseEAPort(functionPowerPort);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
+ case FunctionmodelingPackage.LOCAL_DEVICE_MANAGER: {
+ LocalDeviceManager localDeviceManager = (LocalDeviceManager) theEObject;
+ T result = caseLocalDeviceManager(localDeviceManager);
+ if (result == null) {
+ result = caseDesignFunctionType(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseFunctionType(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseContext(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseEAType(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseEAElement(localDeviceManager);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE: {
+ DesignFunctionType designFunctionType = (DesignFunctionType) theEObject;
+ T result = caseDesignFunctionType(designFunctionType);
+ if (result == null) {
+ result = caseFunctionType(designFunctionType);
+ }
+ if (result == null) {
+ result = caseContext(designFunctionType);
+ }
+ if (result == null) {
+ result = caseEAType(designFunctionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(designFunctionType);
+ }
+ if (result == null) {
+ result = caseEAElement(designFunctionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_TYPE: {
+ FunctionType functionType = (FunctionType) theEObject;
+ T result = caseFunctionType(functionType);
+ if (result == null) {
+ result = caseContext(functionType);
+ }
+ if (result == null) {
+ result = caseEAType(functionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(functionType);
+ }
+ if (result == null) {
+ result = caseEAElement(functionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_PORT: {
+ FunctionPort functionPort = (FunctionPort) theEObject;
+ T result = caseFunctionPort(functionPort);
+ if (result == null) {
+ result = caseEAElement(functionPort);
+ }
+ if (result == null) {
+ result = caseEAPort(functionPort);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.PORT_GROUP: {
+ PortGroup portGroup = (PortGroup) theEObject;
+ T result = casePortGroup(portGroup);
+ if (result == null) {
+ result = caseEAElement(portGroup);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR: {
+ FunctionConnector functionConnector = (FunctionConnector) theEObject;
+ T result = caseFunctionConnector(functionConnector);
+ if (result == null) {
+ result = caseEAElement(functionConnector);
+ }
+ if (result == null) {
+ result = caseEAConnector(functionConnector);
+ }
+ if (result == null) {
+ result = caseAllocateableElement(functionConnector);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.ALLOCATEABLE_ELEMENT: {
+ AllocateableElement allocateableElement = (AllocateableElement) theEObject;
+ T result = caseAllocateableElement(allocateableElement);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_PROTOTYPE: {
+ FunctionPrototype functionPrototype = (FunctionPrototype) theEObject;
+ T result = caseFunctionPrototype(functionPrototype);
+ if (result == null) {
+ result = caseEAElement(functionPrototype);
+ }
+ if (result == null) {
+ result = caseEAPrototype(functionPrototype);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE: {
+ DesignFunctionPrototype designFunctionPrototype = (DesignFunctionPrototype) theEObject;
+ T result = caseDesignFunctionPrototype(designFunctionPrototype);
+ if (result == null) {
+ result = caseFunctionPrototype(designFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseAllocateableElement(designFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseEAElement(designFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseEAPrototype(designFunctionPrototype);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTIONAL_DEVICE: {
+ FunctionalDevice functionalDevice = (FunctionalDevice) theEObject;
+ T result = caseFunctionalDevice(functionalDevice);
+ if (result == null) {
+ result = caseAnalysisFunctionType(functionalDevice);
+ }
+ if (result == null) {
+ result = caseFunctionType(functionalDevice);
+ }
+ if (result == null) {
+ result = caseContext(functionalDevice);
+ }
+ if (result == null) {
+ result = caseEAType(functionalDevice);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(functionalDevice);
+ }
+ if (result == null) {
+ result = caseEAElement(functionalDevice);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE: {
+ AnalysisFunctionType analysisFunctionType = (AnalysisFunctionType) theEObject;
+ T result = caseAnalysisFunctionType(analysisFunctionType);
+ if (result == null) {
+ result = caseFunctionType(analysisFunctionType);
+ }
+ if (result == null) {
+ result = caseContext(analysisFunctionType);
+ }
+ if (result == null) {
+ result = caseEAType(analysisFunctionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(analysisFunctionType);
+ }
+ if (result == null) {
+ result = caseEAElement(analysisFunctionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE: {
+ AnalysisFunctionPrototype analysisFunctionPrototype = (AnalysisFunctionPrototype) theEObject;
+ T result = caseAnalysisFunctionPrototype(analysisFunctionPrototype);
+ if (result == null) {
+ result = caseFunctionPrototype(analysisFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseEAElement(analysisFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseEAPrototype(analysisFunctionPrototype);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT: {
+ FunctionFlowPort functionFlowPort = (FunctionFlowPort) theEObject;
+ T result = caseFunctionFlowPort(functionFlowPort);
+ if (result == null) {
+ result = caseFunctionPort(functionFlowPort);
+ }
+ if (result == null) {
+ result = caseEAElement(functionFlowPort);
+ }
+ if (result == null) {
+ result = caseEAPort(functionFlowPort);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT: {
+ FunctionClientServerPort functionClientServerPort = (FunctionClientServerPort) theEObject;
+ T result = caseFunctionClientServerPort(functionClientServerPort);
+ if (result == null) {
+ result = caseFunctionPort(functionClientServerPort);
+ }
+ if (result == null) {
+ result = caseEAElement(functionClientServerPort);
+ }
+ if (result == null) {
+ result = caseEAPort(functionClientServerPort);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE: {
+ FunctionClientServerInterface functionClientServerInterface = (FunctionClientServerInterface) theEObject;
+ T result = caseFunctionClientServerInterface(functionClientServerInterface);
+ if (result == null) {
+ result = caseTraceableSpecification(functionClientServerInterface);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(functionClientServerInterface);
+ }
+ if (result == null) {
+ result = caseEAElement(functionClientServerInterface);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.OPERATION: {
+ Operation operation = (Operation) theEObject;
+ T result = caseOperation(operation);
+ if (result == null) {
+ result = caseEAElement(operation);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.BASIC_SOFTWARE_FUNCTION_TYPE: {
+ BasicSoftwareFunctionType basicSoftwareFunctionType = (BasicSoftwareFunctionType) theEObject;
+ T result = caseBasicSoftwareFunctionType(basicSoftwareFunctionType);
+ if (result == null) {
+ result = caseDesignFunctionType(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseFunctionType(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseContext(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAType(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAElement(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE: {
+ HardwareFunctionType hardwareFunctionType = (HardwareFunctionType) theEObject;
+ T result = caseHardwareFunctionType(hardwareFunctionType);
+ if (result == null) {
+ result = caseDesignFunctionType(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseFunctionType(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseContext(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAType(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAElement(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION: {
+ FunctionAllocation functionAllocation = (FunctionAllocation) theEObject;
+ T result = caseFunctionAllocation(functionAllocation);
+ if (result == null) {
+ result = caseEAElement(functionAllocation);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.ALLOCATION: {
+ Allocation allocation = (Allocation) theEObject;
+ T result = caseAllocation(allocation);
+ if (result == null) {
+ result = caseEAElement(allocation);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_POWER_PORT: {
+ FunctionPowerPort functionPowerPort = (FunctionPowerPort) theEObject;
+ T result = caseFunctionPowerPort(functionPowerPort);
+ if (result == null) {
+ result = caseFunctionPort(functionPowerPort);
+ }
+ if (result == null) {
+ result = caseEAElement(functionPowerPort);
+ }
+ if (result == null) {
+ result = caseEAPort(functionPowerPort);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingXMLProcessor.java
index bce877380c2..e93229d9a37 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,6 +27,7 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPa
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
*/
public class FunctionmodelingXMLProcessor extends XMLProcessor {
@@ -34,6 +35,7 @@ public class FunctionmodelingXMLProcessor extends XMLProcessor {
/**
* Public constructor to instantiate the helper.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FunctionmodelingXMLProcessor() {
@@ -44,6 +46,7 @@ public class FunctionmodelingXMLProcessor extends XMLProcessor {
/**
* Register for "*" and "xml" file extensions the FunctionmodelingResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Actuator.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Actuator.java
index c8e8733e44f..60c4beaac34 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Actuator.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Actuator.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,11 +22,12 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The Actuator is the element that represents electrical actuators, such as valves, motors, lamps, brake units, etc. Non-electrical actuators such as the engine, hydraulics, etc. are considered part of the plant model (environment). Plant models are not part of the Hardware Design Architecture.
- *
+ * The Actuator is the element that represents electrical actuators, such as valves, motors, lamps, brake units, etc. Non-electrical actuators such as the engine, hydraulics, etc. are considered part of the plant model (environment). Plant models are not part
+ * of the Hardware Design Architecture.
+ *
* Semantics:
* The Actuator metaclass represents the physical and electrical aspects of actuator hardware. The logical aspect is represented by a HWFunctionType associated to the Actuator.
- *
+ *
* Notation:
* Actuator is shown as a solid-outline rectangle with double vertical borders. The rectangle contains the name, and its ports or port groups on the perimeter.
* <!-- end-model-doc -->
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/AllocationTarget.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/AllocationTarget.java
index 93fa545f7f9..85cbc837ab8 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/AllocationTarget.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/AllocationTarget.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,11 +24,11 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The AllocationTarget is a superclass for elements to which AllocateableElements can be allocated.
- *
+ * The AllocationTarget is a superclass for elements to which AllocateableElements can be allocated.
+ *
* Semantics:
* An AllocationTarget is a resource element in the Hardware Design Architecture which may host functional behaviors in the Functional Design Architecture.
- *
+ *
* Extension: abstract, no extension
* <!-- end-model-doc -->
*
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/CommunicationHardwarePin.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/CommunicationHardwarePin.java
index 44906b6c5bc..fda6c6b26b7 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/CommunicationHardwarePin.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/CommunicationHardwarePin.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,13 +22,13 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * CommunicationHardwarePin represents an electrical connection point that can be used to define how the wire harness is logically defined.
- *
+ * CommunicationHardwarePin represents an electrical connection point that can be used to define how the wire harness is logically defined.
+ *
* Semantics:
- * The CommunicationHardwarePin represents the hardware connection point of a communication bus.
- *
+ * The CommunicationHardwarePin represents the hardware connection point of a communication bus.
+ *
* Depending on modeling style, one or two pins may be defined for a dual-wire bus.
- *
+ *
* Notation:
* CommunicationHardwarePin is shown as a solid square with a C inside. Its name may appear outside the square.
* <!-- end-model-doc -->
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/ElectricalComponent.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/ElectricalComponent.java
index 2d3d32a9f9d..4944e1885e9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/ElectricalComponent.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/ElectricalComponent.java
@@ -10,10 +10,10 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
*
* <!-- begin-model-doc -->
* Electrical component represents a hardware element as e.g. relays, batteries, capacitors and other non-computational, non-interactional (with plant) elements.
- *
+ *
* Semantics:
* Electrical component may be active (e.g., a battery) or passive (main relay).
- *
+ *
* Notation:
* ElectricalComponentis shown as a solid-outline rectangle. The rectangle contains the name, and its ports or port groups on the perimeter.
* <!-- end-model-doc -->
@@ -21,7 +21,7 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.ElectricalComponent#isIsActive <em>Is Active</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.ElectricalComponent#isIsActive <em>Is Active</em>}</li>
* </ul>
* </p>
*
@@ -37,6 +37,7 @@ public interface ElectricalComponent extends HardwareComponentType {
* <!-- begin-model-doc -->
* Indicates if the PowerSupply is active or passive.
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Is Active</em>' attribute.
* @see #setIsActive(boolean)
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getElectricalComponent_IsActive()
@@ -49,7 +50,9 @@ public interface ElectricalComponent extends HardwareComponentType {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.ElectricalComponent#isIsActive <em>Is Active</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Active</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Is Active</em>' attribute.
* @see #isIsActive()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareBusKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareBusKind.java
index 806ff298488..a5f0d723f47 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareBusKind.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareBusKind.java
@@ -15,10 +15,11 @@ import org.eclipse.emf.common.util.Enumerator;
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* LogicalBusKind is an enumeration type representing different kinds of busses.
- *
- * Extension:
+ *
+ * Extension:
* Enumeration, no extension.
* <!-- end-model-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwareBusKind()
* @model
* @generated
@@ -28,6 +29,7 @@ public enum HardwareBusKind implements Enumerator {
* The '<em><b>Time Triggered</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #TIME_TRIGGERED_VALUE
* @generated
* @ordered
@@ -38,6 +40,7 @@ public enum HardwareBusKind implements Enumerator {
* The '<em><b>Event Triggered</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #EVENT_TRIGGERED_VALUE
* @generated
* @ordered
@@ -48,6 +51,7 @@ public enum HardwareBusKind implements Enumerator {
* The '<em><b>Timeand Event Triggered</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #TIMEAND_EVENT_TRIGGERED_VALUE
* @generated
* @ordered
@@ -58,6 +62,7 @@ public enum HardwareBusKind implements Enumerator {
* The '<em><b>Other</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #OTHER_VALUE
* @generated
* @ordered
@@ -71,6 +76,7 @@ public enum HardwareBusKind implements Enumerator {
* <!-- begin-model-doc -->
* Bus is time-triggered
* <!-- end-model-doc -->
+ *
* @see #TIME_TRIGGERED
* @model name="TimeTriggered"
* @generated
@@ -85,6 +91,7 @@ public enum HardwareBusKind implements Enumerator {
* <!-- begin-model-doc -->
* Bus is event-triggered
* <!-- end-model-doc -->
+ *
* @see #EVENT_TRIGGERED
* @model name="EventTriggered"
* @generated
@@ -99,6 +106,7 @@ public enum HardwareBusKind implements Enumerator {
* <!-- begin-model-doc -->
* Bus is both time and event-triggered
* <!-- end-model-doc -->
+ *
* @see #TIMEAND_EVENT_TRIGGERED
* @model name="TimeandEventTriggered"
* @generated
@@ -113,6 +121,7 @@ public enum HardwareBusKind implements Enumerator {
* <!-- begin-model-doc -->
* Another type of bus communication
* <!-- end-model-doc -->
+ *
* @see #OTHER
* @model name="other"
* @generated
@@ -124,20 +133,22 @@ public enum HardwareBusKind implements Enumerator {
* An array of all the '<em><b>Hardware Bus Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final HardwareBusKind[] VALUES_ARRAY =
- new HardwareBusKind[] {
- TIME_TRIGGERED,
- EVENT_TRIGGERED,
- TIMEAND_EVENT_TRIGGERED,
- OTHER,
- };
+ new HardwareBusKind[] {
+ TIME_TRIGGERED,
+ EVENT_TRIGGERED,
+ TIMEAND_EVENT_TRIGGERED,
+ OTHER,
+ };
/**
* A public read-only list of all the '<em><b>Hardware Bus Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<HardwareBusKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -146,6 +157,7 @@ public enum HardwareBusKind implements Enumerator {
* Returns the '<em><b>Hardware Bus Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static HardwareBusKind get(String literal) {
@@ -162,6 +174,7 @@ public enum HardwareBusKind implements Enumerator {
* Returns the '<em><b>Hardware Bus Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static HardwareBusKind getByName(String name) {
@@ -178,14 +191,19 @@ public enum HardwareBusKind implements Enumerator {
* Returns the '<em><b>Hardware Bus Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static HardwareBusKind get(int value) {
switch (value) {
- case TIME_TRIGGERED_VALUE: return TIME_TRIGGERED;
- case EVENT_TRIGGERED_VALUE: return EVENT_TRIGGERED;
- case TIMEAND_EVENT_TRIGGERED_VALUE: return TIMEAND_EVENT_TRIGGERED;
- case OTHER_VALUE: return OTHER;
+ case TIME_TRIGGERED_VALUE:
+ return TIME_TRIGGERED;
+ case EVENT_TRIGGERED_VALUE:
+ return EVENT_TRIGGERED;
+ case TIMEAND_EVENT_TRIGGERED_VALUE:
+ return TIMEAND_EVENT_TRIGGERED;
+ case OTHER_VALUE:
+ return OTHER;
}
return null;
}
@@ -193,6 +211,7 @@ public enum HardwareBusKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -200,6 +219,7 @@ public enum HardwareBusKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -207,6 +227,7 @@ public enum HardwareBusKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -215,6 +236,7 @@ public enum HardwareBusKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private HardwareBusKind(int value, String name, String literal) {
@@ -226,39 +248,46 @@ public enum HardwareBusKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public int getValue() {
- return value;
+ return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getLiteral() {
- return literal;
+ return literal;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
return literal;
}
-
-} //HardwareBusKind
+
+} // HardwareBusKind
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentPrototype.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentPrototype.java
index 73b487da89d..cf804833b0c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentPrototype.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentPrototype.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,22 +24,22 @@ import org.eclipse.uml2.uml.Image;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * Appear as parts of a HardwareComponentType and is itself typed by a HardwareComponentType. This allows for a reference to the occurrence of a HardwareComponentType when it acts as a part.
- * The purpose is to support the definition of hierarchical structures, and to reuse the same type of Hardware at several places. For example, a wheel speed sensor may occur at all four wheels, but it has a single definition.
- *
+ * Appear as parts of a HardwareComponentType and is itself typed by a HardwareComponentType. This allows for a reference to the occurrence of a HardwareComponentType when it acts as a part.
+ * The purpose is to support the definition of hierarchical structures, and to reuse the same type of Hardware at several places. For example, a wheel speed sensor may occur at all four wheels, but it has a single definition.
+ *
* Semantics:
- * The HardwareComponentPrototype represents an occurrence of a hardware element, according to the type of the HardwareComponentPrototype.
- *
+ * The HardwareComponentPrototype represents an occurrence of a hardware element, according to the type of the HardwareComponentPrototype.
+ *
* Notation:
* Shall be shown in the same style as the class specified as type, however it shall be clear that this is a part.
- *
+ *
* Extension: Property
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -51,6 +51,7 @@ public interface HardwareComponentPrototype extends AllocationTarget, EAPrototyp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @model kind="operation" required="true" ordered="false"
* @generated
*/
@@ -64,6 +65,7 @@ public interface HardwareComponentPrototype extends AllocationTarget, EAPrototyp
* The type of the HWElement.
* {derived from UML::TypedElement::type}
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Type</em>' reference.
* @see #setType(HardwareComponentType)
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwareComponentPrototype_Type()
@@ -76,7 +78,9 @@ public interface HardwareComponentPrototype extends AllocationTarget, EAPrototyp
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype#getType <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Type</em>' reference.
* @see #getType()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentType.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentType.java
index 93a246bc026..0d7cc6d7cda 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentType.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareComponentType.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,11 +27,12 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAType;
*
* <!-- begin-model-doc -->
* The HardwareComponentType represents hardware element on an abstract level, allowing preliminary engineering activities related to hardware.
- *
+ *
* Semantics:
- * The HardwareElementType is a structural entity that defines a part of an electrical architecture. Through its ports it can be connected to electrical sources and sinks. Its logical behavior, the transfer function, may be defined in an HWFunctionType referencing the HardwareElementType. This is typically connected through its ports to the environment model to participate in the end-to-end behavioral definition of a function.
- *
- *
+ * The HardwareElementType is a structural entity that defines a part of an electrical architecture. Through its ports it can be connected to electrical sources and sinks. Its logical behavior, the transfer function, may be defined in an HWFunctionType
+ * referencing the HardwareElementType. This is typically connected through its ports to the environment model to participate in the end-to-end behavioral definition of a function.
+ *
+ *
* Extension:
* Class
* <!-- end-model-doc -->
@@ -39,11 +40,11 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAType;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getConnector <em>Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPin <em>Pin</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPart <em>Part</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPortConnector <em>Port Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getConnector <em>Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPin <em>Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPart <em>Part</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPortConnector <em>Port Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPort <em>Port</em>}</li>
* </ul>
* </p>
*
@@ -61,6 +62,7 @@ public interface HardwareComponentType extends Context, EAType {
* The HWConnectors.
* {derived from UML::StructuredClassifier::ownedConnector}
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Connector</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwareComponentType_Connector()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -77,6 +79,7 @@ public interface HardwareComponentType extends Context, EAType {
* The Ports.
* {derived from UML::EncapsulatedClassifier::ownedPort}
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Pin</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwareComponentType_Pin()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -93,6 +96,7 @@ public interface HardwareComponentType extends Context, EAType {
* The HWElementPrototypes.
* {derived from UML::Classifier::attribute}
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Part</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwareComponentType_Part()
* @model transient="true" changeable="false" volatile="true" derived="true" ordered="false"
@@ -105,10 +109,10 @@ public interface HardwareComponentType extends Context, EAType {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Port Connector</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Port Connector</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>Port Connector</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwareComponentType_PortConnector()
* @model transient="true" volatile="true" derived="true" ordered="false"
@@ -121,6 +125,7 @@ public interface HardwareComponentType extends Context, EAType {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Port</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwareComponentType_Port()
* @model transient="true" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareConnector.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareConnector.java
index 1375e0bd91b..b1915accc2c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareConnector.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwareConnector.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,10 +28,10 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
*
* <!-- begin-model-doc -->
* Hardware connectors represent wires that electrically connect the hardware components through its ports.
- *
+ *
* Semantics:
* The connector joins the two referenced ports electrically, with a resistance defined by the resistance attribute.
- *
+ *
* Extension:
* Connector
* <!-- end-model-doc -->
@@ -39,7 +39,7 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector#getPin <em>Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector#getPin <em>Pin</em>}</li>
* </ul>
* </p>
*
@@ -53,10 +53,10 @@ public interface HardwareConnector extends EAElement, EAConnector {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.HardwareConnectorInstanceRef}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Pin</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Pin</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Pin</em>' containment reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwareConnector_Pin()
* @model containment="true" lower="2" upper="2" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePin.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePin.java
index fdd60c27435..2561f4a988c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePin.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePin.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,10 +28,10 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind;
*
* <!-- begin-model-doc -->
* HardwarePin represents electrical connection points in the hardware architecture. Depending on modeling style, the actual wire or a logical connection can be considered.
- *
+ *
* Semantics
* Hardware pin represents an electrical connection point.
- *
+ *
* Extension:
* Port
* <!-- end-model-doc -->
@@ -39,8 +39,8 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#isIsGround <em>Is Ground</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#isIsGround <em>Is Ground</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
*
@@ -57,6 +57,7 @@ public interface HardwarePin extends EAElement, EAPort {
* <!-- begin-model-doc -->
* The direction of current through the pin.
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind
* @see #setDirection(EADirectionKind)
@@ -70,7 +71,9 @@ public interface HardwarePin extends EAElement, EAPort {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#getDirection <em>Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Direction</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind
* @see #getDirection()
* @generated
@@ -84,6 +87,7 @@ public interface HardwarePin extends EAElement, EAPort {
* <!-- begin-model-doc -->
* Indicates that the pin is connected to ground.
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Is Ground</em>' attribute.
* @see #setIsGround(boolean)
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePin_IsGround()
@@ -96,7 +100,9 @@ public interface HardwarePin extends EAElement, EAPort {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#isIsGround <em>Is Ground</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Ground</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Is Ground</em>' attribute.
* @see #isIsGround()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePort.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePort.java
index 07662e84aeb..b76710bfc9c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePort.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePort.java
@@ -13,11 +13,11 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#isIsShield <em>Is Shield</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getContainedPin <em>Contained Pin</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getReferencedPin <em>Referenced Pin</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getContainedPort <em>Contained Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#isIsShield <em>Is Shield</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getContainedPin <em>Contained Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getReferencedPin <em>Referenced Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getContainedPort <em>Contained Port</em>}</li>
* </ul>
* </p>
*
@@ -30,10 +30,10 @@ public interface HardwarePort extends AllocationTarget, EAPort {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePort_Base_Class()
@@ -46,7 +46,9 @@ public interface HardwarePort extends AllocationTarget, EAPort {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -56,10 +58,10 @@ public interface HardwarePort extends AllocationTarget, EAPort {
* Returns the value of the '<em><b>Is Shield</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Is Shield</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Is Shield</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 Shield</em>' attribute.
* @see #setIsShield(boolean)
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePort_IsShield()
@@ -72,7 +74,9 @@ public interface HardwarePort extends AllocationTarget, EAPort {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#isIsShield <em>Is Shield</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Shield</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Is Shield</em>' attribute.
* @see #isIsShield()
* @generated
*/
@@ -83,10 +87,10 @@ public interface HardwarePort extends AllocationTarget, EAPort {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Contained Pin</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Contained Pin</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>Contained Pin</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePort_ContainedPin()
* @model ordered="false"
@@ -99,10 +103,10 @@ public interface HardwarePort extends AllocationTarget, EAPort {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Referenced Pin</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Referenced Pin</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>Referenced Pin</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePort_ReferencedPin()
* @model ordered="false"
@@ -115,10 +119,10 @@ public interface HardwarePort extends AllocationTarget, EAPort {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Contained Port</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Contained Port</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>Contained Port</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePort_ContainedPort()
* @model ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePortConnector.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePortConnector.java
index a10913d385e..7148260cfef 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePortConnector.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwarePortConnector.java
@@ -12,24 +12,25 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The HardwarePortConnector represents a logical connector. It serves as an allocation target for connectors, i.e. the data exchanged between functions in the FunctionalDesignArchitecture.
- *
- *
+ * The HardwarePortConnector represents a logical connector. It serves as an allocation target for connectors, i.e. the data exchanged between functions in the FunctionalDesignArchitecture.
+ *
+ *
* Semantics:
- * The HardwarePortConnectors represents a logical connection that carries data from any sender to all receivers. Senders and receivers are identified by the connectors of the HardwarePortConnector, i.e. the associated HardwareConnectors. The available busSpeed represents the maximum amount of useful data that can be carried. The busSpeed has already deducted speed reduction resulting from frame overhead, timing effects, etc.
- *
- * Extension:
+ * The HardwarePortConnectors represents a logical connection that carries data from any sender to all receivers. Senders and receivers are identified by the connectors of the HardwarePortConnector, i.e. the associated HardwareConnectors. The available
+ * busSpeed represents the maximum amount of useful data that can be carried. The busSpeed has already deducted speed reduction resulting from frame overhead, timing effects, etc.
+ *
+ * Extension:
* Class
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusSpeed <em>Bus Speed</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusType <em>Bus Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getConnector <em>Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusSpeed <em>Bus Speed</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusType <em>Bus Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getConnector <em>Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getPort <em>Port</em>}</li>
* </ul>
* </p>
*
@@ -42,10 +43,10 @@ public interface HardwarePortConnector extends AllocationTarget, EAConnector {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePortConnector_Base_Class()
@@ -58,7 +59,9 @@ public interface HardwarePortConnector extends AllocationTarget, EAConnector {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -68,10 +71,10 @@ public interface HardwarePortConnector extends AllocationTarget, EAConnector {
* Returns the value of the '<em><b>Bus Speed</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Bus Speed</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Bus Speed</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Bus Speed</em>' attribute.
* @see #setBusSpeed(Float)
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePortConnector_BusSpeed()
@@ -84,7 +87,9 @@ public interface HardwarePortConnector extends AllocationTarget, EAConnector {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusSpeed <em>Bus Speed</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Bus Speed</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Bus Speed</em>' attribute.
* @see #getBusSpeed()
* @generated
*/
@@ -95,10 +100,10 @@ public interface HardwarePortConnector extends AllocationTarget, EAConnector {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareBusKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Bus Type</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Bus Type</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Bus Type</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareBusKind
* @see #setBusType(HardwareBusKind)
@@ -112,7 +117,9 @@ public interface HardwarePortConnector extends AllocationTarget, EAConnector {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusType <em>Bus Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Bus Type</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Bus Type</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareBusKind
* @see #getBusType()
* @generated
@@ -124,10 +131,10 @@ public interface HardwarePortConnector extends AllocationTarget, EAConnector {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Connector</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Connector</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>Connector</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePortConnector_Connector()
* @model ordered="false"
@@ -140,10 +147,10 @@ public interface HardwarePortConnector extends AllocationTarget, EAConnector {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.HardwarePortConnectorInstanceRef}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Port</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Port</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>Port</em>' containment reference list.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePortConnector_Port()
* @model containment="true" lower="2" upper="2" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingFactory.java
index 7c425f02726..7d736bfc4b1 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,6 +22,7 @@ import org.eclipse.emf.ecore.EFactory;
* 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.eastadl.structure.hardwaremodeling.HardwaremodelingPackage
* @generated
*/
@@ -30,6 +31,7 @@ public interface HardwaremodelingFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
HardwaremodelingFactory eINSTANCE = org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingFactoryImpl.init();
@@ -38,6 +40,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Actuator</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Actuator</em>'.
* @generated
*/
@@ -47,6 +50,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Communication Hardware Pin</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Communication Hardware Pin</em>'.
* @generated
*/
@@ -56,6 +60,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Hardware Component Prototype</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Hardware Component Prototype</em>'.
* @generated
*/
@@ -65,6 +70,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Hardware Port Connector</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Hardware Port Connector</em>'.
* @generated
*/
@@ -74,6 +80,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Hardware Port</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Hardware Port</em>'.
* @generated
*/
@@ -83,6 +90,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>IO Hardware Pin</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>IO Hardware Pin</em>'.
* @generated
*/
@@ -92,6 +100,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Hardware Component Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Hardware Component Type</em>'.
* @generated
*/
@@ -101,6 +110,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Hardware Connector</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Hardware Connector</em>'.
* @generated
*/
@@ -110,6 +120,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Node</em>'.
* @generated
*/
@@ -119,6 +130,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Electrical Component</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Electrical Component</em>'.
* @generated
*/
@@ -128,6 +140,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Power Hardware Pin</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Power Hardware Pin</em>'.
* @generated
*/
@@ -137,6 +150,7 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns a new object of class '<em>Sensor</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Sensor</em>'.
* @generated
*/
@@ -146,9 +160,10 @@ public interface HardwaremodelingFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
HardwaremodelingPackage getHardwaremodelingPackage();
-} //HardwaremodelingFactory
+} // HardwaremodelingFactory
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingPackage.java
index 179af49ac40..0aad04f6c7c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingPackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/HardwaremodelingPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -29,19 +29,21 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
* The <b>Package</b> for the model.
* It contains accessors for the meta objects to represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * The package HardwareModeling contains the elements to model physical entities of the embedded EE system. These elements allow capturing the hardware in sufficient detail to allow preliminary allocation decisions.
- *
+ * The package HardwareModeling contains the elements to model physical entities of the embedded EE system. These elements allow capturing the hardware in sufficient detail to allow preliminary allocation decisions.
+ *
* The allocation decisions are based on requirements on timing, storage, data throughput, processing power, etc. that are defined in the Functional Analysis Architecture and the Functional Design Architecture.
- *
- * Conversely, the Functional Analysis Architecture and the Functional Design Architecture may be revised based on analysis using information from the Hardware Design Architecture. An example is control law design, where algorithms may be modified for expected computational and communication delays. Thus, the Hardware Design Architecture contains information about properties in order to support, e.g., timing analysis and performance in these respects.
+ *
+ * Conversely, the Functional Analysis Architecture and the Functional Design Architecture may be revised based on analysis using information from the Hardware Design Architecture. An example is control law design, where algorithms may be modified for expected
+ * computational and communication delays. Thus, the Hardware Design Architecture contains information about properties in order to support, e.g., timing analysis and performance in these respects.
* <!-- end-model-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingFactory
* @model kind="package"
* @generated
@@ -51,12 +53,13 @@ public interface HardwaremodelingPackage extends EPackage {
* <!-- begin-user-doc -->
* Defines literals for the meta objects that represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -64,6 +67,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl <em>Hardware Component Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwareComponentType()
* @generated
@@ -74,6 +78,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Connector</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_COMPONENT_TYPE__CONNECTOR = eINSTANCE.getHardwareComponentType_Connector();
@@ -82,6 +87,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Pin</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_COMPONENT_TYPE__PIN = eINSTANCE.getHardwareComponentType_Pin();
@@ -90,6 +96,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Port</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_COMPONENT_TYPE__PORT = eINSTANCE.getHardwareComponentType_Port();
@@ -98,6 +105,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Part</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_COMPONENT_TYPE__PART = eINSTANCE.getHardwareComponentType_Part();
@@ -106,6 +114,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Port Connector</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_COMPONENT_TYPE__PORT_CONNECTOR = eINSTANCE.getHardwareComponentType_PortConnector();
@@ -114,6 +123,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind <em>IO Hardware Pin Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getIOHardwarePinKind()
* @generated
@@ -124,6 +134,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareConnectorImpl <em>Hardware Connector</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareConnectorImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwareConnector()
* @generated
@@ -134,6 +145,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Pin</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_CONNECTOR__PIN = eINSTANCE.getHardwareConnector_Pin();
@@ -142,6 +154,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl <em>Hardware Pin</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwarePin()
* @generated
@@ -152,6 +165,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Is Ground</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute HARDWARE_PIN__IS_GROUND = eINSTANCE.getHardwarePin_IsGround();
@@ -160,6 +174,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute HARDWARE_PIN__DIRECTION = eINSTANCE.getHardwarePin_Direction();
@@ -168,6 +183,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentPrototypeImpl <em>Hardware Component Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentPrototypeImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwareComponentPrototype()
* @generated
@@ -178,6 +194,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_COMPONENT_PROTOTYPE__TYPE = eINSTANCE.getHardwareComponentPrototype_Type();
@@ -186,6 +203,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Get Icon</b></em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EOperation HARDWARE_COMPONENT_PROTOTYPE___GET_ICON = eINSTANCE.getHardwareComponentPrototype__GetIcon();
@@ -194,6 +212,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl <em>Hardware Port Connector</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwarePortConnector()
* @generated
@@ -204,6 +223,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_PORT_CONNECTOR__BASE_CLASS = eINSTANCE.getHardwarePortConnector_Base_Class();
@@ -212,6 +232,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Bus Speed</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute HARDWARE_PORT_CONNECTOR__BUS_SPEED = eINSTANCE.getHardwarePortConnector_BusSpeed();
@@ -220,6 +241,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Bus Type</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute HARDWARE_PORT_CONNECTOR__BUS_TYPE = eINSTANCE.getHardwarePortConnector_BusType();
@@ -228,6 +250,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Connector</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_PORT_CONNECTOR__CONNECTOR = eINSTANCE.getHardwarePortConnector_Connector();
@@ -236,6 +259,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Port</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_PORT_CONNECTOR__PORT = eINSTANCE.getHardwarePortConnector_Port();
@@ -244,6 +268,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl <em>Hardware Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwarePort()
* @generated
@@ -254,6 +279,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_PORT__BASE_CLASS = eINSTANCE.getHardwarePort_Base_Class();
@@ -262,6 +288,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Is Shield</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute HARDWARE_PORT__IS_SHIELD = eINSTANCE.getHardwarePort_IsShield();
@@ -270,6 +297,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Contained Pin</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_PORT__CONTAINED_PIN = eINSTANCE.getHardwarePort_ContainedPin();
@@ -278,6 +306,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Referenced Pin</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_PORT__REFERENCED_PIN = eINSTANCE.getHardwarePort_ReferencedPin();
@@ -286,6 +315,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Contained Port</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference HARDWARE_PORT__CONTAINED_PORT = eINSTANCE.getHardwarePort_ContainedPort();
@@ -294,6 +324,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.AllocationTargetImpl <em>Allocation Target</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.AllocationTargetImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getAllocationTarget()
* @generated
@@ -304,6 +335,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareBusKind <em>Hardware Bus Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareBusKind
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwareBusKind()
* @generated
@@ -314,6 +346,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.PowerHardwarePinImpl <em>Power Hardware Pin</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.PowerHardwarePinImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getPowerHardwarePin()
* @generated
@@ -324,6 +357,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.IOHardwarePinImpl <em>IO Hardware Pin</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.IOHardwarePinImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getIOHardwarePin()
* @generated
@@ -334,6 +368,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Type</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute IO_HARDWARE_PIN__TYPE = eINSTANCE.getIOHardwarePin_Type();
@@ -342,6 +377,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.CommunicationHardwarePinImpl <em>Communication Hardware Pin</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.CommunicationHardwarePinImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getCommunicationHardwarePin()
* @generated
@@ -352,6 +388,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.NodeImpl <em>Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.NodeImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getNode()
* @generated
@@ -362,6 +399,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Execution Rate</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute NODE__EXECUTION_RATE = eINSTANCE.getNode_ExecutionRate();
@@ -370,6 +408,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ElectricalComponentImpl <em>Electrical Component</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ElectricalComponentImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getElectricalComponent()
* @generated
@@ -380,6 +419,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Is Active</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute ELECTRICAL_COMPONENT__IS_ACTIVE = eINSTANCE.getElectricalComponent_IsActive();
@@ -388,6 +428,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.SensorImpl <em>Sensor</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.SensorImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getSensor()
* @generated
@@ -398,6 +439,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ActuatorImpl <em>Actuator</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ActuatorImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getActuator()
* @generated
@@ -410,6 +452,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "hardwaremodeling";
@@ -418,6 +461,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Structure/HardwareModeling/1";
@@ -426,6 +470,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "HardwareModeling";
@@ -434,6 +479,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
HardwaremodelingPackage eINSTANCE = org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl.init();
@@ -442,6 +488,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl <em>Hardware Component Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwareComponentType()
* @generated
@@ -452,6 +499,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareConnectorImpl <em>Hardware Connector</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareConnectorImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwareConnector()
* @generated
@@ -462,6 +510,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl <em>Hardware Pin</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwarePin()
* @generated
@@ -472,6 +521,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentPrototypeImpl <em>Hardware Component Prototype</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentPrototypeImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwareComponentPrototype()
* @generated
@@ -482,6 +532,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.AllocationTargetImpl <em>Allocation Target</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.AllocationTargetImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getAllocationTarget()
* @generated
@@ -492,6 +543,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.PowerHardwarePinImpl <em>Power Hardware Pin</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.PowerHardwarePinImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getPowerHardwarePin()
* @generated
@@ -502,6 +554,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.IOHardwarePinImpl <em>IO Hardware Pin</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.IOHardwarePinImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getIOHardwarePin()
* @generated
@@ -512,6 +565,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.CommunicationHardwarePinImpl <em>Communication Hardware Pin</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.CommunicationHardwarePinImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getCommunicationHardwarePin()
* @generated
@@ -522,6 +576,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.NodeImpl <em>Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.NodeImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getNode()
* @generated
@@ -532,6 +587,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.SensorImpl <em>Sensor</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.SensorImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getSensor()
* @generated
@@ -542,6 +598,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ActuatorImpl <em>Actuator</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ActuatorImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getActuator()
* @generated
@@ -552,6 +609,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl <em>Hardware Port Connector</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwarePortConnector()
* @generated
@@ -562,6 +620,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl <em>Hardware Port</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwarePort()
* @generated
@@ -572,6 +631,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -581,6 +641,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -590,6 +651,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -599,6 +661,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -608,6 +671,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -617,6 +681,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -626,6 +691,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -635,6 +701,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -644,6 +711,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Pin</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -653,6 +721,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -662,6 +731,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -671,6 +741,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -680,6 +751,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Hardware Component Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -689,6 +761,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Hardware Component Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -698,6 +771,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -707,6 +781,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -716,6 +791,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -725,6 +801,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Connector</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -734,6 +811,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Pin</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -743,6 +821,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Hardware Connector</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -752,6 +831,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Hardware Connector</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -761,6 +841,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -770,6 +851,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -779,6 +861,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -788,6 +871,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -797,6 +881,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Ground</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -806,6 +891,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Direction</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -815,6 +901,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Hardware Pin</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -824,6 +911,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Hardware Pin</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -833,6 +921,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -842,6 +931,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -851,6 +941,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -860,6 +951,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Allocation Target</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -869,6 +961,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Allocation Target</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -878,6 +971,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -887,6 +981,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -896,6 +991,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -905,6 +1001,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -914,6 +1011,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -923,6 +1021,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Hardware Component Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -932,6 +1031,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The operation id for the '<em>Get Icon</em>' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -941,6 +1041,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Hardware Component Prototype</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -950,6 +1051,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -959,6 +1061,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -968,6 +1071,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -977,6 +1081,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Connector</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -986,6 +1091,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -995,6 +1101,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Bus Speed</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1004,6 +1111,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Bus Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1013,6 +1121,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1022,6 +1131,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1031,6 +1141,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Hardware Port Connector</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1040,6 +1151,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Hardware Port Connector</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1049,6 +1161,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1058,6 +1171,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1067,6 +1181,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1076,6 +1191,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1085,6 +1201,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1094,6 +1211,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Shield</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1103,6 +1221,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Contained Pin</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1112,6 +1231,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Referenced Pin</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1121,6 +1241,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Contained Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1130,6 +1251,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Hardware Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1139,6 +1261,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Hardware Port</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1148,6 +1271,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1157,6 +1281,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1166,6 +1291,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1175,6 +1301,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1184,6 +1311,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Ground</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1193,6 +1321,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Direction</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1202,6 +1331,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1211,6 +1341,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>IO Hardware Pin</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1220,6 +1351,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>IO Hardware Pin</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1229,6 +1361,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1238,6 +1371,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1247,6 +1381,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1256,6 +1391,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1265,6 +1401,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Ground</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1274,6 +1411,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Direction</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1283,6 +1421,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Power Hardware Pin</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1292,6 +1431,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Power Hardware Pin</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1301,6 +1441,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1310,6 +1451,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1319,6 +1461,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1328,6 +1471,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Port</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1337,6 +1481,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Ground</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1346,6 +1491,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Direction</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1355,6 +1501,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Communication Hardware Pin</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1364,6 +1511,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Communication Hardware Pin</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1373,6 +1521,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1382,6 +1531,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1391,6 +1541,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1400,6 +1551,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1409,6 +1561,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1418,6 +1571,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1427,6 +1581,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1436,6 +1591,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1445,6 +1601,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Pin</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1454,6 +1611,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1463,6 +1621,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1472,6 +1631,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1481,6 +1641,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Execution Rate</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1490,6 +1651,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1499,6 +1661,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1508,6 +1671,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ElectricalComponentImpl <em>Electrical Component</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ElectricalComponentImpl
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getElectricalComponent()
* @generated
@@ -1518,6 +1682,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1527,6 +1692,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1536,6 +1702,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1545,6 +1712,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1554,6 +1722,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1563,6 +1732,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1572,6 +1742,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1581,6 +1752,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1590,6 +1762,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Pin</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1599,6 +1772,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1608,6 +1782,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1617,6 +1792,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1626,6 +1802,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Active</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1635,6 +1812,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Electrical Component</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1644,6 +1822,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Electrical Component</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1653,6 +1832,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1662,6 +1842,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1671,6 +1852,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1680,6 +1862,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1689,6 +1872,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1698,6 +1882,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1707,6 +1892,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1716,6 +1902,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1725,6 +1912,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Pin</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1734,6 +1922,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1743,6 +1932,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1752,6 +1942,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1761,6 +1952,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Sensor</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1770,6 +1962,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Sensor</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1779,6 +1972,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1788,6 +1982,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1797,6 +1992,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1806,6 +2002,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1815,6 +2012,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1824,6 +2022,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1833,6 +2032,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1842,6 +2042,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1851,6 +2052,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Pin</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1860,6 +2062,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Part</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1869,6 +2072,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port Connector</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1878,6 +2082,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The feature id for the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1887,6 +2092,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of structural features of the '<em>Actuator</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1896,6 +2102,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The number of operations of the '<em>Actuator</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1905,6 +2112,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareBusKind <em>Hardware Bus Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareBusKind
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getHardwareBusKind()
* @generated
@@ -1915,6 +2123,7 @@ public interface HardwaremodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind <em>IO Hardware Pin Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl#getIOHardwarePinKind()
* @generated
@@ -1925,6 +2134,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Actuator <em>Actuator</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Actuator</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Actuator
* @generated
@@ -1935,6 +2145,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.AllocationTarget <em>Allocation Target</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Allocation Target</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.AllocationTarget
* @generated
@@ -1945,6 +2156,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for enum '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareBusKind <em>Hardware Bus Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for enum '<em>Hardware Bus Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareBusKind
* @generated
@@ -1955,6 +2167,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePin <em>IO Hardware Pin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>IO Hardware Pin</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePin
* @generated
@@ -1965,6 +2178,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePin#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePin#getType()
* @see #getIOHardwarePin()
@@ -1976,6 +2190,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.CommunicationHardwarePin <em>Communication Hardware Pin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Communication Hardware Pin</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.CommunicationHardwarePin
* @generated
@@ -1986,6 +2201,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype <em>Hardware Component Prototype</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Hardware Component Prototype</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype
* @generated
@@ -1996,6 +2212,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype#getType()
* @see #getHardwareComponentPrototype()
@@ -2007,6 +2224,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentPrototype#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.eastadl.structure.hardwaremodeling.HardwareComponentPrototype#getIcon()
* @generated
@@ -2017,6 +2235,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector <em>Hardware Port Connector</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Hardware Port Connector</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector
* @generated
@@ -2027,6 +2246,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#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.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBase_Class()
* @see #getHardwarePortConnector()
@@ -2038,6 +2258,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusSpeed <em>Bus Speed</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Bus Speed</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusSpeed()
* @see #getHardwarePortConnector()
@@ -2049,6 +2270,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusType <em>Bus Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Bus Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getBusType()
* @see #getHardwarePortConnector()
@@ -2060,6 +2282,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getConnector <em>Connector</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Connector</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getConnector()
* @see #getHardwarePortConnector()
@@ -2071,6 +2294,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getPort <em>Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePortConnector#getPort()
* @see #getHardwarePortConnector()
@@ -2082,6 +2306,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort <em>Hardware Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Hardware Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort
* @generated
@@ -2092,6 +2317,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#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.eastadl.structure.hardwaremodeling.HardwarePort#getBase_Class()
* @see #getHardwarePort()
@@ -2103,6 +2329,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#isIsShield <em>Is Shield</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Is Shield</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#isIsShield()
* @see #getHardwarePort()
@@ -2114,6 +2341,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getContainedPin <em>Contained Pin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Contained Pin</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getContainedPin()
* @see #getHardwarePort()
@@ -2125,6 +2353,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getReferencedPin <em>Referenced Pin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Referenced Pin</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getReferencedPin()
* @see #getHardwarePort()
@@ -2136,6 +2365,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getContainedPort <em>Contained Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Contained Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePort#getContainedPort()
* @see #getHardwarePort()
@@ -2147,6 +2377,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType <em>Hardware Component Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Hardware Component Type</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType
* @generated
@@ -2157,6 +2388,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getConnector <em>Connector</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Connector</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getConnector()
* @see #getHardwareComponentType()
@@ -2168,6 +2400,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPin <em>Pin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Pin</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPin()
* @see #getHardwareComponentType()
@@ -2179,6 +2412,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPart <em>Part</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Part</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPart()
* @see #getHardwareComponentType()
@@ -2190,6 +2424,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPortConnector <em>Port Connector</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Port Connector</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPortConnector()
* @see #getHardwareComponentType()
@@ -2201,6 +2436,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPort <em>Port</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Port</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentType#getPort()
* @see #getHardwareComponentType()
@@ -2212,6 +2448,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for enum '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind <em>IO Hardware Pin Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for enum '<em>IO Hardware Pin Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind
* @generated
@@ -2222,6 +2459,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector <em>Hardware Connector</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Hardware Connector</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector
* @generated
@@ -2232,6 +2470,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector#getPin <em>Pin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Pin</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareConnector#getPin()
* @see #getHardwareConnector()
@@ -2243,6 +2482,7 @@ public interface HardwaremodelingPackage 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
*/
@@ -2252,6 +2492,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin <em>Hardware Pin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Hardware Pin</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin
* @generated
@@ -2262,6 +2503,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#getDirection <em>Direction</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Direction</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#getDirection()
* @see #getHardwarePin()
@@ -2273,6 +2515,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#isIsGround <em>Is Ground</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Is Ground</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#isIsGround()
* @see #getHardwarePin()
@@ -2284,6 +2527,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Node <em>Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Node</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Node
* @generated
@@ -2294,6 +2538,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Node#getExecutionRate <em>Execution Rate</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Execution Rate</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Node#getExecutionRate()
* @see #getNode()
@@ -2305,6 +2550,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.ElectricalComponent <em>Electrical Component</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Electrical Component</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.ElectricalComponent
* @generated
@@ -2315,6 +2561,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.ElectricalComponent#isIsActive <em>Is Active</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Is Active</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.ElectricalComponent#isIsActive()
* @see #getElectricalComponent()
@@ -2326,6 +2573,7 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.PowerHardwarePin <em>Power Hardware Pin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Power Hardware Pin</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.PowerHardwarePin
* @generated
@@ -2336,10 +2584,11 @@ public interface HardwaremodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Sensor <em>Sensor</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Sensor</em>'.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Sensor
* @generated
*/
EClass getSensor();
-} //HardwaremodelingPackage
+} // HardwaremodelingPackage
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePin.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePin.java
index 86ae4afc9a9..48192a81690 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePin.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePin.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,11 +22,11 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * IOHardwarePin represents an electrical connection point for digital or analog I/O.
- *
+ * IOHardwarePin represents an electrical connection point for digital or analog I/O.
+ *
* Semantics:
- * The IOHardwarePin represents an electrical pin or connection point.
- *
+ * The IOHardwarePin represents an electrical pin or connection point.
+ *
* Notation:
* IOHardwarePin is shown as a solid square with an IO inside. Its name may appear outside the square.
* <!-- end-model-doc -->
@@ -34,7 +34,7 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePin#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePin#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -52,6 +52,7 @@ public interface IOHardwarePin extends HardwarePin {
* <!-- begin-model-doc -->
* kind defines whether the IOHardwarePort is digital, analog or PWM (Pulse Width Modulated).
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Type</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind
* @see #setType(IOHardwarePinKind)
@@ -65,7 +66,9 @@ public interface IOHardwarePin extends HardwarePin {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePin#getType <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Type</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind
* @see #getType()
* @generated
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePinKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePinKind.java
index 7ba3988aea4..c6b0993a41d 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePinKind.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/IOHardwarePinKind.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,10 +28,11 @@ import org.eclipse.emf.common.util.Enumerator;
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* IOHardwarePinKind is an enumeration type representing different kinds of I/O Hardware Ports.
- *
- * Extension:
+ *
+ * Extension:
* Enumeration, no extension.
* <!-- end-model-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getIOHardwarePinKind()
* @model
* @generated
@@ -41,6 +42,7 @@ public enum IOHardwarePinKind implements Enumerator {
* The '<em><b>Digital</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #DIGITAL_VALUE
* @generated
* @ordered
@@ -51,6 +53,7 @@ public enum IOHardwarePinKind implements Enumerator {
* The '<em><b>Analog</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #ANALOG_VALUE
* @generated
* @ordered
@@ -61,6 +64,7 @@ public enum IOHardwarePinKind implements Enumerator {
* The '<em><b>Pwm</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #PWM_VALUE
* @generated
* @ordered
@@ -71,6 +75,7 @@ public enum IOHardwarePinKind implements Enumerator {
* The '<em><b>Other</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #OTHER_VALUE
* @generated
* @ordered
@@ -84,6 +89,7 @@ public enum IOHardwarePinKind implements Enumerator {
* <!-- begin-model-doc -->
* I/O with fixed amplitude.
* <!-- end-model-doc -->
+ *
* @see #DIGITAL
* @model name="digital"
* @generated
@@ -98,6 +104,7 @@ public enum IOHardwarePinKind implements Enumerator {
* <!-- begin-model-doc -->
* I/O with varying amplitude.
* <!-- end-model-doc -->
+ *
* @see #ANALOG
* @model name="analog"
* @generated
@@ -112,6 +119,7 @@ public enum IOHardwarePinKind implements Enumerator {
* <!-- begin-model-doc -->
* PWM (Pulse Width Modulated) modulated I/O, i.e. a signal with fixed frequency and amplitude but varying duty cycle.
* <!-- end-model-doc -->
+ *
* @see #PWM
* @model name="pwm"
* @generated
@@ -126,6 +134,7 @@ public enum IOHardwarePinKind implements Enumerator {
* <!-- begin-model-doc -->
* Another type of I/O port.
* <!-- end-model-doc -->
+ *
* @see #OTHER
* @model name="other"
* @generated
@@ -137,20 +146,22 @@ public enum IOHardwarePinKind implements Enumerator {
* An array of all the '<em><b>IO Hardware Pin Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final IOHardwarePinKind[] VALUES_ARRAY =
- new IOHardwarePinKind[] {
- DIGITAL,
- ANALOG,
- PWM,
- OTHER,
- };
+ new IOHardwarePinKind[] {
+ DIGITAL,
+ ANALOG,
+ PWM,
+ OTHER,
+ };
/**
* A public read-only list of all the '<em><b>IO Hardware Pin Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<IOHardwarePinKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -159,14 +170,19 @@ public enum IOHardwarePinKind implements Enumerator {
* Returns the '<em><b>IO Hardware Pin Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static IOHardwarePinKind get(int value) {
switch (value) {
- case DIGITAL_VALUE: return DIGITAL;
- case ANALOG_VALUE: return ANALOG;
- case PWM_VALUE: return PWM;
- case OTHER_VALUE: return OTHER;
+ case DIGITAL_VALUE:
+ return DIGITAL;
+ case ANALOG_VALUE:
+ return ANALOG;
+ case PWM_VALUE:
+ return PWM;
+ case OTHER_VALUE:
+ return OTHER;
}
return null;
}
@@ -175,6 +191,7 @@ public enum IOHardwarePinKind implements Enumerator {
* Returns the '<em><b>IO Hardware Pin Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static IOHardwarePinKind get(String literal) {
@@ -191,6 +208,7 @@ public enum IOHardwarePinKind implements Enumerator {
* Returns the '<em><b>IO Hardware Pin Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static IOHardwarePinKind getByName(String name) {
@@ -206,6 +224,7 @@ public enum IOHardwarePinKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -213,6 +232,7 @@ public enum IOHardwarePinKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -220,6 +240,7 @@ public enum IOHardwarePinKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -228,6 +249,7 @@ public enum IOHardwarePinKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private IOHardwarePinKind(int value, String name, String literal) {
@@ -239,39 +261,46 @@ public enum IOHardwarePinKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getLiteral() {
- return literal;
+ return literal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public int getValue() {
- return value;
+ return value;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
return literal;
}
-
-} //IOHardwarePinKind
+
+} // IOHardwarePinKind
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Node.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Node.java
index 73c32ad60a3..16c57f37cf9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Node.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Node.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,16 +23,18 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
*
* <!-- begin-model-doc -->
* Node represents the computer nodes of the embedded EE system. Nodes consist of processor(s) and may be connected to sensors, actuators and other ECUs via a BusConnector.
- *
- * Node denotes an electronic control unit that acts as a computing element executing Functions. In case a single CPU-single core ECU is represented, it is sufficient to have a single, non-hierarchical Node.
- *
+ *
+ * Node denotes an electronic control unit that acts as a computing element executing Functions. In case a single CPU-single core ECU is represented, it is sufficient to have a single, non-hierarchical Node.
+ *
* Semantics:
* The Node element represents an ECU, i.e. an Electronic Control Unit and an allocation target of FunctionPrototypes.
- *
- * The Node executes its allocated FunctionPrototypes at the specified executionRate. The executionRate denotes how many execution seconds of an allocated functionPrototype´s execution time that is processed each real-time second. Actual execution time is thus found by dividing the parameters of the ExecutionTimeConstraint with executionRate.
- *
- * Example: If an ECU is 25% faster than a standard ECU (e.g., in a certain context, execution times are given assuming a nominal speed of 100 MHz; Our CPU is then 125 MHz), the executionRate is 1.25. An execution time of 5 ms would then become 4 ms on this ECU.
- *
+ *
+ * The Node executes its allocated FunctionPrototypes at the specified executionRate. The executionRate denotes how many execution seconds of an allocated functionPrototype´s execution time that is processed each real-time second. Actual execution time is
+ * thus found by dividing the parameters of the ExecutionTimeConstraint with executionRate.
+ *
+ * Example: If an ECU is 25% faster than a standard ECU (e.g., in a certain context, execution times are given assuming a nominal speed of 100 MHz; Our CPU is then 125 MHz), the executionRate is 1.25. An execution time of 5 ms would then become 4 ms on this
+ * ECU.
+ *
* Notation:
* Node is shown as a solid-outline rectangle with Node at the top right. The rectangle contains the name, and its ports or port groups on the perimeter.
* <!-- end-model-doc -->
@@ -40,7 +42,7 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Node#getExecutionRate <em>Execution Rate</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Node#getExecutionRate <em>Execution Rate</em>}</li>
* </ul>
* </p>
*
@@ -58,6 +60,7 @@ public interface Node extends HardwareComponentType {
* <!-- begin-model-doc -->
* ExecutionRate is used to compute an approximate execution time. A nominal execution time divided by executionRate provides the actual execution time to be used e.g. for timing analysis in feasibility studies.
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Execution Rate</em>' attribute.
* @see #setExecutionRate(Float)
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getNode_ExecutionRate()
@@ -70,7 +73,9 @@ public interface Node extends HardwareComponentType {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Node#getExecutionRate <em>Execution Rate</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Execution Rate</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Execution Rate</em>' attribute.
* @see #getExecutionRate()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/PowerHardwarePin.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/PowerHardwarePin.java
index 7d08b367c79..b6c1db08902 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/PowerHardwarePin.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/PowerHardwarePin.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,10 +23,10 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
*
* <!-- begin-model-doc -->
* PowerHardwarePin represents a pin that is primarily intended for power supply, either providing or consuming energy.
- *
+ *
* Semantics:
- * A PowerHardwarePin is primarily intended to be a power supply. The direction attribute of the pin defines whether it is providing or consuming energy
- *
+ * A PowerHardwarePin is primarily intended to be a power supply. The direction attribute of the pin defines whether it is providing or consuming energy
+ *
* Notation:
* PowerHardwarePin is shown as a solid square with PWR inside. Its name may appear outside the square.
* <!-- end-model-doc -->
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Sensor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Sensor.java
index 19db3e1a2b2..3fa49efd28d 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Sensor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/Sensor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,11 +22,11 @@ package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * Sensor represents a hardware entity for digital or analog sensor elements. The Sensor is connected electrically to the electrical entities of the Hardware Design Architecture.
- *
+ * Sensor represents a hardware entity for digital or analog sensor elements. The Sensor is connected electrically to the electrical entities of the Hardware Design Architecture.
+ *
* Semantics:
* Sensor denotes an electrical sensor. The Sensor represents the physical and electrical aspects of sensor hardware. The logical aspect is represented by an HWFunctionType associated to the Sensor.
- *
+ *
* Notation:
* Sensor is shown as a Circle or oval. The circle contains the name, and its ports or port groups on the perimeter.
* <!-- end-model-doc -->
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ActuatorImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ActuatorImpl.java
index 8a5665d1921..d0704668c9d 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ActuatorImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ActuatorImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,6 +33,7 @@ public class ActuatorImpl extends HardwareComponentTypeImpl implements Actuator
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ActuatorImpl() {
@@ -42,6 +43,7 @@ public class ActuatorImpl extends HardwareComponentTypeImpl implements Actuator
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -49,4 +51,4 @@ public class ActuatorImpl extends HardwareComponentTypeImpl implements Actuator
return HardwaremodelingPackage.Literals.ACTUATOR;
}
-} //ActuatorImpl
+} // ActuatorImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/AllocationTargetImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/AllocationTargetImpl.java
index 44578304a36..c000642e424 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/AllocationTargetImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/AllocationTargetImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,6 +34,7 @@ public abstract class AllocationTargetImpl extends EAElementImpl implements Allo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AllocationTargetImpl() {
@@ -43,6 +44,7 @@ public abstract class AllocationTargetImpl extends EAElementImpl implements Allo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -50,4 +52,4 @@ public abstract class AllocationTargetImpl extends EAElementImpl implements Allo
return HardwaremodelingPackage.Literals.ALLOCATION_TARGET;
}
-} //AllocationTargetImpl
+} // AllocationTargetImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/CommunicationHardwarePinImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/CommunicationHardwarePinImpl.java
index ad4ec9881bc..22f15a5c77f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/CommunicationHardwarePinImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/CommunicationHardwarePinImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,6 +33,7 @@ public class CommunicationHardwarePinImpl extends HardwarePinImpl implements Com
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CommunicationHardwarePinImpl() {
@@ -42,6 +43,7 @@ public class CommunicationHardwarePinImpl extends HardwarePinImpl implements Com
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -49,4 +51,4 @@ public class CommunicationHardwarePinImpl extends HardwarePinImpl implements Com
return HardwaremodelingPackage.Literals.COMMUNICATION_HARDWARE_PIN;
}
-} //CommunicationHardwarePinImpl
+} // CommunicationHardwarePinImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ElectricalComponentImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ElectricalComponentImpl.java
index 18ad3ee4477..3074731c6d6 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ElectricalComponentImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/ElectricalComponentImpl.java
@@ -15,7 +15,7 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPa
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ElectricalComponentImpl#isIsActive <em>Is Active</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.ElectricalComponentImpl#isIsActive <em>Is Active</em>}</li>
* </ul>
* </p>
*
@@ -26,6 +26,7 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
* The default value of the '{@link #isIsActive() <em>Is Active</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isIsActive()
* @generated
* @ordered
@@ -36,6 +37,7 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
* The cached value of the '{@link #isIsActive() <em>Is Active</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isIsActive()
* @generated
* @ordered
@@ -45,6 +47,7 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ElectricalComponentImpl() {
@@ -54,6 +57,7 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -64,8 +68,10 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isIsActive() {
return isActive;
}
@@ -73,25 +79,29 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setIsActive(boolean newIsActive) {
boolean oldIsActive = isActive;
isActive = newIsActive;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, HardwaremodelingPackage.ELECTRICAL_COMPONENT__IS_ACTIVE, oldIsActive, isActive));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case HardwaremodelingPackage.ELECTRICAL_COMPONENT__IS_ACTIVE:
- return isIsActive();
+ case HardwaremodelingPackage.ELECTRICAL_COMPONENT__IS_ACTIVE:
+ return isIsActive();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -99,14 +109,15 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case HardwaremodelingPackage.ELECTRICAL_COMPONENT__IS_ACTIVE:
- setIsActive((Boolean)newValue);
- return;
+ case HardwaremodelingPackage.ELECTRICAL_COMPONENT__IS_ACTIVE:
+ setIsActive((Boolean) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -114,14 +125,15 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.ELECTRICAL_COMPONENT__IS_ACTIVE:
- setIsActive(IS_ACTIVE_EDEFAULT);
- return;
+ case HardwaremodelingPackage.ELECTRICAL_COMPONENT__IS_ACTIVE:
+ setIsActive(IS_ACTIVE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -129,13 +141,14 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.ELECTRICAL_COMPONENT__IS_ACTIVE:
- return isActive != IS_ACTIVE_EDEFAULT;
+ case HardwaremodelingPackage.ELECTRICAL_COMPONENT__IS_ACTIVE:
+ return isActive != IS_ACTIVE_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -143,11 +156,14 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isActive: ");
@@ -156,4 +172,4 @@ public class ElectricalComponentImpl extends HardwareComponentTypeImpl implement
return result.toString();
}
-} //ElectricalComponentImpl
+} // ElectricalComponentImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentPrototypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentPrototypeImpl.java
index 4722b6481d1..5da59e3bfa3 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentPrototypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentPrototypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -41,8 +41,8 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentPrototypeImpl#getBase_Property <em>Base Property</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentPrototypeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentPrototypeImpl#getBase_Property <em>Base Property</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentPrototypeImpl#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -54,13 +54,16 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl 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
*/
protected Property base_Property;
+
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected HardwareComponentPrototypeImpl() {
@@ -69,19 +72,19 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public HardwareComponentType basicGetType() {
HardwareComponentType type = null;
- if(getBase_Property() != null) {
+ if (getBase_Property() != null) {
Type basicType = getBase_Property().getType();
-
- if(basicType != null) {
- type = (HardwareComponentType)UMLUtil.getStereotypeApplication(basicType, HardwareComponentType.class);
+
+ if (basicType != null) {
+ type = UMLUtil.getStereotypeApplication(basicType, HardwareComponentType.class);
}
}
@@ -91,15 +94,18 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Property getBase_Property() {
if (base_Property != null && base_Property.eIsProxy()) {
- InternalEObject oldBase_Property = (InternalEObject)base_Property;
- base_Property = (Property)eResolveProxy(oldBase_Property);
+ InternalEObject oldBase_Property = (InternalEObject) base_Property;
+ base_Property = (Property) eResolveProxy(oldBase_Property);
if (base_Property != oldBase_Property) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
}
return base_Property;
@@ -108,6 +114,7 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Property basicGetBase_Property() {
@@ -117,43 +124,52 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY:
- if (resolve) return getBase_Property();
- return basicGetBase_Property();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__TYPE:
- if (resolve) return getType();
- return basicGetType();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY:
+ if (resolve) {
+ return getBase_Property();
+ }
+ return basicGetBase_Property();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__TYPE:
+ if (resolve) {
+ return getType();
+ }
+ return basicGetType();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY:
- return base_Property != null;
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__TYPE:
- return basicGetType() != null;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY:
+ return base_Property != null;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__TYPE:
+ return basicGetType() != null;
}
return super.eIsSet(featureID);
}
@@ -161,14 +177,17 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAPrototype.class) {
switch (derivedFeatureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY: return ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY;
- default: return -1;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY:
+ return ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -177,14 +196,17 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAPrototype.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY: return HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY;
- default: return -1;
+ case ElementsPackage.EA_PROTOTYPE__BASE_PROPERTY:
+ return HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -193,37 +215,40 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
switch (operationID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE___GET_ICON:
- return getIcon();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE___GET_ICON:
+ return getIcon();
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-
+
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY:
- setBase_Property((Property)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__TYPE:
- setType((HardwareComponentType)newValue);
- return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY:
+ setBase_Property((Property) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__TYPE:
+ setType((HardwareComponentType) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -233,42 +258,44 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY:
- setBase_Property((Property)null);
- return;
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__TYPE:
- setType((HardwareComponentType)null);
- return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__BASE_PROPERTY:
+ setBase_Property((Property) null);
+ return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE__TYPE:
+ setType((HardwareComponentType) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public Image getIcon() {
Image ImageNotFound = null;
- if(getBase_Property() != null) {
+ if (getBase_Property() != null) {
Stereotype st = getBase_Property().getAppliedStereotype(EASTResource.HARDWARECOMPONENTPROTOTYPE_ID);
Image defaultImage = st.getIcons().get(0);
Image typeImage = null;
HardwareComponentType type = getType();
- if((type != null) && (type.getBase_Class() != null)) {
+ if ((type != null) && (type.getBase_Class() != null)) {
typeImage = ElementUtil.getStereotypeImage(type.getBase_Class(), "icon");
}
- if(typeImage != null) {
+ if (typeImage != null) {
return typeImage;
} else {
return defaultImage;
@@ -281,17 +308,19 @@ public class HardwareComponentPrototypeImpl extends AllocationTargetImpl impleme
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwareComponentType getType() {
HardwareComponentType type = basicGetType();
- return type != null && type.eIsProxy() ? (HardwareComponentType)eResolveProxy((InternalEObject)type) : type;
+ return type != null && type.eIsProxy() ? (HardwareComponentType) eResolveProxy((InternalEObject) type) : type;
}
@Override
public void setType(HardwareComponentType value) {
// TODO Auto-generated method stub
-
+
}
} // HardwareComponentPrototypeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentTypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentTypeImpl.java
index 70c399943a9..95df5266158 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentTypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareComponentTypeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -46,12 +46,12 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getConnector <em>Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getPin <em>Pin</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getPart <em>Part</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getPortConnector <em>Port Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getConnector <em>Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getPin <em>Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getPart <em>Part</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getPortConnector <em>Port Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareComponentTypeImpl#getPort <em>Port</em>}</li>
* </ul>
* </p>
*
@@ -63,13 +63,16 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
*/
protected org.eclipse.uml2.uml.Class base_Class;
+
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected HardwareComponentTypeImpl() {
@@ -78,47 +81,51 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__CONNECTOR:
- return getConnector();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PIN:
- return getPin();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PART:
- return getPart();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT_CONNECTOR:
- return getPortConnector();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT:
- return getPort();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__CONNECTOR:
+ return getConnector();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PIN:
+ return getPin();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PART:
+ return getPart();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT_CONNECTOR:
+ return getPortConnector();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT:
+ return getPort();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS:
- return base_Class != null;
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__CONNECTOR:
- return !getConnector().isEmpty();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PIN:
- return !getPin().isEmpty();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PART:
- return !getPart().isEmpty();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT_CONNECTOR:
- return !getPortConnector().isEmpty();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT:
- return !getPort().isEmpty();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS:
+ return base_Class != null;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__CONNECTOR:
+ return !getConnector().isEmpty();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PIN:
+ return !getPin().isEmpty();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PART:
+ return !getPart().isEmpty();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT_CONNECTOR:
+ return !getPortConnector().isEmpty();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT:
+ return !getPort().isEmpty();
}
return super.eIsSet(featureID);
}
@@ -126,14 +133,17 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAType.class) {
switch (derivedFeatureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS: return ElementsPackage.EA_TYPE__BASE_CLASS;
- default: return -1;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS:
+ return ElementsPackage.EA_TYPE__BASE_CLASS;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -142,14 +152,17 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAType.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_TYPE__BASE_CLASS: return HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS;
- default: return -1;
+ case ElementsPackage.EA_TYPE__BASE_CLASS:
+ return HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -157,29 +170,31 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT_CONNECTOR:
- getPortConnector().clear();
- getPortConnector().addAll((Collection<? extends HardwarePortConnector>)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT:
- getPort().clear();
- getPort().addAll((Collection<? extends HardwarePort>)newValue);
- return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT_CONNECTOR:
+ getPortConnector().clear();
+ getPortConnector().addAll((Collection<? extends HardwarePortConnector>) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT:
+ getPort().clear();
+ getPort().addAll((Collection<? extends HardwarePort>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -190,15 +205,18 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -207,6 +225,7 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -216,56 +235,61 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated NOT
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT_CONNECTOR:
- getPortConnector().clear();
- return;
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT:
- getPort().clear();
- return;
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PIN:
- getPin().clear();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PART:
- getPart().clear();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT_CONNECTOR:
+ getPortConnector().clear();
+ return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PORT:
+ getPort().clear();
+ return;
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PIN:
+ getPin().clear();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE__PART:
+ getPart().clear();
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<HardwareConnector> getConnector() {
EList<HardwareConnector> results = new BasicEList<HardwareConnector>();
HardwareConnector currentHW = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<NamedElement> it = getBase_Class().getOwnedMembers().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
NamedElement current = it.next();
- currentHW = (HardwareConnector)UMLUtil.getStereotypeApplication(current, HardwareConnector.class);
+ currentHW = UMLUtil.getStereotypeApplication(current, HardwareConnector.class);
- if(currentHW != null) {
+ if (currentHW != null) {
results.add(currentHW);
}
}
@@ -277,20 +301,22 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
+ @Override
public EList<HardwarePin> getPin() {
EList<HardwarePin> results = new BasicEList<HardwarePin>();
HardwarePin currentHW = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<Port> it = getBase_Class().getOwnedPorts().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Port current = it.next();
- currentHW = (HardwarePin)UMLUtil.getStereotypeApplication(current, HardwarePin.class);
+ currentHW = UMLUtil.getStereotypeApplication(current, HardwarePin.class);
- if(currentHW != null) {
+ if (currentHW != null) {
results.add(currentHW);
}
}
@@ -301,48 +327,51 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<HardwareComponentPrototype> getPart() {
EList<HardwareComponentPrototype> results = new BasicEList<HardwareComponentPrototype>();
HardwareComponentPrototype currentHW = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<Property> it = getBase_Class().getOwnedAttributes().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Property current = it.next();
- currentHW = (HardwareComponentPrototype)UMLUtil.getStereotypeApplication(current,
- HardwareComponentPrototype.class);
+ currentHW = UMLUtil.getStereotypeApplication(current,
+ HardwareComponentPrototype.class);
- if(currentHW != null) {
+ if (currentHW != null) {
results.add(currentHW);
}
}
}
// Convert to InternalEList<?>
return new BasicInternalEList<HardwareComponentPrototype>(HardwareComponentPrototype.class, results.size(),
- results.toArray());
+ results.toArray());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
+ @Override
public EList<HardwarePortConnector> getPortConnector() {
EList<HardwarePortConnector> results = new BasicEList<HardwarePortConnector>();
HardwarePortConnector currentHW = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<NamedElement> it = getBase_Class().getOwnedMembers().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
NamedElement current = it.next();
- currentHW = (HardwarePortConnector)UMLUtil.getStereotypeApplication(current, HardwarePortConnector.class);
+ currentHW = UMLUtil.getStereotypeApplication(current, HardwarePortConnector.class);
- if(currentHW != null) {
+ if (currentHW != null) {
results.add(currentHW);
}
}
@@ -353,21 +382,22 @@ public class HardwareComponentTypeImpl extends ContextImpl implements HardwareCo
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
+ @Override
public EList<HardwarePort> getPort() {
EList<HardwarePort> results = new BasicEList<HardwarePort>();
HardwarePort currentHW = null;
- if(getBase_Class() != null) {
+ if (getBase_Class() != null) {
Iterator<Port> it = getBase_Class().getOwnedPorts().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Port current = it.next();
- currentHW = (HardwarePort)UMLUtil.getStereotypeApplication(current, HardwarePort.class);
+ currentHW = UMLUtil.getStereotypeApplication(current, HardwarePort.class);
- if(currentHW != null) {
+ if (currentHW != null) {
results.add(currentHW);
}
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareConnectorImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareConnectorImpl.java
index 9009c6b0c30..3ea6ec740f9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareConnectorImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwareConnectorImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,8 +38,8 @@ import org.eclipse.uml2.uml.Connector;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareConnectorImpl#getBase_Connector <em>Base Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareConnectorImpl#getPin <em>Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareConnectorImpl#getBase_Connector <em>Base Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwareConnectorImpl#getPin <em>Pin</em>}</li>
* </ul>
* </p>
*
@@ -51,6 +51,7 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
* The cached value of the '{@link #getBase_Connector() <em>Base Connector</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Connector()
* @generated
* @ordered
@@ -60,13 +61,16 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
* The cached value of the '{@link #getPin() <em>Pin</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPin()
* @generated
* @ordered
*/
protected EList<HardwareConnectorInstanceRef> pin;
+
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected HardwareConnectorImpl() {
@@ -75,31 +79,35 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR:
- if (resolve) return getBase_Connector();
- return basicGetBase_Connector();
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
- return getPin();
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR:
+ if (resolve) {
+ return getBase_Connector();
+ }
+ return basicGetBase_Connector();
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
+ return getPin();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR:
- return base_Connector != null;
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
- return pin != null && !pin.isEmpty();
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR:
+ return base_Connector != null;
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
+ return pin != null && !pin.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -107,14 +115,17 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAConnector.class) {
switch (derivedFeatureID) {
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR: return ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR;
- default: return -1;
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR:
+ return ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -123,14 +134,17 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAConnector.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR: return HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR;
- default: return -1;
+ case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR:
+ return HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -138,25 +152,27 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR:
- setBase_Connector((Connector)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
- getPin().clear();
- getPin().addAll((Collection<? extends HardwareConnectorInstanceRef>)newValue);
- return;
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR:
+ setBase_Connector((Connector) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
+ getPin().clear();
+ getPin().addAll((Collection<? extends HardwareConnectorInstanceRef>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -167,15 +183,18 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Connector getBase_Connector() {
if (base_Connector != null && base_Connector.eIsProxy()) {
- InternalEObject oldBase_Connector = (InternalEObject)base_Connector;
- base_Connector = (Connector)eResolveProxy(oldBase_Connector);
+ InternalEObject oldBase_Connector = (InternalEObject) base_Connector;
+ base_Connector = (Connector) eResolveProxy(oldBase_Connector);
if (base_Connector != oldBase_Connector) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
}
}
return base_Connector;
@@ -184,6 +203,7 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Connector basicGetBase_Connector() {
@@ -193,36 +213,42 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR:
- setBase_Connector((Connector)null);
- return;
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
- getPin().clear();
- return;
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__BASE_CONNECTOR:
+ setBase_Connector((Connector) null);
+ return;
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
+ getPin().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<HardwareConnectorInstanceRef> getPin() {
if (pin == null) {
pin = new EObjectContainmentEList<HardwareConnectorInstanceRef>(HardwareConnectorInstanceRef.class, this, HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN);
@@ -233,15 +259,16 @@ public class HardwareConnectorImpl extends EAElementImpl implements HardwareConn
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
- return ((InternalEList<?>)getPin()).basicRemove(otherEnd, msgs);
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR__PIN:
+ return ((InternalEList<?>) getPin()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
- }
+ }
} // HardwareConnectorImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePinImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePinImpl.java
index bde4483c655..440c6cf0f2a 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePinImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePinImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,9 +34,9 @@ import org.eclipse.uml2.uml.Port;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl#getBase_Port <em>Base Port</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl#isIsGround <em>Is Ground</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl#getBase_Port <em>Base Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl#isIsGround <em>Is Ground</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePinImpl#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
*
@@ -48,6 +48,7 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
* The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Port()
* @generated
* @ordered
@@ -57,7 +58,7 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* The default value of the '{@link #isIsGround() <em>Is Ground</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #isIsGround()
* @generated
* @ordered
@@ -67,7 +68,7 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* The cached value of the '{@link #isIsGround() <em>Is Ground</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #isIsGround()
* @generated
* @ordered
@@ -77,7 +78,7 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* The default value of the '{@link #getDirection() <em>Direction</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -87,7 +88,7 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -96,6 +97,7 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected HardwarePinImpl() {
@@ -104,35 +106,39 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT:
- if (resolve) return getBase_Port();
- return basicGetBase_Port();
- case HardwaremodelingPackage.HARDWARE_PIN__IS_GROUND:
- return isIsGround();
- case HardwaremodelingPackage.HARDWARE_PIN__DIRECTION:
- return getDirection();
+ case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT:
+ if (resolve) {
+ return getBase_Port();
+ }
+ return basicGetBase_Port();
+ case HardwaremodelingPackage.HARDWARE_PIN__IS_GROUND:
+ return isIsGround();
+ case HardwaremodelingPackage.HARDWARE_PIN__DIRECTION:
+ return getDirection();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT:
- return base_Port != null;
- case HardwaremodelingPackage.HARDWARE_PIN__IS_GROUND:
- return isGround != IS_GROUND_EDEFAULT;
- case HardwaremodelingPackage.HARDWARE_PIN__DIRECTION:
- return direction != DIRECTION_EDEFAULT;
+ case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT:
+ return base_Port != null;
+ case HardwaremodelingPackage.HARDWARE_PIN__IS_GROUND:
+ return isGround != IS_GROUND_EDEFAULT;
+ case HardwaremodelingPackage.HARDWARE_PIN__DIRECTION:
+ return direction != DIRECTION_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -140,14 +146,17 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAPort.class) {
switch (derivedFeatureID) {
- case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT: return ElementsPackage.EA_PORT__BASE_PORT;
- default: return -1;
+ case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT:
+ return ElementsPackage.EA_PORT__BASE_PORT;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -156,14 +165,17 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAPort.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_PORT__BASE_PORT: return HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT;
- default: return -1;
+ case ElementsPackage.EA_PORT__BASE_PORT:
+ return HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -171,26 +183,28 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT:
- setBase_Port((Port)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PIN__IS_GROUND:
- setIsGround((Boolean)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PIN__DIRECTION:
- setDirection((EADirectionKind)newValue);
- return;
+ case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT:
+ setBase_Port((Port) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PIN__IS_GROUND:
+ setIsGround((Boolean) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PIN__DIRECTION:
+ setDirection((EADirectionKind) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -201,15 +215,18 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Port getBase_Port() {
if (base_Port != null && base_Port.eIsProxy()) {
- InternalEObject oldBase_Port = (InternalEObject)base_Port;
- base_Port = (Port)eResolveProxy(oldBase_Port);
+ InternalEObject oldBase_Port = (InternalEObject) base_Port;
+ base_Port = (Port) eResolveProxy(oldBase_Port);
if (base_Port != oldBase_Port) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT, oldBase_Port, base_Port));
+ }
}
}
return base_Port;
@@ -218,6 +235,7 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Port basicGetBase_Port() {
@@ -227,39 +245,45 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT, oldBase_Port, base_Port));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT:
- setBase_Port((Port)null);
- return;
- case HardwaremodelingPackage.HARDWARE_PIN__IS_GROUND:
- setIsGround(IS_GROUND_EDEFAULT);
- return;
- case HardwaremodelingPackage.HARDWARE_PIN__DIRECTION:
- setDirection(DIRECTION_EDEFAULT);
- return;
+ case HardwaremodelingPackage.HARDWARE_PIN__BASE_PORT:
+ setBase_Port((Port) null);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PIN__IS_GROUND:
+ setIsGround(IS_GROUND_EDEFAULT);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PIN__DIRECTION:
+ setDirection(DIRECTION_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EADirectionKind getDirection() {
return direction;
}
@@ -267,41 +291,52 @@ public abstract class HardwarePinImpl extends EAElementImpl implements HardwareP
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setDirection(EADirectionKind newDirection) {
EADirectionKind oldDirection = direction;
direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, HardwaremodelingPackage.HARDWARE_PIN__DIRECTION, oldDirection, direction));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isIsGround() {
return isGround;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setIsGround(boolean newIsGround) {
boolean oldIsGround = isGround;
isGround = newIsGround;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, HardwaremodelingPackage.HARDWARE_PIN__IS_GROUND, oldIsGround, isGround));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isGround: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortConnectorImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortConnectorImpl.java
index 8736dcfcea4..7a8ccf00cdf 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortConnectorImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortConnectorImpl.java
@@ -29,12 +29,12 @@ import org.eclipse.uml2.uml.Connector;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getBase_Connector <em>Base Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getBusSpeed <em>Bus Speed</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getBusType <em>Bus Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getConnector <em>Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getBase_Connector <em>Base Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getBusSpeed <em>Bus Speed</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getBusType <em>Bus Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getConnector <em>Connector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortConnectorImpl#getPort <em>Port</em>}</li>
* </ul>
* </p>
*
@@ -45,6 +45,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
* The cached value of the '{@link #getBase_Connector() <em>Base Connector</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Connector()
* @generated
* @ordered
@@ -55,6 +56,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -65,6 +67,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
* The default value of the '{@link #getBusSpeed() <em>Bus Speed</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBusSpeed()
* @generated
* @ordered
@@ -75,6 +78,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
* The cached value of the '{@link #getBusSpeed() <em>Bus Speed</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBusSpeed()
* @generated
* @ordered
@@ -85,6 +89,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
* The default value of the '{@link #getBusType() <em>Bus Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBusType()
* @generated
* @ordered
@@ -95,6 +100,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
* The cached value of the '{@link #getBusType() <em>Bus Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBusType()
* @generated
* @ordered
@@ -105,6 +111,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
* The cached value of the '{@link #getConnector() <em>Connector</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getConnector()
* @generated
* @ordered
@@ -115,6 +122,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
* The cached value of the '{@link #getPort() <em>Port</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPort()
* @generated
* @ordered
@@ -124,6 +132,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected HardwarePortConnectorImpl() {
@@ -133,6 +142,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -143,15 +153,18 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Connector getBase_Connector() {
if (base_Connector != null && base_Connector.eIsProxy()) {
- InternalEObject oldBase_Connector = (InternalEObject)base_Connector;
- base_Connector = (Connector)eResolveProxy(oldBase_Connector);
+ InternalEObject oldBase_Connector = (InternalEObject) base_Connector;
+ base_Connector = (Connector) eResolveProxy(oldBase_Connector);
if (base_Connector != oldBase_Connector) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
}
}
return base_Connector;
@@ -160,6 +173,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Connector basicGetBase_Connector() {
@@ -169,27 +183,33 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -198,6 +218,7 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -207,20 +228,25 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Float getBusSpeed() {
return busSpeed;
}
@@ -228,20 +254,25 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setBusSpeed(Float newBusSpeed) {
Float oldBusSpeed = busSpeed;
busSpeed = newBusSpeed;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_SPEED, oldBusSpeed, busSpeed));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwareBusKind getBusType() {
return busType;
}
@@ -249,20 +280,25 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setBusType(HardwareBusKind newBusType) {
HardwareBusKind oldBusType = busType;
busType = newBusType == null ? BUS_TYPE_EDEFAULT : newBusType;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_TYPE, oldBusType, busType));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<HardwareConnector> getConnector() {
if (connector == null) {
connector = new EObjectResolvingEList<HardwareConnector>(HardwareConnector.class, this, HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__CONNECTOR);
@@ -273,8 +309,10 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<HardwarePortConnectorInstanceRef> getPort() {
if (port == null) {
port = new EObjectContainmentEList<HardwarePortConnectorInstanceRef>(HardwarePortConnectorInstanceRef.class, this, HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT);
@@ -285,13 +323,14 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
- return ((InternalEList<?>)getPort()).basicRemove(otherEnd, msgs);
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
+ return ((InternalEList<?>) getPort()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -299,25 +338,30 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR:
- if (resolve) return getBase_Connector();
- return basicGetBase_Connector();
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_SPEED:
- return getBusSpeed();
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_TYPE:
- return getBusType();
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__CONNECTOR:
- return getConnector();
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
- return getPort();
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR:
+ if (resolve) {
+ return getBase_Connector();
+ }
+ return basicGetBase_Connector();
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_SPEED:
+ return getBusSpeed();
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_TYPE:
+ return getBusType();
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__CONNECTOR:
+ return getConnector();
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
+ return getPort();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -325,32 +369,33 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR:
- setBase_Connector((Connector)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_SPEED:
- setBusSpeed((Float)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_TYPE:
- setBusType((HardwareBusKind)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__CONNECTOR:
- getConnector().clear();
- getConnector().addAll((Collection<? extends HardwareConnector>)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
- getPort().clear();
- getPort().addAll((Collection<? extends HardwarePortConnectorInstanceRef>)newValue);
- return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR:
+ setBase_Connector((Connector) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_SPEED:
+ setBusSpeed((Float) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_TYPE:
+ setBusType((HardwareBusKind) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__CONNECTOR:
+ getConnector().clear();
+ getConnector().addAll((Collection<? extends HardwareConnector>) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
+ getPort().clear();
+ getPort().addAll((Collection<? extends HardwarePortConnectorInstanceRef>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -358,29 +403,30 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR:
- setBase_Connector((Connector)null);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_SPEED:
- setBusSpeed(BUS_SPEED_EDEFAULT);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_TYPE:
- setBusType(BUS_TYPE_EDEFAULT);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__CONNECTOR:
- getConnector().clear();
- return;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
- getPort().clear();
- return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR:
+ setBase_Connector((Connector) null);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_SPEED:
+ setBusSpeed(BUS_SPEED_EDEFAULT);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_TYPE:
+ setBusType(BUS_TYPE_EDEFAULT);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__CONNECTOR:
+ getConnector().clear();
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
+ getPort().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -388,23 +434,24 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR:
- return base_Connector != null;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS:
- return base_Class != null;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_SPEED:
- return BUS_SPEED_EDEFAULT == null ? busSpeed != null : !BUS_SPEED_EDEFAULT.equals(busSpeed);
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_TYPE:
- return busType != BUS_TYPE_EDEFAULT;
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__CONNECTOR:
- return connector != null && !connector.isEmpty();
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
- return port != null && !port.isEmpty();
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR:
+ return base_Connector != null;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CLASS:
+ return base_Class != null;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_SPEED:
+ return BUS_SPEED_EDEFAULT == null ? busSpeed != null : !BUS_SPEED_EDEFAULT.equals(busSpeed);
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BUS_TYPE:
+ return busType != BUS_TYPE_EDEFAULT;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__CONNECTOR:
+ return connector != null && !connector.isEmpty();
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__PORT:
+ return port != null && !port.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -412,14 +459,17 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAConnector.class) {
switch (derivedFeatureID) {
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR: return ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR;
- default: return -1;
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR:
+ return ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -428,14 +478,17 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAConnector.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR: return HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR;
- default: return -1;
+ case ElementsPackage.EA_CONNECTOR__BASE_CONNECTOR:
+ return HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR__BASE_CONNECTOR;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -444,11 +497,14 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (busSpeed: ");
@@ -459,4 +515,4 @@ public class HardwarePortConnectorImpl extends AllocationTargetImpl implements H
return result.toString();
}
-} //HardwarePortConnectorImpl
+} // HardwarePortConnectorImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortImpl.java
index 89173fa8359..9961f5b2a37 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwarePortImpl.java
@@ -24,12 +24,12 @@ import org.eclipse.uml2.uml.Port;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getBase_Port <em>Base Port</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#isIsShield <em>Is Shield</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getContainedPin <em>Contained Pin</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getReferencedPin <em>Referenced Pin</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getContainedPort <em>Contained Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getBase_Port <em>Base Port</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#isIsShield <em>Is Shield</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getContainedPin <em>Contained Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getReferencedPin <em>Referenced Pin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwarePortImpl#getContainedPort <em>Contained Port</em>}</li>
* </ul>
* </p>
*
@@ -40,6 +40,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
* The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Port()
* @generated
* @ordered
@@ -50,6 +51,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -60,6 +62,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
* The default value of the '{@link #isIsShield() <em>Is Shield</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isIsShield()
* @generated
* @ordered
@@ -70,6 +73,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
* The cached value of the '{@link #isIsShield() <em>Is Shield</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isIsShield()
* @generated
* @ordered
@@ -80,6 +84,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
* The cached value of the '{@link #getContainedPin() <em>Contained Pin</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getContainedPin()
* @generated
* @ordered
@@ -90,6 +95,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
* The cached value of the '{@link #getReferencedPin() <em>Referenced Pin</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getReferencedPin()
* @generated
* @ordered
@@ -100,6 +106,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
* The cached value of the '{@link #getContainedPort() <em>Contained Port</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getContainedPort()
* @generated
* @ordered
@@ -109,6 +116,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected HardwarePortImpl() {
@@ -118,6 +126,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -128,15 +137,18 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Port getBase_Port() {
if (base_Port != null && base_Port.eIsProxy()) {
- InternalEObject oldBase_Port = (InternalEObject)base_Port;
- base_Port = (Port)eResolveProxy(oldBase_Port);
+ InternalEObject oldBase_Port = (InternalEObject) base_Port;
+ base_Port = (Port) eResolveProxy(oldBase_Port);
if (base_Port != oldBase_Port) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT, oldBase_Port, base_Port));
+ }
}
}
return base_Port;
@@ -145,6 +157,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Port basicGetBase_Port() {
@@ -154,27 +167,33 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT, oldBase_Port, base_Port));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -183,6 +202,7 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -192,20 +212,25 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isIsShield() {
return isShield;
}
@@ -213,20 +238,25 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setIsShield(boolean newIsShield) {
boolean oldIsShield = isShield;
isShield = newIsShield;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, HardwaremodelingPackage.HARDWARE_PORT__IS_SHIELD, oldIsShield, isShield));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<HardwarePin> getContainedPin() {
if (containedPin == null) {
containedPin = new EObjectResolvingEList<HardwarePin>(HardwarePin.class, this, HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PIN);
@@ -237,8 +267,10 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<HardwarePin> getReferencedPin() {
if (referencedPin == null) {
referencedPin = new EObjectResolvingEList<HardwarePin>(HardwarePin.class, this, HardwaremodelingPackage.HARDWARE_PORT__REFERENCED_PIN);
@@ -249,8 +281,10 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<HardwarePort> getContainedPort() {
if (containedPort == null) {
containedPort = new EObjectResolvingEList<HardwarePort>(HardwarePort.class, this, HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PORT);
@@ -261,25 +295,30 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT:
- if (resolve) return getBase_Port();
- return basicGetBase_Port();
- case HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case HardwaremodelingPackage.HARDWARE_PORT__IS_SHIELD:
- return isIsShield();
- case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PIN:
- return getContainedPin();
- case HardwaremodelingPackage.HARDWARE_PORT__REFERENCED_PIN:
- return getReferencedPin();
- case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PORT:
- return getContainedPort();
+ case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT:
+ if (resolve) {
+ return getBase_Port();
+ }
+ return basicGetBase_Port();
+ case HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case HardwaremodelingPackage.HARDWARE_PORT__IS_SHIELD:
+ return isIsShield();
+ case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PIN:
+ return getContainedPin();
+ case HardwaremodelingPackage.HARDWARE_PORT__REFERENCED_PIN:
+ return getReferencedPin();
+ case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PORT:
+ return getContainedPort();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -287,33 +326,34 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT:
- setBase_Port((Port)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__IS_SHIELD:
- setIsShield((Boolean)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PIN:
- getContainedPin().clear();
- getContainedPin().addAll((Collection<? extends HardwarePin>)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__REFERENCED_PIN:
- getReferencedPin().clear();
- getReferencedPin().addAll((Collection<? extends HardwarePin>)newValue);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PORT:
- getContainedPort().clear();
- getContainedPort().addAll((Collection<? extends HardwarePort>)newValue);
- return;
+ case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT:
+ setBase_Port((Port) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__IS_SHIELD:
+ setIsShield((Boolean) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PIN:
+ getContainedPin().clear();
+ getContainedPin().addAll((Collection<? extends HardwarePin>) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__REFERENCED_PIN:
+ getReferencedPin().clear();
+ getReferencedPin().addAll((Collection<? extends HardwarePin>) newValue);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PORT:
+ getContainedPort().clear();
+ getContainedPort().addAll((Collection<? extends HardwarePort>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -321,29 +361,30 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT:
- setBase_Port((Port)null);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__IS_SHIELD:
- setIsShield(IS_SHIELD_EDEFAULT);
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PIN:
- getContainedPin().clear();
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__REFERENCED_PIN:
- getReferencedPin().clear();
- return;
- case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PORT:
- getContainedPort().clear();
- return;
+ case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT:
+ setBase_Port((Port) null);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__IS_SHIELD:
+ setIsShield(IS_SHIELD_EDEFAULT);
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PIN:
+ getContainedPin().clear();
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__REFERENCED_PIN:
+ getReferencedPin().clear();
+ return;
+ case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PORT:
+ getContainedPort().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -351,23 +392,24 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT:
- return base_Port != null;
- case HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS:
- return base_Class != null;
- case HardwaremodelingPackage.HARDWARE_PORT__IS_SHIELD:
- return isShield != IS_SHIELD_EDEFAULT;
- case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PIN:
- return containedPin != null && !containedPin.isEmpty();
- case HardwaremodelingPackage.HARDWARE_PORT__REFERENCED_PIN:
- return referencedPin != null && !referencedPin.isEmpty();
- case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PORT:
- return containedPort != null && !containedPort.isEmpty();
+ case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT:
+ return base_Port != null;
+ case HardwaremodelingPackage.HARDWARE_PORT__BASE_CLASS:
+ return base_Class != null;
+ case HardwaremodelingPackage.HARDWARE_PORT__IS_SHIELD:
+ return isShield != IS_SHIELD_EDEFAULT;
+ case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PIN:
+ return containedPin != null && !containedPin.isEmpty();
+ case HardwaremodelingPackage.HARDWARE_PORT__REFERENCED_PIN:
+ return referencedPin != null && !referencedPin.isEmpty();
+ case HardwaremodelingPackage.HARDWARE_PORT__CONTAINED_PORT:
+ return containedPort != null && !containedPort.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -375,14 +417,17 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == EAPort.class) {
switch (derivedFeatureID) {
- case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT: return ElementsPackage.EA_PORT__BASE_PORT;
- default: return -1;
+ case HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT:
+ return ElementsPackage.EA_PORT__BASE_PORT;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -391,14 +436,17 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == EAPort.class) {
switch (baseFeatureID) {
- case ElementsPackage.EA_PORT__BASE_PORT: return HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT;
- default: return -1;
+ case ElementsPackage.EA_PORT__BASE_PORT:
+ return HardwaremodelingPackage.HARDWARE_PORT__BASE_PORT;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -407,11 +455,14 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isShield: ");
@@ -420,4 +471,4 @@ public class HardwarePortImpl extends AllocationTargetImpl implements HardwarePo
return result.toString();
}
-} //HardwarePortImpl
+} // HardwarePortImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingFactoryImpl.java
index 3ebc5642149..919c8928225 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -43,12 +43,14 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Sensor;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class HardwaremodelingFactoryImpl extends EFactoryImpl implements HardwaremodelingFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -61,16 +63,16 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static HardwaremodelingFactory init() {
try {
- HardwaremodelingFactory theHardwaremodelingFactory = (HardwaremodelingFactory)EPackage.Registry.INSTANCE.getEFactory(HardwaremodelingPackage.eNS_URI);
+ HardwaremodelingFactory theHardwaremodelingFactory = (HardwaremodelingFactory) EPackage.Registry.INSTANCE.getEFactory(HardwaremodelingPackage.eNS_URI);
if (theHardwaremodelingFactory != null) {
return theHardwaremodelingFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new HardwaremodelingFactoryImpl();
@@ -80,6 +82,7 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public HardwaremodelingFactoryImpl() {
@@ -89,50 +92,66 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
switch (eDataType.getClassifierID()) {
- case HardwaremodelingPackage.HARDWARE_BUS_KIND:
- return convertHardwareBusKindToString(eDataType, instanceValue);
- case HardwaremodelingPackage.IO_HARDWARE_PIN_KIND:
- return convertIOHardwarePinKindToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case HardwaremodelingPackage.HARDWARE_BUS_KIND:
+ return convertHardwareBusKindToString(eDataType, instanceValue);
+ case HardwaremodelingPackage.IO_HARDWARE_PIN_KIND:
+ return convertIOHardwarePinKindToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE: return createHardwareComponentType();
- case HardwaremodelingPackage.HARDWARE_CONNECTOR: return createHardwareConnector();
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE: return createHardwareComponentPrototype();
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR: return createHardwarePortConnector();
- case HardwaremodelingPackage.HARDWARE_PORT: return createHardwarePort();
- case HardwaremodelingPackage.IO_HARDWARE_PIN: return createIOHardwarePin();
- case HardwaremodelingPackage.POWER_HARDWARE_PIN: return createPowerHardwarePin();
- case HardwaremodelingPackage.COMMUNICATION_HARDWARE_PIN: return createCommunicationHardwarePin();
- case HardwaremodelingPackage.NODE: return createNode();
- case HardwaremodelingPackage.ELECTRICAL_COMPONENT: return createElectricalComponent();
- case HardwaremodelingPackage.SENSOR: return createSensor();
- case HardwaremodelingPackage.ACTUATOR: return createActuator();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE:
+ return createHardwareComponentType();
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR:
+ return createHardwareConnector();
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE:
+ return createHardwareComponentPrototype();
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR:
+ return createHardwarePortConnector();
+ case HardwaremodelingPackage.HARDWARE_PORT:
+ return createHardwarePort();
+ case HardwaremodelingPackage.IO_HARDWARE_PIN:
+ return createIOHardwarePin();
+ case HardwaremodelingPackage.POWER_HARDWARE_PIN:
+ return createPowerHardwarePin();
+ case HardwaremodelingPackage.COMMUNICATION_HARDWARE_PIN:
+ return createCommunicationHardwarePin();
+ case HardwaremodelingPackage.NODE:
+ return createNode();
+ case HardwaremodelingPackage.ELECTRICAL_COMPONENT:
+ return createElectricalComponent();
+ case HardwaremodelingPackage.SENSOR:
+ return createSensor();
+ case HardwaremodelingPackage.ACTUATOR:
+ return createActuator();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Actuator createActuator() {
ActuatorImpl actuator = new ActuatorImpl();
return actuator;
@@ -141,17 +160,21 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public HardwareBusKind createHardwareBusKindFromString(EDataType eDataType, String initialValue) {
HardwareBusKind result = HardwareBusKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ if (result == null) {
+ throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ }
return result;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String convertHardwareBusKindToString(EDataType eDataType, Object instanceValue) {
@@ -161,8 +184,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public CommunicationHardwarePin createCommunicationHardwarePin() {
CommunicationHardwarePinImpl communicationHardwarePin = new CommunicationHardwarePinImpl();
return communicationHardwarePin;
@@ -171,25 +196,28 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
switch (eDataType.getClassifierID()) {
- case HardwaremodelingPackage.HARDWARE_BUS_KIND:
- return createHardwareBusKindFromString(eDataType, initialValue);
- case HardwaremodelingPackage.IO_HARDWARE_PIN_KIND:
- return createIOHardwarePinKindFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case HardwaremodelingPackage.HARDWARE_BUS_KIND:
+ return createHardwareBusKindFromString(eDataType, initialValue);
+ case HardwaremodelingPackage.IO_HARDWARE_PIN_KIND:
+ return createIOHardwarePinKindFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwareComponentPrototype createHardwareComponentPrototype() {
HardwareComponentPrototypeImpl hardwareComponentPrototype = new HardwareComponentPrototypeImpl();
return hardwareComponentPrototype;
@@ -198,8 +226,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwarePortConnector createHardwarePortConnector() {
HardwarePortConnectorImpl hardwarePortConnector = new HardwarePortConnectorImpl();
return hardwarePortConnector;
@@ -208,8 +238,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwarePort createHardwarePort() {
HardwarePortImpl hardwarePort = new HardwarePortImpl();
return hardwarePort;
@@ -218,8 +250,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public IOHardwarePin createIOHardwarePin() {
IOHardwarePinImpl ioHardwarePin = new IOHardwarePinImpl();
return ioHardwarePin;
@@ -228,8 +262,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwareComponentType createHardwareComponentType() {
HardwareComponentTypeImpl hardwareComponentType = new HardwareComponentTypeImpl();
return hardwareComponentType;
@@ -238,17 +274,21 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public IOHardwarePinKind createIOHardwarePinKindFromString(EDataType eDataType, String initialValue) {
IOHardwarePinKind result = IOHardwarePinKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ if (result == null) {
+ throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ }
return result;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String convertIOHardwarePinKindToString(EDataType eDataType, Object instanceValue) {
@@ -258,8 +298,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwareConnector createHardwareConnector() {
HardwareConnectorImpl hardwareConnector = new HardwareConnectorImpl();
return hardwareConnector;
@@ -268,8 +310,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Node createNode() {
NodeImpl node = new NodeImpl();
return node;
@@ -278,8 +322,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ElectricalComponent createElectricalComponent() {
ElectricalComponentImpl electricalComponent = new ElectricalComponentImpl();
return electricalComponent;
@@ -288,8 +334,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public PowerHardwarePin createPowerHardwarePin() {
PowerHardwarePinImpl powerHardwarePin = new PowerHardwarePinImpl();
return powerHardwarePin;
@@ -298,8 +346,10 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Sensor createSensor() {
SensorImpl sensor = new SensorImpl();
return sensor;
@@ -308,10 +358,12 @@ public class HardwaremodelingFactoryImpl extends EFactoryImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwaremodelingPackage getHardwaremodelingPackage() {
- return (HardwaremodelingPackage)getEPackage();
+ return (HardwaremodelingPackage) getEPackage();
}
-} //HardwaremodelingFactoryImpl
+} // HardwaremodelingFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java
index 68ecbf7a8d7..1d480fc3b09 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/HardwaremodelingPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -113,6 +113,7 @@ import org.eclipse.uml2.uml.UMLPackage;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class HardwaremodelingPackageImpl extends EPackageImpl implements HardwaremodelingPackage {
@@ -120,6 +121,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass hardwareComponentTypeEClass = null;
@@ -127,6 +129,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum ioHardwarePinKindEEnum = null;
@@ -134,6 +137,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass hardwareConnectorEClass = null;
@@ -141,6 +145,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass hardwarePinEClass = null;
@@ -148,6 +153,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass hardwareComponentPrototypeEClass = null;
@@ -155,6 +161,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass hardwarePortConnectorEClass = null;
@@ -162,6 +169,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass hardwarePortEClass = null;
@@ -169,6 +177,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass allocationTargetEClass = null;
@@ -176,6 +185,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum hardwareBusKindEEnum = null;
@@ -183,6 +193,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass powerHardwarePinEClass = null;
@@ -190,6 +201,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass ioHardwarePinEClass = null;
@@ -197,6 +209,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass communicationHardwarePinEClass = null;
@@ -204,6 +217,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass nodeEClass = null;
@@ -211,6 +225,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass electricalComponentEClass = null;
@@ -218,6 +233,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass sensorEClass = null;
@@ -225,6 +241,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass actuatorEClass = null;
@@ -232,26 +249,30 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- 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 HardwaremodelingPackage#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 -->
*
- * <p>This method is used to initialize {@link HardwaremodelingPackage#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 HardwaremodelingPackage init() {
- if (isInited) return (HardwaremodelingPackage)EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
+ if (isInited) {
+ return (HardwaremodelingPackage) EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
+ }
// Obtain or create and register package
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new HardwaremodelingPackageImpl());
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new HardwaremodelingPackageImpl());
isInited = true;
@@ -259,39 +280,67 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
SysmlPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
- VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
- InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
- DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
- UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
- ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
- ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
- StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
- FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
- VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
- VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
- org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
- TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
- TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
- EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
- NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
- BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
- AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
- TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
- ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
- GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
+ EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
+ VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI)
+ : VariabilityPackage.eINSTANCE);
+ InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
+ DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI)
+ : DatatypesPackage.eINSTANCE);
+ UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
+ ElementsPackageImpl theElementsPackage = (ElementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI)
+ : ElementsPackage.eINSTANCE);
+ StructurePackageImpl theStructurePackage = (StructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI)
+ : StructurePackage.eINSTANCE);
+ FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
+ SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
+ VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI)
+ : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI)
+ : ErrormodelPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
+ VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI)
+ : BehaviorPackage.eINSTANCE);
+ TimingPackageImpl theTimingPackage = (TimingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
+ TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
+ EventsPackageImpl theEventsPackage = (EventsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
+ EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI)
+ : EnvironmentPackage.eINSTANCE);
+ AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
+ NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
+ GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
theHardwaremodelingPackage.createPackageContents();
@@ -368,7 +417,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
// Mark meta-data to indicate it can't be changed
theHardwaremodelingPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(HardwaremodelingPackage.eNS_URI, theHardwaremodelingPackage);
return theHardwaremodelingPackage;
@@ -377,6 +426,7 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isCreated = false;
@@ -384,19 +434,17 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#eNS_URI
* @see #init()
@@ -407,14 +455,17 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
}
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents() {
- if (isCreated) return;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create classes and their features
@@ -477,8 +528,10 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getActuator() {
return actuatorEClass;
}
@@ -486,8 +539,10 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAllocationTarget() {
return allocationTargetEClass;
}
@@ -495,8 +550,10 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EEnum getHardwareBusKind() {
return hardwareBusKindEEnum;
}
@@ -504,8 +561,10 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getIOHardwarePin() {
return ioHardwarePinEClass;
}
@@ -513,17 +572,21 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getIOHardwarePin_Type() {
- return (EAttribute)ioHardwarePinEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) ioHardwarePinEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getCommunicationHardwarePin() {
return communicationHardwarePinEClass;
}
@@ -531,8 +594,10 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getHardwareComponentPrototype() {
return hardwareComponentPrototypeEClass;
}
@@ -540,17 +605,21 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwareComponentPrototype_Type() {
- return (EReference)hardwareComponentPrototypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) hardwareComponentPrototypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EOperation getHardwareComponentPrototype__GetIcon() {
return hardwareComponentPrototypeEClass.getEOperations().get(0);
}
@@ -558,8 +627,10 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getHardwarePortConnector() {
return hardwarePortConnectorEClass;
}
@@ -567,53 +638,65 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwarePortConnector_Base_Class() {
- return (EReference)hardwarePortConnectorEClass.getEStructuralFeatures().get(0);
+ return (EReference) hardwarePortConnectorEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getHardwarePortConnector_BusSpeed() {
- return (EAttribute)hardwarePortConnectorEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) hardwarePortConnectorEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getHardwarePortConnector_BusType() {
- return (EAttribute)hardwarePortConnectorEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) hardwarePortConnectorEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwarePortConnector_Connector() {
- return (EReference)hardwarePortConnectorEClass.getEStructuralFeatures().get(3);
+ return (EReference) hardwarePortConnectorEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwarePortConnector_Port() {
- return (EReference)hardwarePortConnectorEClass.getEStructuralFeatures().get(4);
+ return (EReference) hardwarePortConnectorEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getHardwarePort() {
return hardwarePortEClass;
}
@@ -621,53 +704,65 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwarePort_Base_Class() {
- return (EReference)hardwarePortEClass.getEStructuralFeatures().get(0);
+ return (EReference) hardwarePortEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getHardwarePort_IsShield() {
- return (EAttribute)hardwarePortEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) hardwarePortEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwarePort_ContainedPin() {
- return (EReference)hardwarePortEClass.getEStructuralFeatures().get(2);
+ return (EReference) hardwarePortEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwarePort_ReferencedPin() {
- return (EReference)hardwarePortEClass.getEStructuralFeatures().get(3);
+ return (EReference) hardwarePortEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwarePort_ContainedPort() {
- return (EReference)hardwarePortEClass.getEStructuralFeatures().get(4);
+ return (EReference) hardwarePortEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getHardwareComponentType() {
return hardwareComponentTypeEClass;
}
@@ -675,53 +770,65 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwareComponentType_Connector() {
- return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) hardwareComponentTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwareComponentType_Pin() {
- return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(1);
+ return (EReference) hardwareComponentTypeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwareComponentType_Part() {
- return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(2);
+ return (EReference) hardwareComponentTypeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwareComponentType_PortConnector() {
- return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(3);
+ return (EReference) hardwareComponentTypeEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwareComponentType_Port() {
- return (EReference)hardwareComponentTypeEClass.getEStructuralFeatures().get(4);
+ return (EReference) hardwareComponentTypeEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EEnum getIOHardwarePinKind() {
return ioHardwarePinKindEEnum;
}
@@ -729,8 +836,10 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getHardwareConnector() {
return hardwareConnectorEClass;
}
@@ -738,26 +847,32 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getHardwareConnector_Pin() {
- return (EReference)hardwareConnectorEClass.getEStructuralFeatures().get(0);
+ return (EReference) hardwareConnectorEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwaremodelingFactory getHardwaremodelingFactory() {
- return (HardwaremodelingFactory)getEFactoryInstance();
+ return (HardwaremodelingFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getHardwarePin() {
return hardwarePinEClass;
}
@@ -765,26 +880,32 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getHardwarePin_Direction() {
- return (EAttribute)hardwarePinEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) hardwarePinEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getHardwarePin_IsGround() {
- return (EAttribute)hardwarePinEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) hardwarePinEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getNode() {
return nodeEClass;
}
@@ -792,17 +913,21 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getNode_ExecutionRate() {
- return (EAttribute)nodeEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) nodeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getElectricalComponent() {
return electricalComponentEClass;
}
@@ -810,17 +935,21 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getElectricalComponent_IsActive() {
- return (EAttribute)electricalComponentEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) electricalComponentEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getPowerHardwarePin() {
return powerHardwarePinEClass;
}
@@ -828,21 +957,26 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getSensor() {
return sensorEClass;
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) return;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -851,12 +985,12 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
setNsURI(eNS_URI);
// Obtain other dependent packages
- ElementsPackage theElementsPackage = (ElementsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
- InfrastructurePackage theInfrastructurePackage = (InfrastructurePackage)EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);
- TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
- FunctionmodelingPackage theFunctionmodelingPackage = (FunctionmodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- DatatypesPackage theDatatypesPackage = (DatatypesPackage)EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
+ ElementsPackage theElementsPackage = (ElementsPackage) EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
+ InfrastructurePackage theInfrastructurePackage = (InfrastructurePackage) EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ FunctionmodelingPackage theFunctionmodelingPackage = (FunctionmodelingPackage) EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ DatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI);
// Create type parameters
@@ -886,37 +1020,51 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
// Initialize classes, features, and operations; add parameters
initEClass(hardwareComponentTypeEClass, HardwareComponentType.class, "HardwareComponentType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getHardwareComponentType_Connector(), this.getHardwareConnector(), null, "connector", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getHardwareComponentType_Pin(), this.getHardwarePin(), null, "pin", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getHardwareComponentType_Part(), this.getHardwareComponentPrototype(), null, "part", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getHardwareComponentType_PortConnector(), this.getHardwarePortConnector(), null, "portConnector", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getHardwareComponentType_Port(), this.getHardwarePort(), null, "port", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentType_Connector(), this.getHardwareConnector(), null, "connector", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentType_Pin(), this.getHardwarePin(), null, "pin", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getHardwareComponentType_Part(), this.getHardwareComponentPrototype(), null, "part", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentType_PortConnector(), this.getHardwarePortConnector(), null, "portConnector", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentType_Port(), this.getHardwarePort(), null, "port", null, 0, -1, HardwareComponentType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
initEClass(hardwareConnectorEClass, HardwareConnector.class, "HardwareConnector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getHardwareConnector_Pin(), theInfrastructurePackage.getHardwareConnectorInstanceRef(), null, "pin", null, 2, 2, HardwareConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareConnector_Pin(), theInfrastructurePackage.getHardwareConnectorInstanceRef(), null, "pin", null, 2, 2, HardwareConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(hardwarePinEClass, HardwarePin.class, "HardwarePin", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getHardwarePin_IsGround(), theTypesPackage.getBoolean(), "isGround", null, 0, 1, HardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getHardwarePin_Direction(), theFunctionmodelingPackage.getEADirectionKind(), "direction", null, 1, 1, HardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(hardwareComponentPrototypeEClass, HardwareComponentPrototype.class, "HardwareComponentPrototype", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getHardwareComponentPrototype_Type(), this.getHardwareComponentType(), null, "type", null, 1, 1, HardwareComponentPrototype.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwareComponentPrototype_Type(), this.getHardwareComponentType(), null, "type", null, 1, 1, HardwareComponentPrototype.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
initEOperation(getHardwareComponentPrototype__GetIcon(), theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !IS_ORDERED);
initEClass(hardwarePortConnectorEClass, HardwarePortConnector.class, "HardwarePortConnector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getHardwarePortConnector_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, HardwarePortConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwarePortConnector_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, HardwarePortConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEAttribute(getHardwarePortConnector_BusSpeed(), theDatatypesPackage.getjavalangFloat(), "busSpeed", null, 1, 1, HardwarePortConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getHardwarePortConnector_BusType(), this.getHardwareBusKind(), "busType", null, 1, 1, HardwarePortConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getHardwarePortConnector_Connector(), this.getHardwareConnector(), null, "connector", null, 0, -1, HardwarePortConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getHardwarePortConnector_Port(), theInfrastructurePackage.getHardwarePortConnectorInstanceRef(), null, "port", null, 2, 2, HardwarePortConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwarePortConnector_Connector(), this.getHardwareConnector(), null, "connector", null, 0, -1, HardwarePortConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwarePortConnector_Port(), theInfrastructurePackage.getHardwarePortConnectorInstanceRef(), null, "port", null, 2, 2, HardwarePortConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(hardwarePortEClass, HardwarePort.class, "HardwarePort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getHardwarePort_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, HardwarePort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwarePort_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, HardwarePort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEAttribute(getHardwarePort_IsShield(), theTypesPackage.getBoolean(), "isShield", null, 1, 1, HardwarePort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getHardwarePort_ContainedPin(), this.getHardwarePin(), null, "containedPin", null, 0, -1, HardwarePort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getHardwarePort_ReferencedPin(), this.getHardwarePin(), null, "referencedPin", null, 0, -1, HardwarePort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getHardwarePort_ContainedPort(), this.getHardwarePort(), null, "containedPort", null, 0, -1, HardwarePort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getHardwarePort_ContainedPin(), this.getHardwarePin(), null, "containedPin", null, 0, -1, HardwarePort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getHardwarePort_ReferencedPin(), this.getHardwarePin(), null, "referencedPin", null, 0, -1, HardwarePort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getHardwarePort_ContainedPort(), this.getHardwarePort(), null, "containedPort", null, 0, -1, HardwarePort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(ioHardwarePinEClass, IOHardwarePin.class, "IOHardwarePin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getIOHardwarePin_Type(), this.getIOHardwarePinKind(), "type", null, 1, 1, IOHardwarePin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
@@ -950,4 +1098,4 @@ public class HardwaremodelingPackageImpl extends EPackageImpl implements Hardwar
addEEnumLiteral(ioHardwarePinKindEEnum, IOHardwarePinKind.PWM);
addEEnumLiteral(ioHardwarePinKindEEnum, IOHardwarePinKind.OTHER);
}
-} //HardwaremodelingPackageImpl
+} // HardwaremodelingPackageImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/IOHardwarePinImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/IOHardwarePinImpl.java
index 0fdf3194dd4..216f41c25e9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/IOHardwarePinImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/IOHardwarePinImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.IOHardwarePinKind;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.IOHardwarePinImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.IOHardwarePinImpl#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -41,6 +41,7 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
* The default value of the '{@link #getType() <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getType()
* @generated
* @ordered
@@ -50,6 +51,7 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
* The cached value of the '{@link #getType() <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getType()
* @generated
* @ordered
@@ -59,6 +61,7 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IOHardwarePinImpl() {
@@ -68,13 +71,14 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case HardwaremodelingPackage.IO_HARDWARE_PIN__TYPE:
- return getType();
+ case HardwaremodelingPackage.IO_HARDWARE_PIN__TYPE:
+ return getType();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -82,13 +86,14 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.IO_HARDWARE_PIN__TYPE:
- return type != TYPE_EDEFAULT;
+ case HardwaremodelingPackage.IO_HARDWARE_PIN__TYPE:
+ return type != TYPE_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -96,14 +101,15 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case HardwaremodelingPackage.IO_HARDWARE_PIN__TYPE:
- setType((IOHardwarePinKind)newValue);
- return;
+ case HardwaremodelingPackage.IO_HARDWARE_PIN__TYPE:
+ setType((IOHardwarePinKind) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -111,6 +117,7 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -121,14 +128,15 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.IO_HARDWARE_PIN__TYPE:
- setType(TYPE_EDEFAULT);
- return;
+ case HardwaremodelingPackage.IO_HARDWARE_PIN__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -136,8 +144,10 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public IOHardwarePinKind getType() {
return type;
}
@@ -145,23 +155,29 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setType(IOHardwarePinKind newType) {
IOHardwarePinKind oldType = type;
type = newType == null ? TYPE_EDEFAULT : newType;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, HardwaremodelingPackage.IO_HARDWARE_PIN__TYPE, oldType, type));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (type: ");
@@ -170,4 +186,4 @@ public class IOHardwarePinImpl extends HardwarePinImpl implements IOHardwarePin
return result.toString();
}
-} //IOHardwarePinImpl
+} // IOHardwarePinImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/NodeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/NodeImpl.java
index f0b052cc08d..e6d702a178f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/NodeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/NodeImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Node;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.NodeImpl#getExecutionRate <em>Execution Rate</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.NodeImpl#getExecutionRate <em>Execution Rate</em>}</li>
* </ul>
* </p>
*
@@ -40,6 +40,7 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
* The default value of the '{@link #getExecutionRate() <em>Execution Rate</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getExecutionRate()
* @generated
* @ordered
@@ -49,14 +50,17 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
* The cached value of the '{@link #getExecutionRate() <em>Execution Rate</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getExecutionRate()
* @generated
* @ordered
*/
protected Float executionRate = EXECUTION_RATE_EDEFAULT;
+
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected NodeImpl() {
@@ -66,13 +70,14 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case HardwaremodelingPackage.NODE__EXECUTION_RATE:
- return getExecutionRate();
+ case HardwaremodelingPackage.NODE__EXECUTION_RATE:
+ return getExecutionRate();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -80,13 +85,14 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.NODE__EXECUTION_RATE:
- return EXECUTION_RATE_EDEFAULT == null ? executionRate != null : !EXECUTION_RATE_EDEFAULT.equals(executionRate);
+ case HardwaremodelingPackage.NODE__EXECUTION_RATE:
+ return EXECUTION_RATE_EDEFAULT == null ? executionRate != null : !EXECUTION_RATE_EDEFAULT.equals(executionRate);
}
return super.eIsSet(featureID);
}
@@ -94,14 +100,15 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case HardwaremodelingPackage.NODE__EXECUTION_RATE:
- setExecutionRate((Float)newValue);
- return;
+ case HardwaremodelingPackage.NODE__EXECUTION_RATE:
+ setExecutionRate((Float) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -109,6 +116,7 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -119,14 +127,15 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case HardwaremodelingPackage.NODE__EXECUTION_RATE:
- setExecutionRate(EXECUTION_RATE_EDEFAULT);
- return;
+ case HardwaremodelingPackage.NODE__EXECUTION_RATE:
+ setExecutionRate(EXECUTION_RATE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -134,8 +143,10 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Float getExecutionRate() {
return executionRate;
}
@@ -143,23 +154,29 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setExecutionRate(Float newExecutionRate) {
Float oldExecutionRate = executionRate;
executionRate = newExecutionRate;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, HardwaremodelingPackage.NODE__EXECUTION_RATE, oldExecutionRate, executionRate));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (executionRate: ");
@@ -168,4 +185,4 @@ public class NodeImpl extends HardwareComponentTypeImpl implements Node {
return result.toString();
}
-} //NodeImpl
+} // NodeImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/PowerHardwarePinImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/PowerHardwarePinImpl.java
index 6f9557dcc44..a64df86a4b9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/PowerHardwarePinImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/PowerHardwarePinImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,6 +33,7 @@ public class PowerHardwarePinImpl extends HardwarePinImpl implements PowerHardwa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PowerHardwarePinImpl() {
@@ -42,6 +43,7 @@ public class PowerHardwarePinImpl extends HardwarePinImpl implements PowerHardwa
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -49,4 +51,4 @@ public class PowerHardwarePinImpl extends HardwarePinImpl implements PowerHardwa
return HardwaremodelingPackage.Literals.POWER_HARDWARE_PIN;
}
-} //PowerHardwarePinImpl
+} // PowerHardwarePinImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/SensorImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/SensorImpl.java
index bb8ba56b377..fe277dfe647 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/SensorImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/impl/SensorImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,6 +33,7 @@ public class SensorImpl extends HardwareComponentTypeImpl implements Sensor {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SensorImpl() {
@@ -42,6 +43,7 @@ public class SensorImpl extends HardwareComponentTypeImpl implements Sensor {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -49,4 +51,4 @@ public class SensorImpl extends HardwareComponentTypeImpl implements Sensor {
return HardwaremodelingPackage.Literals.SENSOR;
}
-} //SensorImpl
+} // SensorImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingAdapterFactory.java
index b310d9e333c..54306674774 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingAdapterFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -48,6 +48,7 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Sensor;
* 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.eastadl.structure.hardwaremodeling.HardwaremodelingPackage
* @generated
*/
@@ -56,6 +57,7 @@ public class HardwaremodelingAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static HardwaremodelingPackage modelPackage;
@@ -64,104 +66,127 @@ public class HardwaremodelingAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected HardwaremodelingSwitch<Adapter> modelSwitch =
- new HardwaremodelingSwitch<Adapter>() {
- @Override
- public Adapter caseHardwareComponentType(HardwareComponentType object) {
- return createHardwareComponentTypeAdapter();
- }
- @Override
- public Adapter caseHardwareConnector(HardwareConnector object) {
- return createHardwareConnectorAdapter();
- }
- @Override
- public Adapter caseHardwarePin(HardwarePin object) {
- return createHardwarePinAdapter();
- }
- @Override
- public Adapter caseHardwareComponentPrototype(HardwareComponentPrototype object) {
- return createHardwareComponentPrototypeAdapter();
- }
- @Override
- public Adapter caseHardwarePortConnector(HardwarePortConnector object) {
- return createHardwarePortConnectorAdapter();
- }
- @Override
- public Adapter caseHardwarePort(HardwarePort object) {
- return createHardwarePortAdapter();
- }
- @Override
- public Adapter caseIOHardwarePin(IOHardwarePin object) {
- return createIOHardwarePinAdapter();
- }
- @Override
- public Adapter casePowerHardwarePin(PowerHardwarePin object) {
- return createPowerHardwarePinAdapter();
- }
- @Override
- public Adapter caseCommunicationHardwarePin(CommunicationHardwarePin object) {
- return createCommunicationHardwarePinAdapter();
- }
- @Override
- public Adapter caseNode(Node object) {
- return createNodeAdapter();
- }
- @Override
- public Adapter caseElectricalComponent(ElectricalComponent object) {
- return createElectricalComponentAdapter();
- }
- @Override
- public Adapter caseSensor(Sensor object) {
- return createSensorAdapter();
- }
- @Override
- public Adapter caseActuator(Actuator object) {
- return createActuatorAdapter();
- }
- @Override
- public Adapter caseAllocationTarget(AllocationTarget object) {
- return createAllocationTargetAdapter();
- }
- @Override
- public Adapter caseEAElement(EAElement object) {
- return createEAElementAdapter();
- }
- @Override
- public Adapter caseEAPackageableElement(EAPackageableElement object) {
- return createEAPackageableElementAdapter();
- }
- @Override
- public Adapter caseContext(Context object) {
- return createContextAdapter();
- }
- @Override
- public Adapter caseEAType(EAType object) {
- return createEATypeAdapter();
- }
- @Override
- public Adapter caseEAConnector(EAConnector object) {
- return createEAConnectorAdapter();
- }
- @Override
- public Adapter caseEAPort(EAPort object) {
- return createEAPortAdapter();
- }
- @Override
- public Adapter caseEAPrototype(EAPrototype object) {
- return createEAPrototypeAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new HardwaremodelingSwitch<Adapter>() {
+ @Override
+ public Adapter caseHardwareComponentType(HardwareComponentType object) {
+ return createHardwareComponentTypeAdapter();
+ }
+
+ @Override
+ public Adapter caseHardwareConnector(HardwareConnector object) {
+ return createHardwareConnectorAdapter();
+ }
+
+ @Override
+ public Adapter caseHardwarePin(HardwarePin object) {
+ return createHardwarePinAdapter();
+ }
+
+ @Override
+ public Adapter caseHardwareComponentPrototype(HardwareComponentPrototype object) {
+ return createHardwareComponentPrototypeAdapter();
+ }
+
+ @Override
+ public Adapter caseHardwarePortConnector(HardwarePortConnector object) {
+ return createHardwarePortConnectorAdapter();
+ }
+
+ @Override
+ public Adapter caseHardwarePort(HardwarePort object) {
+ return createHardwarePortAdapter();
+ }
+
+ @Override
+ public Adapter caseIOHardwarePin(IOHardwarePin object) {
+ return createIOHardwarePinAdapter();
+ }
+
+ @Override
+ public Adapter casePowerHardwarePin(PowerHardwarePin object) {
+ return createPowerHardwarePinAdapter();
+ }
+
+ @Override
+ public Adapter caseCommunicationHardwarePin(CommunicationHardwarePin object) {
+ return createCommunicationHardwarePinAdapter();
+ }
+
+ @Override
+ public Adapter caseNode(Node object) {
+ return createNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseElectricalComponent(ElectricalComponent object) {
+ return createElectricalComponentAdapter();
+ }
+
+ @Override
+ public Adapter caseSensor(Sensor object) {
+ return createSensorAdapter();
+ }
+
+ @Override
+ public Adapter caseActuator(Actuator object) {
+ return createActuatorAdapter();
+ }
+
+ @Override
+ public Adapter caseAllocationTarget(AllocationTarget object) {
+ return createAllocationTargetAdapter();
+ }
+
+ @Override
+ public Adapter caseEAElement(EAElement object) {
+ return createEAElementAdapter();
+ }
+
+ @Override
+ public Adapter caseEAPackageableElement(EAPackageableElement object) {
+ return createEAPackageableElementAdapter();
+ }
+
+ @Override
+ public Adapter caseContext(Context object) {
+ return createContextAdapter();
+ }
+
+ @Override
+ public Adapter caseEAType(EAType object) {
+ return createEATypeAdapter();
+ }
+
+ @Override
+ public Adapter caseEAConnector(EAConnector object) {
+ return createEAConnectorAdapter();
+ }
+
+ @Override
+ public Adapter caseEAPort(EAPort object) {
+ return createEAPortAdapter();
+ }
+
+ @Override
+ public Adapter caseEAPrototype(EAPrototype object) {
+ return createEAPrototypeAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public HardwaremodelingAdapterFactory() {
@@ -176,6 +201,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.Actuator
* @generated
@@ -188,13 +214,15 @@ public class HardwaremodelingAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param target the object to adapt.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
@@ -204,6 +232,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.AllocationTarget
* @generated
@@ -218,6 +247,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.IOHardwarePin
* @generated
@@ -232,6 +262,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.CommunicationHardwarePin
* @generated
@@ -246,6 +277,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.infrastructure.elements.Context
* @generated
@@ -260,6 +292,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.infrastructure.elements.EAType
* @generated
@@ -274,6 +307,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.infrastructure.elements.EAConnector
* @generated
@@ -288,6 +322,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.infrastructure.elements.EAPort
* @generated
@@ -302,6 +337,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.infrastructure.elements.EAPrototype
* @generated
@@ -315,6 +351,7 @@ public class HardwaremodelingAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -328,6 +365,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.HardwareComponentPrototype
* @generated
@@ -342,6 +380,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.HardwarePortConnector
* @generated
@@ -356,6 +395,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.HardwarePort
* @generated
@@ -370,6 +410,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.HardwareComponentType
* @generated
@@ -384,6 +425,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.infrastructure.elements.EAElement
* @generated
@@ -398,6 +440,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.infrastructure.elements.EAPackageableElement
* @generated
@@ -412,6 +455,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.HardwareConnector
* @generated
@@ -426,6 +470,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.HardwarePin
* @generated
@@ -440,6 +485,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.Node
* @generated
@@ -454,6 +500,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.ElectricalComponent
* @generated
@@ -468,6 +515,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.PowerHardwarePin
* @generated
@@ -482,6 +530,7 @@ public class HardwaremodelingAdapterFactory 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.eastadl.structure.hardwaremodeling.Sensor
* @generated
@@ -495,6 +544,7 @@ public class HardwaremodelingAdapterFactory 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
*/
@@ -504,9 +554,9 @@ public class HardwaremodelingAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
-} //HardwaremodelingAdapterFactory
+} // HardwaremodelingAdapterFactory
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceFactoryImpl.java
index f456b48075a..e07727662c9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,6 +24,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.eastadl.structure.hardwaremodeling.util.HardwaremodelingResourceImpl
* @generated
*/
@@ -32,6 +33,7 @@ public class HardwaremodelingResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public HardwaremodelingResourceFactoryImpl() {
@@ -42,6 +44,7 @@ public class HardwaremodelingResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -59,4 +62,4 @@ public class HardwaremodelingResourceFactoryImpl extends ResourceFactoryImpl {
return result;
}
-} //HardwaremodelingResourceFactoryImpl
+} // HardwaremodelingResourceFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceImpl.java
index 663c7b84d83..6d1f4adc97d 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,6 +22,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.eastadl.structure.hardwaremodeling.util.HardwaremodelingResourceFactoryImpl
* @generated
*/
@@ -30,11 +31,13 @@ public class HardwaremodelingResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public HardwaremodelingResourceImpl(URI uri) {
super(uri);
}
-} //HardwaremodelingResourceImpl
+} // HardwaremodelingResourceImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingSwitch.java
index f52ba88a37b..a2073a209b0 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingSwitch.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -45,13 +45,13 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.Sensor;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage
* @generated
*/
@@ -60,6 +60,7 @@ public class HardwaremodelingSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static HardwaremodelingPackage modelPackage;
@@ -68,6 +69,7 @@ public class HardwaremodelingSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public HardwaremodelingSwitch() {
@@ -80,6 +82,7 @@ public class HardwaremodelingSwitch<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
@@ -95,7 +98,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Actuator</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -110,7 +115,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Allocation Target</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -125,7 +132,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>IO Hardware Pin</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -140,7 +149,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Communication Hardware Pin</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -155,7 +166,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Context</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -170,7 +183,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -185,7 +200,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -200,7 +217,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -215,7 +234,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -230,7 +251,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Hardware Component Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -245,7 +268,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Hardware Port Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -260,7 +285,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Hardware Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -275,7 +302,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Hardware Component Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -290,7 +319,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -305,7 +336,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Packageable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -320,7 +353,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Hardware Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -335,7 +370,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Hardware Pin</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -350,7 +387,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -365,7 +404,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Electrical Component</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -380,7 +421,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Power Hardware Pin</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -395,7 +438,9 @@ public class HardwaremodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Sensor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -410,7 +455,9 @@ public class HardwaremodelingSwitch<T> extends Switch<T> {
* 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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -424,145 +471,269 @@ public class HardwaremodelingSwitch<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 HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE: {
- HardwareComponentType hardwareComponentType = (HardwareComponentType)theEObject;
- T result = caseHardwareComponentType(hardwareComponentType);
- if (result == null) result = caseContext(hardwareComponentType);
- if (result == null) result = caseEAType(hardwareComponentType);
- if (result == null) result = caseEAPackageableElement(hardwareComponentType);
- if (result == null) result = caseEAElement(hardwareComponentType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.HARDWARE_CONNECTOR: {
- HardwareConnector hardwareConnector = (HardwareConnector)theEObject;
- T result = caseHardwareConnector(hardwareConnector);
- if (result == null) result = caseEAElement(hardwareConnector);
- if (result == null) result = caseEAConnector(hardwareConnector);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.HARDWARE_PIN: {
- HardwarePin hardwarePin = (HardwarePin)theEObject;
- T result = caseHardwarePin(hardwarePin);
- if (result == null) result = caseEAElement(hardwarePin);
- if (result == null) result = caseEAPort(hardwarePin);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE: {
- HardwareComponentPrototype hardwareComponentPrototype = (HardwareComponentPrototype)theEObject;
- T result = caseHardwareComponentPrototype(hardwareComponentPrototype);
- if (result == null) result = caseAllocationTarget(hardwareComponentPrototype);
- if (result == null) result = caseEAPrototype(hardwareComponentPrototype);
- if (result == null) result = caseEAElement(hardwareComponentPrototype);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR: {
- HardwarePortConnector hardwarePortConnector = (HardwarePortConnector)theEObject;
- T result = caseHardwarePortConnector(hardwarePortConnector);
- if (result == null) result = caseAllocationTarget(hardwarePortConnector);
- if (result == null) result = caseEAConnector(hardwarePortConnector);
- if (result == null) result = caseEAElement(hardwarePortConnector);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.HARDWARE_PORT: {
- HardwarePort hardwarePort = (HardwarePort)theEObject;
- T result = caseHardwarePort(hardwarePort);
- if (result == null) result = caseAllocationTarget(hardwarePort);
- if (result == null) result = caseEAPort(hardwarePort);
- if (result == null) result = caseEAElement(hardwarePort);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.IO_HARDWARE_PIN: {
- IOHardwarePin ioHardwarePin = (IOHardwarePin)theEObject;
- T result = caseIOHardwarePin(ioHardwarePin);
- if (result == null) result = caseHardwarePin(ioHardwarePin);
- if (result == null) result = caseEAElement(ioHardwarePin);
- if (result == null) result = caseEAPort(ioHardwarePin);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.POWER_HARDWARE_PIN: {
- PowerHardwarePin powerHardwarePin = (PowerHardwarePin)theEObject;
- T result = casePowerHardwarePin(powerHardwarePin);
- if (result == null) result = caseHardwarePin(powerHardwarePin);
- if (result == null) result = caseEAElement(powerHardwarePin);
- if (result == null) result = caseEAPort(powerHardwarePin);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.COMMUNICATION_HARDWARE_PIN: {
- CommunicationHardwarePin communicationHardwarePin = (CommunicationHardwarePin)theEObject;
- T result = caseCommunicationHardwarePin(communicationHardwarePin);
- if (result == null) result = caseHardwarePin(communicationHardwarePin);
- if (result == null) result = caseEAElement(communicationHardwarePin);
- if (result == null) result = caseEAPort(communicationHardwarePin);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.NODE: {
- Node node = (Node)theEObject;
- T result = caseNode(node);
- if (result == null) result = caseHardwareComponentType(node);
- if (result == null) result = caseContext(node);
- if (result == null) result = caseEAType(node);
- if (result == null) result = caseEAPackageableElement(node);
- if (result == null) result = caseEAElement(node);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.ELECTRICAL_COMPONENT: {
- ElectricalComponent electricalComponent = (ElectricalComponent)theEObject;
- T result = caseElectricalComponent(electricalComponent);
- if (result == null) result = caseHardwareComponentType(electricalComponent);
- if (result == null) result = caseContext(electricalComponent);
- if (result == null) result = caseEAType(electricalComponent);
- if (result == null) result = caseEAPackageableElement(electricalComponent);
- if (result == null) result = caseEAElement(electricalComponent);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.SENSOR: {
- Sensor sensor = (Sensor)theEObject;
- T result = caseSensor(sensor);
- if (result == null) result = caseHardwareComponentType(sensor);
- if (result == null) result = caseContext(sensor);
- if (result == null) result = caseEAType(sensor);
- if (result == null) result = caseEAPackageableElement(sensor);
- if (result == null) result = caseEAElement(sensor);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.ACTUATOR: {
- Actuator actuator = (Actuator)theEObject;
- T result = caseActuator(actuator);
- if (result == null) result = caseHardwareComponentType(actuator);
- if (result == null) result = caseContext(actuator);
- if (result == null) result = caseEAType(actuator);
- if (result == null) result = caseEAPackageableElement(actuator);
- if (result == null) result = caseEAElement(actuator);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HardwaremodelingPackage.ALLOCATION_TARGET: {
- AllocationTarget allocationTarget = (AllocationTarget)theEObject;
- T result = caseAllocationTarget(allocationTarget);
- if (result == null) result = caseEAElement(allocationTarget);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_TYPE: {
+ HardwareComponentType hardwareComponentType = (HardwareComponentType) theEObject;
+ T result = caseHardwareComponentType(hardwareComponentType);
+ if (result == null) {
+ result = caseContext(hardwareComponentType);
+ }
+ if (result == null) {
+ result = caseEAType(hardwareComponentType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(hardwareComponentType);
+ }
+ if (result == null) {
+ result = caseEAElement(hardwareComponentType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.HARDWARE_CONNECTOR: {
+ HardwareConnector hardwareConnector = (HardwareConnector) theEObject;
+ T result = caseHardwareConnector(hardwareConnector);
+ if (result == null) {
+ result = caseEAElement(hardwareConnector);
+ }
+ if (result == null) {
+ result = caseEAConnector(hardwareConnector);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.HARDWARE_PIN: {
+ HardwarePin hardwarePin = (HardwarePin) theEObject;
+ T result = caseHardwarePin(hardwarePin);
+ if (result == null) {
+ result = caseEAElement(hardwarePin);
+ }
+ if (result == null) {
+ result = caseEAPort(hardwarePin);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.HARDWARE_COMPONENT_PROTOTYPE: {
+ HardwareComponentPrototype hardwareComponentPrototype = (HardwareComponentPrototype) theEObject;
+ T result = caseHardwareComponentPrototype(hardwareComponentPrototype);
+ if (result == null) {
+ result = caseAllocationTarget(hardwareComponentPrototype);
+ }
+ if (result == null) {
+ result = caseEAPrototype(hardwareComponentPrototype);
+ }
+ if (result == null) {
+ result = caseEAElement(hardwareComponentPrototype);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.HARDWARE_PORT_CONNECTOR: {
+ HardwarePortConnector hardwarePortConnector = (HardwarePortConnector) theEObject;
+ T result = caseHardwarePortConnector(hardwarePortConnector);
+ if (result == null) {
+ result = caseAllocationTarget(hardwarePortConnector);
+ }
+ if (result == null) {
+ result = caseEAConnector(hardwarePortConnector);
+ }
+ if (result == null) {
+ result = caseEAElement(hardwarePortConnector);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.HARDWARE_PORT: {
+ HardwarePort hardwarePort = (HardwarePort) theEObject;
+ T result = caseHardwarePort(hardwarePort);
+ if (result == null) {
+ result = caseAllocationTarget(hardwarePort);
+ }
+ if (result == null) {
+ result = caseEAPort(hardwarePort);
+ }
+ if (result == null) {
+ result = caseEAElement(hardwarePort);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.IO_HARDWARE_PIN: {
+ IOHardwarePin ioHardwarePin = (IOHardwarePin) theEObject;
+ T result = caseIOHardwarePin(ioHardwarePin);
+ if (result == null) {
+ result = caseHardwarePin(ioHardwarePin);
+ }
+ if (result == null) {
+ result = caseEAElement(ioHardwarePin);
+ }
+ if (result == null) {
+ result = caseEAPort(ioHardwarePin);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.POWER_HARDWARE_PIN: {
+ PowerHardwarePin powerHardwarePin = (PowerHardwarePin) theEObject;
+ T result = casePowerHardwarePin(powerHardwarePin);
+ if (result == null) {
+ result = caseHardwarePin(powerHardwarePin);
+ }
+ if (result == null) {
+ result = caseEAElement(powerHardwarePin);
+ }
+ if (result == null) {
+ result = caseEAPort(powerHardwarePin);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.COMMUNICATION_HARDWARE_PIN: {
+ CommunicationHardwarePin communicationHardwarePin = (CommunicationHardwarePin) theEObject;
+ T result = caseCommunicationHardwarePin(communicationHardwarePin);
+ if (result == null) {
+ result = caseHardwarePin(communicationHardwarePin);
+ }
+ if (result == null) {
+ result = caseEAElement(communicationHardwarePin);
+ }
+ if (result == null) {
+ result = caseEAPort(communicationHardwarePin);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.NODE: {
+ Node node = (Node) theEObject;
+ T result = caseNode(node);
+ if (result == null) {
+ result = caseHardwareComponentType(node);
+ }
+ if (result == null) {
+ result = caseContext(node);
+ }
+ if (result == null) {
+ result = caseEAType(node);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(node);
+ }
+ if (result == null) {
+ result = caseEAElement(node);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.ELECTRICAL_COMPONENT: {
+ ElectricalComponent electricalComponent = (ElectricalComponent) theEObject;
+ T result = caseElectricalComponent(electricalComponent);
+ if (result == null) {
+ result = caseHardwareComponentType(electricalComponent);
+ }
+ if (result == null) {
+ result = caseContext(electricalComponent);
+ }
+ if (result == null) {
+ result = caseEAType(electricalComponent);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(electricalComponent);
+ }
+ if (result == null) {
+ result = caseEAElement(electricalComponent);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.SENSOR: {
+ Sensor sensor = (Sensor) theEObject;
+ T result = caseSensor(sensor);
+ if (result == null) {
+ result = caseHardwareComponentType(sensor);
+ }
+ if (result == null) {
+ result = caseContext(sensor);
+ }
+ if (result == null) {
+ result = caseEAType(sensor);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(sensor);
+ }
+ if (result == null) {
+ result = caseEAElement(sensor);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.ACTUATOR: {
+ Actuator actuator = (Actuator) theEObject;
+ T result = caseActuator(actuator);
+ if (result == null) {
+ result = caseHardwareComponentType(actuator);
+ }
+ if (result == null) {
+ result = caseContext(actuator);
+ }
+ if (result == null) {
+ result = caseEAType(actuator);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(actuator);
+ }
+ if (result == null) {
+ result = caseEAElement(actuator);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case HardwaremodelingPackage.ALLOCATION_TARGET: {
+ AllocationTarget allocationTarget = (AllocationTarget) theEObject;
+ T result = caseAllocationTarget(allocationTarget);
+ if (result == null) {
+ result = caseEAElement(allocationTarget);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
-} //HardwaremodelingSwitch
+} // HardwaremodelingSwitch
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingXMLProcessor.java
index dcdaca2d250..3bc6edc7dbf 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/hardwaremodeling/util/HardwaremodelingXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,6 +27,7 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPa
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class HardwaremodelingXMLProcessor extends XMLProcessor {
@@ -35,17 +36,19 @@ public class HardwaremodelingXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public HardwaremodelingXMLProcessor() {
super((EPackage.Registry.INSTANCE));
HardwaremodelingPackage.eINSTANCE.eClass();
}
-
+
/**
* Register for "*" and "xml" file extensions the HardwaremodelingResourceFactoryImpl factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -58,4 +61,4 @@ public class HardwaremodelingXMLProcessor extends XMLProcessor {
return registrations;
}
-} //HardwaremodelingXMLProcessor
+} // HardwaremodelingXMLProcessor
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructureFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructureFactoryImpl.java
index cf41f6ce845..9d6905dbe1b 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructureFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructureFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,12 +27,14 @@ import org.eclipse.papyrus.eastadl.structure.StructurePackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class StructureFactoryImpl extends EFactoryImpl implements StructureFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -44,16 +46,16 @@ public class StructureFactoryImpl extends EFactoryImpl implements StructureFacto
/**
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static StructureFactory init() {
try {
- StructureFactory theStructureFactory = (StructureFactory)EPackage.Registry.INSTANCE.getEFactory(StructurePackage.eNS_URI);
+ StructureFactory theStructureFactory = (StructureFactory) EPackage.Registry.INSTANCE.getEFactory(StructurePackage.eNS_URI);
if (theStructureFactory != null) {
return theStructureFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new StructureFactoryImpl();
@@ -62,6 +64,7 @@ public class StructureFactoryImpl extends EFactoryImpl implements StructureFacto
/**
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public StructureFactoryImpl() {
@@ -70,6 +73,7 @@ public class StructureFactoryImpl extends EFactoryImpl implements StructureFacto
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String convertDummyToString(EDataType eDataType, Object instanceValue) {
@@ -78,58 +82,64 @@ public class StructureFactoryImpl extends EFactoryImpl implements StructureFacto
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
switch (eDataType.getClassifierID()) {
- case StructurePackage.DUMMY:
- return convertDummyToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case StructurePackage.DUMMY:
+ return convertDummyToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- 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()) {
- case StructurePackage.DUMMY:
- return createDummyFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case StructurePackage.DUMMY:
+ return createDummyFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public StructurePackage getStructurePackage() {
- return (StructurePackage)getEPackage();
+ return (StructurePackage) getEPackage();
}
} // StructureFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructurePackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructurePackageImpl.java
index 73c75310bdb..f6750220cb6 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructurePackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/impl/StructurePackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -89,32 +89,36 @@ import org.eclipse.papyrus.sysml.SysmlPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class StructurePackageImpl extends EPackageImpl implements StructurePackage {
/**
* <!-- 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 StructurePackage#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 -->
*
- * <p>This method is used to initialize {@link StructurePackage#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 StructurePackage init() {
- if (isInited) return (StructurePackage)EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI);
+ if (isInited) {
+ return (StructurePackage) EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI);
+ }
// Obtain or create and register package
- StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new StructurePackageImpl());
+ StructurePackageImpl theStructurePackage = (StructurePackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new StructurePackageImpl());
isInited = true;
@@ -122,39 +126,67 @@ public class StructurePackageImpl extends EPackageImpl implements StructurePacka
SysmlPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
- VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
- InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
- DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
- UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
- ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
- ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
- FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
- VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
- VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
- org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
- TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
- TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
- EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
- NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
- BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
- AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
- TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
- ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
- GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
+ EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
+ VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI)
+ : VariabilityPackage.eINSTANCE);
+ InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
+ DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI)
+ : DatatypesPackage.eINSTANCE);
+ UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
+ ElementsPackageImpl theElementsPackage = (ElementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI)
+ : ElementsPackage.eINSTANCE);
+ FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
+ SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
+ VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI)
+ : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI)
+ : ErrormodelPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
+ VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI)
+ : BehaviorPackage.eINSTANCE);
+ TimingPackageImpl theTimingPackage = (TimingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
+ TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
+ EventsPackageImpl theEventsPackage = (EventsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
+ EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI)
+ : EnvironmentPackage.eINSTANCE);
+ AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
+ NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
+ GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
theStructurePackage.createPackageContents();
@@ -231,7 +263,7 @@ public class StructurePackageImpl extends EPackageImpl implements StructurePacka
// Mark meta-data to indicate it can't be changed
theStructurePackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(StructurePackage.eNS_URI, theStructurePackage);
return theStructurePackage;
@@ -239,31 +271,31 @@ public class StructurePackageImpl extends EPackageImpl implements StructurePacka
/**
* <!-- 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;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.eastadl.structure.StructurePackage#eNS_URI
* @see #init()
@@ -274,13 +306,16 @@ public class StructurePackageImpl extends EPackageImpl implements StructurePacka
}
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents() {
- if (isCreated) return;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create data types
@@ -289,28 +324,35 @@ public class StructurePackageImpl extends EPackageImpl implements StructurePacka
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EDataType getDummy() {
return dummyEDataType;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public StructureFactory getStructureFactory() {
- return (StructureFactory)getEFactoryInstance();
+ return (StructureFactory) getEFactoryInstance();
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) return;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -319,11 +361,11 @@ public class StructurePackageImpl extends EPackageImpl implements StructurePacka
setNsURI(eNS_URI);
// Obtain other dependent packages
- FunctionmodelingPackage theFunctionmodelingPackage = (FunctionmodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
- FeaturemodelingPackage theFeaturemodelingPackage = (FeaturemodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI);
- SystemmodelingPackage theSystemmodelingPackage = (SystemmodelingPackage)EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI);
- VehiclefeaturemodelingPackage theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackage)EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI);
- HardwaremodelingPackage theHardwaremodelingPackage = (HardwaremodelingPackage)EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
+ FunctionmodelingPackage theFunctionmodelingPackage = (FunctionmodelingPackage) EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
+ FeaturemodelingPackage theFeaturemodelingPackage = (FeaturemodelingPackage) EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI);
+ SystemmodelingPackage theSystemmodelingPackage = (SystemmodelingPackage) EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI);
+ VehiclefeaturemodelingPackage theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackage) EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI);
+ HardwaremodelingPackage theHardwaremodelingPackage = (HardwaremodelingPackage) EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
// Add subpackages
getESubpackages().add(theFunctionmodelingPackage);
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/AnalysisLevel.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/AnalysisLevel.java
index b355e8b12a0..8f148ea86fb 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/AnalysisLevel.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/AnalysisLevel.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -25,13 +25,13 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPr
*
* <!-- begin-model-doc -->
* AnalysisLevel represents the vehicle EE system in terms of its abstract functional definition. It includes the functional analysis architecture (FAA) which represents the abstract functional structure.
- *
+ *
* Semantics:
* AnalysisLevel represents the vehicle EE system in terms of its abstract functional definition. It defines the logical functionality and a logical decomposition of functionality down to the appropriate granularity.
- *
+ *
* Notation:
* The Analysis Architecture is shown as a solid-outline rectangle containing the name, with its ports or port groups on the perimeter. Contained entities may be shown with its connectors (White-box view).
- *
+ *
* Extension:
* Class
* <!-- end-model-doc -->
@@ -39,9 +39,9 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPr
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#getFunctionalAnalysisArchitecture <em>Functional Analysis Architecture</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#getFunctionalAnalysisArchitecture <em>Functional Analysis Architecture</em>}</li>
* </ul>
* </p>
*
@@ -54,10 +54,10 @@ public interface AnalysisLevel extends Context {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getAnalysisLevel_Base_Class()
@@ -70,7 +70,9 @@ public interface AnalysisLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -80,10 +82,10 @@ public interface AnalysisLevel extends Context {
* Returns the value of the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Package</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getAnalysisLevel_Base_Package()
@@ -96,7 +98,9 @@ public interface AnalysisLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Package</em>' reference.
* @see #getBase_Package()
* @generated
*/
@@ -106,10 +110,10 @@ public interface AnalysisLevel extends Context {
* Returns the value of the '<em><b>Functional Analysis Architecture</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Functional Analysis Architecture</em>' containment reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Functional Analysis Architecture</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Functional Analysis Architecture</em>' reference.
* @see #setFunctionalAnalysisArchitecture(AnalysisFunctionPrototype)
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getAnalysisLevel_FunctionalAnalysisArchitecture()
@@ -122,7 +126,9 @@ public interface AnalysisLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#getFunctionalAnalysisArchitecture <em>Functional Analysis Architecture</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Functional Analysis Architecture</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Functional Analysis Architecture</em>' reference.
* @see #getFunctionalAnalysisArchitecture()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/DesignLevel.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/DesignLevel.java
index d4379b7600a..04bab940692 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/DesignLevel.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/DesignLevel.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -29,41 +29,44 @@ import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwareComponentP
*
* <!-- begin-model-doc -->
* DesignLevel represents the vehicle EE system on the design abstraction level. It includes primarily the Functional Design Architecture (FDA), and the HardwareDesignArchitecture (HDA).
- *
+ *
* FDA represents a top level Function. It is supposed to implement all the functionalities of a vehicle, as specified by a Functional Analysis Architecture or a Vehicle level (if no Functional Analysis Architecture has been defined during the process).
- *
- * The design level in EAST-ADL2 includes the design architecture containing the functional specification and hardware architecture of the vehicle EE system. The design architecture includes the Functional Design Architecture representing a decomposition of functionalities analyzed on the analysis level. The decomposition has the purpose of making it possible to meet constraints regarding non-functional properties such as allocation, efficiency, reuse, or supplier concerns. There is an n-to-m mapping between entities of the design- and the ones on the analysis level.
- *
+ *
+ * The design level in EAST-ADL2 includes the design architecture containing the functional specification and hardware architecture of the vehicle EE system. The design architecture includes the Functional Design Architecture representing a decomposition of
+ * functionalities analyzed on the analysis level. The decomposition has the purpose of making it possible to meet constraints regarding non-functional properties such as allocation, efficiency, reuse, or supplier concerns. There is an n-to-m mapping between
+ * entities of the design- and the ones on the analysis level.
+ *
* Non-transparent infrastructure functionality such as mode changes and error handling are also represented at the design level, such that their impact on applications' behaviors can be estimated.
- *
+ *
* The Functional Design Architecture parts are typed by FunctionTypes and LocalDeviceManagers. The view of the HardwareArchitecture facilitates the realization of LocalDeviceManager as sensor/actuator HW elements.
- *
+ *
* The HDA is the hardware design from a system perspective. The HDA has two purposes:
- *
+ *
* 1) It shows the physical entities and how they are connected.
- *
+ *
* 2) It is an allocation target for the Functions of the Functional Design Architecture.
- *
- * The HDA represents the hardware architecture of the embedded system. Its contained HW elements represent the physical aspects of the hardware entities and how they are connected. HardwareFunctionTypes associated to HW components represent the logical behavior of the contained HW elements.
- *
+ *
+ * The HDA represents the hardware architecture of the embedded system. Its contained HW elements represent the physical aspects of the hardware entities and how they are connected. HardwareFunctionTypes associated to HW components represent the logical
+ * behavior of the contained HW elements.
+ *
* Semantics:
* The DesignLevel is the representation of the vehicle EE system on the design abstraction level. It corresponds to the design of logical functions and boundaries extended in regards to resource commitment.
- *
+ *
* Notation:
* The DesignLevel is shown as a solid-outline rectangle containing the name, with its ports or port groups on the perimeter. Contained entities may be shown with its connectors (White-box view).
- *
- *
+ *
+ *
* Extension: Class
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getFunctionalDesignArchitecture <em>Functional Design Architecture</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getHardwareDesignArchitecture <em>Hardware Design Architecture</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getAllocation <em>Allocation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getFunctionalDesignArchitecture <em>Functional Design Architecture</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getHardwareDesignArchitecture <em>Hardware Design Architecture</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getAllocation <em>Allocation</em>}</li>
* </ul>
* </p>
*
@@ -76,10 +79,10 @@ public interface DesignLevel extends Context {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getDesignLevel_Base_Class()
@@ -92,7 +95,9 @@ public interface DesignLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -102,10 +107,10 @@ public interface DesignLevel extends Context {
* Returns the value of the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Package</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getDesignLevel_Base_Package()
@@ -118,7 +123,9 @@ public interface DesignLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Package</em>' reference.
* @see #getBase_Package()
* @generated
*/
@@ -129,10 +136,10 @@ public interface DesignLevel extends Context {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allocation</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Allocation</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allocation</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getDesignLevel_Allocation()
* @model transient="true" volatile="true" derived="true" ordered="false"
@@ -144,6 +151,7 @@ public interface DesignLevel extends Context {
* Returns the value of the '<em><b>Functional Design Architecture</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Functional Design Architecture</em>' reference.
* @see #setFunctionalDesignArchitecture(DesignFunctionPrototype)
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getDesignLevel_FunctionalDesignArchitecture()
@@ -156,10 +164,10 @@ public interface DesignLevel extends Context {
* Returns the value of the '<em><b>Hardware Design Architecture</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Hardware Design Architecture</em>' containment reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Hardware Design Architecture</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Hardware Design Architecture</em>' reference.
* @see #setHardwareDesignArchitecture(HardwareComponentPrototype)
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getDesignLevel_HardwareDesignArchitecture()
@@ -172,7 +180,9 @@ public interface DesignLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getFunctionalDesignArchitecture <em>Functional Design Architecture</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Functional Design Architecture</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Functional Design Architecture</em>' reference.
* @see #getFunctionalDesignArchitecture()
* @generated
*/
@@ -182,7 +192,9 @@ public interface DesignLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getHardwareDesignArchitecture <em>Hardware Design Architecture</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Hardware Design Architecture</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Hardware Design Architecture</em>' reference.
* @see #getHardwareDesignArchitecture()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/ImplementationLevel.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/ImplementationLevel.java
index ddda2026257..bbc3cf24d1e 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/ImplementationLevel.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/ImplementationLevel.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -25,18 +25,19 @@ import org.eclipse.uml2.uml.NamedElement;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * ImplementationLevel represents the software architecture and components, and the hardware architecture of the EE system in the vehicle. The ImplementationLevel is defined by the AUTOSAR System- and SoftwareArchitecture. For example, functions of the Functional Design Architecture will be realized by AUTOSAR SW-Components in the ImplementationLevel. Traceability is supported from implementation level elements (AUTOSAR) to upper level elements by Realization relationships.
- *
- *
+ * ImplementationLevel represents the software architecture and components, and the hardware architecture of the EE system in the vehicle. The ImplementationLevel is defined by the AUTOSAR System- and SoftwareArchitecture. For example, functions of the
+ * Functional Design Architecture will be realized by AUTOSAR SW-Components in the ImplementationLevel. Traceability is supported from implementation level elements (AUTOSAR) to upper level elements by Realization relationships.
+ *
+ *
* Extension: Class
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#getAutosarSystem <em>Autosar System</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#getAutosarSystem <em>Autosar System</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#getBase_Package <em>Base Package</em>}</li>
* </ul>
* </p>
*
@@ -49,6 +50,7 @@ public interface ImplementationLevel extends Context {
* Returns the value of the '<em><b>Autosar System</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Autosar System</em>' reference.
* @see #setAutosarSystem(NamedElement)
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getImplementationLevel_AutosarSystem()
@@ -61,7 +63,9 @@ public interface ImplementationLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#getAutosarSystem <em>Autosar System</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Autosar System</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Autosar System</em>' reference.
* @see #getAutosarSystem()
* @generated
*/
@@ -71,10 +75,10 @@ public interface ImplementationLevel extends Context {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getImplementationLevel_Base_Class()
@@ -87,7 +91,9 @@ public interface ImplementationLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -97,10 +103,10 @@ public interface ImplementationLevel extends Context {
* Returns the value of the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Package</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getImplementationLevel_Base_Package()
@@ -113,7 +119,9 @@ public interface ImplementationLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Package</em>' reference.
* @see #getBase_Package()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemModel.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemModel.java
index 09ba87c05aa..e2cd639c029 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemModel.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemModel.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,27 +24,28 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.Context;
*
* <!-- begin-model-doc -->
* SystemModel is used to organize models/architectures according to their abstraction level; it can also hold with relationships between the different levels.
- *
+ *
* Semantics:
* The SystemModel represents the EE system of the vehicle, and concepts related to the various abstraction levels.
- *
+ *
* Notation:
- * The default notation for a SystemModel is a solid-outline rectangle containing the SystemModel's name, and with compartments separating by horizontal lines containing features or other members of the SystemModel. Contained entities may also be shown with its connectors (White-box view).
- *
+ * The default notation for a SystemModel is a solid-outline rectangle containing the SystemModel's name, and with compartments separating by horizontal lines containing features or other members of the SystemModel. Contained entities may also be shown with
+ * its connectors (White-box view).
+ *
* Changes: New class in EAST-ADL2
- *
+ *
* Extension: Class
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getImplementationLevel <em>Implementation Level</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getAnalysisLevel <em>Analysis Level</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getDesignLevel <em>Design Level</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getVehicleLevel <em>Vehicle Level</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getImplementationLevel <em>Implementation Level</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getAnalysisLevel <em>Analysis Level</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getDesignLevel <em>Design Level</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getVehicleLevel <em>Vehicle Level</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getBase_Package <em>Base Package</em>}</li>
* </ul>
* </p>
*
@@ -60,6 +61,7 @@ public interface SystemModel extends Context {
* <!-- begin-model-doc -->
* The AnalysisArchitecture contained in the SystemModel and connected to the EnvironmentModel through ports-connectors
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Analysis Level</em>' reference.
* @see #setAnalysisLevel(AnalysisLevel)
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getSystemModel_AnalysisLevel()
@@ -75,6 +77,7 @@ public interface SystemModel extends Context {
* <!-- begin-model-doc -->
* The designArchitecture contained in the SystemModel and connected to the EnvironmentModel through ports-connectors
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Design Level</em>' reference.
* @see #setDesignLevel(DesignLevel)
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getSystemModel_DesignLevel()
@@ -90,6 +93,7 @@ public interface SystemModel extends Context {
* <!-- begin-model-doc -->
* The Implementation Architecture abstraction level.
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Implementation Level</em>' reference.
* @see #setImplementationLevel(ImplementationLevel)
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getSystemModel_ImplementationLevel()
@@ -105,6 +109,7 @@ public interface SystemModel extends Context {
* <!-- begin-model-doc -->
* The Vehicle Feature Model contained in the SystemModel.
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Vehicle Level</em>' reference.
* @see #setVehicleLevel(VehicleLevel)
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getSystemModel_VehicleLevel()
@@ -117,7 +122,9 @@ public interface SystemModel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getAnalysisLevel <em>Analysis Level</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Analysis Level</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Analysis Level</em>' reference.
* @see #getAnalysisLevel()
* @generated
*/
@@ -127,7 +134,9 @@ public interface SystemModel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getDesignLevel <em>Design Level</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Design Level</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Design Level</em>' reference.
* @see #getDesignLevel()
* @generated
*/
@@ -137,7 +146,9 @@ public interface SystemModel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getImplementationLevel <em>Implementation Level</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Implementation Level</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Implementation Level</em>' reference.
* @see #getImplementationLevel()
* @generated
*/
@@ -147,7 +158,9 @@ public interface SystemModel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getVehicleLevel <em>Vehicle Level</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Vehicle Level</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Vehicle Level</em>' reference.
* @see #getVehicleLevel()
* @generated
*/
@@ -157,10 +170,10 @@ public interface SystemModel extends Context {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getSystemModel_Base_Class()
@@ -173,7 +186,9 @@ public interface SystemModel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -183,10 +198,10 @@ public interface SystemModel extends Context {
* Returns the value of the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Package</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getSystemModel_Base_Package()
@@ -199,7 +214,9 @@ public interface SystemModel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Package</em>' reference.
* @see #getBase_Package()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingFactory.java
index ef986e54082..e9a507889a5 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,6 +22,7 @@ import org.eclipse.emf.ecore.EFactory;
* 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.eastadl.structure.systemmodeling.SystemmodelingPackage
* @generated
*/
@@ -30,6 +31,7 @@ public interface SystemmodelingFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
SystemmodelingFactory eINSTANCE = org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingFactoryImpl.init();
@@ -38,6 +40,7 @@ public interface SystemmodelingFactory extends EFactory {
* Returns a new object of class '<em>Analysis Level</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Analysis Level</em>'.
* @generated
*/
@@ -47,6 +50,7 @@ public interface SystemmodelingFactory extends EFactory {
* Returns a new object of class '<em>Design Level</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Design Level</em>'.
* @generated
*/
@@ -56,6 +60,7 @@ public interface SystemmodelingFactory extends EFactory {
* Returns a new object of class '<em>Implementation Level</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Implementation Level</em>'.
* @generated
*/
@@ -65,6 +70,7 @@ public interface SystemmodelingFactory extends EFactory {
* Returns a new object of class '<em>System Model</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>System Model</em>'.
* @generated
*/
@@ -74,6 +80,7 @@ public interface SystemmodelingFactory extends EFactory {
* Returns a new object of class '<em>Vehicle Level</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Vehicle Level</em>'.
* @generated
*/
@@ -83,9 +90,10 @@ public interface SystemmodelingFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
SystemmodelingPackage getSystemmodelingPackage();
-} //SystemmodelingFactory
+} // SystemmodelingFactory
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingPackage.java
index bf15d0e2ac6..9aaae74d874 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingPackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/SystemmodelingPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -26,25 +26,29 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
* The <b>Package</b> for the model.
* It contains accessors for the meta objects to represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * The ADLSystemModel is the top level container of an EAST-ADL2 model. It represents the electronics & software of the vehicle, and its environment, and concepts related to the various abstraction level of models used in EAST-ADL2. It is mainly based on both concepts: Models and architectures.
+ * The ADLSystemModel is the top level container of an EAST-ADL2 model. It represents the electronics & software of the vehicle, and its environment, and concepts related to the various abstraction level of models used in EAST-ADL2. It is mainly based on both
+ * concepts: Models and architectures.
* VehicleFeatureModel represents the features of the vehicle, i.e. the externally visible properties
* The AnalysisArchitecture is the abstract functional description of the vehicle electronics
* The DesignArchitecture contains the functional specification and hardware architecture of the vehicle electronics
* The Implementation Architecture contains the software architecture and components and the hardware architecture of the vehicle
* The Operational Architecture represents the actual software and electronics in the manufactured vehicle
* The word model vs. architecture is chosen rather informally. Architecture is used where this term is often used in practice, and where the construct is a complete (in some sense) reflection of the aspects that it captures. Model is used in other cases.
- * These models/architectures contain further elements in a hierarchy.. Relations between these elements over the boundaries between the models/architectures are contained in the ADLSystemModel. This is possible because the SystemModel is a specialization of the ADLContext, and is thus able to contain relations. Typical relations are described in the sub-package CoreConstructs (see definition of ADLRelationship, ADLRealization and ADLSatisfy).
- *
+ * These models/architectures contain further elements in a hierarchy.. Relations between these elements over the boundaries between the models/architectures are contained in the ADLSystemModel. This is possible because the SystemModel is a specialization of
+ * the ADLContext, and is thus able to contain relations. Typical relations are described in the sub-package CoreConstructs (see definition of ADLRelationship, ADLRealization and ADLSatisfy).
+ *
* Overview:
- * The ADLSystemModel is the top level container of an EAST-ADL2 model. It represents the electronics & software of the vehicle, and its environment, and concepts related to the various abstraction level of models used in EAST-ADL2. It is mainly based on both concepts: Models and architectures.
+ * The ADLSystemModel is the top level container of an EAST-ADL2 model. It represents the electronics & software of the vehicle, and its environment, and concepts related to the various abstraction level of models used in EAST-ADL2. It is mainly based on both
+ * concepts: Models and architectures.
* <!-- end-model-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingFactory
* @model kind="package"
* @generated
@@ -54,12 +58,13 @@ public interface SystemmodelingPackage extends EPackage {
* <!-- begin-user-doc -->
* Defines literals for the meta objects that represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -67,6 +72,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl <em>System Model</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getSystemModel()
* @generated
@@ -77,6 +83,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Implementation Level</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SYSTEM_MODEL__IMPLEMENTATION_LEVEL = eINSTANCE.getSystemModel_ImplementationLevel();
@@ -85,6 +92,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Analysis Level</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SYSTEM_MODEL__ANALYSIS_LEVEL = eINSTANCE.getSystemModel_AnalysisLevel();
@@ -93,6 +101,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Design Level</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SYSTEM_MODEL__DESIGN_LEVEL = eINSTANCE.getSystemModel_DesignLevel();
@@ -101,6 +110,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Vehicle Level</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SYSTEM_MODEL__VEHICLE_LEVEL = eINSTANCE.getSystemModel_VehicleLevel();
@@ -109,6 +119,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SYSTEM_MODEL__BASE_CLASS = eINSTANCE.getSystemModel_Base_Class();
@@ -117,6 +128,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Package</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SYSTEM_MODEL__BASE_PACKAGE = eINSTANCE.getSystemModel_Base_Package();
@@ -125,6 +137,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl <em>Implementation Level</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getImplementationLevel()
* @generated
@@ -135,6 +148,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Autosar System</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM = eINSTANCE.getImplementationLevel_AutosarSystem();
@@ -143,6 +157,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference IMPLEMENTATION_LEVEL__BASE_CLASS = eINSTANCE.getImplementationLevel_Base_Class();
@@ -151,6 +166,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Package</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference IMPLEMENTATION_LEVEL__BASE_PACKAGE = eINSTANCE.getImplementationLevel_Base_Package();
@@ -159,6 +175,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl <em>Analysis Level</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getAnalysisLevel()
* @generated
@@ -169,6 +186,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ANALYSIS_LEVEL__BASE_CLASS = eINSTANCE.getAnalysisLevel_Base_Class();
@@ -177,6 +195,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Package</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ANALYSIS_LEVEL__BASE_PACKAGE = eINSTANCE.getAnalysisLevel_Base_Package();
@@ -185,6 +204,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Functional Analysis Architecture</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ANALYSIS_LEVEL__FUNCTIONAL_ANALYSIS_ARCHITECTURE = eINSTANCE.getAnalysisLevel_FunctionalAnalysisArchitecture();
@@ -193,6 +213,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl <em>Design Level</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getDesignLevel()
* @generated
@@ -203,6 +224,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DESIGN_LEVEL__BASE_CLASS = eINSTANCE.getDesignLevel_Base_Class();
@@ -211,6 +233,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Package</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DESIGN_LEVEL__BASE_PACKAGE = eINSTANCE.getDesignLevel_Base_Package();
@@ -219,6 +242,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Functional Design Architecture</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DESIGN_LEVEL__FUNCTIONAL_DESIGN_ARCHITECTURE = eINSTANCE.getDesignLevel_FunctionalDesignArchitecture();
@@ -227,6 +251,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Hardware Design Architecture</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DESIGN_LEVEL__HARDWARE_DESIGN_ARCHITECTURE = eINSTANCE.getDesignLevel_HardwareDesignArchitecture();
@@ -235,6 +260,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Allocation</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DESIGN_LEVEL__ALLOCATION = eINSTANCE.getDesignLevel_Allocation();
@@ -243,6 +269,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl <em>Vehicle Level</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getVehicleLevel()
* @generated
@@ -253,6 +280,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Package</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference VEHICLE_LEVEL__BASE_PACKAGE = eINSTANCE.getVehicleLevel_Base_Package();
@@ -261,6 +289,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Base Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference VEHICLE_LEVEL__BASE_CLASS = eINSTANCE.getVehicleLevel_Base_Class();
@@ -269,6 +298,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Technical Feature Model</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference VEHICLE_LEVEL__TECHNICAL_FEATURE_MODEL = eINSTANCE.getVehicleLevel_TechnicalFeatureModel();
@@ -279,6 +309,7 @@ public interface SystemmodelingPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "systemmodeling";
@@ -287,6 +318,7 @@ public interface SystemmodelingPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Structure/SystemModeling/1";
@@ -295,6 +327,7 @@ public interface SystemmodelingPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "SystemModeling";
@@ -303,6 +336,7 @@ public interface SystemmodelingPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
SystemmodelingPackage eINSTANCE = org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl.init();
@@ -311,6 +345,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl <em>System Model</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getSystemModel()
* @generated
@@ -321,6 +356,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl <em>Implementation Level</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getImplementationLevel()
* @generated
@@ -331,6 +367,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl <em>Analysis Level</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getAnalysisLevel()
* @generated
@@ -341,6 +378,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl <em>Design Level</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getDesignLevel()
* @generated
@@ -351,6 +389,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -360,6 +399,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -369,6 +409,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -378,6 +419,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -387,6 +429,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -396,6 +439,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -405,6 +449,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Implementation Level</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -414,6 +459,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Analysis Level</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -423,6 +469,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Design Level</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -432,6 +479,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Vehicle Level</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -441,6 +489,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -450,6 +499,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -459,6 +509,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of structural features of the '<em>System Model</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -468,6 +519,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of operations of the '<em>System Model</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -477,6 +529,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -486,6 +539,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -495,6 +549,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -504,6 +559,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -513,6 +569,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -522,6 +579,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -531,6 +589,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Autosar System</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -540,6 +599,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -549,6 +609,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -558,6 +619,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of structural features of the '<em>Implementation Level</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -567,6 +629,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of operations of the '<em>Implementation Level</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -576,6 +639,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -585,6 +649,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -594,6 +659,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -603,6 +669,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -612,6 +679,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -621,6 +689,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -630,6 +699,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -639,6 +709,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -648,6 +719,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Functional Analysis Architecture</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -657,6 +729,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of structural features of the '<em>Analysis Level</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -666,6 +739,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of operations of the '<em>Analysis Level</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -675,6 +749,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -684,6 +759,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -693,6 +769,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -702,6 +779,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -711,6 +789,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -720,6 +799,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -729,6 +809,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -738,6 +819,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -747,6 +829,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Functional Design Architecture</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -756,6 +839,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Hardware Design Architecture</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -765,6 +849,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Allocation</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -774,6 +859,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of structural features of the '<em>Design Level</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -783,6 +869,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of operations of the '<em>Design Level</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -792,6 +879,7 @@ public interface SystemmodelingPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl <em>Vehicle Level</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl#getVehicleLevel()
* @generated
@@ -802,6 +890,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -811,6 +900,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -820,6 +910,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -829,6 +920,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -838,6 +930,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -847,6 +940,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Relationship</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -856,6 +950,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -865,6 +960,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -874,6 +970,7 @@ public interface SystemmodelingPackage extends EPackage {
* The feature id for the '<em><b>Technical Feature Model</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -883,6 +980,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of structural features of the '<em>Vehicle Level</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -892,6 +990,7 @@ public interface SystemmodelingPackage extends EPackage {
* The number of operations of the '<em>Vehicle Level</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -901,6 +1000,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel <em>Analysis Level</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Analysis Level</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel
* @generated
@@ -911,6 +1011,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#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.eastadl.structure.systemmodeling.AnalysisLevel#getBase_Class()
* @see #getAnalysisLevel()
@@ -922,6 +1023,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#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.eastadl.structure.systemmodeling.AnalysisLevel#getBase_Package()
* @see #getAnalysisLevel()
@@ -933,6 +1035,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#getFunctionalAnalysisArchitecture <em>Functional Analysis Architecture</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Functional Analysis Architecture</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.AnalysisLevel#getFunctionalAnalysisArchitecture()
* @see #getAnalysisLevel()
@@ -944,6 +1047,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel <em>Design Level</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Design Level</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel
* @generated
@@ -954,6 +1058,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#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.eastadl.structure.systemmodeling.DesignLevel#getBase_Class()
* @see #getDesignLevel()
@@ -965,6 +1070,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#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.eastadl.structure.systemmodeling.DesignLevel#getBase_Package()
* @see #getDesignLevel()
@@ -976,6 +1082,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getAllocation <em>Allocation</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Allocation</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getAllocation()
* @see #getDesignLevel()
@@ -987,6 +1094,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getFunctionalDesignArchitecture <em>Functional Design Architecture</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Functional Design Architecture</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getFunctionalDesignArchitecture()
* @see #getDesignLevel()
@@ -998,6 +1106,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getHardwareDesignArchitecture <em>Hardware Design Architecture</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Hardware Design Architecture</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.DesignLevel#getHardwareDesignArchitecture()
* @see #getDesignLevel()
@@ -1009,6 +1118,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel <em>Implementation Level</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Implementation Level</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel
* @generated
@@ -1019,6 +1129,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#getAutosarSystem <em>Autosar System</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Autosar System</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#getAutosarSystem()
* @see #getImplementationLevel()
@@ -1030,6 +1141,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#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.eastadl.structure.systemmodeling.ImplementationLevel#getBase_Class()
* @see #getImplementationLevel()
@@ -1041,6 +1153,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.ImplementationLevel#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.eastadl.structure.systemmodeling.ImplementationLevel#getBase_Package()
* @see #getImplementationLevel()
@@ -1052,6 +1165,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel <em>System Model</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>System Model</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel
* @generated
@@ -1062,6 +1176,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getAnalysisLevel <em>Analysis Level</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Analysis Level</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getAnalysisLevel()
* @see #getSystemModel()
@@ -1073,6 +1188,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getDesignLevel <em>Design Level</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Design Level</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getDesignLevel()
* @see #getSystemModel()
@@ -1084,6 +1200,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getImplementationLevel <em>Implementation Level</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Implementation Level</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getImplementationLevel()
* @see #getSystemModel()
@@ -1095,6 +1212,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getVehicleLevel <em>Vehicle Level</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Vehicle Level</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#getVehicleLevel()
* @see #getSystemModel()
@@ -1106,6 +1224,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#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.eastadl.structure.systemmodeling.SystemModel#getBase_Class()
* @see #getSystemModel()
@@ -1117,6 +1236,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemModel#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.eastadl.structure.systemmodeling.SystemModel#getBase_Package()
* @see #getSystemModel()
@@ -1128,6 +1248,7 @@ public interface SystemmodelingPackage 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
*/
@@ -1137,6 +1258,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel <em>Vehicle Level</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Vehicle Level</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel
* @generated
@@ -1147,6 +1269,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#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.eastadl.structure.systemmodeling.VehicleLevel#getBase_Package()
* @see #getVehicleLevel()
@@ -1158,6 +1281,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#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.eastadl.structure.systemmodeling.VehicleLevel#getBase_Class()
* @see #getVehicleLevel()
@@ -1169,6 +1293,7 @@ public interface SystemmodelingPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#getTechnicalFeatureModel <em>Technical Feature Model</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Technical Feature Model</em>'.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#getTechnicalFeatureModel()
* @see #getVehicleLevel()
@@ -1176,4 +1301,4 @@ public interface SystemmodelingPackage extends EPackage {
*/
EReference getVehicleLevel_TechnicalFeatureModel();
-} //SystemmodelingPackage
+} // SystemmodelingPackage
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/VehicleLevel.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/VehicleLevel.java
index 0dd5833da1a..5b4efbfdd9b 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/VehicleLevel.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/VehicleLevel.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,22 +27,22 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel;
*
* <!-- begin-model-doc -->
* VehicleLevel represents an arbitrary set of feature models containing only VehicleFeatures.
- *
+ *
* Constraints:
* [1] All contained feature models are FeatureModels that only contain VehicleFeatures.
- *
+ *
* Semantics:
* The VehicleLevel contains the technical feature models.
- *
+ *
* Extension: class.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#getTechnicalFeatureModel <em>Technical Feature Model</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#getTechnicalFeatureModel <em>Technical Feature Model</em>}</li>
* </ul>
* </p>
*
@@ -55,10 +55,10 @@ public interface VehicleLevel extends Context {
* Returns the value of the '<em><b>Base Package</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Package</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getVehicleLevel_Base_Package()
@@ -71,7 +71,9 @@ public interface VehicleLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Package</em>' reference.
* @see #getBase_Package()
* @generated
*/
@@ -81,10 +83,10 @@ public interface VehicleLevel extends Context {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.systemmodeling.SystemmodelingPackage#getVehicleLevel_Base_Class()
@@ -97,7 +99,9 @@ public interface VehicleLevel extends Context {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -108,10 +112,10 @@ public interface VehicleLevel extends Context {
* The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureModel}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Technical Feature Model</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Technical Feature Model</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Technical Feature Model</em>' reference list.
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#getVehicleLevel_TechnicalFeatureModel()
* @model transient="true" volatile="true" derived="true" ordered="false"
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/AnalysisLevelImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/AnalysisLevelImpl.java
index 85f137e9997..e63b727b337 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/AnalysisLevelImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/AnalysisLevelImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -36,9 +36,9 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl#getFunctionalAnalysisArchitecture <em>Functional Analysis Architecture</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.AnalysisLevelImpl#getFunctionalAnalysisArchitecture <em>Functional Analysis Architecture</em>}</li>
* </ul>
* </p>
*
@@ -49,6 +49,7 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -59,6 +60,7 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
* The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Package()
* @generated
* @ordered
@@ -68,6 +70,7 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AnalysisLevelImpl() {
@@ -77,42 +80,51 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
public AnalysisFunctionPrototype basicGetFunctionalAnalysisArchitecture() {
AnalysisFunctionPrototype adlAnalysisFunctionPrototype = null;
-
+
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
- while(it.hasNext()) {
+
+ while (it.hasNext()) {
Element element = it.next();
- adlAnalysisFunctionPrototype = (AnalysisFunctionPrototype) UMLUtil.getStereotypeApplication(element, AnalysisFunctionPrototype.class);
- if (adlAnalysisFunctionPrototype!=null)
+ adlAnalysisFunctionPrototype = UMLUtil.getStereotypeApplication(element, AnalysisFunctionPrototype.class);
+ if (adlAnalysisFunctionPrototype != null) {
return adlAnalysisFunctionPrototype;
+ }
}
}
-
+
return adlAnalysisFunctionPrototype;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE:
- if (resolve) return getBase_Package();
- return basicGetBase_Package();
- case SystemmodelingPackage.ANALYSIS_LEVEL__FUNCTIONAL_ANALYSIS_ARCHITECTURE:
- if (resolve) return getFunctionalAnalysisArchitecture();
- return basicGetFunctionalAnalysisArchitecture();
+ case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE:
+ if (resolve) {
+ return getBase_Package();
+ }
+ return basicGetBase_Package();
+ case SystemmodelingPackage.ANALYSIS_LEVEL__FUNCTIONAL_ANALYSIS_ARCHITECTURE:
+ if (resolve) {
+ return getFunctionalAnalysisArchitecture();
+ }
+ return basicGetFunctionalAnalysisArchitecture();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -120,17 +132,18 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS:
- return base_Class != null;
- case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE:
- return base_Package != null;
- case SystemmodelingPackage.ANALYSIS_LEVEL__FUNCTIONAL_ANALYSIS_ARCHITECTURE:
- return basicGetFunctionalAnalysisArchitecture() != null;
+ case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS:
+ return base_Class != null;
+ case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE:
+ return base_Package != null;
+ case SystemmodelingPackage.ANALYSIS_LEVEL__FUNCTIONAL_ANALYSIS_ARCHITECTURE:
+ return basicGetFunctionalAnalysisArchitecture() != null;
}
return super.eIsSet(featureID);
}
@@ -138,20 +151,21 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)newValue);
- return;
- case SystemmodelingPackage.ANALYSIS_LEVEL__FUNCTIONAL_ANALYSIS_ARCHITECTURE:
- setFunctionalAnalysisArchitecture((AnalysisFunctionPrototype)newValue);
- return;
+ case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) newValue);
+ return;
+ case SystemmodelingPackage.ANALYSIS_LEVEL__FUNCTIONAL_ANALYSIS_ARCHITECTURE:
+ setFunctionalAnalysisArchitecture((AnalysisFunctionPrototype) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -159,6 +173,7 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -169,15 +184,18 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -186,6 +204,7 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -195,27 +214,33 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Package = (InternalEObject) base_Package;
+ base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package);
if (base_Package != oldBase_Package) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
}
return base_Package;
@@ -224,6 +249,7 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Package basicGetBase_Package() {
@@ -233,32 +259,36 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)null);
- return;
- case SystemmodelingPackage.ANALYSIS_LEVEL__FUNCTIONAL_ANALYSIS_ARCHITECTURE:
- setFunctionalAnalysisArchitecture((AnalysisFunctionPrototype)null);
- return;
+ case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case SystemmodelingPackage.ANALYSIS_LEVEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) null);
+ return;
+ case SystemmodelingPackage.ANALYSIS_LEVEL__FUNCTIONAL_ANALYSIS_ARCHITECTURE:
+ setFunctionalAnalysisArchitecture((AnalysisFunctionPrototype) null);
+ return;
}
super.eUnset(featureID);
}
@@ -266,22 +296,26 @@ public class AnalysisLevelImpl extends ContextImpl implements AnalysisLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AnalysisFunctionPrototype getFunctionalAnalysisArchitecture() {
AnalysisFunctionPrototype functionalAnalysisArchitecture = basicGetFunctionalAnalysisArchitecture();
- return functionalAnalysisArchitecture != null && functionalAnalysisArchitecture.eIsProxy() ? (AnalysisFunctionPrototype)eResolveProxy((InternalEObject)functionalAnalysisArchitecture) : functionalAnalysisArchitecture;
+ return functionalAnalysisArchitecture != null && functionalAnalysisArchitecture.eIsProxy() ? (AnalysisFunctionPrototype) eResolveProxy((InternalEObject) functionalAnalysisArchitecture) : functionalAnalysisArchitecture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setFunctionalAnalysisArchitecture(AnalysisFunctionPrototype newFunctionalAnalysisArchitecture) {
// TODO: implement this method to set the 'Functional Analysis Architecture' reference
// Ensure that you remove @generated or mark it @generated NOT
throw new UnsupportedOperationException();
}
-} //AnalysisLevelImpl
+} // AnalysisLevelImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/DesignLevelImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/DesignLevelImpl.java
index 006e367ac07..73478e4bf57 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/DesignLevelImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/DesignLevelImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -42,11 +42,11 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getFunctionalDesignArchitecture <em>Functional Design Architecture</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getHardwareDesignArchitecture <em>Hardware Design Architecture</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getAllocation <em>Allocation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getFunctionalDesignArchitecture <em>Functional Design Architecture</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getHardwareDesignArchitecture <em>Hardware Design Architecture</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.DesignLevelImpl#getAllocation <em>Allocation</em>}</li>
* </ul>
* </p>
*
@@ -57,6 +57,7 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -67,6 +68,7 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
* The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Package()
* @generated
* @ordered
@@ -76,6 +78,7 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected DesignLevelImpl() {
@@ -85,69 +88,82 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
public DesignFunctionPrototype basicGetFunctionalDesignArchitecture() {
DesignFunctionPrototype adlDesignFunctionPrototype = null;
-
+
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
- while(it.hasNext()) {
+
+ while (it.hasNext()) {
Element element = it.next();
- adlDesignFunctionPrototype = (DesignFunctionPrototype) UMLUtil.getStereotypeApplication(element, DesignFunctionPrototype.class);
- if (adlDesignFunctionPrototype!=null)
+ adlDesignFunctionPrototype = UMLUtil.getStereotypeApplication(element, DesignFunctionPrototype.class);
+ if (adlDesignFunctionPrototype != null) {
return adlDesignFunctionPrototype;
+ }
}
}
-
+
return adlDesignFunctionPrototype;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
public HardwareComponentPrototype basicGetHardwareDesignArchitecture() {
HardwareComponentPrototype adlHardwareComponentPrototype = null;
-
+
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
- while(it.hasNext()) {
+
+ while (it.hasNext()) {
Element element = it.next();
- adlHardwareComponentPrototype = (HardwareComponentPrototype) UMLUtil.getStereotypeApplication(element, HardwareComponentPrototype.class);
- if (adlHardwareComponentPrototype!=null)
+ adlHardwareComponentPrototype = UMLUtil.getStereotypeApplication(element, HardwareComponentPrototype.class);
+ if (adlHardwareComponentPrototype != null) {
return adlHardwareComponentPrototype;
+ }
}
}
-
+
return adlHardwareComponentPrototype;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE:
- if (resolve) return getBase_Package();
- return basicGetBase_Package();
- case SystemmodelingPackage.DESIGN_LEVEL__FUNCTIONAL_DESIGN_ARCHITECTURE:
- if (resolve) return getFunctionalDesignArchitecture();
- return basicGetFunctionalDesignArchitecture();
- case SystemmodelingPackage.DESIGN_LEVEL__HARDWARE_DESIGN_ARCHITECTURE:
- if (resolve) return getHardwareDesignArchitecture();
- return basicGetHardwareDesignArchitecture();
- case SystemmodelingPackage.DESIGN_LEVEL__ALLOCATION:
- return getAllocation();
+ case SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE:
+ if (resolve) {
+ return getBase_Package();
+ }
+ return basicGetBase_Package();
+ case SystemmodelingPackage.DESIGN_LEVEL__FUNCTIONAL_DESIGN_ARCHITECTURE:
+ if (resolve) {
+ return getFunctionalDesignArchitecture();
+ }
+ return basicGetFunctionalDesignArchitecture();
+ case SystemmodelingPackage.DESIGN_LEVEL__HARDWARE_DESIGN_ARCHITECTURE:
+ if (resolve) {
+ return getHardwareDesignArchitecture();
+ }
+ return basicGetHardwareDesignArchitecture();
+ case SystemmodelingPackage.DESIGN_LEVEL__ALLOCATION:
+ return getAllocation();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -155,21 +171,22 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS:
- return base_Class != null;
- case SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE:
- return base_Package != null;
- case SystemmodelingPackage.DESIGN_LEVEL__FUNCTIONAL_DESIGN_ARCHITECTURE:
- return basicGetFunctionalDesignArchitecture() != null;
- case SystemmodelingPackage.DESIGN_LEVEL__HARDWARE_DESIGN_ARCHITECTURE:
- return basicGetHardwareDesignArchitecture() != null;
- case SystemmodelingPackage.DESIGN_LEVEL__ALLOCATION:
- return !getAllocation().isEmpty();
+ case SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS:
+ return base_Class != null;
+ case SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE:
+ return base_Package != null;
+ case SystemmodelingPackage.DESIGN_LEVEL__FUNCTIONAL_DESIGN_ARCHITECTURE:
+ return basicGetFunctionalDesignArchitecture() != null;
+ case SystemmodelingPackage.DESIGN_LEVEL__HARDWARE_DESIGN_ARCHITECTURE:
+ return basicGetHardwareDesignArchitecture() != null;
+ case SystemmodelingPackage.DESIGN_LEVEL__ALLOCATION:
+ return !getAllocation().isEmpty();
}
return super.eIsSet(featureID);
}
@@ -177,28 +194,29 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)newValue);
- return;
- case SystemmodelingPackage.DESIGN_LEVEL__FUNCTIONAL_DESIGN_ARCHITECTURE:
- setFunctionalDesignArchitecture((DesignFunctionPrototype)newValue);
- return;
- case SystemmodelingPackage.DESIGN_LEVEL__HARDWARE_DESIGN_ARCHITECTURE:
- setHardwareDesignArchitecture((HardwareComponentPrototype)newValue);
- return;
- case SystemmodelingPackage.DESIGN_LEVEL__ALLOCATION:
- getAllocation().clear();
- getAllocation().addAll((Collection<? extends Allocation>)newValue);
- return;
+ case SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) newValue);
+ return;
+ case SystemmodelingPackage.DESIGN_LEVEL__FUNCTIONAL_DESIGN_ARCHITECTURE:
+ setFunctionalDesignArchitecture((DesignFunctionPrototype) newValue);
+ return;
+ case SystemmodelingPackage.DESIGN_LEVEL__HARDWARE_DESIGN_ARCHITECTURE:
+ setHardwareDesignArchitecture((HardwareComponentPrototype) newValue);
+ return;
+ case SystemmodelingPackage.DESIGN_LEVEL__ALLOCATION:
+ getAllocation().clear();
+ getAllocation().addAll((Collection<? extends Allocation>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -206,6 +224,7 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -216,15 +235,18 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -233,6 +255,7 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -242,27 +265,33 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Package = (InternalEObject) base_Package;
+ base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package);
if (base_Package != oldBase_Package) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
}
return base_Package;
@@ -271,6 +300,7 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Package basicGetBase_Package() {
@@ -280,38 +310,42 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)null);
- return;
- case SystemmodelingPackage.DESIGN_LEVEL__FUNCTIONAL_DESIGN_ARCHITECTURE:
- setFunctionalDesignArchitecture((DesignFunctionPrototype)null);
- return;
- case SystemmodelingPackage.DESIGN_LEVEL__HARDWARE_DESIGN_ARCHITECTURE:
- setHardwareDesignArchitecture((HardwareComponentPrototype)null);
- return;
- case SystemmodelingPackage.DESIGN_LEVEL__ALLOCATION:
- getAllocation().clear();
- return;
+ case SystemmodelingPackage.DESIGN_LEVEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case SystemmodelingPackage.DESIGN_LEVEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) null);
+ return;
+ case SystemmodelingPackage.DESIGN_LEVEL__FUNCTIONAL_DESIGN_ARCHITECTURE:
+ setFunctionalDesignArchitecture((DesignFunctionPrototype) null);
+ return;
+ case SystemmodelingPackage.DESIGN_LEVEL__HARDWARE_DESIGN_ARCHITECTURE:
+ setHardwareDesignArchitecture((HardwareComponentPrototype) null);
+ return;
+ case SystemmodelingPackage.DESIGN_LEVEL__ALLOCATION:
+ getAllocation().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -319,50 +353,59 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
+ @Override
public EList<Allocation> getAllocation() {
EList<Allocation> results = new BasicEList<Allocation>();
Allocation adlAllocation = null;
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
+
while (it.hasNext()) {
Element element = it.next();
- adlAllocation = (Allocation )UMLUtil.getStereotypeApplication(element, Allocation.class);
- if (adlAllocation != null)
+ adlAllocation = UMLUtil.getStereotypeApplication(element, Allocation.class);
+ if (adlAllocation != null) {
results.add(adlAllocation);
+ }
}
}
-
+
return new BasicInternalEList<Allocation>(Allocation.class, results.size(), results.toArray());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DesignFunctionPrototype getFunctionalDesignArchitecture() {
DesignFunctionPrototype functionalDesignArchitecture = basicGetFunctionalDesignArchitecture();
- return functionalDesignArchitecture != null && functionalDesignArchitecture.eIsProxy() ? (DesignFunctionPrototype)eResolveProxy((InternalEObject)functionalDesignArchitecture) : functionalDesignArchitecture;
+ return functionalDesignArchitecture != null && functionalDesignArchitecture.eIsProxy() ? (DesignFunctionPrototype) eResolveProxy((InternalEObject) functionalDesignArchitecture) : functionalDesignArchitecture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public HardwareComponentPrototype getHardwareDesignArchitecture() {
HardwareComponentPrototype hardwareDesignArchitecture = basicGetHardwareDesignArchitecture();
- return hardwareDesignArchitecture != null && hardwareDesignArchitecture.eIsProxy() ? (HardwareComponentPrototype)eResolveProxy((InternalEObject)hardwareDesignArchitecture) : hardwareDesignArchitecture;
+ return hardwareDesignArchitecture != null && hardwareDesignArchitecture.eIsProxy() ? (HardwareComponentPrototype) eResolveProxy((InternalEObject) hardwareDesignArchitecture) : hardwareDesignArchitecture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setFunctionalDesignArchitecture(DesignFunctionPrototype newFunctionalDesignArchitecture) {
// TODO: implement this method to set the 'Functional Design Architecture' reference
// Ensure that you remove @generated or mark it @generated NOT
@@ -372,12 +415,14 @@ public class DesignLevelImpl extends ContextImpl implements DesignLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setHardwareDesignArchitecture(HardwareComponentPrototype newHardwareDesignArchitecture) {
// TODO: implement this method to set the 'Hardware Design Architecture' reference
// Ensure that you remove @generated or mark it @generated NOT
throw new UnsupportedOperationException();
}
-} //DesignLevelImpl
+} // DesignLevelImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/ImplementationLevelImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/ImplementationLevelImpl.java
index e36f85b3cd1..a3e6e385b18 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/ImplementationLevelImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/ImplementationLevelImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -32,9 +32,9 @@ import org.eclipse.uml2.uml.NamedElement;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl#getAutosarSystem <em>Autosar System</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl#getAutosarSystem <em>Autosar System</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.ImplementationLevelImpl#getBase_Package <em>Base Package</em>}</li>
* </ul>
* </p>
*
@@ -45,6 +45,7 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
* The cached value of the '{@link #getAutosarSystem() <em>Autosar System</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAutosarSystem()
* @generated
* @ordered
@@ -55,6 +56,7 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -65,6 +67,7 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
* The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Package()
* @generated
* @ordered
@@ -74,6 +77,7 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ImplementationLevelImpl() {
@@ -83,6 +87,7 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NamedElement basicGetAutosarSystem() {
@@ -92,20 +97,27 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM:
- if (resolve) return getAutosarSystem();
- return basicGetAutosarSystem();
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE:
- if (resolve) return getBase_Package();
- return basicGetBase_Package();
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM:
+ if (resolve) {
+ return getAutosarSystem();
+ }
+ return basicGetAutosarSystem();
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE:
+ if (resolve) {
+ return getBase_Package();
+ }
+ return basicGetBase_Package();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -113,17 +125,18 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM:
- return autosarSystem != null;
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS:
- return base_Class != null;
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE:
- return base_Package != null;
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM:
+ return autosarSystem != null;
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS:
+ return base_Class != null;
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE:
+ return base_Package != null;
}
return super.eIsSet(featureID);
}
@@ -131,20 +144,21 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM:
- setAutosarSystem((NamedElement)newValue);
- return;
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)newValue);
- return;
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM:
+ setAutosarSystem((NamedElement) newValue);
+ return;
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -152,6 +166,7 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -162,20 +177,21 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM:
- setAutosarSystem((NamedElement)null);
- return;
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)null);
- return;
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM:
+ setAutosarSystem((NamedElement) null);
+ return;
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) null);
+ return;
}
super.eUnset(featureID);
}
@@ -183,15 +199,18 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public NamedElement getAutosarSystem() {
if (autosarSystem != null && autosarSystem.eIsProxy()) {
- InternalEObject oldAutosarSystem = (InternalEObject)autosarSystem;
- autosarSystem = (NamedElement)eResolveProxy(oldAutosarSystem);
+ InternalEObject oldAutosarSystem = (InternalEObject) autosarSystem;
+ autosarSystem = (NamedElement) eResolveProxy(oldAutosarSystem);
if (autosarSystem != oldAutosarSystem) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM, oldAutosarSystem, autosarSystem));
+ }
}
}
return autosarSystem;
@@ -200,27 +219,33 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAutosarSystem(NamedElement newAutosarSystem) {
NamedElement oldAutosarSystem = autosarSystem;
autosarSystem = newAutosarSystem;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, SystemmodelingPackage.IMPLEMENTATION_LEVEL__AUTOSAR_SYSTEM, oldAutosarSystem, autosarSystem));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -229,6 +254,7 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -238,27 +264,33 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Package = (InternalEObject) base_Package;
+ base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package);
if (base_Package != oldBase_Package) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
}
return base_Package;
@@ -267,6 +299,7 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Package basicGetBase_Package() {
@@ -276,13 +309,16 @@ public class ImplementationLevelImpl extends ContextImpl implements Implementati
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.IMPLEMENTATION_LEVEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
-} //ImplementationLevelImpl
+} // ImplementationLevelImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemModelImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemModelImpl.java
index 7d4b25c0ea3..d3b3fdfe492 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemModelImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemModelImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -39,12 +39,12 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getImplementationLevel <em>Implementation Level</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getAnalysisLevel <em>Analysis Level</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getDesignLevel <em>Design Level</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getVehicleLevel <em>Vehicle Level</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getImplementationLevel <em>Implementation Level</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getAnalysisLevel <em>Analysis Level</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getDesignLevel <em>Design Level</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getVehicleLevel <em>Vehicle Level</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemModelImpl#getBase_Package <em>Base Package</em>}</li>
* </ul>
* </p>
*
@@ -55,6 +55,7 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -65,6 +66,7 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
* The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Package()
* @generated
* @ordered
@@ -74,6 +76,7 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SystemModelImpl() {
@@ -83,118 +86,139 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
public AnalysisLevel basicGetAnalysisLevel() {
AnalysisLevel adlAnalysisLevel = null;
-
+
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
- while(it.hasNext()) {
+
+ while (it.hasNext()) {
Element element = it.next();
- adlAnalysisLevel = (AnalysisLevel) UMLUtil.getStereotypeApplication(element, AnalysisLevel.class);
- if (adlAnalysisLevel!=null)
+ adlAnalysisLevel = UMLUtil.getStereotypeApplication(element, AnalysisLevel.class);
+ if (adlAnalysisLevel != null) {
return adlAnalysisLevel;
+ }
}
}
-
+
return adlAnalysisLevel;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
public DesignLevel basicGetDesignLevel() {
-
+
DesignLevel adlDesignLevel = null;
-
+
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
- while(it.hasNext()) {
+
+ while (it.hasNext()) {
Element element = it.next();
- adlDesignLevel = (DesignLevel) UMLUtil.getStereotypeApplication(element, DesignLevel.class);
- if (adlDesignLevel!=null)
+ adlDesignLevel = UMLUtil.getStereotypeApplication(element, DesignLevel.class);
+ if (adlDesignLevel != null) {
return adlDesignLevel;
+ }
}
}
-
+
return adlDesignLevel;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
public ImplementationLevel basicGetImplementationLevel() {
ImplementationLevel adlImplementationLevel = null;
-
+
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
- while(it.hasNext()) {
+
+ while (it.hasNext()) {
Element element = it.next();
- adlImplementationLevel = (ImplementationLevel) UMLUtil.getStereotypeApplication(element, ImplementationLevel.class);
- if (adlImplementationLevel!=null)
+ adlImplementationLevel = UMLUtil.getStereotypeApplication(element, ImplementationLevel.class);
+ if (adlImplementationLevel != null) {
return adlImplementationLevel;
+ }
}
}
-
+
return adlImplementationLevel;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
public VehicleLevel basicGetVehicleLevel() {
VehicleLevel adlVehicleLevel = null;
-
+
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
- while(it.hasNext()) {
+
+ while (it.hasNext()) {
Element element = it.next();
- adlVehicleLevel = (VehicleLevel) UMLUtil.getStereotypeApplication(element, VehicleLevel.class);
- if (adlVehicleLevel!=null)
+ adlVehicleLevel = UMLUtil.getStereotypeApplication(element, VehicleLevel.class);
+ if (adlVehicleLevel != null) {
return adlVehicleLevel;
+ }
}
}
-
+
return adlVehicleLevel;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case SystemmodelingPackage.SYSTEM_MODEL__IMPLEMENTATION_LEVEL:
- if (resolve) return getImplementationLevel();
- return basicGetImplementationLevel();
- case SystemmodelingPackage.SYSTEM_MODEL__ANALYSIS_LEVEL:
- if (resolve) return getAnalysisLevel();
- return basicGetAnalysisLevel();
- case SystemmodelingPackage.SYSTEM_MODEL__DESIGN_LEVEL:
- if (resolve) return getDesignLevel();
- return basicGetDesignLevel();
- case SystemmodelingPackage.SYSTEM_MODEL__VEHICLE_LEVEL:
- if (resolve) return getVehicleLevel();
- return basicGetVehicleLevel();
- case SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE:
- if (resolve) return getBase_Package();
- return basicGetBase_Package();
+ case SystemmodelingPackage.SYSTEM_MODEL__IMPLEMENTATION_LEVEL:
+ if (resolve) {
+ return getImplementationLevel();
+ }
+ return basicGetImplementationLevel();
+ case SystemmodelingPackage.SYSTEM_MODEL__ANALYSIS_LEVEL:
+ if (resolve) {
+ return getAnalysisLevel();
+ }
+ return basicGetAnalysisLevel();
+ case SystemmodelingPackage.SYSTEM_MODEL__DESIGN_LEVEL:
+ if (resolve) {
+ return getDesignLevel();
+ }
+ return basicGetDesignLevel();
+ case SystemmodelingPackage.SYSTEM_MODEL__VEHICLE_LEVEL:
+ if (resolve) {
+ return getVehicleLevel();
+ }
+ return basicGetVehicleLevel();
+ case SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE:
+ if (resolve) {
+ return getBase_Package();
+ }
+ return basicGetBase_Package();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -202,23 +226,24 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.SYSTEM_MODEL__IMPLEMENTATION_LEVEL:
- return basicGetImplementationLevel() != null;
- case SystemmodelingPackage.SYSTEM_MODEL__ANALYSIS_LEVEL:
- return basicGetAnalysisLevel() != null;
- case SystemmodelingPackage.SYSTEM_MODEL__DESIGN_LEVEL:
- return basicGetDesignLevel() != null;
- case SystemmodelingPackage.SYSTEM_MODEL__VEHICLE_LEVEL:
- return basicGetVehicleLevel() != null;
- case SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS:
- return base_Class != null;
- case SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE:
- return base_Package != null;
+ case SystemmodelingPackage.SYSTEM_MODEL__IMPLEMENTATION_LEVEL:
+ return basicGetImplementationLevel() != null;
+ case SystemmodelingPackage.SYSTEM_MODEL__ANALYSIS_LEVEL:
+ return basicGetAnalysisLevel() != null;
+ case SystemmodelingPackage.SYSTEM_MODEL__DESIGN_LEVEL:
+ return basicGetDesignLevel() != null;
+ case SystemmodelingPackage.SYSTEM_MODEL__VEHICLE_LEVEL:
+ return basicGetVehicleLevel() != null;
+ case SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS:
+ return base_Class != null;
+ case SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE:
+ return base_Package != null;
}
return super.eIsSet(featureID);
}
@@ -226,29 +251,30 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case SystemmodelingPackage.SYSTEM_MODEL__IMPLEMENTATION_LEVEL:
- setImplementationLevel((ImplementationLevel)newValue);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__ANALYSIS_LEVEL:
- setAnalysisLevel((AnalysisLevel)newValue);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__DESIGN_LEVEL:
- setDesignLevel((DesignLevel)newValue);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__VEHICLE_LEVEL:
- setVehicleLevel((VehicleLevel)newValue);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)newValue);
- return;
+ case SystemmodelingPackage.SYSTEM_MODEL__IMPLEMENTATION_LEVEL:
+ setImplementationLevel((ImplementationLevel) newValue);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__ANALYSIS_LEVEL:
+ setAnalysisLevel((AnalysisLevel) newValue);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__DESIGN_LEVEL:
+ setDesignLevel((DesignLevel) newValue);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__VEHICLE_LEVEL:
+ setVehicleLevel((VehicleLevel) newValue);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -256,6 +282,7 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -266,29 +293,30 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.SYSTEM_MODEL__IMPLEMENTATION_LEVEL:
- setImplementationLevel((ImplementationLevel)null);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__ANALYSIS_LEVEL:
- setAnalysisLevel((AnalysisLevel)null);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__DESIGN_LEVEL:
- setDesignLevel((DesignLevel)null);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__VEHICLE_LEVEL:
- setVehicleLevel((VehicleLevel)null);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)null);
- return;
+ case SystemmodelingPackage.SYSTEM_MODEL__IMPLEMENTATION_LEVEL:
+ setImplementationLevel((ImplementationLevel) null);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__ANALYSIS_LEVEL:
+ setAnalysisLevel((AnalysisLevel) null);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__DESIGN_LEVEL:
+ setDesignLevel((DesignLevel) null);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__VEHICLE_LEVEL:
+ setVehicleLevel((VehicleLevel) null);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) null);
+ return;
}
super.eUnset(featureID);
}
@@ -296,48 +324,58 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AnalysisLevel getAnalysisLevel() {
AnalysisLevel analysisLevel = basicGetAnalysisLevel();
- return analysisLevel != null && analysisLevel.eIsProxy() ? (AnalysisLevel)eResolveProxy((InternalEObject)analysisLevel) : analysisLevel;
+ return analysisLevel != null && analysisLevel.eIsProxy() ? (AnalysisLevel) eResolveProxy((InternalEObject) analysisLevel) : analysisLevel;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DesignLevel getDesignLevel() {
DesignLevel designLevel = basicGetDesignLevel();
- return designLevel != null && designLevel.eIsProxy() ? (DesignLevel)eResolveProxy((InternalEObject)designLevel) : designLevel;
+ return designLevel != null && designLevel.eIsProxy() ? (DesignLevel) eResolveProxy((InternalEObject) designLevel) : designLevel;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ImplementationLevel getImplementationLevel() {
ImplementationLevel implementationLevel = basicGetImplementationLevel();
- return implementationLevel != null && implementationLevel.eIsProxy() ? (ImplementationLevel)eResolveProxy((InternalEObject)implementationLevel) : implementationLevel;
+ return implementationLevel != null && implementationLevel.eIsProxy() ? (ImplementationLevel) eResolveProxy((InternalEObject) implementationLevel) : implementationLevel;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public VehicleLevel getVehicleLevel() {
VehicleLevel vehicleLevel = basicGetVehicleLevel();
- return vehicleLevel != null && vehicleLevel.eIsProxy() ? (VehicleLevel)eResolveProxy((InternalEObject)vehicleLevel) : vehicleLevel;
+ return vehicleLevel != null && vehicleLevel.eIsProxy() ? (VehicleLevel) eResolveProxy((InternalEObject) vehicleLevel) : vehicleLevel;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAnalysisLevel(AnalysisLevel newAnalysisLevel) {
// TODO: implement this method to set the 'Analysis Level' reference
// Ensure that you remove @generated or mark it @generated NOT
@@ -347,8 +385,10 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setDesignLevel(DesignLevel newDesignLevel) {
// TODO: implement this method to set the 'Design Level' reference
// Ensure that you remove @generated or mark it @generated NOT
@@ -358,8 +398,10 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setImplementationLevel(ImplementationLevel newImplementationLevel) {
// TODO: implement this method to set the 'Implementation Level' reference
// Ensure that you remove @generated or mark it @generated NOT
@@ -369,8 +411,10 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setVehicleLevel(VehicleLevel newVehicleLevel) {
// TODO: implement this method to set the 'Vehicle Level' reference
// Ensure that you remove @generated or mark it @generated NOT
@@ -380,15 +424,18 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -397,6 +444,7 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -406,27 +454,33 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.SYSTEM_MODEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Package = (InternalEObject) base_Package;
+ base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package);
if (base_Package != oldBase_Package) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
}
return base_Package;
@@ -435,6 +489,7 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Package basicGetBase_Package() {
@@ -444,13 +499,16 @@ public class SystemModelImpl extends ContextImpl implements SystemModel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.SYSTEM_MODEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
-} //SystemModelImpl
+} // SystemModelImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingFactoryImpl.java
index 915cdab5098..5357ec9c6a0 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,12 +33,14 @@ import org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class SystemmodelingFactoryImpl extends EFactoryImpl implements SystemmodelingFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -51,16 +53,16 @@ public class SystemmodelingFactoryImpl extends EFactoryImpl implements Systemmod
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static SystemmodelingFactory init() {
try {
- SystemmodelingFactory theSystemmodelingFactory = (SystemmodelingFactory)EPackage.Registry.INSTANCE.getEFactory(SystemmodelingPackage.eNS_URI);
+ SystemmodelingFactory theSystemmodelingFactory = (SystemmodelingFactory) EPackage.Registry.INSTANCE.getEFactory(SystemmodelingPackage.eNS_URI);
if (theSystemmodelingFactory != null) {
return theSystemmodelingFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new SystemmodelingFactoryImpl();
@@ -70,6 +72,7 @@ public class SystemmodelingFactoryImpl extends EFactoryImpl implements Systemmod
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SystemmodelingFactoryImpl() {
@@ -79,26 +82,34 @@ public class SystemmodelingFactoryImpl extends EFactoryImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case SystemmodelingPackage.SYSTEM_MODEL: return createSystemModel();
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL: return createImplementationLevel();
- case SystemmodelingPackage.ANALYSIS_LEVEL: return createAnalysisLevel();
- case SystemmodelingPackage.DESIGN_LEVEL: return createDesignLevel();
- case SystemmodelingPackage.VEHICLE_LEVEL: return createVehicleLevel();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case SystemmodelingPackage.SYSTEM_MODEL:
+ return createSystemModel();
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL:
+ return createImplementationLevel();
+ case SystemmodelingPackage.ANALYSIS_LEVEL:
+ return createAnalysisLevel();
+ case SystemmodelingPackage.DESIGN_LEVEL:
+ return createDesignLevel();
+ case SystemmodelingPackage.VEHICLE_LEVEL:
+ return createVehicleLevel();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AnalysisLevel createAnalysisLevel() {
AnalysisLevelImpl analysisLevel = new AnalysisLevelImpl();
return analysisLevel;
@@ -107,8 +118,10 @@ public class SystemmodelingFactoryImpl extends EFactoryImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DesignLevel createDesignLevel() {
DesignLevelImpl designLevel = new DesignLevelImpl();
return designLevel;
@@ -117,8 +130,10 @@ public class SystemmodelingFactoryImpl extends EFactoryImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ImplementationLevel createImplementationLevel() {
ImplementationLevelImpl implementationLevel = new ImplementationLevelImpl();
return implementationLevel;
@@ -127,8 +142,10 @@ public class SystemmodelingFactoryImpl extends EFactoryImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public SystemModel createSystemModel() {
SystemModelImpl systemModel = new SystemModelImpl();
return systemModel;
@@ -137,8 +154,10 @@ public class SystemmodelingFactoryImpl extends EFactoryImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public VehicleLevel createVehicleLevel() {
VehicleLevelImpl vehicleLevel = new VehicleLevelImpl();
return vehicleLevel;
@@ -147,10 +166,12 @@ public class SystemmodelingFactoryImpl extends EFactoryImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public SystemmodelingPackage getSystemmodelingPackage() {
- return (SystemmodelingPackage)getEPackage();
+ return (SystemmodelingPackage) getEPackage();
}
-} //SystemmodelingFactoryImpl
+} // SystemmodelingFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingPackageImpl.java
index 2e09d7993ec..b125aa98a9a 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/SystemmodelingPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -98,6 +98,7 @@ import org.eclipse.uml2.uml.UMLPackage;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class SystemmodelingPackageImpl extends EPackageImpl implements SystemmodelingPackage {
@@ -105,6 +106,7 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass systemModelEClass = null;
@@ -112,6 +114,7 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass implementationLevelEClass = null;
@@ -119,6 +122,7 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass analysisLevelEClass = null;
@@ -126,6 +130,7 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass designLevelEClass = null;
@@ -133,6 +138,7 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass vehicleLevelEClass = null;
@@ -140,26 +146,30 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- 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 SystemmodelingPackage#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
+ * -->
*
- * <p>This method is used to initialize {@link SystemmodelingPackage#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 SystemmodelingPackage init() {
- if (isInited) return (SystemmodelingPackage)EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI);
+ if (isInited) {
+ return (SystemmodelingPackage) EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI);
+ }
// Obtain or create and register package
- SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SystemmodelingPackageImpl());
+ SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SystemmodelingPackageImpl());
isInited = true;
@@ -167,39 +177,67 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
SysmlPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
- VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
- InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
- DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
- UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
- ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
- ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
- StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
- FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
- VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
- org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
- TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
- TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
- EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
- NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
- BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
- AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
- TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
- ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
- GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
+ EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
+ VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI)
+ : VariabilityPackage.eINSTANCE);
+ InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
+ DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI)
+ : DatatypesPackage.eINSTANCE);
+ UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
+ ElementsPackageImpl theElementsPackage = (ElementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI)
+ : ElementsPackage.eINSTANCE);
+ StructurePackageImpl theStructurePackage = (StructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI)
+ : StructurePackage.eINSTANCE);
+ FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
+ VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VehiclefeaturemodelingPackage.eNS_URI) : VehiclefeaturemodelingPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI)
+ : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI)
+ : ErrormodelPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
+ VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI)
+ : BehaviorPackage.eINSTANCE);
+ TimingPackageImpl theTimingPackage = (TimingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
+ TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
+ EventsPackageImpl theEventsPackage = (EventsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
+ EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI)
+ : EnvironmentPackage.eINSTANCE);
+ AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
+ NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
+ GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
theSystemmodelingPackage.createPackageContents();
@@ -276,7 +314,7 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
// Mark meta-data to indicate it can't be changed
theSystemmodelingPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(SystemmodelingPackage.eNS_URI, theSystemmodelingPackage);
return theSystemmodelingPackage;
@@ -285,6 +323,7 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isCreated = false;
@@ -292,19 +331,17 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage#eNS_URI
* @see #init()
@@ -315,14 +352,17 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
}
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents() {
- if (isCreated) return;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create classes and their features
@@ -360,8 +400,10 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAnalysisLevel() {
return analysisLevelEClass;
}
@@ -369,35 +411,43 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAnalysisLevel_Base_Class() {
- return (EReference)analysisLevelEClass.getEStructuralFeatures().get(0);
+ return (EReference) analysisLevelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAnalysisLevel_Base_Package() {
- return (EReference)analysisLevelEClass.getEStructuralFeatures().get(1);
+ return (EReference) analysisLevelEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAnalysisLevel_FunctionalAnalysisArchitecture() {
- return (EReference)analysisLevelEClass.getEStructuralFeatures().get(2);
+ return (EReference) analysisLevelEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getDesignLevel() {
return designLevelEClass;
}
@@ -405,53 +455,65 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getDesignLevel_Base_Class() {
- return (EReference)designLevelEClass.getEStructuralFeatures().get(0);
+ return (EReference) designLevelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getDesignLevel_Base_Package() {
- return (EReference)designLevelEClass.getEStructuralFeatures().get(1);
+ return (EReference) designLevelEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getDesignLevel_Allocation() {
- return (EReference)designLevelEClass.getEStructuralFeatures().get(4);
+ return (EReference) designLevelEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getDesignLevel_FunctionalDesignArchitecture() {
- return (EReference)designLevelEClass.getEStructuralFeatures().get(2);
+ return (EReference) designLevelEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getDesignLevel_HardwareDesignArchitecture() {
- return (EReference)designLevelEClass.getEStructuralFeatures().get(3);
+ return (EReference) designLevelEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getImplementationLevel() {
return implementationLevelEClass;
}
@@ -459,35 +521,43 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getImplementationLevel_AutosarSystem() {
- return (EReference)implementationLevelEClass.getEStructuralFeatures().get(0);
+ return (EReference) implementationLevelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getImplementationLevel_Base_Class() {
- return (EReference)implementationLevelEClass.getEStructuralFeatures().get(1);
+ return (EReference) implementationLevelEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getImplementationLevel_Base_Package() {
- return (EReference)implementationLevelEClass.getEStructuralFeatures().get(2);
+ return (EReference) implementationLevelEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getSystemModel() {
return systemModelEClass;
}
@@ -495,71 +565,87 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSystemModel_AnalysisLevel() {
- return (EReference)systemModelEClass.getEStructuralFeatures().get(1);
+ return (EReference) systemModelEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSystemModel_DesignLevel() {
- return (EReference)systemModelEClass.getEStructuralFeatures().get(2);
+ return (EReference) systemModelEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSystemModel_ImplementationLevel() {
- return (EReference)systemModelEClass.getEStructuralFeatures().get(0);
+ return (EReference) systemModelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSystemModel_VehicleLevel() {
- return (EReference)systemModelEClass.getEStructuralFeatures().get(3);
+ return (EReference) systemModelEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSystemModel_Base_Class() {
- return (EReference)systemModelEClass.getEStructuralFeatures().get(4);
+ return (EReference) systemModelEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSystemModel_Base_Package() {
- return (EReference)systemModelEClass.getEStructuralFeatures().get(5);
+ return (EReference) systemModelEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public SystemmodelingFactory getSystemmodelingFactory() {
- return (SystemmodelingFactory)getEFactoryInstance();
+ return (SystemmodelingFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getVehicleLevel() {
return vehicleLevelEClass;
}
@@ -567,39 +653,48 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getVehicleLevel_Base_Package() {
- return (EReference)vehicleLevelEClass.getEStructuralFeatures().get(0);
+ return (EReference) vehicleLevelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getVehicleLevel_Base_Class() {
- return (EReference)vehicleLevelEClass.getEStructuralFeatures().get(1);
+ return (EReference) vehicleLevelEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getVehicleLevel_TechnicalFeatureModel() {
- return (EReference)vehicleLevelEClass.getEStructuralFeatures().get(2);
+ return (EReference) vehicleLevelEClass.getEStructuralFeatures().get(2);
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) return;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -608,11 +703,11 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
setNsURI(eNS_URI);
// Obtain other dependent packages
- ElementsPackage theElementsPackage = (ElementsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- FunctionmodelingPackage theFunctionmodelingPackage = (FunctionmodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
- HardwaremodelingPackage theHardwaremodelingPackage = (HardwaremodelingPackage)EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
- FeaturemodelingPackage theFeaturemodelingPackage = (FeaturemodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI);
+ ElementsPackage theElementsPackage = (ElementsPackage) EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ FunctionmodelingPackage theFunctionmodelingPackage = (FunctionmodelingPackage) EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
+ HardwaremodelingPackage theHardwaremodelingPackage = (HardwaremodelingPackage) EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI);
+ FeaturemodelingPackage theFeaturemodelingPackage = (FeaturemodelingPackage) EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI);
// Create type parameters
@@ -627,34 +722,52 @@ public class SystemmodelingPackageImpl extends EPackageImpl implements Systemmod
// Initialize classes, features, and operations; add parameters
initEClass(systemModelEClass, SystemModel.class, "SystemModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSystemModel_ImplementationLevel(), this.getImplementationLevel(), null, "implementationLevel", null, 0, 1, SystemModel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getSystemModel_AnalysisLevel(), this.getAnalysisLevel(), null, "analysisLevel", null, 0, 1, SystemModel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getSystemModel_ImplementationLevel(), this.getImplementationLevel(), null, "implementationLevel", null, 0, 1, SystemModel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
+ initEReference(getSystemModel_AnalysisLevel(), this.getAnalysisLevel(), null, "analysisLevel", null, 0, 1, SystemModel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED,
+ !IS_ORDERED);
initEReference(getSystemModel_DesignLevel(), this.getDesignLevel(), null, "designLevel", null, 0, 1, SystemModel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEReference(getSystemModel_VehicleLevel(), this.getVehicleLevel(), null, "vehicleLevel", null, 0, 1, SystemModel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getSystemModel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, SystemModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getSystemModel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, SystemModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getSystemModel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, SystemModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getSystemModel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, SystemModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEClass(implementationLevelEClass, ImplementationLevel.class, "ImplementationLevel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getImplementationLevel_AutosarSystem(), theUMLPackage.getNamedElement(), null, "autosarSystem", null, 0, 1, ImplementationLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getImplementationLevel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, ImplementationLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getImplementationLevel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, ImplementationLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getImplementationLevel_AutosarSystem(), theUMLPackage.getNamedElement(), null, "autosarSystem", null, 0, 1, ImplementationLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getImplementationLevel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, ImplementationLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEReference(getImplementationLevel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, ImplementationLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEClass(analysisLevelEClass, AnalysisLevel.class, "AnalysisLevel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAnalysisLevel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, AnalysisLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getAnalysisLevel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, AnalysisLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getAnalysisLevel_FunctionalAnalysisArchitecture(), theFunctionmodelingPackage.getAnalysisFunctionPrototype(), null, "functionalAnalysisArchitecture", null, 0, 1, AnalysisLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getAnalysisLevel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, AnalysisLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getAnalysisLevel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, AnalysisLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getAnalysisLevel_FunctionalAnalysisArchitecture(), theFunctionmodelingPackage.getAnalysisFunctionPrototype(), null, "functionalAnalysisArchitecture", null, 0, 1, AnalysisLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
+ !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEClass(designLevelEClass, DesignLevel.class, "DesignLevel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDesignLevel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, DesignLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getDesignLevel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, DesignLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getDesignLevel_FunctionalDesignArchitecture(), theFunctionmodelingPackage.getDesignFunctionPrototype(), null, "functionalDesignArchitecture", null, 0, 1, DesignLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getDesignLevel_HardwareDesignArchitecture(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareDesignArchitecture", null, 0, 1, DesignLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getDesignLevel_Allocation(), theFunctionmodelingPackage.getAllocation(), null, "allocation", null, 0, -1, DesignLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDesignLevel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, DesignLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getDesignLevel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, DesignLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getDesignLevel_FunctionalDesignArchitecture(), theFunctionmodelingPackage.getDesignFunctionPrototype(), null, "functionalDesignArchitecture", null, 0, 1, DesignLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDesignLevel_HardwareDesignArchitecture(), theHardwaremodelingPackage.getHardwareComponentPrototype(), null, "hardwareDesignArchitecture", null, 0, 1, DesignLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDesignLevel_Allocation(), theFunctionmodelingPackage.getAllocation(), null, "allocation", null, 0, -1, DesignLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_DERIVED, !IS_ORDERED);
initEClass(vehicleLevelEClass, VehicleLevel.class, "VehicleLevel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getVehicleLevel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, VehicleLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getVehicleLevel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, VehicleLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getVehicleLevel_TechnicalFeatureModel(), theFeaturemodelingPackage.getFeatureModel(), null, "technicalFeatureModel", null, 0, -1, VehicleLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getVehicleLevel_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 0, 1, VehicleLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getVehicleLevel_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, VehicleLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEReference(getVehicleLevel_TechnicalFeatureModel(), theFeaturemodelingPackage.getFeatureModel(), null, "technicalFeatureModel", null, 0, -1, VehicleLevel.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
}
-} //SystemmodelingPackageImpl
+} // SystemmodelingPackageImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/VehicleLevelImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/VehicleLevelImpl.java
index ef00394c93f..f98ad5f3926 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/VehicleLevelImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/impl/VehicleLevelImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -40,9 +40,9 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl#getTechnicalFeatureModel <em>Technical Feature Model</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl#getBase_Package <em>Base Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.VehicleLevelImpl#getTechnicalFeatureModel <em>Technical Feature Model</em>}</li>
* </ul>
* </p>
*
@@ -53,6 +53,7 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
* The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Package()
* @generated
* @ordered
@@ -63,6 +64,7 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Class()
* @generated
* @ordered
@@ -72,6 +74,7 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected VehicleLevelImpl() {
@@ -81,19 +84,24 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE:
- if (resolve) return getBase_Package();
- return basicGetBase_Package();
- case SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS:
- if (resolve) return getBase_Class();
- return basicGetBase_Class();
- case SystemmodelingPackage.VEHICLE_LEVEL__TECHNICAL_FEATURE_MODEL:
- return getTechnicalFeatureModel();
+ case SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE:
+ if (resolve) {
+ return getBase_Package();
+ }
+ return basicGetBase_Package();
+ case SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS:
+ if (resolve) {
+ return getBase_Class();
+ }
+ return basicGetBase_Class();
+ case SystemmodelingPackage.VEHICLE_LEVEL__TECHNICAL_FEATURE_MODEL:
+ return getTechnicalFeatureModel();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -101,17 +109,18 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE:
- return base_Package != null;
- case SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS:
- return base_Class != null;
- case SystemmodelingPackage.VEHICLE_LEVEL__TECHNICAL_FEATURE_MODEL:
- return !getTechnicalFeatureModel().isEmpty();
+ case SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE:
+ return base_Package != null;
+ case SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS:
+ return base_Class != null;
+ case SystemmodelingPackage.VEHICLE_LEVEL__TECHNICAL_FEATURE_MODEL:
+ return !getTechnicalFeatureModel().isEmpty();
}
return super.eIsSet(featureID);
}
@@ -119,22 +128,23 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)newValue);
- return;
- case SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)newValue);
- return;
- case SystemmodelingPackage.VEHICLE_LEVEL__TECHNICAL_FEATURE_MODEL:
- getTechnicalFeatureModel().clear();
- getTechnicalFeatureModel().addAll((Collection<? extends FeatureModel>)newValue);
- return;
+ case SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) newValue);
+ return;
+ case SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) newValue);
+ return;
+ case SystemmodelingPackage.VEHICLE_LEVEL__TECHNICAL_FEATURE_MODEL:
+ getTechnicalFeatureModel().clear();
+ getTechnicalFeatureModel().addAll((Collection<? extends FeatureModel>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -142,6 +152,7 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -152,15 +163,18 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Package = (InternalEObject) base_Package;
+ base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package);
if (base_Package != oldBase_Package) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
}
return base_Package;
@@ -169,6 +183,7 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Package basicGetBase_Package() {
@@ -178,27 +193,33 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE, oldBase_Package, base_Package));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ InternalEObject oldBase_Class = (InternalEObject) base_Class;
+ base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class);
if (base_Class != oldBase_Class) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
}
return base_Class;
@@ -207,6 +228,7 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -216,32 +238,36 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS, oldBase_Class, base_Class));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)null);
- return;
- case SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class)null);
- return;
- case SystemmodelingPackage.VEHICLE_LEVEL__TECHNICAL_FEATURE_MODEL:
- getTechnicalFeatureModel().clear();
- return;
+ case SystemmodelingPackage.VEHICLE_LEVEL__BASE_PACKAGE:
+ setBase_Package((org.eclipse.uml2.uml.Package) null);
+ return;
+ case SystemmodelingPackage.VEHICLE_LEVEL__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class) null);
+ return;
+ case SystemmodelingPackage.VEHICLE_LEVEL__TECHNICAL_FEATURE_MODEL:
+ getTechnicalFeatureModel().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -249,23 +275,26 @@ public class VehicleLevelImpl extends ContextImpl implements VehicleLevel {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
+ @Override
public EList<FeatureModel> getTechnicalFeatureModel() {
EList<FeatureModel> results = new BasicEList<FeatureModel>();
FeatureModel adlFeatureModel = null;
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
+
while (it.hasNext()) {
Element element = it.next();
- adlFeatureModel = (FeatureModel )UMLUtil.getStereotypeApplication(element, FeatureModel.class);
- if (adlFeatureModel != null)
+ adlFeatureModel = UMLUtil.getStereotypeApplication(element, FeatureModel.class);
+ if (adlFeatureModel != null) {
results.add(adlFeatureModel);
+ }
}
}
-
+
return new BasicInternalEList<FeatureModel>(FeatureModel.class, results.size(), results.toArray());
}
-} //VehicleLevelImpl
+} // VehicleLevelImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingAdapterFactory.java
index 1557b5f2bbd..aeb9a8374a8 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingAdapterFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -35,6 +35,7 @@ import org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel;
* 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.eastadl.structure.systemmodeling.SystemmodelingPackage
* @generated
*/
@@ -43,6 +44,7 @@ public class SystemmodelingAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static SystemmodelingPackage modelPackage;
@@ -51,52 +53,62 @@ public class SystemmodelingAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SystemmodelingSwitch<Adapter> modelSwitch =
- new SystemmodelingSwitch<Adapter>() {
- @Override
- public Adapter caseSystemModel(SystemModel object) {
- return createSystemModelAdapter();
- }
- @Override
- public Adapter caseImplementationLevel(ImplementationLevel object) {
- return createImplementationLevelAdapter();
- }
- @Override
- public Adapter caseAnalysisLevel(AnalysisLevel object) {
- return createAnalysisLevelAdapter();
- }
- @Override
- public Adapter caseDesignLevel(DesignLevel object) {
- return createDesignLevelAdapter();
- }
- @Override
- public Adapter caseVehicleLevel(VehicleLevel object) {
- return createVehicleLevelAdapter();
- }
- @Override
- public Adapter caseEAElement(EAElement object) {
- return createEAElementAdapter();
- }
- @Override
- public Adapter caseEAPackageableElement(EAPackageableElement object) {
- return createEAPackageableElementAdapter();
- }
- @Override
- public Adapter caseContext(Context object) {
- return createContextAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new SystemmodelingSwitch<Adapter>() {
+ @Override
+ public Adapter caseSystemModel(SystemModel object) {
+ return createSystemModelAdapter();
+ }
+
+ @Override
+ public Adapter caseImplementationLevel(ImplementationLevel object) {
+ return createImplementationLevelAdapter();
+ }
+
+ @Override
+ public Adapter caseAnalysisLevel(AnalysisLevel object) {
+ return createAnalysisLevelAdapter();
+ }
+
+ @Override
+ public Adapter caseDesignLevel(DesignLevel object) {
+ return createDesignLevelAdapter();
+ }
+
+ @Override
+ public Adapter caseVehicleLevel(VehicleLevel object) {
+ return createVehicleLevelAdapter();
+ }
+
+ @Override
+ public Adapter caseEAElement(EAElement object) {
+ return createEAElementAdapter();
+ }
+
+ @Override
+ public Adapter caseEAPackageableElement(EAPackageableElement object) {
+ return createEAPackageableElementAdapter();
+ }
+
+ @Override
+ public Adapter caseContext(Context object) {
+ return createContextAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SystemmodelingAdapterFactory() {
@@ -109,13 +121,15 @@ public class SystemmodelingAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param target the object to adapt.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -124,6 +138,7 @@ public class SystemmodelingAdapterFactory 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.eastadl.structure.systemmodeling.AnalysisLevel
* @generated
@@ -139,6 +154,7 @@ public class SystemmodelingAdapterFactory 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.eastadl.infrastructure.elements.Context
* @generated
@@ -153,6 +169,7 @@ public class SystemmodelingAdapterFactory 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.eastadl.structure.systemmodeling.DesignLevel
* @generated
@@ -166,6 +183,7 @@ public class SystemmodelingAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -179,6 +197,7 @@ public class SystemmodelingAdapterFactory 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.eastadl.structure.systemmodeling.ImplementationLevel
* @generated
@@ -193,6 +212,7 @@ public class SystemmodelingAdapterFactory 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.eastadl.structure.systemmodeling.SystemModel
* @generated
@@ -207,6 +227,7 @@ public class SystemmodelingAdapterFactory 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.eastadl.structure.systemmodeling.VehicleLevel
* @generated
@@ -221,6 +242,7 @@ public class SystemmodelingAdapterFactory 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.eastadl.infrastructure.elements.EAElement
* @generated
@@ -235,6 +257,7 @@ public class SystemmodelingAdapterFactory 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.eastadl.infrastructure.elements.EAPackageableElement
* @generated
@@ -248,6 +271,7 @@ public class SystemmodelingAdapterFactory 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
*/
@@ -257,9 +281,9 @@ public class SystemmodelingAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
-} //SystemmodelingAdapterFactory
+} // SystemmodelingAdapterFactory
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceFactoryImpl.java
index ac0f0cea31e..a62dcbb7dd8 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,6 +24,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.eastadl.structure.systemmodeling.util.SystemmodelingResourceImpl
* @generated
*/
@@ -32,6 +33,7 @@ public class SystemmodelingResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SystemmodelingResourceFactoryImpl() {
@@ -42,6 +44,7 @@ public class SystemmodelingResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -59,4 +62,4 @@ public class SystemmodelingResourceFactoryImpl extends ResourceFactoryImpl {
return result;
}
-} //SystemmodelingResourceFactoryImpl
+} // SystemmodelingResourceFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceImpl.java
index ca7a6081786..c38e86cba8b 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,6 +22,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.eastadl.structure.systemmodeling.util.SystemmodelingResourceFactoryImpl
* @generated
*/
@@ -30,11 +31,13 @@ public class SystemmodelingResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public SystemmodelingResourceImpl(URI uri) {
super(uri);
}
-} //SystemmodelingResourceImpl
+} // SystemmodelingResourceImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingSwitch.java
index eb3fa13a632..3daf9503267 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingSwitch.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -32,13 +32,13 @@ import org.eclipse.papyrus.eastadl.structure.systemmodeling.VehicleLevel;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage
* @generated
*/
@@ -47,6 +47,7 @@ public class SystemmodelingSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static SystemmodelingPackage modelPackage;
@@ -55,6 +56,7 @@ public class SystemmodelingSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SystemmodelingSwitch() {
@@ -67,6 +69,7 @@ public class SystemmodelingSwitch<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
@@ -82,7 +85,9 @@ public class SystemmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Analysis Level</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -97,7 +102,9 @@ public class SystemmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Context</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -112,7 +119,9 @@ public class SystemmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Design Level</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -127,7 +136,9 @@ public class SystemmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Implementation Level</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -142,7 +153,9 @@ public class SystemmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>System Model</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -157,7 +170,9 @@ public class SystemmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Vehicle Level</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -172,7 +187,9 @@ public class SystemmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -187,7 +204,9 @@ public class SystemmodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Packageable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -202,7 +221,9 @@ public class SystemmodelingSwitch<T> extends Switch<T> {
* 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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -216,59 +237,101 @@ public class SystemmodelingSwitch<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 SystemmodelingPackage.SYSTEM_MODEL: {
- SystemModel systemModel = (SystemModel)theEObject;
- T result = caseSystemModel(systemModel);
- if (result == null) result = caseContext(systemModel);
- if (result == null) result = caseEAPackageableElement(systemModel);
- if (result == null) result = caseEAElement(systemModel);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ case SystemmodelingPackage.SYSTEM_MODEL: {
+ SystemModel systemModel = (SystemModel) theEObject;
+ T result = caseSystemModel(systemModel);
+ if (result == null) {
+ result = caseContext(systemModel);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(systemModel);
+ }
+ if (result == null) {
+ result = caseEAElement(systemModel);
}
- case SystemmodelingPackage.IMPLEMENTATION_LEVEL: {
- ImplementationLevel implementationLevel = (ImplementationLevel)theEObject;
- T result = caseImplementationLevel(implementationLevel);
- if (result == null) result = caseContext(implementationLevel);
- if (result == null) result = caseEAPackageableElement(implementationLevel);
- if (result == null) result = caseEAElement(implementationLevel);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case SystemmodelingPackage.ANALYSIS_LEVEL: {
- AnalysisLevel analysisLevel = (AnalysisLevel)theEObject;
- T result = caseAnalysisLevel(analysisLevel);
- if (result == null) result = caseContext(analysisLevel);
- if (result == null) result = caseEAPackageableElement(analysisLevel);
- if (result == null) result = caseEAElement(analysisLevel);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case SystemmodelingPackage.IMPLEMENTATION_LEVEL: {
+ ImplementationLevel implementationLevel = (ImplementationLevel) theEObject;
+ T result = caseImplementationLevel(implementationLevel);
+ if (result == null) {
+ result = caseContext(implementationLevel);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(implementationLevel);
}
- case SystemmodelingPackage.DESIGN_LEVEL: {
- DesignLevel designLevel = (DesignLevel)theEObject;
- T result = caseDesignLevel(designLevel);
- if (result == null) result = caseContext(designLevel);
- if (result == null) result = caseEAPackageableElement(designLevel);
- if (result == null) result = caseEAElement(designLevel);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = caseEAElement(implementationLevel);
}
- case SystemmodelingPackage.VEHICLE_LEVEL: {
- VehicleLevel vehicleLevel = (VehicleLevel)theEObject;
- T result = caseVehicleLevel(vehicleLevel);
- if (result == null) result = caseContext(vehicleLevel);
- if (result == null) result = caseEAPackageableElement(vehicleLevel);
- if (result == null) result = caseEAElement(vehicleLevel);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- default: return defaultCase(theEObject);
+ return result;
+ }
+ case SystemmodelingPackage.ANALYSIS_LEVEL: {
+ AnalysisLevel analysisLevel = (AnalysisLevel) theEObject;
+ T result = caseAnalysisLevel(analysisLevel);
+ if (result == null) {
+ result = caseContext(analysisLevel);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(analysisLevel);
+ }
+ if (result == null) {
+ result = caseEAElement(analysisLevel);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case SystemmodelingPackage.DESIGN_LEVEL: {
+ DesignLevel designLevel = (DesignLevel) theEObject;
+ T result = caseDesignLevel(designLevel);
+ if (result == null) {
+ result = caseContext(designLevel);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(designLevel);
+ }
+ if (result == null) {
+ result = caseEAElement(designLevel);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case SystemmodelingPackage.VEHICLE_LEVEL: {
+ VehicleLevel vehicleLevel = (VehicleLevel) theEObject;
+ T result = caseVehicleLevel(vehicleLevel);
+ if (result == null) {
+ result = caseContext(vehicleLevel);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(vehicleLevel);
+ }
+ if (result == null) {
+ result = caseEAElement(vehicleLevel);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
-} //SystemmodelingSwitch
+} // SystemmodelingSwitch
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingXMLProcessor.java
index b8ed12cf4f7..a5a05e0b47c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/systemmodeling/util/SystemmodelingXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,6 +27,7 @@ import org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackag
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class SystemmodelingXMLProcessor extends XMLProcessor {
@@ -35,17 +36,19 @@ public class SystemmodelingXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SystemmodelingXMLProcessor() {
super((EPackage.Registry.INSTANCE));
SystemmodelingPackage.eINSTANCE.eClass();
}
-
+
/**
* Register for "*" and "xml" file extensions the SystemmodelingResourceFactoryImpl factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -58,4 +61,4 @@ public class SystemmodelingXMLProcessor extends XMLProcessor {
return registrations;
}
-} //SystemmodelingXMLProcessor
+} // SystemmodelingXMLProcessor
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceFactoryImpl.java
index 8d0a3d37c63..2af5692d276 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,6 +22,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.eastadl.structure.util.StructureResourceImpl
* @generated
*/
@@ -30,6 +31,7 @@ public class StructureResourceFactoryImpl extends ResourceFactoryImpl {
/**
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public StructureResourceFactoryImpl() {
@@ -39,6 +41,7 @@ public class StructureResourceFactoryImpl extends ResourceFactoryImpl {
/**
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceImpl.java
index 554c46a311b..3b4dbba9329 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -20,6 +20,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.eastadl.structure.util.StructureResourceFactoryImpl
* @generated
*/
@@ -28,7 +29,9 @@ public class StructureResourceImpl extends XMLResourceImpl {
/**
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public StructureResourceImpl(URI uri) {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureXMLProcessor.java
index ddf99ab8ab0..2514f04a346 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/util/StructureXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,6 +27,7 @@ import org.eclipse.papyrus.eastadl.structure.StructurePackage;
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
*/
public class StructureXMLProcessor extends XMLProcessor {
@@ -34,6 +35,7 @@ public class StructureXMLProcessor extends XMLProcessor {
/**
* Public constructor to instantiate the helper.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public StructureXMLProcessor() {
@@ -44,7 +46,7 @@ public class StructureXMLProcessor extends XMLProcessor {
/**
* Register for "*" and "xml" file extensions the StructureResourceFactoryImpl factory. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationAttributeSet.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationAttributeSet.java
index 1eaeb55b232..f535a29a758 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationAttributeSet.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationAttributeSet.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -21,12 +21,12 @@ import org.eclipse.uml2.uml.DataType;
/**
- * <!-- begin-user-doc --> A representation of the model object '
- * <em><b>Deviation Attribute Set</b></em>'. <!-- end-user-doc -->
+ * <!-- begin-user-doc --> A representation of the model object ' <em><b>Deviation Attribute Set</b></em>'. <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * DeviationAttributeSet specifies the set of rules of allowed deviations from the reference model in a referring model. These rules are important, because they make sure that the different FeatureModels, referring to one reference model, follow specific rules for deviation, so a later integration into one FeatureModel might be possible.
- *
+ * DeviationAttributeSet specifies the set of rules of allowed deviations from the reference model in a referring model. These rules are important, because they make sure that the different FeatureModels, referring to one reference model, follow specific rules
+ * for deviation, so a later integration into one FeatureModel might be possible.
+ *
* Extension:
* DataType
* <!-- end-model-doc -->
@@ -34,16 +34,16 @@ import org.eclipse.uml2.uml.DataType;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeAttribute <em>Allow Change Attribute</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeCardinality <em>Allow Change Cardinality</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeDescription <em>Allow Change Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeName <em>Allow Change Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowMove <em>Allow Move</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowReduction <em>Allow Reduction</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRefinement <em>Allow Refinement</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRegrouping <em>Allow Regrouping</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRemoval <em>Allow Removal</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getBase_DataType <em>Base Data Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeAttribute <em>Allow Change Attribute</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeCardinality <em>Allow Change Cardinality</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeDescription <em>Allow Change Description</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeName <em>Allow Change Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowMove <em>Allow Move</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowReduction <em>Allow Reduction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRefinement <em>Allow Refinement</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRegrouping <em>Allow Regrouping</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRemoval <em>Allow Removal</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getBase_DataType <em>Base Data Type</em>}</li>
* </ul>
* </p>
*
@@ -58,10 +58,10 @@ public interface DeviationAttributeSet extends EAElement {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allow Change Attribute</em>' attribute isn't clear, there really
- * should be more of a description here...
+ * If the meaning of the '<em>Allow Change Attribute</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allow Change Attribute</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #setAllowChangeAttribute(DeviationPermissionKind)
@@ -76,10 +76,10 @@ public interface DeviationAttributeSet extends EAElement {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allow Change Cardinality</em>' attribute isn't clear, there really
- * should be more of a description here...
+ * If the meaning of the '<em>Allow Change Cardinality</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allow Change Cardinality</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #setAllowChangeCardinality(DeviationPermissionKind)
@@ -94,10 +94,10 @@ public interface DeviationAttributeSet extends EAElement {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allow Change Description</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Allow Change Description</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allow Change Description</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #setAllowChangeDescription(DeviationPermissionKind)
@@ -112,10 +112,10 @@ public interface DeviationAttributeSet extends EAElement {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allow Change Name</em>' attribute isn't clear, there really should
- * be more of a description here...
+ * If the meaning of the '<em>Allow Change Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allow Change Name</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #setAllowChangeName(DeviationPermissionKind)
@@ -130,10 +130,10 @@ public interface DeviationAttributeSet extends EAElement {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allow Move</em>' attribute isn't clear, there really should be
- * more of a description here...
+ * If the meaning of the '<em>Allow Move</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allow Move</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #setAllowMove(DeviationPermissionKind)
@@ -148,10 +148,10 @@ public interface DeviationAttributeSet extends EAElement {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allow Reduction</em>' attribute isn't clear, there really should
- * be more of a description here...
+ * If the meaning of the '<em>Allow Reduction</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allow Reduction</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #setAllowReduction(DeviationPermissionKind)
@@ -166,10 +166,10 @@ public interface DeviationAttributeSet extends EAElement {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allow Refinement</em>' attribute isn't clear, there really should
- * be more of a description here...
+ * If the meaning of the '<em>Allow Refinement</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allow Refinement</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #setAllowRefinement(DeviationPermissionKind)
@@ -184,10 +184,10 @@ public interface DeviationAttributeSet extends EAElement {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allow Regrouping</em>' attribute isn't clear, there really should
- * be more of a description here...
+ * If the meaning of the '<em>Allow Regrouping</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allow Regrouping</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #setAllowRegrouping(DeviationPermissionKind)
@@ -202,10 +202,10 @@ public interface DeviationAttributeSet extends EAElement {
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Allow Removal</em>' attribute isn't clear, there really should be
- * more of a description here...
+ * If the meaning of the '<em>Allow Removal</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Allow Removal</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #setAllowRemoval(DeviationPermissionKind)
@@ -218,7 +218,9 @@ public interface DeviationAttributeSet extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeAttribute <em>Allow Change Attribute</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Allow Change Attribute</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Allow Change Attribute</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #getAllowChangeAttribute()
* @generated
@@ -228,7 +230,9 @@ public interface DeviationAttributeSet extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeCardinality <em>Allow Change Cardinality</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Allow Change Cardinality</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Allow Change Cardinality</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #getAllowChangeCardinality()
* @generated
@@ -239,7 +243,9 @@ public interface DeviationAttributeSet extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeDescription <em>Allow Change Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Allow Change Description</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Allow Change Description</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #getAllowChangeDescription()
* @generated
@@ -249,7 +255,9 @@ public interface DeviationAttributeSet extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeName <em>Allow Change Name</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Allow Change Name</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Allow Change Name</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #getAllowChangeName()
* @generated
@@ -259,7 +267,9 @@ public interface DeviationAttributeSet extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowMove <em>Allow Move</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Allow Move</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Allow Move</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #getAllowMove()
* @generated
@@ -269,7 +279,9 @@ public interface DeviationAttributeSet extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowReduction <em>Allow Reduction</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Allow Reduction</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Allow Reduction</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #getAllowReduction()
* @generated
@@ -279,7 +291,9 @@ public interface DeviationAttributeSet extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRefinement <em>Allow Refinement</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Allow Refinement</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Allow Refinement</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #getAllowRefinement()
* @generated
@@ -289,7 +303,9 @@ public interface DeviationAttributeSet extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRegrouping <em>Allow Regrouping</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Allow Regrouping</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Allow Regrouping</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #getAllowRegrouping()
* @generated
@@ -299,7 +315,9 @@ public interface DeviationAttributeSet extends EAElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRemoval <em>Allow Removal</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Allow Removal</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Allow Removal</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see #getAllowRemoval()
* @generated
@@ -310,10 +328,10 @@ public interface DeviationAttributeSet extends EAElement {
* Returns the value of the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Data Type</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage#getDeviationAttributeSet_Base_DataType()
@@ -326,7 +344,9 @@ public interface DeviationAttributeSet extends EAElement {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#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.
+ *
+ * @param value
+ * the new value of the '<em>Base Data Type</em>' reference.
* @see #getBase_DataType()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationPermissionKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationPermissionKind.java
index de4af14c8df..fc5c3d033a9 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationPermissionKind.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/DeviationPermissionKind.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,14 +22,13 @@ import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
- * <!-- begin-user-doc --> A representation of the literals of the enumeration '
- * <em><b>Deviation Permission Kind</b></em>', and utility methods for working with them. <!--
+ * <!-- begin-user-doc --> A representation of the literals of the enumeration ' <em><b>Deviation Permission Kind</b></em>', and utility methods for working with them. <!--
* end-user-doc --> <!-- begin-model-doc --> Possible values for deviation attributes.
- *
+ *
* Semantics: DeviationPermissionKind has no specific semantics. Further subclasses of
* DeviationPermissionKind will add semantics appropriate to the concept they represent. <!--
* end-model-doc -->
- *
+ *
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage#getDeviationPermissionKind()
* @model
* @generated
@@ -38,6 +37,7 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* The '<em><b>Yes</b></em>' literal object.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #YES_VALUE
* @generated
* @ordered
@@ -45,6 +45,7 @@ public enum DeviationPermissionKind implements Enumerator {
YES(0, "yes", "yes"), /**
* The '<em><b>No</b></em>' literal object.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #NO_VALUE
* @generated
* @ordered
@@ -52,6 +53,7 @@ public enum DeviationPermissionKind implements Enumerator {
NO(1, "no", "no"), /**
* The '<em><b>Subtree</b></em>' literal object.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #SUBTREE_VALUE
* @generated
* @ordered
@@ -59,6 +61,7 @@ public enum DeviationPermissionKind implements Enumerator {
SUBTREE(2, "subtree", "subtree"), /**
* The '<em><b>Append</b></em>' literal object.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #APPEND_VALUE
* @generated
* @ordered
@@ -66,6 +69,7 @@ public enum DeviationPermissionKind implements Enumerator {
APPEND(3, "append", "append"), /**
* The '<em><b>Subset</b></em>' literal object.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #SUBSET_VALUE
* @generated
* @ordered
@@ -74,6 +78,7 @@ public enum DeviationPermissionKind implements Enumerator {
* The '<em><b>Widen</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #WIDEN_VALUE
* @generated
* @ordered
@@ -83,12 +88,11 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* The '<em><b>YES</b></em>' literal value. <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>YES</b></em>' literal object isn't clear, there really should be
- * more of a description here...
+ * If the meaning of '<em><b>YES</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The deviation permission holds. <!--
* end-model-doc -->
- *
+ *
* @see #YES
* @model
* @generated
@@ -99,12 +103,11 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* The '<em><b>NO</b></em>' literal value. <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>NO</b></em>' literal object isn't clear, there really should be
- * more of a description here...
+ * If the meaning of '<em><b>NO</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The deviation is not allowed. <!--
* end-model-doc -->
- *
+ *
* @see #NO
* @model
* @generated
@@ -115,12 +118,11 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* The '<em><b>SUBTREE</b></em>' literal value. <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>SUBTREE</b></em>' literal object isn't clear, there really should
- * be more of a description here...
+ * If the meaning of '<em><b>SUBTREE</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The deviation permission holds for a complete
* subtree. <!-- end-model-doc -->
- *
+ *
* @see #SUBTREE
* @model
* @generated
@@ -131,12 +133,11 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* The '<em><b>APPEND</b></em>' literal value. <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>APPEND</b></em>' literal object isn't clear, there really should be
- * more of a description here...
+ * If the meaning of '<em><b>APPEND</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The deviation is allowed if achieved by
* appending features <!-- end-model-doc -->
- *
+ *
* @see #APPEND
* @model
* @generated
@@ -147,12 +148,11 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* The '<em><b>SUBSET</b></em>' literal value. <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>SUBSET</b></em>' literal object isn't clear, there really should be
- * more of a description here...
+ * If the meaning of '<em><b>SUBSET</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The deviation permission holds for a subset of
* features. <!-- end-model-doc -->
- *
+ *
* @see #SUBSET
* @model
* @generated
@@ -167,6 +167,7 @@ public enum DeviationPermissionKind implements Enumerator {
* <!-- begin-model-doc -->
* Feature groups may only be widened, i.e. it is only legal to add features into a feature group that were not grouped before, but not to ungroup features. This kind is only applicable to deviation attribute 'allowRegrouping'.
* <!-- end-model-doc -->
+ *
* @see #WIDEN
* @model name="widen"
* @generated
@@ -177,7 +178,7 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* An array of all the '<em><b>Deviation Permission Kind</b></em>' enumerators. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static final DeviationPermissionKind[] VALUES_ARRAY = new DeviationPermissionKind[] {
@@ -187,11 +188,12 @@ public enum DeviationPermissionKind implements Enumerator {
APPEND,
SUBSET,
WIDEN,
- };
+ };
/**
* A public read-only list of all the '<em><b>Deviation Permission Kind</b></em>' enumerators.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<DeviationPermissionKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -199,16 +201,23 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* Returns the '<em><b>Deviation Permission Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static DeviationPermissionKind get(int value) {
switch (value) {
- case YES_VALUE: return YES;
- case NO_VALUE: return NO;
- case SUBTREE_VALUE: return SUBTREE;
- case APPEND_VALUE: return APPEND;
- case SUBSET_VALUE: return SUBSET;
- case WIDEN_VALUE: return WIDEN;
+ case YES_VALUE:
+ return YES;
+ case NO_VALUE:
+ return NO;
+ case SUBTREE_VALUE:
+ return SUBTREE;
+ case APPEND_VALUE:
+ return APPEND;
+ case SUBSET_VALUE:
+ return SUBSET;
+ case WIDEN_VALUE:
+ return WIDEN;
}
return null;
}
@@ -216,6 +225,7 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* Returns the '<em><b>Deviation Permission Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static DeviationPermissionKind get(String literal) {
@@ -231,7 +241,7 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* Returns the '<em><b>Deviation Permission Kind</b></em>' literal with the specified name. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static DeviationPermissionKind getByName(String name) {
@@ -246,18 +256,21 @@ public enum DeviationPermissionKind 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;
@@ -265,6 +278,7 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* Only this class can construct instances.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private DeviationPermissionKind(int value, String name, String literal) {
@@ -275,32 +289,38 @@ public enum DeviationPermissionKind implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getLiteral() {
- return literal;
+ return literal;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public int getValue() {
- return value;
+ return value;
}
/**
* Returns the literal value of the enumerator, which is its string representation. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehicleFeature.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehicleFeature.java
index 32aa2e989cb..7c139dbc431 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehicleFeature.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehicleFeature.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,15 +22,16 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature;
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * VehicleFeature represents a special kind of feature intended for use on the vehicle level. The main difference to features in general is that they provide support for the multi-level concept (with their DeviationAttributeSet) and several additional attributes with meta-information specific to the vehicle level viewpoint.
- *
- *
+ * VehicleFeature represents a special kind of feature intended for use on the vehicle level. The main difference to features in general is that they provide support for the multi-level concept (with their DeviationAttributeSet) and several additional
+ * attributes with meta-information specific to the vehicle level viewpoint.
+ *
+ *
* Constraints:
* [1] VehicleFeatures can only be contained in FeatureModels on VehicleLevel.
- *
+ *
* Semantics:
* A VehicleFeature is a functional or non-functional characteristic, constraint or property that can be present or not in a vehicle product line on the level of the complete system, i.e. vehicle.
- *
+ *
* Extension:
* Class
* <!-- end-model-doc -->
@@ -38,10 +39,10 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsDesignVariabilityRationale <em>Is Design Variability Rationale</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsCustomerVisible <em>Is Customer Visible</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsRemoved <em>Is Removed</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#getDeviationAttributeSet <em>Deviation Attribute Set</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsDesignVariabilityRationale <em>Is Design Variability Rationale</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsCustomerVisible <em>Is Customer Visible</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsRemoved <em>Is Removed</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#getDeviationAttributeSet <em>Deviation Attribute Set</em>}</li>
* </ul>
* </p>
*
@@ -53,18 +54,16 @@ public interface VehicleFeature extends Feature {
/**
* Returns the value of the '<em><b>Deviation Attribute Set</b></em>' containment reference. It
- * is bidirectional and its opposite is '
- * {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getFeature
+ * is bidirectional and its opposite is ' {@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getFeature
* <em>Feature</em>}'. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Deviation Attribute Set</em>' containment reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Deviation Attribute Set</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The deviation attributes belong to vehicle
* features that are part of a reference feature model in the context of multi-level feature
* models. The attribute can constrain the allowed deviation for the respective referring
* features. <!-- end-model-doc -->
- *
+ *
* @return the value of the '<em>Deviation Attribute Set</em>' containment reference.
* @see #setDeviationAttributeSet(DeviationAttributeSet)
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage#getVehicleFeature_DeviationAttributeSet()
@@ -78,10 +77,10 @@ public interface VehicleFeature extends Feature {
* Returns the value of the '<em><b>Is Customer Visible</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Is Customer Visible</em>' attribute isn't clear, there really
- * should be more of a description here...
+ * If the meaning of the '<em>Is Customer Visible</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 Customer Visible</em>' attribute.
* @see #setIsCustomerVisible(boolean)
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage#getVehicleFeature_IsCustomerVisible()
@@ -94,10 +93,10 @@ public interface VehicleFeature extends Feature {
* Returns the value of the '<em><b>Is Design Variability Rationale</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Is Design Variability Rationale</em>' attribute isn't clear, there
- * really should be more of a description here...
+ * If the meaning of the '<em>Is Design Variability Rationale</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 Design Variability Rationale</em>' attribute.
* @see #setIsDesignVariabilityRationale(boolean)
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage#getVehicleFeature_IsDesignVariabilityRationale()
@@ -110,10 +109,10 @@ public interface VehicleFeature extends Feature {
* Returns the value of the '<em><b>Is Removed</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Is Removed</em>' attribute isn't clear, there really should be
- * more of a description here...
+ * If the meaning of the '<em>Is Removed</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 Removed</em>' attribute.
* @see #setIsRemoved(boolean)
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage#getVehicleFeature_IsRemoved()
@@ -126,7 +125,9 @@ public interface VehicleFeature extends Feature {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#getDeviationAttributeSet <em>Deviation Attribute Set</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @param value the new value of the '<em>Deviation Attribute Set</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Deviation Attribute Set</em>' reference.
* @see #getDeviationAttributeSet()
* @generated
*/
@@ -135,7 +136,9 @@ public interface VehicleFeature extends Feature {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsCustomerVisible <em>Is Customer Visible</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Customer Visible</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Is Customer Visible</em>' attribute.
* @see #isIsCustomerVisible()
* @generated
*/
@@ -145,7 +148,9 @@ public interface VehicleFeature extends Feature {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsDesignVariabilityRationale <em>Is Design Variability Rationale</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @param value the new value of the '<em>Is Design Variability Rationale</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Is Design Variability Rationale</em>' attribute.
* @see #isIsDesignVariabilityRationale()
* @generated
*/
@@ -154,7 +159,9 @@ public interface VehicleFeature extends Feature {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsRemoved <em>Is Removed</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Removed</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Is Removed</em>' attribute.
* @see #isIsRemoved()
* @generated
*/
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingFactory.java
index e894ea07b50..3a016aaf198 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -20,6 +20,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.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage
* @generated
*/
@@ -28,6 +29,7 @@ public interface VehiclefeaturemodelingFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
VehiclefeaturemodelingFactory eINSTANCE = org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingFactoryImpl.init();
@@ -36,6 +38,7 @@ public interface VehiclefeaturemodelingFactory extends EFactory {
* Returns a new object of class '<em>Deviation Attribute Set</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Deviation Attribute Set</em>'.
* @generated
*/
@@ -45,6 +48,7 @@ public interface VehiclefeaturemodelingFactory extends EFactory {
* Returns a new object of class '<em>Vehicle Feature</em>'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @return a new object of class '<em>Vehicle Feature</em>'.
* @generated
*/
@@ -53,6 +57,7 @@ public interface VehiclefeaturemodelingFactory 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/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingPackage.java
index 68aa60da64b..2a7cd8935c6 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingPackage.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/VehiclefeaturemodelingPackage.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -48,9 +48,9 @@ import org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPack
* the development process: Functional Analysis Architecture, Functional Design Architecture, etc.
* The description of a Vehicle Feature Model must reflect in a non-ambiguous way the different
* models that must be developed.
- *
+ *
* Overview: This subprofile describes the VFM. <!-- end-model-doc -->
- *
+ *
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingFactory
* @model kind="package"
* @generated
@@ -66,6 +66,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -73,6 +74,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl <em>Deviation Attribute Set</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingPackageImpl#getDeviationAttributeSet()
* @generated
@@ -82,6 +84,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allow Change Attribute</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE = eINSTANCE.getDeviationAttributeSet_AllowChangeAttribute();
@@ -89,6 +92,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allow Change Cardinality</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY = eINSTANCE.getDeviationAttributeSet_AllowChangeCardinality();
@@ -97,6 +101,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The meta object literal for the '<em><b>Allow Change Description</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION = eINSTANCE.getDeviationAttributeSet_AllowChangeDescription();
@@ -104,6 +109,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allow Change Name</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME = eINSTANCE.getDeviationAttributeSet_AllowChangeName();
@@ -111,7 +117,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allow Move</b></em>' attribute feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE = eINSTANCE.getDeviationAttributeSet_AllowMove();
@@ -119,7 +125,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allow Reduction</b></em>' attribute feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION = eINSTANCE.getDeviationAttributeSet_AllowReduction();
@@ -127,6 +133,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allow Refinement</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT = eINSTANCE.getDeviationAttributeSet_AllowRefinement();
@@ -134,6 +141,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allow Regrouping</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING = eINSTANCE.getDeviationAttributeSet_AllowRegrouping();
@@ -141,7 +149,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Allow Removal</b></em>' attribute feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL = eINSTANCE.getDeviationAttributeSet_AllowRemoval();
@@ -149,7 +157,7 @@ public interface VehiclefeaturemodelingPackage 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 DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE = eINSTANCE.getDeviationAttributeSet_Base_DataType();
@@ -157,6 +165,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl <em>Vehicle Feature</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingPackageImpl#getVehicleFeature()
* @generated
@@ -166,6 +175,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Is Design Variability Rationale</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE = eINSTANCE.getVehicleFeature_IsDesignVariabilityRationale();
@@ -173,6 +183,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Is Customer Visible</b></em>' attribute feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE = eINSTANCE.getVehicleFeature_IsCustomerVisible();
@@ -180,7 +191,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Is Removed</b></em>' attribute feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute VEHICLE_FEATURE__IS_REMOVED = eINSTANCE.getVehicleFeature_IsRemoved();
@@ -188,6 +199,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '<em><b>Deviation Attribute Set</b></em>' reference feature.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference VEHICLE_FEATURE__DEVIATION_ATTRIBUTE_SET = eINSTANCE.getVehicleFeature_DeviationAttributeSet();
@@ -195,6 +207,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind <em>Deviation Permission Kind</em>}' enum.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingPackageImpl#getDeviationPermissionKind()
* @generated
@@ -206,6 +219,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "vehiclefeaturemodeling";
@@ -213,6 +227,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The package namespace URI.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Structure/VehicleFeatureModeling/1";
@@ -220,6 +235,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The package namespace name.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "VehicleFeatureModeling";
@@ -227,6 +243,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The singleton instance of the package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
VehiclefeaturemodelingPackage eINSTANCE = org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingPackageImpl.init();
@@ -234,6 +251,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl <em>Deviation Attribute Set</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingPackageImpl#getDeviationAttributeSet()
* @generated
@@ -244,6 +262,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -253,6 +272,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -262,6 +282,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -270,7 +291,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Allow Change Attribute</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -279,7 +300,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Allow Change Cardinality</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -289,6 +310,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Allow Change Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -298,6 +320,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Allow Change Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -307,6 +330,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Allow Move</b></em>' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -316,6 +340,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Allow Reduction</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -325,6 +350,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Allow Refinement</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -334,6 +360,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Allow Regrouping</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -343,6 +370,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Allow Removal</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -352,6 +380,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Data Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -360,7 +389,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The number of structural features of the '<em>Deviation Attribute Set</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -370,6 +399,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The number of operations of the '<em>Deviation Attribute Set</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -378,6 +408,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl <em>Vehicle Feature</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingPackageImpl#getVehicleFeature()
* @generated
@@ -388,6 +419,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -397,6 +429,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -406,6 +439,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Owned Comment</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -415,6 +449,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Packageable Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -423,7 +458,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Traceable Specification</b></em>' reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -432,7 +467,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Owned Relationship</b></em>' containment reference list. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -442,6 +477,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -451,6 +487,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Cardinality</b></em>' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -460,6 +497,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Required Binding Time</b></em>' reference.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -469,6 +507,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Actual Binding Time</b></em>' reference.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -478,6 +517,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Feature Parameter</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -487,6 +527,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Child Node</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -495,7 +536,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Is Design Variability Rationale</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -505,6 +546,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Customer Visible</b></em>' attribute.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -514,6 +556,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The feature id for the '<em><b>Is Removed</b></em>' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -522,7 +565,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The feature id for the '<em><b>Deviation Attribute Set</b></em>' containment reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -531,7 +574,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The number of structural features of the '<em>Vehicle Feature</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -541,6 +584,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* The number of operations of the '<em>Vehicle Feature</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -549,6 +593,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* The meta object id for the '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind <em>Deviation Permission Kind</em>}' enum.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingPackageImpl#getDeviationPermissionKind()
* @generated
@@ -558,6 +603,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet <em>Deviation Attribute Set</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Deviation Attribute Set</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet
* @generated
@@ -567,6 +613,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeAttribute <em>Allow Change Attribute</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Allow Change Attribute</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeAttribute()
* @see #getDeviationAttributeSet()
@@ -577,6 +624,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeCardinality <em>Allow Change Cardinality</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Allow Change Cardinality</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeCardinality()
* @see #getDeviationAttributeSet()
@@ -588,6 +636,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeDescription <em>Allow Change Description</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Allow Change Description</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeDescription()
* @see #getDeviationAttributeSet()
@@ -598,6 +647,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeName <em>Allow Change Name</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Allow Change Name</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowChangeName()
* @see #getDeviationAttributeSet()
@@ -608,6 +658,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowMove <em>Allow Move</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Allow Move</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowMove()
* @see #getDeviationAttributeSet()
@@ -618,6 +669,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowReduction <em>Allow Reduction</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Allow Reduction</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowReduction()
* @see #getDeviationAttributeSet()
@@ -628,6 +680,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRefinement <em>Allow Refinement</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Allow Refinement</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRefinement()
* @see #getDeviationAttributeSet()
@@ -638,6 +691,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRegrouping <em>Allow Regrouping</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Allow Regrouping</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRegrouping()
* @see #getDeviationAttributeSet()
@@ -648,6 +702,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRemoval <em>Allow Removal</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Allow Removal</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getAllowRemoval()
* @see #getDeviationAttributeSet()
@@ -659,6 +714,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#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.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet#getBase_DataType()
* @see #getDeviationAttributeSet()
@@ -669,6 +725,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for enum '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind <em>Deviation Permission Kind</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for enum '<em>Deviation Permission Kind</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.DeviationPermissionKind
* @generated
@@ -678,6 +735,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature <em>Vehicle Feature</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Vehicle Feature</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature
* @generated
@@ -687,6 +745,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#getDeviationAttributeSet <em>Deviation Attribute Set</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Deviation Attribute Set</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#getDeviationAttributeSet()
* @see #getVehicleFeature()
@@ -697,6 +756,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsCustomerVisible <em>Is Customer Visible</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Is Customer Visible</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsCustomerVisible()
* @see #getVehicleFeature()
@@ -707,6 +767,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsDesignVariabilityRationale <em>Is Design Variability Rationale</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Is Design Variability Rationale</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsDesignVariabilityRationale()
* @see #getVehicleFeature()
@@ -717,6 +778,7 @@ public interface VehiclefeaturemodelingPackage extends EPackage {
/**
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsRemoved <em>Is Removed</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Is Removed</em>'.
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeature#isIsRemoved()
* @see #getVehicleFeature()
@@ -728,6 +790,7 @@ public interface VehiclefeaturemodelingPackage 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/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/DeviationAttributeSetImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/DeviationAttributeSetImpl.java
index 871f9a2069a..c89113911e8 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/DeviationAttributeSetImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/DeviationAttributeSetImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,21 +27,20 @@ import org.eclipse.uml2.uml.DataType;
/**
- * <!-- begin-user-doc --> An implementation of the model object '
- * <em><b>Deviation Attribute Set</b></em>'. <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>Deviation Attribute Set</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowChangeAttribute <em>Allow Change Attribute</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowChangeCardinality <em>Allow Change Cardinality</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowChangeDescription <em>Allow Change Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowChangeName <em>Allow Change Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowMove <em>Allow Move</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowReduction <em>Allow Reduction</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowRefinement <em>Allow Refinement</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowRegrouping <em>Allow Regrouping</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowRemoval <em>Allow Removal</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getBase_DataType <em>Base Data Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowChangeAttribute <em>Allow Change Attribute</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowChangeCardinality <em>Allow Change Cardinality</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowChangeDescription <em>Allow Change Description</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowChangeName <em>Allow Change Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowMove <em>Allow Move</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowReduction <em>Allow Reduction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowRefinement <em>Allow Refinement</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowRegrouping <em>Allow Regrouping</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getAllowRemoval <em>Allow Removal</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.DeviationAttributeSetImpl#getBase_DataType <em>Base Data Type</em>}</li>
* </ul>
* </p>
*
@@ -52,6 +51,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The default value of the '{@link #getAllowChangeAttribute() <em>Allow Change Attribute</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowChangeAttribute()
* @generated
* @ordered
@@ -61,6 +61,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The cached value of the '{@link #getAllowChangeAttribute() <em>Allow Change Attribute</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowChangeAttribute()
* @generated
* @ordered
@@ -70,6 +71,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The default value of the '{@link #getAllowChangeCardinality() <em>Allow Change Cardinality</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowChangeCardinality()
* @generated
* @ordered
@@ -79,6 +81,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The cached value of the '{@link #getAllowChangeCardinality() <em>Allow Change Cardinality</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowChangeCardinality()
* @generated
* @ordered
@@ -89,6 +92,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
* The default value of the '{@link #getAllowChangeDescription() <em>Allow Change Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAllowChangeDescription()
* @generated
* @ordered
@@ -99,6 +103,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
* The cached value of the '{@link #getAllowChangeDescription() <em>Allow Change Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAllowChangeDescription()
* @generated
* @ordered
@@ -108,6 +113,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The default value of the '{@link #getAllowChangeName() <em>Allow Change Name</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowChangeName()
* @generated
* @ordered
@@ -117,6 +123,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The cached value of the '{@link #getAllowChangeName() <em>Allow Change Name</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowChangeName()
* @generated
* @ordered
@@ -126,7 +133,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The default value of the '{@link #getAllowMove() <em>Allow Move</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getAllowMove()
* @generated
* @ordered
@@ -136,7 +143,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The cached value of the '{@link #getAllowMove() <em>Allow Move</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getAllowMove()
* @generated
* @ordered
@@ -146,6 +153,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The default value of the '{@link #getAllowReduction() <em>Allow Reduction</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowReduction()
* @generated
* @ordered
@@ -155,6 +163,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The cached value of the '{@link #getAllowReduction() <em>Allow Reduction</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowReduction()
* @generated
* @ordered
@@ -164,6 +173,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The default value of the '{@link #getAllowRefinement() <em>Allow Refinement</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowRefinement()
* @generated
* @ordered
@@ -173,6 +183,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The cached value of the '{@link #getAllowRefinement() <em>Allow Refinement</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowRefinement()
* @generated
* @ordered
@@ -182,6 +193,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The default value of the '{@link #getAllowRegrouping() <em>Allow Regrouping</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowRegrouping()
* @generated
* @ordered
@@ -191,6 +203,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The cached value of the '{@link #getAllowRegrouping() <em>Allow Regrouping</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getAllowRegrouping()
* @generated
* @ordered
@@ -200,7 +213,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The default value of the '{@link #getAllowRemoval() <em>Allow Removal</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getAllowRemoval()
* @generated
* @ordered
@@ -210,7 +223,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* The cached value of the '{@link #getAllowRemoval() <em>Allow Removal</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #getAllowRemoval()
* @generated
* @ordered
@@ -221,6 +234,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
* 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
@@ -229,6 +243,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected DeviationAttributeSetImpl() {
@@ -237,110 +252,116 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE:
- return getAllowChangeAttribute();
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY:
- return getAllowChangeCardinality();
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION:
- return getAllowChangeDescription();
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME:
- return getAllowChangeName();
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE:
- return getAllowMove();
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION:
- return getAllowReduction();
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT:
- return getAllowRefinement();
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING:
- return getAllowRegrouping();
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL:
- return getAllowRemoval();
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE:
- if (resolve) return getBase_DataType();
- return basicGetBase_DataType();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE:
+ return getAllowChangeAttribute();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY:
+ return getAllowChangeCardinality();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION:
+ return getAllowChangeDescription();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME:
+ return getAllowChangeName();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE:
+ return getAllowMove();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION:
+ return getAllowReduction();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT:
+ return getAllowRefinement();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING:
+ return getAllowRegrouping();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL:
+ return getAllowRemoval();
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE:
+ if (resolve) {
+ return getBase_DataType();
+ }
+ return basicGetBase_DataType();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE:
- return allowChangeAttribute != ALLOW_CHANGE_ATTRIBUTE_EDEFAULT;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY:
- return allowChangeCardinality != ALLOW_CHANGE_CARDINALITY_EDEFAULT;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION:
- return allowChangeDescription != ALLOW_CHANGE_DESCRIPTION_EDEFAULT;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME:
- return allowChangeName != ALLOW_CHANGE_NAME_EDEFAULT;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE:
- return allowMove != ALLOW_MOVE_EDEFAULT;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION:
- return allowReduction != ALLOW_REDUCTION_EDEFAULT;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT:
- return allowRefinement != ALLOW_REFINEMENT_EDEFAULT;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING:
- return allowRegrouping != ALLOW_REGROUPING_EDEFAULT;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL:
- return allowRemoval != ALLOW_REMOVAL_EDEFAULT;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE:
- return base_DataType != null;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE:
+ return allowChangeAttribute != ALLOW_CHANGE_ATTRIBUTE_EDEFAULT;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY:
+ return allowChangeCardinality != ALLOW_CHANGE_CARDINALITY_EDEFAULT;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION:
+ return allowChangeDescription != ALLOW_CHANGE_DESCRIPTION_EDEFAULT;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME:
+ return allowChangeName != ALLOW_CHANGE_NAME_EDEFAULT;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE:
+ return allowMove != ALLOW_MOVE_EDEFAULT;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION:
+ return allowReduction != ALLOW_REDUCTION_EDEFAULT;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT:
+ return allowRefinement != ALLOW_REFINEMENT_EDEFAULT;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING:
+ return allowRegrouping != ALLOW_REGROUPING_EDEFAULT;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL:
+ return allowRemoval != ALLOW_REMOVAL_EDEFAULT;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE:
+ return base_DataType != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE:
- setAllowChangeAttribute((DeviationPermissionKind)newValue);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY:
- setAllowChangeCardinality((DeviationPermissionKind)newValue);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION:
- setAllowChangeDescription((DeviationPermissionKind)newValue);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME:
- setAllowChangeName((DeviationPermissionKind)newValue);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE:
- setAllowMove((DeviationPermissionKind)newValue);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION:
- setAllowReduction((DeviationPermissionKind)newValue);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT:
- setAllowRefinement((DeviationPermissionKind)newValue);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING:
- setAllowRegrouping((DeviationPermissionKind)newValue);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL:
- setAllowRemoval((DeviationPermissionKind)newValue);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE:
- setBase_DataType((DataType)newValue);
- return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE:
+ setAllowChangeAttribute((DeviationPermissionKind) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY:
+ setAllowChangeCardinality((DeviationPermissionKind) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION:
+ setAllowChangeDescription((DeviationPermissionKind) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME:
+ setAllowChangeName((DeviationPermissionKind) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE:
+ setAllowMove((DeviationPermissionKind) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION:
+ setAllowReduction((DeviationPermissionKind) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT:
+ setAllowRefinement((DeviationPermissionKind) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING:
+ setAllowRegrouping((DeviationPermissionKind) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL:
+ setAllowRemoval((DeviationPermissionKind) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE:
+ setBase_DataType((DataType) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -350,57 +371,62 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE:
- setAllowChangeAttribute(ALLOW_CHANGE_ATTRIBUTE_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY:
- setAllowChangeCardinality(ALLOW_CHANGE_CARDINALITY_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION:
- setAllowChangeDescription(ALLOW_CHANGE_DESCRIPTION_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME:
- setAllowChangeName(ALLOW_CHANGE_NAME_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE:
- setAllowMove(ALLOW_MOVE_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION:
- setAllowReduction(ALLOW_REDUCTION_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT:
- setAllowRefinement(ALLOW_REFINEMENT_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING:
- setAllowRegrouping(ALLOW_REGROUPING_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL:
- setAllowRemoval(ALLOW_REMOVAL_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE:
- setBase_DataType((DataType)null);
- return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE:
+ setAllowChangeAttribute(ALLOW_CHANGE_ATTRIBUTE_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY:
+ setAllowChangeCardinality(ALLOW_CHANGE_CARDINALITY_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION:
+ setAllowChangeDescription(ALLOW_CHANGE_DESCRIPTION_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME:
+ setAllowChangeName(ALLOW_CHANGE_NAME_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE:
+ setAllowMove(ALLOW_MOVE_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION:
+ setAllowReduction(ALLOW_REDUCTION_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT:
+ setAllowRefinement(ALLOW_REFINEMENT_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING:
+ setAllowRegrouping(ALLOW_REGROUPING_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL:
+ setAllowRemoval(ALLOW_REMOVAL_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE:
+ setBase_DataType((DataType) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationPermissionKind getAllowChangeAttribute() {
return allowChangeAttribute;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationPermissionKind getAllowChangeCardinality() {
return allowChangeCardinality;
}
@@ -408,172 +434,216 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationPermissionKind getAllowChangeDescription() {
return allowChangeDescription;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationPermissionKind getAllowChangeName() {
return allowChangeName;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationPermissionKind getAllowMove() {
return allowMove;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationPermissionKind getAllowReduction() {
return allowReduction;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationPermissionKind getAllowRefinement() {
return allowRefinement;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationPermissionKind getAllowRegrouping() {
return allowRegrouping;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationPermissionKind getAllowRemoval() {
return allowRemoval;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllowChangeAttribute(DeviationPermissionKind newAllowChangeAttribute) {
DeviationPermissionKind oldAllowChangeAttribute = allowChangeAttribute;
allowChangeAttribute = newAllowChangeAttribute == null ? ALLOW_CHANGE_ATTRIBUTE_EDEFAULT : newAllowChangeAttribute;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_ATTRIBUTE, oldAllowChangeAttribute, allowChangeAttribute));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllowChangeCardinality(DeviationPermissionKind newAllowChangeCardinality) {
DeviationPermissionKind oldAllowChangeCardinality = allowChangeCardinality;
allowChangeCardinality = newAllowChangeCardinality == null ? ALLOW_CHANGE_CARDINALITY_EDEFAULT : newAllowChangeCardinality;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_CARDINALITY, oldAllowChangeCardinality, allowChangeCardinality));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllowChangeDescription(DeviationPermissionKind newAllowChangeDescription) {
DeviationPermissionKind oldAllowChangeDescription = allowChangeDescription;
allowChangeDescription = newAllowChangeDescription == null ? ALLOW_CHANGE_DESCRIPTION_EDEFAULT : newAllowChangeDescription;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_DESCRIPTION, oldAllowChangeDescription, allowChangeDescription));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllowChangeName(DeviationPermissionKind newAllowChangeName) {
DeviationPermissionKind oldAllowChangeName = allowChangeName;
allowChangeName = newAllowChangeName == null ? ALLOW_CHANGE_NAME_EDEFAULT : newAllowChangeName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_CHANGE_NAME, oldAllowChangeName, allowChangeName));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllowMove(DeviationPermissionKind newAllowMove) {
DeviationPermissionKind oldAllowMove = allowMove;
allowMove = newAllowMove == null ? ALLOW_MOVE_EDEFAULT : newAllowMove;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_MOVE, oldAllowMove, allowMove));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllowReduction(DeviationPermissionKind newAllowReduction) {
DeviationPermissionKind oldAllowReduction = allowReduction;
allowReduction = newAllowReduction == null ? ALLOW_REDUCTION_EDEFAULT : newAllowReduction;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REDUCTION, oldAllowReduction, allowReduction));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllowRefinement(DeviationPermissionKind newAllowRefinement) {
DeviationPermissionKind oldAllowRefinement = allowRefinement;
allowRefinement = newAllowRefinement == null ? ALLOW_REFINEMENT_EDEFAULT : newAllowRefinement;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REFINEMENT, oldAllowRefinement, allowRefinement));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllowRegrouping(DeviationPermissionKind newAllowRegrouping) {
DeviationPermissionKind oldAllowRegrouping = allowRegrouping;
allowRegrouping = newAllowRegrouping == null ? ALLOW_REGROUPING_EDEFAULT : newAllowRegrouping;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REGROUPING, oldAllowRegrouping, allowRegrouping));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAllowRemoval(DeviationPermissionKind newAllowRemoval) {
DeviationPermissionKind oldAllowRemoval = allowRemoval;
allowRemoval = newAllowRemoval == null ? ALLOW_REMOVAL_EDEFAULT : newAllowRemoval;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__ALLOW_REMOVAL, oldAllowRemoval, allowRemoval));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DataType getBase_DataType() {
if (base_DataType != null && base_DataType.eIsProxy()) {
- InternalEObject oldBase_DataType = (InternalEObject)base_DataType;
- base_DataType = (DataType)eResolveProxy(oldBase_DataType);
+ InternalEObject oldBase_DataType = (InternalEObject) base_DataType;
+ base_DataType = (DataType) eResolveProxy(oldBase_DataType);
if (base_DataType != oldBase_DataType) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE, oldBase_DataType, base_DataType));
+ }
}
}
return base_DataType;
@@ -582,6 +652,7 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DataType basicGetBase_DataType() {
@@ -591,22 +662,28 @@ public class DeviationAttributeSetImpl extends EAElementImpl implements Deviatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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, VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET__BASE_DATA_TYPE, oldBase_DataType, base_DataType));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (allowChangeAttribute: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehicleFeatureImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehicleFeatureImpl.java
index 90269242a87..c5613e83225 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehicleFeatureImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehicleFeatureImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -35,10 +35,10 @@ import org.eclipse.uml2.uml.util.UMLUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl#isIsDesignVariabilityRationale <em>Is Design Variability Rationale</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl#isIsCustomerVisible <em>Is Customer Visible</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl#isIsRemoved <em>Is Removed</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl#getDeviationAttributeSet <em>Deviation Attribute Set</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl#isIsDesignVariabilityRationale <em>Is Design Variability Rationale</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl#isIsCustomerVisible <em>Is Customer Visible</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl#isIsRemoved <em>Is Removed</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehicleFeatureImpl#getDeviationAttributeSet <em>Deviation Attribute Set</em>}</li>
* </ul>
* </p>
*
@@ -50,6 +50,7 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
* The default value of the '{@link #isIsDesignVariabilityRationale() <em>Is Design Variability Rationale</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @see #isIsDesignVariabilityRationale()
* @generated
* @ordered
@@ -60,6 +61,7 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
* The cached value of the '{@link #isIsDesignVariabilityRationale() <em>Is Design Variability Rationale</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @see #isIsDesignVariabilityRationale()
* @generated
* @ordered
@@ -69,6 +71,7 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
/**
* The default value of the '{@link #isIsCustomerVisible() <em>Is Customer Visible</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isIsCustomerVisible()
* @generated
* @ordered
@@ -78,6 +81,7 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
/**
* The cached value of the '{@link #isIsCustomerVisible() <em>Is Customer Visible</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isIsCustomerVisible()
* @generated
* @ordered
@@ -87,7 +91,7 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
/**
* The default value of the '{@link #isIsRemoved() <em>Is Removed</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #isIsRemoved()
* @generated
* @ordered
@@ -97,7 +101,7 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
/**
* The cached value of the '{@link #isIsRemoved() <em>Is Removed</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see #isIsRemoved()
* @generated
* @ordered
@@ -106,6 +110,7 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected VehicleFeatureImpl() {
@@ -115,89 +120,97 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
public DeviationAttributeSet basicGetDeviationAttributeSet() {
DeviationAttributeSet adlDeviationAttributeSet = null;
if (getBase_NamedElement() != null) {
Iterator<Element> it = getBase_NamedElement().getOwnedElements().iterator();
-
+
while (it.hasNext()) {
Element element = it.next();
- adlDeviationAttributeSet = (DeviationAttributeSet )UMLUtil.getStereotypeApplication(element, DeviationAttributeSet.class);
- if (adlDeviationAttributeSet != null)
+ adlDeviationAttributeSet = UMLUtil.getStereotypeApplication(element, DeviationAttributeSet.class);
+ if (adlDeviationAttributeSet != null) {
return adlDeviationAttributeSet;
+ }
}
}
-
+
return adlDeviationAttributeSet;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE:
- return isIsDesignVariabilityRationale();
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE:
- return isIsCustomerVisible();
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_REMOVED:
- return isIsRemoved();
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__DEVIATION_ATTRIBUTE_SET:
- if (resolve) return getDeviationAttributeSet();
- return basicGetDeviationAttributeSet();
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE:
+ return isIsDesignVariabilityRationale();
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE:
+ return isIsCustomerVisible();
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_REMOVED:
+ return isIsRemoved();
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__DEVIATION_ATTRIBUTE_SET:
+ if (resolve) {
+ return getDeviationAttributeSet();
+ }
+ return basicGetDeviationAttributeSet();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE:
- return isDesignVariabilityRationale != IS_DESIGN_VARIABILITY_RATIONALE_EDEFAULT;
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE:
- return isCustomerVisible != IS_CUSTOMER_VISIBLE_EDEFAULT;
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_REMOVED:
- return isRemoved != IS_REMOVED_EDEFAULT;
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__DEVIATION_ATTRIBUTE_SET:
- return basicGetDeviationAttributeSet() != null;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE:
+ return isDesignVariabilityRationale != IS_DESIGN_VARIABILITY_RATIONALE_EDEFAULT;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE:
+ return isCustomerVisible != IS_CUSTOMER_VISIBLE_EDEFAULT;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_REMOVED:
+ return isRemoved != IS_REMOVED_EDEFAULT;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__DEVIATION_ATTRIBUTE_SET:
+ return basicGetDeviationAttributeSet() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-
+
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE:
- setIsDesignVariabilityRationale((Boolean)newValue);
- return;
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE:
- setIsCustomerVisible((Boolean)newValue);
- return;
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_REMOVED:
- setIsRemoved((Boolean)newValue);
- return;
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__DEVIATION_ATTRIBUTE_SET:
- setDeviationAttributeSet((DeviationAttributeSet)newValue);
- return;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE:
+ setIsDesignVariabilityRationale((Boolean) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE:
+ setIsCustomerVisible((Boolean) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_REMOVED:
+ setIsRemoved((Boolean) newValue);
+ return;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__DEVIATION_ATTRIBUTE_SET:
+ setDeviationAttributeSet((DeviationAttributeSet) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -207,64 +220,75 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE:
- setIsDesignVariabilityRationale(IS_DESIGN_VARIABILITY_RATIONALE_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE:
- setIsCustomerVisible(IS_CUSTOMER_VISIBLE_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_REMOVED:
- setIsRemoved(IS_REMOVED_EDEFAULT);
- return;
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__DEVIATION_ATTRIBUTE_SET:
- setDeviationAttributeSet((DeviationAttributeSet)null);
- return;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE:
+ setIsDesignVariabilityRationale(IS_DESIGN_VARIABILITY_RATIONALE_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE:
+ setIsCustomerVisible(IS_CUSTOMER_VISIBLE_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_REMOVED:
+ setIsRemoved(IS_REMOVED_EDEFAULT);
+ return;
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE__DEVIATION_ATTRIBUTE_SET:
+ setDeviationAttributeSet((DeviationAttributeSet) null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationAttributeSet getDeviationAttributeSet() {
DeviationAttributeSet deviationAttributeSet = basicGetDeviationAttributeSet();
- return deviationAttributeSet != null && deviationAttributeSet.eIsProxy() ? (DeviationAttributeSet)eResolveProxy((InternalEObject)deviationAttributeSet) : deviationAttributeSet;
+ return deviationAttributeSet != null && deviationAttributeSet.eIsProxy() ? (DeviationAttributeSet) eResolveProxy((InternalEObject) deviationAttributeSet) : deviationAttributeSet;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isIsCustomerVisible() {
return isCustomerVisible;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isIsDesignVariabilityRationale() {
return isDesignVariabilityRationale;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isIsRemoved() {
return isRemoved;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setDeviationAttributeSet(DeviationAttributeSet newDeviationAttributeSet) {
// TODO: implement this method to set the 'Deviation Attribute Set' reference
// Ensure that you remove @generated or mark it @generated NOT
@@ -273,44 +297,56 @@ public class VehicleFeatureImpl extends FeatureImpl implements VehicleFeature {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setIsCustomerVisible(boolean newIsCustomerVisible) {
boolean oldIsCustomerVisible = isCustomerVisible;
isCustomerVisible = newIsCustomerVisible;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_CUSTOMER_VISIBLE, oldIsCustomerVisible, isCustomerVisible));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setIsDesignVariabilityRationale(boolean newIsDesignVariabilityRationale) {
boolean oldIsDesignVariabilityRationale = isDesignVariabilityRationale;
isDesignVariabilityRationale = newIsDesignVariabilityRationale;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_DESIGN_VARIABILITY_RATIONALE, oldIsDesignVariabilityRationale, isDesignVariabilityRationale));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setIsRemoved(boolean newIsRemoved) {
boolean oldIsRemoved = isRemoved;
isRemoved = newIsRemoved;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, VehiclefeaturemodelingPackage.VEHICLE_FEATURE__IS_REMOVED, oldIsRemoved, isRemoved));
+ }
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isDesignVariabilityRationale: ");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingFactoryImpl.java
index 5d072303896..e08f1ab3c61 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,12 +30,14 @@ import org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.Vehiclefeatu
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class VehiclefeaturemodelingFactoryImpl extends EFactoryImpl implements VehiclefeaturemodelingFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -47,16 +49,16 @@ public class VehiclefeaturemodelingFactoryImpl extends EFactoryImpl implements V
/**
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static VehiclefeaturemodelingFactory init() {
try {
- VehiclefeaturemodelingFactory theVehiclefeaturemodelingFactory = (VehiclefeaturemodelingFactory)EPackage.Registry.INSTANCE.getEFactory(VehiclefeaturemodelingPackage.eNS_URI);
+ VehiclefeaturemodelingFactory theVehiclefeaturemodelingFactory = (VehiclefeaturemodelingFactory) EPackage.Registry.INSTANCE.getEFactory(VehiclefeaturemodelingPackage.eNS_URI);
if (theVehiclefeaturemodelingFactory != null) {
return theVehiclefeaturemodelingFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new VehiclefeaturemodelingFactoryImpl();
@@ -65,6 +67,7 @@ public class VehiclefeaturemodelingFactoryImpl extends EFactoryImpl implements V
/**
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public VehiclefeaturemodelingFactoryImpl() {
@@ -73,6 +76,7 @@ public class VehiclefeaturemodelingFactoryImpl extends EFactoryImpl implements V
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String convertDeviationPermissionKindToString(EDataType eDataType, Object instanceValue) {
@@ -81,36 +85,42 @@ public class VehiclefeaturemodelingFactoryImpl extends EFactoryImpl implements V
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
switch (eDataType.getClassifierID()) {
- case VehiclefeaturemodelingPackage.DEVIATION_PERMISSION_KIND:
- return convertDeviationPermissionKindToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case VehiclefeaturemodelingPackage.DEVIATION_PERMISSION_KIND:
+ return convertDeviationPermissionKindToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET: return createDeviationAttributeSet();
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE: return createVehicleFeature();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET:
+ return createDeviationAttributeSet();
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE:
+ return createVehicleFeature();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DeviationAttributeSet createDeviationAttributeSet() {
DeviationAttributeSetImpl deviationAttributeSet = new DeviationAttributeSetImpl();
return deviationAttributeSet;
@@ -118,32 +128,38 @@ public class VehiclefeaturemodelingFactoryImpl extends EFactoryImpl implements V
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public DeviationPermissionKind createDeviationPermissionKindFromString(EDataType eDataType, String initialValue) {
DeviationPermissionKind result = DeviationPermissionKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ 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
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
switch (eDataType.getClassifierID()) {
- case VehiclefeaturemodelingPackage.DEVIATION_PERMISSION_KIND:
- return createDeviationPermissionKindFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case VehiclefeaturemodelingPackage.DEVIATION_PERMISSION_KIND:
+ return createDeviationPermissionKindFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public VehicleFeature createVehicleFeature() {
VehicleFeatureImpl vehicleFeature = new VehicleFeatureImpl();
return vehicleFeature;
@@ -151,10 +167,12 @@ public class VehiclefeaturemodelingFactoryImpl extends EFactoryImpl implements V
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public VehiclefeaturemodelingPackage getVehiclefeaturemodelingPackage() {
- return (VehiclefeaturemodelingPackage)getEPackage();
+ return (VehiclefeaturemodelingPackage) getEPackage();
}
} // VehiclefeaturemodelingFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingPackageImpl.java
index 90a2257f650..1b3cf395f4d 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/impl/VehiclefeaturemodelingPackageImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -97,32 +97,38 @@ import org.eclipse.uml2.uml.UMLPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class VehiclefeaturemodelingPackageImpl extends EPackageImpl implements VehiclefeaturemodelingPackage {
/**
* <!-- 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 VehiclefeaturemodelingPackage#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 -->
*
- * <p>This method is used to initialize {@link VehiclefeaturemodelingPackage#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 VehiclefeaturemodelingPackage init() {
- if (isInited) return (VehiclefeaturemodelingPackage)EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI);
+ if (isInited) {
+ return (VehiclefeaturemodelingPackage) EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI);
+ }
// Obtain or create and register package
- VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new VehiclefeaturemodelingPackageImpl());
+ VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
+ : new VehiclefeaturemodelingPackageImpl());
isInited = true;
@@ -130,39 +136,67 @@ public class VehiclefeaturemodelingPackageImpl extends EPackageImpl implements V
SysmlPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
- VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) : VariabilityPackage.eINSTANCE);
- InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
- DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) : DatatypesPackage.eINSTANCE);
- UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
- ValuesPackageImpl theValuesPackage = (ValuesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
- ElementsPackageImpl theElementsPackage = (ElementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) : ElementsPackage.eINSTANCE);
- StructurePackageImpl theStructurePackage = (StructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) : StructurePackage.eINSTANCE);
- FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) : SafetycasePackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) : ErrormodelPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) : UsecasesPackage.eINSTANCE);
- VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
- org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) : BehaviorPackage.eINSTANCE);
- TimingPackageImpl theTimingPackage = (TimingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
- TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
- EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
- EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) : EnvironmentPackage.eINSTANCE);
- AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
- NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
- BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
- AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
- TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
- ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
- GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
+ EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
+ VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI)
+ : VariabilityPackage.eINSTANCE);
+ InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
+ DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI)
+ : DatatypesPackage.eINSTANCE);
+ UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
+ ValuesPackageImpl theValuesPackage = (ValuesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
+ ElementsPackageImpl theElementsPackage = (ElementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI)
+ : ElementsPackage.eINSTANCE);
+ StructurePackageImpl theStructurePackage = (StructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI)
+ : StructurePackage.eINSTANCE);
+ FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
+ FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
+ SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
+ HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
+ DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
+ SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
+ SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
+ SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI)
+ : SafetycasePackage.eINSTANCE);
+ ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI)
+ : ErrormodelPackage.eINSTANCE);
+ RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
+ : RequirementsPackage.eINSTANCE);
+ UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
+ : UsecasesPackage.eINSTANCE);
+ VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(VerificationvalidationPackage.eNS_URI) : VerificationvalidationPackage.eINSTANCE);
+ org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl) (EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
+ BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI)
+ : BehaviorPackage.eINSTANCE);
+ TimingPackageImpl theTimingPackage = (TimingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
+ TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
+ EventsPackageImpl theEventsPackage = (EventsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE);
+ EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI)
+ : EnvironmentPackage.eINSTANCE);
+ AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
+ NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
+ BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
+ AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(AttributequantificationconstraintPackage.eNS_URI) : AttributequantificationconstraintPackage.eINSTANCE);
+ TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
+ ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(ComputationconstraintPackage.eNS_URI) : ComputationconstraintPackage.eINSTANCE);
+ GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE
+ .getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
// Create package meta-data objects
theVehiclefeaturemodelingPackage.createPackageContents();
@@ -239,7 +273,7 @@ public class VehiclefeaturemodelingPackageImpl extends EPackageImpl implements V
// Mark meta-data to indicate it can't be changed
theVehiclefeaturemodelingPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(VehiclefeaturemodelingPackage.eNS_URI, theVehiclefeaturemodelingPackage);
return theVehiclefeaturemodelingPackage;
@@ -247,43 +281,45 @@ public class VehiclefeaturemodelingPackageImpl extends EPackageImpl implements V
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass deviationAttributeSetEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass vehicleFeatureEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum deviationPermissionKindEEnum = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage#eNS_URI
* @see #init()
@@ -294,13 +330,16 @@ public class VehiclefeaturemodelingPackageImpl extends EPackageImpl implements V
}
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents() {
- if (isCreated) return;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create classes and their features
@@ -328,158 +367,197 @@ public class VehiclefeaturemodelingPackageImpl extends EPackageImpl implements V
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getDeviationAttributeSet() {
return deviationAttributeSetEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDeviationAttributeSet_AllowChangeAttribute() {
- return (EAttribute)deviationAttributeSetEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) deviationAttributeSetEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDeviationAttributeSet_AllowChangeCardinality() {
- return (EAttribute)deviationAttributeSetEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) deviationAttributeSetEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDeviationAttributeSet_AllowChangeDescription() {
- return (EAttribute)deviationAttributeSetEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) deviationAttributeSetEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDeviationAttributeSet_AllowChangeName() {
- return (EAttribute)deviationAttributeSetEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) deviationAttributeSetEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDeviationAttributeSet_AllowMove() {
- return (EAttribute)deviationAttributeSetEClass.getEStructuralFeatures().get(4);
+ return (EAttribute) deviationAttributeSetEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDeviationAttributeSet_AllowReduction() {
- return (EAttribute)deviationAttributeSetEClass.getEStructuralFeatures().get(5);
+ return (EAttribute) deviationAttributeSetEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDeviationAttributeSet_AllowRefinement() {
- return (EAttribute)deviationAttributeSetEClass.getEStructuralFeatures().get(6);
+ return (EAttribute) deviationAttributeSetEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDeviationAttributeSet_AllowRegrouping() {
- return (EAttribute)deviationAttributeSetEClass.getEStructuralFeatures().get(7);
+ return (EAttribute) deviationAttributeSetEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDeviationAttributeSet_AllowRemoval() {
- return (EAttribute)deviationAttributeSetEClass.getEStructuralFeatures().get(8);
+ return (EAttribute) deviationAttributeSetEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getDeviationAttributeSet_Base_DataType() {
- return (EReference)deviationAttributeSetEClass.getEStructuralFeatures().get(9);
+ return (EReference) deviationAttributeSetEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EEnum getDeviationPermissionKind() {
return deviationPermissionKindEEnum;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getVehicleFeature() {
return vehicleFeatureEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getVehicleFeature_DeviationAttributeSet() {
- return (EReference)vehicleFeatureEClass.getEStructuralFeatures().get(3);
+ return (EReference) vehicleFeatureEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getVehicleFeature_IsCustomerVisible() {
- return (EAttribute)vehicleFeatureEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) vehicleFeatureEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getVehicleFeature_IsDesignVariabilityRationale() {
- return (EAttribute)vehicleFeatureEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) vehicleFeatureEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getVehicleFeature_IsRemoved() {
- return (EAttribute)vehicleFeatureEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) vehicleFeatureEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public VehiclefeaturemodelingFactory getVehiclefeaturemodelingFactory() {
- return (VehiclefeaturemodelingFactory)getEFactoryInstance();
+ return (VehiclefeaturemodelingFactory) getEFactoryInstance();
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) return;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -488,10 +566,10 @@ public class VehiclefeaturemodelingPackageImpl extends EPackageImpl implements V
setNsURI(eNS_URI);
// Obtain other dependent packages
- ElementsPackage theElementsPackage = (ElementsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- FeaturemodelingPackage theFeaturemodelingPackage = (FeaturemodelingPackage)EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI);
- TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ ElementsPackage theElementsPackage = (ElementsPackage) EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ FeaturemodelingPackage theFeaturemodelingPackage = (FeaturemodelingPackage) EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI);
+ TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
// Create type parameters
@@ -503,22 +581,32 @@ public class VehiclefeaturemodelingPackageImpl extends EPackageImpl implements V
// Initialize classes, features, and operations; add parameters
initEClass(deviationAttributeSetEClass, DeviationAttributeSet.class, "DeviationAttributeSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDeviationAttributeSet_AllowChangeAttribute(), this.getDeviationPermissionKind(), "allowChangeAttribute", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDeviationAttributeSet_AllowChangeCardinality(), this.getDeviationPermissionKind(), "allowChangeCardinality", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDeviationAttributeSet_AllowChangeDescription(), this.getDeviationPermissionKind(), "allowChangeDescription", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDeviationAttributeSet_AllowChangeName(), this.getDeviationPermissionKind(), "allowChangeName", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getDeviationAttributeSet_AllowChangeAttribute(), this.getDeviationPermissionKind(), "allowChangeAttribute", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getDeviationAttributeSet_AllowChangeCardinality(), this.getDeviationPermissionKind(), "allowChangeCardinality", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getDeviationAttributeSet_AllowChangeDescription(), this.getDeviationPermissionKind(), "allowChangeDescription", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getDeviationAttributeSet_AllowChangeName(), this.getDeviationPermissionKind(), "allowChangeName", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEAttribute(getDeviationAttributeSet_AllowMove(), this.getDeviationPermissionKind(), "allowMove", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDeviationAttributeSet_AllowReduction(), this.getDeviationPermissionKind(), "allowReduction", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDeviationAttributeSet_AllowRefinement(), this.getDeviationPermissionKind(), "allowRefinement", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDeviationAttributeSet_AllowRegrouping(), this.getDeviationPermissionKind(), "allowRegrouping", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getDeviationAttributeSet_AllowReduction(), this.getDeviationPermissionKind(), "allowReduction", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEAttribute(getDeviationAttributeSet_AllowRefinement(), this.getDeviationPermissionKind(), "allowRefinement", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEAttribute(getDeviationAttributeSet_AllowRegrouping(), this.getDeviationPermissionKind(), "allowRegrouping", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEAttribute(getDeviationAttributeSet_AllowRemoval(), this.getDeviationPermissionKind(), "allowRemoval", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getDeviationAttributeSet_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getDeviationAttributeSet_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 1, 1, DeviationAttributeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(vehicleFeatureEClass, VehicleFeature.class, "VehicleFeature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getVehicleFeature_IsDesignVariabilityRationale(), theTypesPackage.getBoolean(), "isDesignVariabilityRationale", null, 1, 1, VehicleFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getVehicleFeature_IsDesignVariabilityRationale(), theTypesPackage.getBoolean(), "isDesignVariabilityRationale", null, 1, 1, VehicleFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEAttribute(getVehicleFeature_IsCustomerVisible(), theTypesPackage.getBoolean(), "isCustomerVisible", null, 1, 1, VehicleFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getVehicleFeature_IsRemoved(), theTypesPackage.getBoolean(), "isRemoved", null, 1, 1, VehicleFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getVehicleFeature_DeviationAttributeSet(), this.getDeviationAttributeSet(), null, "deviationAttributeSet", null, 0, 1, VehicleFeature.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getVehicleFeature_DeviationAttributeSet(), this.getDeviationAttributeSet(), null, "deviationAttributeSet", null, 0, 1, VehicleFeature.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(deviationPermissionKindEEnum, DeviationPermissionKind.class, "DeviationPermissionKind");
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingAdapterFactory.java
index 0c592b92712..f25925d7f12 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingAdapterFactory.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,8 +30,8 @@ import org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.Vehiclefeatu
/**
- * <!-- 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 -->
+ * <!-- 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.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage
* @generated
*/
@@ -40,6 +40,7 @@ public class VehiclefeaturemodelingAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static VehiclefeaturemodelingPackage modelPackage;
@@ -48,46 +49,55 @@ public class VehiclefeaturemodelingAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
protected VehiclefeaturemodelingSwitch<Adapter> modelSwitch = new VehiclefeaturemodelingSwitch<Adapter>() {
- @Override
- public Adapter caseDeviationAttributeSet(DeviationAttributeSet object) {
- return createDeviationAttributeSetAdapter();
- }
- @Override
- public Adapter caseVehicleFeature(VehicleFeature object) {
- return createVehicleFeatureAdapter();
- }
- @Override
- public Adapter caseEAElement(EAElement object) {
- return createEAElementAdapter();
- }
- @Override
- public Adapter caseEAPackageableElement(EAPackageableElement object) {
- return createEAPackageableElementAdapter();
- }
- @Override
- public Adapter caseContext(Context object) {
- return createContextAdapter();
- }
- @Override
- public Adapter caseFeatureTreeNode(FeatureTreeNode object) {
- return createFeatureTreeNodeAdapter();
- }
- @Override
- public Adapter caseFeature(Feature object) {
- return createFeatureAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseDeviationAttributeSet(DeviationAttributeSet object) {
+ return createDeviationAttributeSetAdapter();
+ }
+
+ @Override
+ public Adapter caseVehicleFeature(VehicleFeature object) {
+ return createVehicleFeatureAdapter();
+ }
+
+ @Override
+ public Adapter caseEAElement(EAElement object) {
+ return createEAElementAdapter();
+ }
+
+ @Override
+ public Adapter caseEAPackageableElement(EAPackageableElement object) {
+ return createEAPackageableElementAdapter();
+ }
+
+ @Override
+ public Adapter caseContext(Context object) {
+ return createContextAdapter();
+ }
+
+ @Override
+ public Adapter caseFeatureTreeNode(FeatureTreeNode object) {
+ return createFeatureTreeNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseFeature(Feature object) {
+ return createFeatureAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public VehiclefeaturemodelingAdapterFactory() {
@@ -99,13 +109,15 @@ public class VehiclefeaturemodelingAdapterFactory extends AdapterFactoryImpl {
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param target the object to adapt.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -114,6 +126,7 @@ public class VehiclefeaturemodelingAdapterFactory 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.eastadl.infrastructure.elements.Context
* @generated
@@ -127,6 +140,7 @@ public class VehiclefeaturemodelingAdapterFactory 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.eastadl.structure.vehiclefeaturemodeling.DeviationAttributeSet
* @generated
@@ -139,6 +153,7 @@ public class VehiclefeaturemodelingAdapterFactory 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
*/
@@ -151,6 +166,7 @@ public class VehiclefeaturemodelingAdapterFactory 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.eastadl.structure.featuremodeling.Feature
* @generated
@@ -164,6 +180,7 @@ public class VehiclefeaturemodelingAdapterFactory 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.eastadl.structure.featuremodeling.FeatureTreeNode
* @generated
@@ -177,6 +194,7 @@ public class VehiclefeaturemodelingAdapterFactory 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.eastadl.structure.vehiclefeaturemodeling.VehicleFeature
* @generated
@@ -191,6 +209,7 @@ public class VehiclefeaturemodelingAdapterFactory 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.eastadl.infrastructure.elements.EAElement
* @generated
@@ -205,6 +224,7 @@ public class VehiclefeaturemodelingAdapterFactory 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.eastadl.infrastructure.elements.EAPackageableElement
* @generated
@@ -218,6 +238,7 @@ public class VehiclefeaturemodelingAdapterFactory 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
*/
@@ -227,7 +248,7 @@ public class VehiclefeaturemodelingAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceFactoryImpl.java
index 98854a8c2a6..f22d1caca4f 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceFactoryImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,6 +23,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.eastadl.structure.vehiclefeaturemodeling.util.VehiclefeaturemodelingResourceImpl
* @generated
*/
@@ -31,6 +32,7 @@ public class VehiclefeaturemodelingResourceFactoryImpl extends ResourceFactoryIm
/**
* Creates an instance of the resource factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public VehiclefeaturemodelingResourceFactoryImpl() {
@@ -40,6 +42,7 @@ public class VehiclefeaturemodelingResourceFactoryImpl extends ResourceFactoryIm
/**
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceImpl.java
index 41ff9c51197..9af02c9875c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingResourceImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -20,6 +20,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.eastadl.structure.vehiclefeaturemodeling.util.VehiclefeaturemodelingResourceFactoryImpl
* @generated
*/
@@ -28,7 +29,9 @@ public class VehiclefeaturemodelingResourceImpl extends XMLResourceImpl {
/**
* Creates an instance of the resource.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public VehiclefeaturemodelingResourceImpl(URI uri) {
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingSwitch.java
index e93f8cfeab9..f9c6ada3321 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingSwitch.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,6 +34,7 @@ import org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.Vehiclefeatu
* each class of the model, starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage
* @generated
*/
@@ -42,6 +43,7 @@ public class VehiclefeaturemodelingSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static VehiclefeaturemodelingPackage modelPackage;
@@ -49,6 +51,7 @@ public class VehiclefeaturemodelingSwitch<T> extends Switch<T> {
/**
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public VehiclefeaturemodelingSwitch() {
@@ -61,6 +64,7 @@ public class VehiclefeaturemodelingSwitch<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
@@ -76,7 +80,9 @@ public class VehiclefeaturemodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Context</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -89,7 +95,9 @@ public class VehiclefeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Deviation Attribute Set</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Deviation Attribute Set</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -102,7 +110,7 @@ public class VehiclefeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Feature</em>'. <!--
* begin-user-doc --> This implementation returns null; returning a non-null result will
* terminate the switch. <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature</em>'.
@@ -117,7 +125,9 @@ public class VehiclefeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Feature Tree Node</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature Tree Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -130,7 +140,9 @@ public class VehiclefeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Vehicle Feature</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Vehicle Feature</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -145,7 +157,9 @@ public class VehiclefeaturemodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -160,7 +174,9 @@ public class VehiclefeaturemodelingSwitch<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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Packageable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -173,7 +189,7 @@ public class VehiclefeaturemodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!--
* begin-user-doc --> This implementation returns null; returning a non-null result will
* terminate the switch, but this is the last case anyway. <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
@@ -188,31 +204,49 @@ public class VehiclefeaturemodelingSwitch<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 VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET: {
- DeviationAttributeSet deviationAttributeSet = (DeviationAttributeSet)theEObject;
- T result = caseDeviationAttributeSet(deviationAttributeSet);
- if (result == null) result = caseEAElement(deviationAttributeSet);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ case VehiclefeaturemodelingPackage.DEVIATION_ATTRIBUTE_SET: {
+ DeviationAttributeSet deviationAttributeSet = (DeviationAttributeSet) theEObject;
+ T result = caseDeviationAttributeSet(deviationAttributeSet);
+ if (result == null) {
+ result = caseEAElement(deviationAttributeSet);
}
- case VehiclefeaturemodelingPackage.VEHICLE_FEATURE: {
- VehicleFeature vehicleFeature = (VehicleFeature)theEObject;
- T result = caseVehicleFeature(vehicleFeature);
- if (result == null) result = caseFeature(vehicleFeature);
- if (result == null) result = caseFeatureTreeNode(vehicleFeature);
- if (result == null) result = caseContext(vehicleFeature);
- if (result == null) result = caseEAPackageableElement(vehicleFeature);
- if (result == null) result = caseEAElement(vehicleFeature);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- default: return defaultCase(theEObject);
+ return result;
+ }
+ case VehiclefeaturemodelingPackage.VEHICLE_FEATURE: {
+ VehicleFeature vehicleFeature = (VehicleFeature) theEObject;
+ T result = caseVehicleFeature(vehicleFeature);
+ if (result == null) {
+ result = caseFeature(vehicleFeature);
+ }
+ if (result == null) {
+ result = caseFeatureTreeNode(vehicleFeature);
+ }
+ if (result == null) {
+ result = caseContext(vehicleFeature);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(vehicleFeature);
+ }
+ if (result == null) {
+ result = caseEAElement(vehicleFeature);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingXMLProcessor.java
index f70b5abe61f..3e25e2e0b44 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingXMLProcessor.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/vehiclefeaturemodeling/util/VehiclefeaturemodelingXMLProcessor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,6 +27,7 @@ import org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.Vehiclefeatu
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
*/
public class VehiclefeaturemodelingXMLProcessor extends XMLProcessor {
@@ -34,6 +35,7 @@ public class VehiclefeaturemodelingXMLProcessor extends XMLProcessor {
/**
* Public constructor to instantiate the helper.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public VehiclefeaturemodelingXMLProcessor() {
@@ -44,6 +46,7 @@ public class VehiclefeaturemodelingXMLProcessor extends XMLProcessor {
/**
* Register for "*" and "xml" file extensions the VehiclefeaturemodelingResourceFactoryImpl factory.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override

Back to the top