From 395315b0d66ace8dbf6d575b2948fa3243115a3a Mon Sep 17 00:00:00 2001 From: Johannes Eder <eder@fortiss.org> Date: Fri, 3 Mar 2017 08:50:37 +0000 Subject: [PATCH] deleted RasperryPi1 and RaspberryPi2 --- .../trunk/plugin.xml | 50 - .../compose/RaspberryPi1CompositorBase.java | 61 - .../compose/RaspberryPi2CompositorBase.java | 61 - .../elements/RaspberryPi1Compositor.java | 47 - .../elements/RaspberryPi2Compositor.java | 47 - .../editor/RaspberryPi1StructureEditor.java | 47 - .../editor/RaspberryPi2StructureEditor.java | 47 - .../RaspberryPi1StructureEditorBinding.java | 47 - .../RaspberryPi2StructureEditorBinding.java | 47 - .../ui/prototypes/PrototypeProvider.java | 14 - .../trunk/META-INF/MANIFEST.MF | 3 + .../platform/raspberry/model/Actuator.java | 22 - .../platform/raspberry/model/ActuatorOut.java | 22 - .../af3/platform/raspberry/model/Bus.java | 19 - .../raspberry/model/BusMasterInterface.java | 21 - .../raspberry/model/BusMasterPort.java | 21 - .../af3/platform/raspberry/model/CANBus.java | 19 - .../model/CANBusMasterInterface.java | 21 - .../raspberry/model/CANBusMasterPort.java | 21 - .../af3/platform/raspberry/model/Core.java | 20 - .../raspberry/model/IBoardDomain.java | 30 - .../raspberry/model/IProcessorDomain.java | 30 - .../raspberry/model/ModelFactory.java | 177 -- .../raspberry/model/ModelPackage.java | 1913 ----------------- .../raspberry/model/RaspberryPi1.java | 20 - .../raspberry/model/RaspberryPi2.java | 20 - .../raspberry/model/RaspberryPi3.java | 20 - .../af3/platform/raspberry/model/Sensor.java | 22 - .../platform/raspberry/model/SensorIn.java | 22 - .../model/annotation/AnnotationFactory.java | 60 - .../model/annotation/AnnotationPackage.java | 366 ---- .../model/annotation/CoreAddress.java | 51 - .../raspberry/model/annotation/PAddress.java | 19 - .../model/annotation/PeripheralAddress.java | 51 - .../raspberry/model/annotation/PinNumber.java | 51 - .../impl/AnnotationFactoryImpl.java | 117 - .../impl/AnnotationPackageImpl.java | 264 --- .../annotation/impl/CoreAddressImpl.java | 431 ---- .../impl/PeripheralAddressImpl.java | 431 ---- .../model/annotation/impl/PinNumberImpl.java | 431 ---- .../util/AnnotationAdapterFactory.java | 253 --- .../annotation/util/AnnotationSwitch.java | 249 --- .../raspberry/model/impl/ActuatorImpl.java | 50 - .../raspberry/model/impl/ActuatorOutImpl.java | 50 - .../raspberry/model/impl/BusImpl.java | 50 - .../model/impl/BusMasterInterfaceImpl.java | 50 - .../model/impl/BusMasterPortImpl.java | 50 - .../raspberry/model/impl/CANBusImpl.java | 50 - .../model/impl/CANBusMasterInterfaceImpl.java | 50 - .../model/impl/CANBusMasterPortImpl.java | 50 - .../raspberry/model/impl/CoreImpl.java | 50 - .../model/impl/IBoardDomainImpl.java | 50 - .../model/impl/IProcessorDomainImpl.java | 50 - .../model/impl/ModelFactoryImpl.java | 260 --- .../model/impl/ModelPackageImpl.java | 571 ----- .../model/impl/RaspberryPi1Impl.java | 50 - .../model/impl/RaspberryPi2Impl.java | 50 - .../model/impl/RaspberryPi3Impl.java | 50 - .../raspberry/model/impl/SensorImpl.java | 50 - .../raspberry/model/impl/SensorInImpl.java | 50 - .../model/util/ModelAdapterFactory.java | 1060 --------- .../raspberry/model/util/ModelSwitch.java | 1270 ----------- .../trunk/model/raspberry.ecore | 2 - .../trunk/model/raspberry.genmodel | 2 - .../trunk/plugin.xml | 8 + .../executable/RaspberryPi1Executable.java | 40 - .../executable/RaspberryPi2Executable.java | 71 - .../RaspberryPi1ExecutableTransformation.java | 59 - .../RaspberryPi2ExecutableTransformation.java | 59 - .../utils/RaspberryModelElementFactory.java | 18 - 70 files changed, 11 insertions(+), 9894 deletions(-) delete mode 100644 org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/RaspberryPi1CompositorBase.java delete mode 100644 org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/RaspberryPi2CompositorBase.java delete mode 100644 org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/elements/RaspberryPi1Compositor.java delete mode 100644 org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/elements/RaspberryPi2Compositor.java delete mode 100644 org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/RaspberryPi1StructureEditor.java delete mode 100644 org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/RaspberryPi2StructureEditor.java delete mode 100644 org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/binding/RaspberryPi1StructureEditorBinding.java delete mode 100644 org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/binding/RaspberryPi2StructureEditorBinding.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Actuator.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ActuatorOut.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Bus.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/BusMasterInterface.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/BusMasterPort.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBus.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBusMasterInterface.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBusMasterPort.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Core.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/IBoardDomain.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/IProcessorDomain.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ModelFactory.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ModelPackage.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi1.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi2.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi3.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Sensor.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/SensorIn.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/AnnotationFactory.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/AnnotationPackage.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/CoreAddress.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PAddress.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PeripheralAddress.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PinNumber.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/AnnotationFactoryImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/AnnotationPackageImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/CoreAddressImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/PeripheralAddressImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/PinNumberImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/util/AnnotationAdapterFactory.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/util/AnnotationSwitch.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ActuatorImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ActuatorOutImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusMasterInterfaceImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusMasterPortImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusMasterInterfaceImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusMasterPortImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CoreImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/IBoardDomainImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/IProcessorDomainImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ModelFactoryImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ModelPackageImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi1Impl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi2Impl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi3Impl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/SensorImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/SensorInImpl.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/util/ModelAdapterFactory.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/util/ModelSwitch.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/executable/RaspberryPi1Executable.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/executable/RaspberryPi2Executable.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/transform/RaspberryPi1ExecutableTransformation.java delete mode 100644 org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/transform/RaspberryPi2ExecutableTransformation.java diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.xml b/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.xml index a1ce77da..a61736f6 100644 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.xml +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.xml @@ -16,18 +16,6 @@ </extension> <extension point="org.fortiss.tooling.kernel.modelElementCompositor"> - <modelElementCompositor - compositor="org.fortiss.af3.platform.raspberry.ui.compose.elements.RaspberryPi1Compositor"> - <modelElementClass - modelElementClass="org.fortiss.af3.platform.raspberry.model.RaspberryPi1"> - </modelElementClass> - </modelElementCompositor> - <modelElementCompositor - compositor="org.fortiss.af3.platform.raspberry.ui.compose.elements.RaspberryPi2Compositor"> - <modelElementClass - modelElementClass="org.fortiss.af3.platform.raspberry.model.RaspberryPi2"> - </modelElementClass> - </modelElementCompositor> <modelElementCompositor compositor="org.fortiss.af3.platform.raspberry.ui.compose.elements.RaspberryPi3Compositor"> <modelElementClass @@ -74,32 +62,6 @@ </modelElementClass> </target> </modelConnectionCompositor> - <modelConnectionCompositor - modelConnectionCompositor="org.fortiss.af3.platform.raspberry.ui.compose.connections.RaspberryPi1ToCANBusConnectionCompositor"> - <source> - <modelElementClass - modelElementClass="org.fortiss.af3.platform.raspberry.model.RaspberryPi1"> - </modelElementClass> - </source> - <target> - <modelElementClass - modelElementClass="org.fortiss.af3.platform.raspberry.model.CANBus"> - </modelElementClass> - </target> - </modelConnectionCompositor> - <modelConnectionCompositor - modelConnectionCompositor="org.fortiss.af3.platform.raspberry.ui.compose.connections.RaspberryPi2ToCANBusConnectionCompositor"> - <source> - <modelElementClass - modelElementClass="org.fortiss.af3.platform.raspberry.model.RaspberryPi2"> - </modelElementClass> - </source> - <target> - <modelElementClass - modelElementClass="org.fortiss.af3.platform.raspberry.model.CANBus"> - </modelElementClass> - </target> - </modelConnectionCompositor> <modelConnectionCompositor modelConnectionCompositor="org.fortiss.af3.platform.raspberry.ui.compose.connections.RaspberryPi3ToCANBusConnectionCompositor"> <source> @@ -122,18 +84,6 @@ modelElementClass="org.fortiss.af3.platform.raspberry.model.Core"> </modelElementClass> </modelEditorBinding> - <modelEditorBinding - binding="org.fortiss.af3.platform.raspberry.ui.editor.binding.RaspberryPi1StructureEditorBinding"> - <modelElementClass - modelElementClass="org.fortiss.af3.platform.raspberry.model.RaspberryPi1"> - </modelElementClass> - </modelEditorBinding> - <modelEditorBinding - binding="org.fortiss.af3.platform.raspberry.ui.editor.binding.RaspberryPi2StructureEditorBinding"> - <modelElementClass - modelElementClass="org.fortiss.af3.platform.raspberry.model.RaspberryPi2"> - </modelElementClass> - </modelEditorBinding> <modelEditorBinding binding="org.fortiss.af3.platform.raspberry.ui.editor.binding.RaspberryPi3StructureEditorBinding"> <modelElementClass diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/RaspberryPi1CompositorBase.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/RaspberryPi1CompositorBase.java deleted file mode 100644 index 83df5a76..00000000 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/RaspberryPi1CompositorBase.java +++ /dev/null @@ -1,61 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.ui.compose; - -import static org.fortiss.af3.platform.utils.PlatformArchitectureUtils.isMasterPort; -import static org.fortiss.af3.platform.utils.PlatformArchitectureUtils.isPlatformElement; - -import org.eclipse.emf.common.util.EList; -import org.fortiss.af3.platform.compose.base.hierarchical.elements.PlatformElementCompositorBase; -import org.fortiss.af3.platform.model.GenericPlatformUnit; -import org.fortiss.af3.platform.model.IArchitectureDomain; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public abstract class RaspberryPi1CompositorBase<T extends GenericPlatformUnit & IArchitectureDomain> - extends PlatformElementCompositorBase<T> { - - /** {@inheritDoc} */ - @Override - protected boolean canBeAddedAtCurrentLevel(IArchitectureDomain element) { - return isMasterPort(element); - } - - /** {@inheritDoc} */ - @Override - protected boolean canBeDroppedInto(IArchitectureDomain element) { - EList<Class<? extends IArchitectureDomain>> childDomains = - getPlatformCompositionRules().getAdmissibleChildDomains(getEditedObjectClass()); - if(childDomains.isEmpty()) { - return isPlatformElement(element); - } - for(Class<? extends IArchitectureDomain> domain : childDomains) { - if(domain.isAssignableFrom(element.getClass())) { - return isPlatformElement(element); - } - } - - return false; - } - -} diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/RaspberryPi2CompositorBase.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/RaspberryPi2CompositorBase.java deleted file mode 100644 index 9f215d62..00000000 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/RaspberryPi2CompositorBase.java +++ /dev/null @@ -1,61 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.ui.compose; - -import static org.fortiss.af3.platform.utils.PlatformArchitectureUtils.isMasterPort; -import static org.fortiss.af3.platform.utils.PlatformArchitectureUtils.isPlatformElement; - -import org.eclipse.emf.common.util.EList; -import org.fortiss.af3.platform.compose.base.hierarchical.elements.PlatformElementCompositorBase; -import org.fortiss.af3.platform.model.GenericPlatformUnit; -import org.fortiss.af3.platform.model.IArchitectureDomain; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public abstract class RaspberryPi2CompositorBase<T extends GenericPlatformUnit & IArchitectureDomain> - extends PlatformElementCompositorBase<T> { - - /** {@inheritDoc} */ - @Override - protected boolean canBeAddedAtCurrentLevel(IArchitectureDomain element) { - return isMasterPort(element); - } - - /** {@inheritDoc} */ - @Override - protected boolean canBeDroppedInto(IArchitectureDomain element) { - EList<Class<? extends IArchitectureDomain>> childDomains = - getPlatformCompositionRules().getAdmissibleChildDomains(getEditedObjectClass()); - if(childDomains.isEmpty()) { - return isPlatformElement(element); - } - for(Class<? extends IArchitectureDomain> domain : childDomains) { - if(domain.isAssignableFrom(element.getClass())) { - return isPlatformElement(element); - } - } - - return false; - } - -} diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/elements/RaspberryPi1Compositor.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/elements/RaspberryPi1Compositor.java deleted file mode 100644 index a26134a0..00000000 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/elements/RaspberryPi1Compositor.java +++ /dev/null @@ -1,47 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.ui.compose.elements; - -import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules; -import org.fortiss.af3.platform.model.IArchitectureDomain; -import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi1; -import org.fortiss.af3.platform.raspberry.ui.compose.RaspberryPi1CompositorBase; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi1Compositor extends RaspberryPi1CompositorBase<RaspberryPi1> { - - /** {@inheritDoc} */ - @Override - public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() { - return RaspberryPlatformHierarchicalCompositionRules.INSTANCE; - } - - /** {@inheritDoc} */ - @Override - protected Class<? extends IArchitectureDomain> getEditedObjectClass() { - return RaspberryPi1.class; - } - -} diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/elements/RaspberryPi2Compositor.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/elements/RaspberryPi2Compositor.java deleted file mode 100644 index db790331..00000000 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/compose/elements/RaspberryPi2Compositor.java +++ /dev/null @@ -1,47 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.ui.compose.elements; - -import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules; -import org.fortiss.af3.platform.model.IArchitectureDomain; -import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi2; -import org.fortiss.af3.platform.raspberry.ui.compose.RaspberryPi2CompositorBase; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi2Compositor extends RaspberryPi2CompositorBase<RaspberryPi2> { - - /** {@inheritDoc} */ - @Override - public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() { - return RaspberryPlatformHierarchicalCompositionRules.INSTANCE; - } - - /** {@inheritDoc} */ - @Override - protected Class<? extends IArchitectureDomain> getEditedObjectClass() { - return RaspberryPi2.class; - } - -} diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/RaspberryPi1StructureEditor.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/RaspberryPi1StructureEditor.java deleted file mode 100644 index b42c5302..00000000 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/RaspberryPi1StructureEditor.java +++ /dev/null @@ -1,47 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.ui.editor; - -import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules; -import org.fortiss.af3.platform.model.IArchitectureDomain; -import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi1; -import org.fortiss.af3.platform.ui.editor.PlatformComponentStructureEditorBase; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi1StructureEditor extends PlatformComponentStructureEditorBase<RaspberryPi1> { - - /** {@inheritDoc} */ - @Override - public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() { - return RaspberryPlatformHierarchicalCompositionRules.INSTANCE; - } - - /** {@inheritDoc} */ - @Override - protected Class<? extends IArchitectureDomain> getEditedObjectClass() { - return RaspberryPi1.class; - } - -} diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/RaspberryPi2StructureEditor.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/RaspberryPi2StructureEditor.java deleted file mode 100644 index c227c1e2..00000000 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/RaspberryPi2StructureEditor.java +++ /dev/null @@ -1,47 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.ui.editor; - -import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules; -import org.fortiss.af3.platform.model.IArchitectureDomain; -import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi2; -import org.fortiss.af3.platform.ui.editor.PlatformComponentStructureEditorBase; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi2StructureEditor extends PlatformComponentStructureEditorBase<RaspberryPi2> { - - /** {@inheritDoc} */ - @Override - public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() { - return RaspberryPlatformHierarchicalCompositionRules.INSTANCE; - } - - /** {@inheritDoc} */ - @Override - protected Class<? extends IArchitectureDomain> getEditedObjectClass() { - return RaspberryPi2.class; - } - -} diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/binding/RaspberryPi1StructureEditorBinding.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/binding/RaspberryPi1StructureEditorBinding.java deleted file mode 100644 index 485768eb..00000000 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/binding/RaspberryPi1StructureEditorBinding.java +++ /dev/null @@ -1,47 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.ui.editor.binding; - -import org.eclipse.ui.IEditorPart; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi1; -import org.fortiss.af3.platform.raspberry.ui.editor.RaspberryPi1StructureEditor; -import org.fortiss.af3.platform.ui.editor.PlatformComponentStructureEditorBindingBase; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi1StructureEditorBinding extends - PlatformComponentStructureEditorBindingBase<RaspberryPi1> { - - /** {@inheritDoc} */ - @Override - public Class<? extends IEditorPart> getEditorClass(RaspberryPi1 raspberryPi1) { - return RaspberryPi1StructureEditor.class; - } - - /** {@inheritDoc} */ - @Override - public String getLabel(RaspberryPi1 raspberryPi1) { - return "RPi1 Structure"; - } - -} diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/binding/RaspberryPi2StructureEditorBinding.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/binding/RaspberryPi2StructureEditorBinding.java deleted file mode 100644 index 30214847..00000000 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/editor/binding/RaspberryPi2StructureEditorBinding.java +++ /dev/null @@ -1,47 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.ui.editor.binding; - -import org.eclipse.ui.IEditorPart; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi2; -import org.fortiss.af3.platform.raspberry.ui.editor.RaspberryPi2StructureEditor; -import org.fortiss.af3.platform.ui.editor.PlatformComponentStructureEditorBindingBase; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi2StructureEditorBinding extends - PlatformComponentStructureEditorBindingBase<RaspberryPi2> { - - /** {@inheritDoc} */ - @Override - public Class<? extends IEditorPart> getEditorClass(RaspberryPi2 raspberryPi2) { - return RaspberryPi2StructureEditor.class; - } - - /** {@inheritDoc} */ - @Override - public String getLabel(RaspberryPi2 raspberryPi2) { - return "RPi2 Structure"; - } - -} diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/prototypes/PrototypeProvider.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/prototypes/PrototypeProvider.java index 9b9cdb9e..ecc02d59 100644 --- a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/prototypes/PrototypeProvider.java +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/prototypes/PrototypeProvider.java @@ -26,8 +26,6 @@ import static org.fortiss.af3.platform.raspberry.utils.RaspberryModelElementFact import static org.fortiss.af3.platform.raspberry.utils.RaspberryModelElementFactory.createCANBusMasterInterface; import static org.fortiss.af3.platform.raspberry.utils.RaspberryModelElementFactory.createCANBusMasterPort; import static org.fortiss.af3.platform.raspberry.utils.RaspberryModelElementFactory.createCore; -import static org.fortiss.af3.platform.raspberry.utils.RaspberryModelElementFactory.createRaspberryPi1; -import static org.fortiss.af3.platform.raspberry.utils.RaspberryModelElementFactory.createRaspberryPi2; import static org.fortiss.af3.platform.raspberry.utils.RaspberryModelElementFactory.createRaspberryPi3; import static org.fortiss.af3.platform.raspberry.utils.RaspberryModelElementFactory.createSensor; import static org.fortiss.af3.platform.raspberry.utils.RaspberryModelElementFactory.createSensorIn; @@ -43,8 +41,6 @@ import org.fortiss.af3.platform.raspberry.model.CANBus; import org.fortiss.af3.platform.raspberry.model.CANBusMasterInterface; import org.fortiss.af3.platform.raspberry.model.CANBusMasterPort; import org.fortiss.af3.platform.raspberry.model.Core; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi1; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi2; import org.fortiss.af3.platform.raspberry.model.RaspberryPi3; import org.fortiss.af3.platform.raspberry.model.Sensor; import org.fortiss.af3.platform.raspberry.model.SensorIn; @@ -118,16 +114,6 @@ public class PrototypeProvider extends PrototypeProviderBase { setConnectorPosition(core, 0, 0); registerPrototype("Core", core, CATEGORY_NAME); - RaspberryPi1 raspberryPi1 = createRaspberryPi1("RaspberryPi1"); - setNodePosition(raspberryPi1, 0, 0); - setConnectorPosition(raspberryPi1, 0, 0); - registerPrototype("RaspberryPi1", raspberryPi1, CATEGORY_NAME); - - RaspberryPi2 raspberryPi2 = createRaspberryPi2("RaspberryPi2"); - setNodePosition(raspberryPi2, 0, 0); - setConnectorPosition(raspberryPi2, 0, 0); - registerPrototype("RaspberryPi2", raspberryPi2, CATEGORY_NAME); - RaspberryPi3 raspberryPi3 = createRaspberryPi3("RaspberryPi3"); setNodePosition(raspberryPi3, 0, 0); setConnectorPosition(raspberryPi3, 0, 0); diff --git a/org.fortiss.af3.platform.raspberry/trunk/META-INF/MANIFEST.MF b/org.fortiss.af3.platform.raspberry/trunk/META-INF/MANIFEST.MF index b43d25cf..5d41ba74 100644 --- a/org.fortiss.af3.platform.raspberry/trunk/META-INF/MANIFEST.MF +++ b/org.fortiss.af3.platform.raspberry/trunk/META-INF/MANIFEST.MF @@ -23,6 +23,9 @@ Require-Bundle: org.fortiss.af3.project, org.fortiss.af3.analyses Export-Package: org.fortiss.af3.platform.raspberry.compositor, org.fortiss.af3.platform.raspberry.model, + org.fortiss.af3.platform.raspberry.model.annotation, + org.fortiss.af3.platform.raspberry.model.annotation.impl, + org.fortiss.af3.platform.raspberry.model.annotation.util, org.fortiss.af3.platform.raspberry.model.impl, org.fortiss.af3.platform.raspberry.model.util, org.fortiss.af3.platform.raspberry.utils diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Actuator.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Actuator.java deleted file mode 100644 index 198046e4..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Actuator.java +++ /dev/null @@ -1,22 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.IPlatformIOResource; -import org.fortiss.af3.platform.model.IPlatformPort; -import org.fortiss.af3.platform.model.Transmitter; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Actuator</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getActuator() - * @model - * @generated - */ -public interface Actuator extends Transmitter, IBoardPlatformArchitectureElement, ICommunicationMaster, IBoardDomain, IPlatformPort, IPlatformIOResource { -} // Actuator diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ActuatorOut.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ActuatorOut.java deleted file mode 100644 index fb59d4d3..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ActuatorOut.java +++ /dev/null @@ -1,22 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPlatformIOResource; -import org.fortiss.af3.platform.model.IPlatformPort; -import org.fortiss.af3.platform.model.Transmitter; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Actuator Out</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getActuatorOut() - * @model - * @generated - */ -public interface ActuatorOut extends Transmitter, IIpCorePlatformArchitectureElement, ICommunicationMaster, IProcessorDomain, IPlatformPort, IPlatformIOResource { -} // ActuatorOut diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Bus.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Bus.java deleted file mode 100644 index 0ccae99f..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Bus.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement; -import org.fortiss.af3.platform.model.TransmissionUnit; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Bus</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getBus() - * @model - * @generated - */ -public interface Bus extends TransmissionUnit, IIpCorePlatformArchitectureElement, IProcessorDomain { -} // Bus diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/BusMasterInterface.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/BusMasterInterface.java deleted file mode 100644 index 0ac98be1..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/BusMasterInterface.java +++ /dev/null @@ -1,21 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPlatformInterface; -import org.fortiss.af3.platform.model.Transceiver; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Bus Master Interface</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getBusMasterInterface() - * @model - * @generated - */ -public interface BusMasterInterface extends Transceiver, IIpCorePlatformArchitectureElement, IPlatformInterface, ICommunicationMaster, IProcessorDomain { -} // BusMasterInterface diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/BusMasterPort.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/BusMasterPort.java deleted file mode 100644 index ff152989..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/BusMasterPort.java +++ /dev/null @@ -1,21 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPlatformPort; -import org.fortiss.af3.platform.model.Transceiver; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Bus Master Port</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getBusMasterPort() - * @model - * @generated - */ -public interface BusMasterPort extends Transceiver, IIpCorePlatformArchitectureElement, IPlatformPort, ICommunicationMaster, IProcessorDomain { -} // BusMasterPort diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBus.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBus.java deleted file mode 100644 index a20cd83e..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBus.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.TransmissionUnit; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>CAN Bus</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getCANBus() - * @model - * @generated - */ -public interface CANBus extends TransmissionUnit, IBoardPlatformArchitectureElement, IBoardDomain { -} // CANBus diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBusMasterInterface.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBusMasterInterface.java deleted file mode 100644 index 659427d2..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBusMasterInterface.java +++ /dev/null @@ -1,21 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.IPlatformInterface; -import org.fortiss.af3.platform.model.Transceiver; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>CAN Bus Master Interface</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getCANBusMasterInterface() - * @model - * @generated - */ -public interface CANBusMasterInterface extends Transceiver, IBoardPlatformArchitectureElement, IPlatformInterface, ICommunicationMaster, IBoardDomain { -} // CANBusMasterInterface diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBusMasterPort.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBusMasterPort.java deleted file mode 100644 index 07bcd104..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/CANBusMasterPort.java +++ /dev/null @@ -1,21 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.IPlatformPort; -import org.fortiss.af3.platform.model.Transceiver; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>CAN Bus Master Port</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getCANBusMasterPort() - * @model - * @generated - */ -public interface CANBusMasterPort extends Transceiver, IBoardPlatformArchitectureElement, IPlatformPort, ICommunicationMaster, IBoardDomain { -} // CANBusMasterPort diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Core.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Core.java deleted file mode 100644 index a24a483a..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Core.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.ExecutionUnit; -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Core</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getCore() - * @model - * @generated - */ -public interface Core extends ExecutionUnit, ICommunicationMaster, IIpCorePlatformArchitectureElement, IProcessorDomain { -} // Core diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/IBoardDomain.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/IBoardDomain.java deleted file mode 100644 index d0c12d0e..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/IBoardDomain.java +++ /dev/null @@ -1,30 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.IArchitectureDomain; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>IBoard Domain</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getIBoardDomain() - * @model - * @generated - */ -public interface IBoardDomain extends IArchitectureDomain { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Returns the architecture domain's name. - * <!-- end-model-doc --> - * @model kind="operation" required="true" - * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \"Board\";'" - * @generated - */ - String getArchitectureDomainName(); - -} // IBoardDomain diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/IProcessorDomain.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/IProcessorDomain.java deleted file mode 100644 index 10399d16..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/IProcessorDomain.java +++ /dev/null @@ -1,30 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.IArchitectureDomain; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>IProcessor Domain</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getIProcessorDomain() - * @model - * @generated - */ -public interface IProcessorDomain extends IArchitectureDomain { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Returns the architecture domain's name. - * <!-- end-model-doc --> - * @model kind="operation" required="true" - * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \"Processor\";'" - * @generated - */ - String getArchitectureDomainName(); - -} // IProcessorDomain diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ModelFactory.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ModelFactory.java deleted file mode 100644 index 9a3e115b..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ModelFactory.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -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.fortiss.af3.platform.raspberry.model.ModelPackage - * @generated - */ -public interface ModelFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - ModelFactory eINSTANCE = org.fortiss.af3.platform.raspberry.model.impl.ModelFactoryImpl.init(); - - /** - * Returns a new object of class '<em>CAN Bus</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>CAN Bus</em>'. - * @generated - */ - CANBus createCANBus(); - - /** - * Returns a new object of class '<em>IProcessor Domain</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>IProcessor Domain</em>'. - * @generated - */ - IProcessorDomain createIProcessorDomain(); - - /** - * Returns a new object of class '<em>IBoard Domain</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>IBoard Domain</em>'. - * @generated - */ - IBoardDomain createIBoardDomain(); - - /** - * Returns a new object of class '<em>Raspberry Pi1</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Raspberry Pi1</em>'. - * @generated - */ - RaspberryPi1 createRaspberryPi1(); - - /** - * Returns a new object of class '<em>Raspberry Pi2</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Raspberry Pi2</em>'. - * @generated - */ - RaspberryPi2 createRaspberryPi2(); - - /** - * Returns a new object of class '<em>Raspberry Pi3</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Raspberry Pi3</em>'. - * @generated - */ - RaspberryPi3 createRaspberryPi3(); - - /** - * Returns a new object of class '<em>Core</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Core</em>'. - * @generated - */ - Core createCore(); - - /** - * Returns a new object of class '<em>Bus</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Bus</em>'. - * @generated - */ - Bus createBus(); - - /** - * 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 - */ - Sensor createSensor(); - - /** - * 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 - */ - Actuator createActuator(); - - /** - * Returns a new object of class '<em>Sensor In</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Sensor In</em>'. - * @generated - */ - SensorIn createSensorIn(); - - /** - * Returns a new object of class '<em>Actuator Out</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Actuator Out</em>'. - * @generated - */ - ActuatorOut createActuatorOut(); - - /** - * Returns a new object of class '<em>Bus Master Interface</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Bus Master Interface</em>'. - * @generated - */ - BusMasterInterface createBusMasterInterface(); - - /** - * Returns a new object of class '<em>Bus Master Port</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Bus Master Port</em>'. - * @generated - */ - BusMasterPort createBusMasterPort(); - - /** - * Returns a new object of class '<em>CAN Bus Master Port</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>CAN Bus Master Port</em>'. - * @generated - */ - CANBusMasterPort createCANBusMasterPort(); - - /** - * Returns a new object of class '<em>CAN Bus Master Interface</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>CAN Bus Master Interface</em>'. - * @generated - */ - CANBusMasterInterface createCANBusMasterInterface(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - ModelPackage getModelPackage(); - -} //ModelFactory diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ModelPackage.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ModelPackage.java deleted file mode 100644 index 35d095eb..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/ModelPackage.java +++ /dev/null @@ -1,1913 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; - -import org.fortiss.af3.platform.model.AF3PlatformPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.ModelFactory - * @model kind="package" - * @generated - */ -public interface ModelPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "model"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.fortiss.org/af3/platform/raspberry"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "org-fortiss-af3-platform-raspberry"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - ModelPackage eINSTANCE = org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl.init(); - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.CANBusImpl <em>CAN Bus</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.CANBusImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getCANBus() - * @generated - */ - int CAN_BUS = 0; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__ID = AF3PlatformPackage.TRANSMISSION_UNIT__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__NAME = AF3PlatformPackage.TRANSMISSION_UNIT__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__COMMENT = AF3PlatformPackage.TRANSMISSION_UNIT__COMMENT; - - /** - * The feature id for the '<em><b>Contained Elements</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__CONTAINED_ELEMENTS = AF3PlatformPackage.TRANSMISSION_UNIT__CONTAINED_ELEMENTS; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__SPECIFICATIONS = AF3PlatformPackage.TRANSMISSION_UNIT__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__REFERENCED_BY = AF3PlatformPackage.TRANSMISSION_UNIT__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Connections</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__CONNECTIONS = AF3PlatformPackage.TRANSMISSION_UNIT__CONNECTIONS; - - /** - * The feature id for the '<em><b>Connectors</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__CONNECTORS = AF3PlatformPackage.TRANSMISSION_UNIT__CONNECTORS; - - /** - * The feature id for the '<em><b>Container</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__CONTAINER = AF3PlatformPackage.TRANSMISSION_UNIT__CONTAINER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__LAYOUT_DATA = AF3PlatformPackage.TRANSMISSION_UNIT__LAYOUT_DATA; - - /** - * The feature id for the '<em><b>Capacity</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS__CAPACITY = AF3PlatformPackage.TRANSMISSION_UNIT__CAPACITY; - - /** - * The number of structural features of the '<em>CAN Bus</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_FEATURE_COUNT = AF3PlatformPackage.TRANSMISSION_UNIT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.IProcessorDomainImpl <em>IProcessor Domain</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.IProcessorDomainImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getIProcessorDomain() - * @generated - */ - int IPROCESSOR_DOMAIN = 1; - - /** - * The number of structural features of the '<em>IProcessor Domain</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IPROCESSOR_DOMAIN_FEATURE_COUNT = AF3PlatformPackage.IARCHITECTURE_DOMAIN_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.IBoardDomainImpl <em>IBoard Domain</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.IBoardDomainImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getIBoardDomain() - * @generated - */ - int IBOARD_DOMAIN = 2; - - /** - * The number of structural features of the '<em>IBoard Domain</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IBOARD_DOMAIN_FEATURE_COUNT = AF3PlatformPackage.IARCHITECTURE_DOMAIN_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi1Impl <em>Raspberry Pi1</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi1Impl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getRaspberryPi1() - * @generated - */ - int RASPBERRY_PI1 = 3; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__ID = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__NAME = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__COMMENT = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__COMMENT; - - /** - * The feature id for the '<em><b>Contained Elements</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__CONTAINED_ELEMENTS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONTAINED_ELEMENTS; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__SPECIFICATIONS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__REFERENCED_BY = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Connections</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__CONNECTIONS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONNECTIONS; - - /** - * The feature id for the '<em><b>Connectors</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__CONNECTORS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONNECTORS; - - /** - * The feature id for the '<em><b>Container</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__CONTAINER = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONTAINER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1__LAYOUT_DATA = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Raspberry Pi1</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI1_FEATURE_COUNT = AF3PlatformPackage.GENERIC_PLATFORM_UNIT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi2Impl <em>Raspberry Pi2</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi2Impl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getRaspberryPi2() - * @generated - */ - int RASPBERRY_PI2 = 4; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__ID = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__NAME = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__COMMENT = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__COMMENT; - - /** - * The feature id for the '<em><b>Contained Elements</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__CONTAINED_ELEMENTS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONTAINED_ELEMENTS; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__SPECIFICATIONS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__REFERENCED_BY = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Connections</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__CONNECTIONS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONNECTIONS; - - /** - * The feature id for the '<em><b>Connectors</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__CONNECTORS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONNECTORS; - - /** - * The feature id for the '<em><b>Container</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__CONTAINER = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONTAINER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2__LAYOUT_DATA = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Raspberry Pi2</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI2_FEATURE_COUNT = AF3PlatformPackage.GENERIC_PLATFORM_UNIT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi3Impl <em>Raspberry Pi3</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi3Impl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getRaspberryPi3() - * @generated - */ - int RASPBERRY_PI3 = 5; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__ID = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__NAME = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__COMMENT = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__COMMENT; - - /** - * The feature id for the '<em><b>Contained Elements</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__CONTAINED_ELEMENTS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONTAINED_ELEMENTS; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__SPECIFICATIONS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__REFERENCED_BY = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Connections</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__CONNECTIONS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONNECTIONS; - - /** - * The feature id for the '<em><b>Connectors</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__CONNECTORS = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONNECTORS; - - /** - * The feature id for the '<em><b>Container</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__CONTAINER = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__CONTAINER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3__LAYOUT_DATA = AF3PlatformPackage.GENERIC_PLATFORM_UNIT__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Raspberry Pi3</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RASPBERRY_PI3_FEATURE_COUNT = AF3PlatformPackage.GENERIC_PLATFORM_UNIT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.CoreImpl <em>Core</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.CoreImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getCore() - * @generated - */ - int CORE = 6; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__ID = AF3PlatformPackage.EXECUTION_UNIT__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__NAME = AF3PlatformPackage.EXECUTION_UNIT__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__COMMENT = AF3PlatformPackage.EXECUTION_UNIT__COMMENT; - - /** - * The feature id for the '<em><b>Contained Elements</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__CONTAINED_ELEMENTS = AF3PlatformPackage.EXECUTION_UNIT__CONTAINED_ELEMENTS; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__SPECIFICATIONS = AF3PlatformPackage.EXECUTION_UNIT__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__REFERENCED_BY = AF3PlatformPackage.EXECUTION_UNIT__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Connections</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__CONNECTIONS = AF3PlatformPackage.EXECUTION_UNIT__CONNECTIONS; - - /** - * The feature id for the '<em><b>Connectors</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__CONNECTORS = AF3PlatformPackage.EXECUTION_UNIT__CONNECTORS; - - /** - * The feature id for the '<em><b>Container</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__CONTAINER = AF3PlatformPackage.EXECUTION_UNIT__CONTAINER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE__LAYOUT_DATA = AF3PlatformPackage.EXECUTION_UNIT__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Core</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE_FEATURE_COUNT = AF3PlatformPackage.EXECUTION_UNIT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.BusImpl <em>Bus</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.BusImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getBus() - * @generated - */ - int BUS = 7; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__ID = AF3PlatformPackage.TRANSMISSION_UNIT__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__NAME = AF3PlatformPackage.TRANSMISSION_UNIT__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__COMMENT = AF3PlatformPackage.TRANSMISSION_UNIT__COMMENT; - - /** - * The feature id for the '<em><b>Contained Elements</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__CONTAINED_ELEMENTS = AF3PlatformPackage.TRANSMISSION_UNIT__CONTAINED_ELEMENTS; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__SPECIFICATIONS = AF3PlatformPackage.TRANSMISSION_UNIT__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__REFERENCED_BY = AF3PlatformPackage.TRANSMISSION_UNIT__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Connections</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__CONNECTIONS = AF3PlatformPackage.TRANSMISSION_UNIT__CONNECTIONS; - - /** - * The feature id for the '<em><b>Connectors</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__CONNECTORS = AF3PlatformPackage.TRANSMISSION_UNIT__CONNECTORS; - - /** - * The feature id for the '<em><b>Container</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__CONTAINER = AF3PlatformPackage.TRANSMISSION_UNIT__CONTAINER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__LAYOUT_DATA = AF3PlatformPackage.TRANSMISSION_UNIT__LAYOUT_DATA; - - /** - * The feature id for the '<em><b>Capacity</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS__CAPACITY = AF3PlatformPackage.TRANSMISSION_UNIT__CAPACITY; - - /** - * The number of structural features of the '<em>Bus</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_FEATURE_COUNT = AF3PlatformPackage.TRANSMISSION_UNIT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.SensorImpl <em>Sensor</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.SensorImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getSensor() - * @generated - */ - int SENSOR = 8; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR__ID = AF3PlatformPackage.RECEIVER__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR__NAME = AF3PlatformPackage.RECEIVER__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR__COMMENT = AF3PlatformPackage.RECEIVER__COMMENT; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR__SPECIFICATIONS = AF3PlatformPackage.RECEIVER__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR__REFERENCED_BY = AF3PlatformPackage.RECEIVER__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Incoming</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR__INCOMING = AF3PlatformPackage.RECEIVER__INCOMING; - - /** - * The feature id for the '<em><b>Outgoing</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR__OUTGOING = AF3PlatformPackage.RECEIVER__OUTGOING; - - /** - * The feature id for the '<em><b>Owner</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR__OWNER = AF3PlatformPackage.RECEIVER__OWNER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR__LAYOUT_DATA = AF3PlatformPackage.RECEIVER__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Sensor</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_FEATURE_COUNT = AF3PlatformPackage.RECEIVER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.ActuatorImpl <em>Actuator</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.ActuatorImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getActuator() - * @generated - */ - int ACTUATOR = 9; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR__ID = AF3PlatformPackage.TRANSMITTER__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR__NAME = AF3PlatformPackage.TRANSMITTER__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR__COMMENT = AF3PlatformPackage.TRANSMITTER__COMMENT; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR__SPECIFICATIONS = AF3PlatformPackage.TRANSMITTER__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR__REFERENCED_BY = AF3PlatformPackage.TRANSMITTER__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Incoming</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR__INCOMING = AF3PlatformPackage.TRANSMITTER__INCOMING; - - /** - * The feature id for the '<em><b>Outgoing</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR__OUTGOING = AF3PlatformPackage.TRANSMITTER__OUTGOING; - - /** - * The feature id for the '<em><b>Owner</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR__OWNER = AF3PlatformPackage.TRANSMITTER__OWNER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR__LAYOUT_DATA = AF3PlatformPackage.TRANSMITTER__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Actuator</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_FEATURE_COUNT = AF3PlatformPackage.TRANSMITTER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.SensorInImpl <em>Sensor In</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.SensorInImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getSensorIn() - * @generated - */ - int SENSOR_IN = 10; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN__ID = AF3PlatformPackage.RECEIVER__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN__NAME = AF3PlatformPackage.RECEIVER__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN__COMMENT = AF3PlatformPackage.RECEIVER__COMMENT; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN__SPECIFICATIONS = AF3PlatformPackage.RECEIVER__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN__REFERENCED_BY = AF3PlatformPackage.RECEIVER__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Incoming</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN__INCOMING = AF3PlatformPackage.RECEIVER__INCOMING; - - /** - * The feature id for the '<em><b>Outgoing</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN__OUTGOING = AF3PlatformPackage.RECEIVER__OUTGOING; - - /** - * The feature id for the '<em><b>Owner</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN__OWNER = AF3PlatformPackage.RECEIVER__OWNER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN__LAYOUT_DATA = AF3PlatformPackage.RECEIVER__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Sensor In</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SENSOR_IN_FEATURE_COUNT = AF3PlatformPackage.RECEIVER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.ActuatorOutImpl <em>Actuator Out</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.ActuatorOutImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getActuatorOut() - * @generated - */ - int ACTUATOR_OUT = 11; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT__ID = AF3PlatformPackage.TRANSMITTER__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT__NAME = AF3PlatformPackage.TRANSMITTER__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT__COMMENT = AF3PlatformPackage.TRANSMITTER__COMMENT; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT__SPECIFICATIONS = AF3PlatformPackage.TRANSMITTER__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT__REFERENCED_BY = AF3PlatformPackage.TRANSMITTER__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Incoming</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT__INCOMING = AF3PlatformPackage.TRANSMITTER__INCOMING; - - /** - * The feature id for the '<em><b>Outgoing</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT__OUTGOING = AF3PlatformPackage.TRANSMITTER__OUTGOING; - - /** - * The feature id for the '<em><b>Owner</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT__OWNER = AF3PlatformPackage.TRANSMITTER__OWNER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT__LAYOUT_DATA = AF3PlatformPackage.TRANSMITTER__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Actuator Out</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACTUATOR_OUT_FEATURE_COUNT = AF3PlatformPackage.TRANSMITTER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.BusMasterInterfaceImpl <em>Bus Master Interface</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.BusMasterInterfaceImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getBusMasterInterface() - * @generated - */ - int BUS_MASTER_INTERFACE = 12; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE__ID = AF3PlatformPackage.TRANSCEIVER__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE__NAME = AF3PlatformPackage.TRANSCEIVER__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE__COMMENT = AF3PlatformPackage.TRANSCEIVER__COMMENT; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE__SPECIFICATIONS = AF3PlatformPackage.TRANSCEIVER__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE__REFERENCED_BY = AF3PlatformPackage.TRANSCEIVER__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Incoming</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE__INCOMING = AF3PlatformPackage.TRANSCEIVER__INCOMING; - - /** - * The feature id for the '<em><b>Outgoing</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE__OUTGOING = AF3PlatformPackage.TRANSCEIVER__OUTGOING; - - /** - * The feature id for the '<em><b>Owner</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE__OWNER = AF3PlatformPackage.TRANSCEIVER__OWNER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE__LAYOUT_DATA = AF3PlatformPackage.TRANSCEIVER__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Bus Master Interface</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_INTERFACE_FEATURE_COUNT = AF3PlatformPackage.TRANSCEIVER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.BusMasterPortImpl <em>Bus Master Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.BusMasterPortImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getBusMasterPort() - * @generated - */ - int BUS_MASTER_PORT = 13; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT__ID = AF3PlatformPackage.TRANSCEIVER__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT__NAME = AF3PlatformPackage.TRANSCEIVER__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT__COMMENT = AF3PlatformPackage.TRANSCEIVER__COMMENT; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT__SPECIFICATIONS = AF3PlatformPackage.TRANSCEIVER__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT__REFERENCED_BY = AF3PlatformPackage.TRANSCEIVER__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Incoming</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT__INCOMING = AF3PlatformPackage.TRANSCEIVER__INCOMING; - - /** - * The feature id for the '<em><b>Outgoing</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT__OUTGOING = AF3PlatformPackage.TRANSCEIVER__OUTGOING; - - /** - * The feature id for the '<em><b>Owner</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT__OWNER = AF3PlatformPackage.TRANSCEIVER__OWNER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT__LAYOUT_DATA = AF3PlatformPackage.TRANSCEIVER__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>Bus Master Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BUS_MASTER_PORT_FEATURE_COUNT = AF3PlatformPackage.TRANSCEIVER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.CANBusMasterPortImpl <em>CAN Bus Master Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.CANBusMasterPortImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getCANBusMasterPort() - * @generated - */ - int CAN_BUS_MASTER_PORT = 14; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT__ID = AF3PlatformPackage.TRANSCEIVER__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT__NAME = AF3PlatformPackage.TRANSCEIVER__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT__COMMENT = AF3PlatformPackage.TRANSCEIVER__COMMENT; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT__SPECIFICATIONS = AF3PlatformPackage.TRANSCEIVER__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT__REFERENCED_BY = AF3PlatformPackage.TRANSCEIVER__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Incoming</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT__INCOMING = AF3PlatformPackage.TRANSCEIVER__INCOMING; - - /** - * The feature id for the '<em><b>Outgoing</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT__OUTGOING = AF3PlatformPackage.TRANSCEIVER__OUTGOING; - - /** - * The feature id for the '<em><b>Owner</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT__OWNER = AF3PlatformPackage.TRANSCEIVER__OWNER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT__LAYOUT_DATA = AF3PlatformPackage.TRANSCEIVER__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>CAN Bus Master Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_PORT_FEATURE_COUNT = AF3PlatformPackage.TRANSCEIVER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.impl.CANBusMasterInterfaceImpl <em>CAN Bus Master Interface</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.CANBusMasterInterfaceImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getCANBusMasterInterface() - * @generated - */ - int CAN_BUS_MASTER_INTERFACE = 15; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE__ID = AF3PlatformPackage.TRANSCEIVER__ID; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE__NAME = AF3PlatformPackage.TRANSCEIVER__NAME; - - /** - * The feature id for the '<em><b>Comment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE__COMMENT = AF3PlatformPackage.TRANSCEIVER__COMMENT; - - /** - * The feature id for the '<em><b>Specifications</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE__SPECIFICATIONS = AF3PlatformPackage.TRANSCEIVER__SPECIFICATIONS; - - /** - * The feature id for the '<em><b>Referenced By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE__REFERENCED_BY = AF3PlatformPackage.TRANSCEIVER__REFERENCED_BY; - - /** - * The feature id for the '<em><b>Incoming</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE__INCOMING = AF3PlatformPackage.TRANSCEIVER__INCOMING; - - /** - * The feature id for the '<em><b>Outgoing</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE__OUTGOING = AF3PlatformPackage.TRANSCEIVER__OUTGOING; - - /** - * The feature id for the '<em><b>Owner</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE__OWNER = AF3PlatformPackage.TRANSCEIVER__OWNER; - - /** - * The feature id for the '<em><b>Layout Data</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE__LAYOUT_DATA = AF3PlatformPackage.TRANSCEIVER__LAYOUT_DATA; - - /** - * The number of structural features of the '<em>CAN Bus Master Interface</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAN_BUS_MASTER_INTERFACE_FEATURE_COUNT = AF3PlatformPackage.TRANSCEIVER_FEATURE_COUNT + 0; - - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.CANBus <em>CAN Bus</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>CAN Bus</em>'. - * @see org.fortiss.af3.platform.raspberry.model.CANBus - * @generated - */ - EClass getCANBus(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.IProcessorDomain <em>IProcessor Domain</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>IProcessor Domain</em>'. - * @see org.fortiss.af3.platform.raspberry.model.IProcessorDomain - * @generated - */ - EClass getIProcessorDomain(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.IBoardDomain <em>IBoard Domain</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>IBoard Domain</em>'. - * @see org.fortiss.af3.platform.raspberry.model.IBoardDomain - * @generated - */ - EClass getIBoardDomain(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.RaspberryPi1 <em>Raspberry Pi1</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Raspberry Pi1</em>'. - * @see org.fortiss.af3.platform.raspberry.model.RaspberryPi1 - * @generated - */ - EClass getRaspberryPi1(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.RaspberryPi2 <em>Raspberry Pi2</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Raspberry Pi2</em>'. - * @see org.fortiss.af3.platform.raspberry.model.RaspberryPi2 - * @generated - */ - EClass getRaspberryPi2(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.RaspberryPi3 <em>Raspberry Pi3</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Raspberry Pi3</em>'. - * @see org.fortiss.af3.platform.raspberry.model.RaspberryPi3 - * @generated - */ - EClass getRaspberryPi3(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.Core <em>Core</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Core</em>'. - * @see org.fortiss.af3.platform.raspberry.model.Core - * @generated - */ - EClass getCore(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.Bus <em>Bus</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Bus</em>'. - * @see org.fortiss.af3.platform.raspberry.model.Bus - * @generated - */ - EClass getBus(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.Sensor <em>Sensor</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Sensor</em>'. - * @see org.fortiss.af3.platform.raspberry.model.Sensor - * @generated - */ - EClass getSensor(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.Actuator <em>Actuator</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Actuator</em>'. - * @see org.fortiss.af3.platform.raspberry.model.Actuator - * @generated - */ - EClass getActuator(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.SensorIn <em>Sensor In</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Sensor In</em>'. - * @see org.fortiss.af3.platform.raspberry.model.SensorIn - * @generated - */ - EClass getSensorIn(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.ActuatorOut <em>Actuator Out</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Actuator Out</em>'. - * @see org.fortiss.af3.platform.raspberry.model.ActuatorOut - * @generated - */ - EClass getActuatorOut(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.BusMasterInterface <em>Bus Master Interface</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Bus Master Interface</em>'. - * @see org.fortiss.af3.platform.raspberry.model.BusMasterInterface - * @generated - */ - EClass getBusMasterInterface(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.BusMasterPort <em>Bus Master Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Bus Master Port</em>'. - * @see org.fortiss.af3.platform.raspberry.model.BusMasterPort - * @generated - */ - EClass getBusMasterPort(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.CANBusMasterPort <em>CAN Bus Master Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>CAN Bus Master Port</em>'. - * @see org.fortiss.af3.platform.raspberry.model.CANBusMasterPort - * @generated - */ - EClass getCANBusMasterPort(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.CANBusMasterInterface <em>CAN Bus Master Interface</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>CAN Bus Master Interface</em>'. - * @see org.fortiss.af3.platform.raspberry.model.CANBusMasterInterface - * @generated - */ - EClass getCANBusMasterInterface(); - - /** - * 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 - */ - ModelFactory getModelFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.CANBusImpl <em>CAN Bus</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.CANBusImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getCANBus() - * @generated - */ - EClass CAN_BUS = eINSTANCE.getCANBus(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.IProcessorDomainImpl <em>IProcessor Domain</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.IProcessorDomainImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getIProcessorDomain() - * @generated - */ - EClass IPROCESSOR_DOMAIN = eINSTANCE.getIProcessorDomain(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.IBoardDomainImpl <em>IBoard Domain</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.IBoardDomainImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getIBoardDomain() - * @generated - */ - EClass IBOARD_DOMAIN = eINSTANCE.getIBoardDomain(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi1Impl <em>Raspberry Pi1</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi1Impl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getRaspberryPi1() - * @generated - */ - EClass RASPBERRY_PI1 = eINSTANCE.getRaspberryPi1(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi2Impl <em>Raspberry Pi2</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi2Impl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getRaspberryPi2() - * @generated - */ - EClass RASPBERRY_PI2 = eINSTANCE.getRaspberryPi2(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi3Impl <em>Raspberry Pi3</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.RaspberryPi3Impl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getRaspberryPi3() - * @generated - */ - EClass RASPBERRY_PI3 = eINSTANCE.getRaspberryPi3(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.CoreImpl <em>Core</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.CoreImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getCore() - * @generated - */ - EClass CORE = eINSTANCE.getCore(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.BusImpl <em>Bus</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.BusImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getBus() - * @generated - */ - EClass BUS = eINSTANCE.getBus(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.SensorImpl <em>Sensor</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.SensorImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getSensor() - * @generated - */ - EClass SENSOR = eINSTANCE.getSensor(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.ActuatorImpl <em>Actuator</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.ActuatorImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getActuator() - * @generated - */ - EClass ACTUATOR = eINSTANCE.getActuator(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.SensorInImpl <em>Sensor In</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.SensorInImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getSensorIn() - * @generated - */ - EClass SENSOR_IN = eINSTANCE.getSensorIn(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.ActuatorOutImpl <em>Actuator Out</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.ActuatorOutImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getActuatorOut() - * @generated - */ - EClass ACTUATOR_OUT = eINSTANCE.getActuatorOut(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.BusMasterInterfaceImpl <em>Bus Master Interface</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.BusMasterInterfaceImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getBusMasterInterface() - * @generated - */ - EClass BUS_MASTER_INTERFACE = eINSTANCE.getBusMasterInterface(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.BusMasterPortImpl <em>Bus Master Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.BusMasterPortImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getBusMasterPort() - * @generated - */ - EClass BUS_MASTER_PORT = eINSTANCE.getBusMasterPort(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.CANBusMasterPortImpl <em>CAN Bus Master Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.CANBusMasterPortImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getCANBusMasterPort() - * @generated - */ - EClass CAN_BUS_MASTER_PORT = eINSTANCE.getCANBusMasterPort(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.impl.CANBusMasterInterfaceImpl <em>CAN Bus Master Interface</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.impl.CANBusMasterInterfaceImpl - * @see org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl#getCANBusMasterInterface() - * @generated - */ - EClass CAN_BUS_MASTER_INTERFACE = eINSTANCE.getCANBusMasterInterface(); - - } - -} //ModelPackage diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi1.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi1.java deleted file mode 100644 index 9aba1295..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi1.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.GenericPlatformUnit; -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.ICommunicationMaster; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Raspberry Pi1</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getRaspberryPi1() - * @model - * @generated - */ -public interface RaspberryPi1 extends GenericPlatformUnit, ICommunicationMaster, IBoardPlatformArchitectureElement, IBoardDomain { -} // RaspberryPi1 diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi2.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi2.java deleted file mode 100644 index 38676071..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi2.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.GenericPlatformUnit; -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.ICommunicationMaster; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Raspberry Pi2</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getRaspberryPi2() - * @model - * @generated - */ -public interface RaspberryPi2 extends GenericPlatformUnit, ICommunicationMaster, IBoardPlatformArchitectureElement, IBoardDomain { -} // RaspberryPi2 diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi3.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi3.java deleted file mode 100644 index 667336ba..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/RaspberryPi3.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.GenericPlatformUnit; -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.ICommunicationMaster; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Raspberry Pi3</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getRaspberryPi3() - * @model - * @generated - */ -public interface RaspberryPi3 extends GenericPlatformUnit, ICommunicationMaster, IBoardPlatformArchitectureElement, IBoardDomain { -} // RaspberryPi3 diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Sensor.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Sensor.java deleted file mode 100644 index 466f8df4..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/Sensor.java +++ /dev/null @@ -1,22 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.IPlatformIOResource; -import org.fortiss.af3.platform.model.IPlatformPort; -import org.fortiss.af3.platform.model.Receiver; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Sensor</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getSensor() - * @model - * @generated - */ -public interface Sensor extends Receiver, IBoardPlatformArchitectureElement, ICommunicationMaster, IBoardDomain, IPlatformPort, IPlatformIOResource { -} // Sensor diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/SensorIn.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/SensorIn.java deleted file mode 100644 index dd96a542..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/SensorIn.java +++ /dev/null @@ -1,22 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model; - -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPlatformIOResource; -import org.fortiss.af3.platform.model.IPlatformPort; -import org.fortiss.af3.platform.model.Receiver; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Sensor In</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#getSensorIn() - * @model - * @generated - */ -public interface SensorIn extends Receiver, IIpCorePlatformArchitectureElement, ICommunicationMaster, IProcessorDomain, IPlatformPort, IPlatformIOResource { -} // SensorIn diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/AnnotationFactory.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/AnnotationFactory.java deleted file mode 100644 index 1e90bb79..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/AnnotationFactory.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation; - -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.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage - * @generated - */ -public interface AnnotationFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - AnnotationFactory eINSTANCE = org.fortiss.af3.platform.raspberry.model.annotation.impl.AnnotationFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Core Address</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Core Address</em>'. - * @generated - */ - CoreAddress createCoreAddress(); - - /** - * Returns a new object of class '<em>Pin Number</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Pin Number</em>'. - * @generated - */ - PinNumber createPinNumber(); - - /** - * Returns a new object of class '<em>Peripheral Address</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Peripheral Address</em>'. - * @generated - */ - PeripheralAddress createPeripheralAddress(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - AnnotationPackage getAnnotationPackage(); - -} //AnnotationFactory diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/AnnotationPackage.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/AnnotationPackage.java deleted file mode 100644 index 67db9920..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/AnnotationPackage.java +++ /dev/null @@ -1,366 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; - -import org.fortiss.tooling.base.model.element.ElementPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationFactory - * @model kind="package" - * @generated - */ -public interface AnnotationPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "annotation"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.fortiss.org/af3/platform/raspberry/annotation"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "org-fortiss-af3-platform-raspberry-annotation"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - AnnotationPackage eINSTANCE = org.fortiss.af3.platform.raspberry.model.annotation.impl.AnnotationPackageImpl.init(); - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.CoreAddressImpl <em>Core Address</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.CoreAddressImpl - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.AnnotationPackageImpl#getCoreAddress() - * @generated - */ - int CORE_ADDRESS = 0; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE_ADDRESS__ID = ElementPackage.IANNOTATED_SPECIFICATION__ID; - - /** - * The feature id for the '<em><b>Specification Of</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE_ADDRESS__SPECIFICATION_OF = ElementPackage.IANNOTATED_SPECIFICATION__SPECIFICATION_OF; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE_ADDRESS__NAME = ElementPackage.IANNOTATED_SPECIFICATION__NAME; - - /** - * The feature id for the '<em><b>Core Address</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE_ADDRESS__CORE_ADDRESS = ElementPackage.IANNOTATED_SPECIFICATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Core Address</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CORE_ADDRESS_FEATURE_COUNT = ElementPackage.IANNOTATED_SPECIFICATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PinNumberImpl <em>Pin Number</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.PinNumberImpl - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.AnnotationPackageImpl#getPinNumber() - * @generated - */ - int PIN_NUMBER = 1; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PIN_NUMBER__ID = ElementPackage.IANNOTATED_SPECIFICATION__ID; - - /** - * The feature id for the '<em><b>Specification Of</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PIN_NUMBER__SPECIFICATION_OF = ElementPackage.IANNOTATED_SPECIFICATION__SPECIFICATION_OF; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PIN_NUMBER__NAME = ElementPackage.IANNOTATED_SPECIFICATION__NAME; - - /** - * The feature id for the '<em><b>Pin Number</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PIN_NUMBER__PIN_NUMBER = ElementPackage.IANNOTATED_SPECIFICATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Pin Number</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PIN_NUMBER_FEATURE_COUNT = ElementPackage.IANNOTATED_SPECIFICATION_FEATURE_COUNT + 1; - - - /** - * The meta object id for the '{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PeripheralAddressImpl <em>Peripheral Address</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.PeripheralAddressImpl - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.AnnotationPackageImpl#getPeripheralAddress() - * @generated - */ - int PERIPHERAL_ADDRESS = 2; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERIPHERAL_ADDRESS__ID = ElementPackage.IANNOTATED_SPECIFICATION__ID; - - /** - * The feature id for the '<em><b>Specification Of</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERIPHERAL_ADDRESS__SPECIFICATION_OF = ElementPackage.IANNOTATED_SPECIFICATION__SPECIFICATION_OF; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERIPHERAL_ADDRESS__NAME = ElementPackage.IANNOTATED_SPECIFICATION__NAME; - - /** - * The feature id for the '<em><b>Peripheral Address</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERIPHERAL_ADDRESS__PERIPHERAL_ADDRESS = ElementPackage.IANNOTATED_SPECIFICATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Peripheral Address</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERIPHERAL_ADDRESS_FEATURE_COUNT = ElementPackage.IANNOTATED_SPECIFICATION_FEATURE_COUNT + 1; - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress <em>Core Address</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Core Address</em>'. - * @see org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress - * @generated - */ - EClass getCoreAddress(); - - /** - * Returns the meta object for the attribute '{@link org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress#getCoreAddress <em>Core Address</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Core Address</em>'. - * @see org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress#getCoreAddress() - * @see #getCoreAddress() - * @generated - */ - EAttribute getCoreAddress_CoreAddress(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.annotation.PinNumber <em>Pin Number</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Pin Number</em>'. - * @see org.fortiss.af3.platform.raspberry.model.annotation.PinNumber - * @generated - */ - EClass getPinNumber(); - - /** - * Returns the meta object for the attribute '{@link org.fortiss.af3.platform.raspberry.model.annotation.PinNumber#getPinNumber <em>Pin Number</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Pin Number</em>'. - * @see org.fortiss.af3.platform.raspberry.model.annotation.PinNumber#getPinNumber() - * @see #getPinNumber() - * @generated - */ - EAttribute getPinNumber_PinNumber(); - - /** - * Returns the meta object for class '{@link org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress <em>Peripheral Address</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Peripheral Address</em>'. - * @see org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress - * @generated - */ - EClass getPeripheralAddress(); - - /** - * Returns the meta object for the attribute '{@link org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress#getPeripheralAddress <em>Peripheral Address</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Peripheral Address</em>'. - * @see org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress#getPeripheralAddress() - * @see #getPeripheralAddress() - * @generated - */ - EAttribute getPeripheralAddress_PeripheralAddress(); - - /** - * 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 - */ - AnnotationFactory getAnnotationFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.CoreAddressImpl <em>Core Address</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.CoreAddressImpl - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.AnnotationPackageImpl#getCoreAddress() - * @generated - */ - EClass CORE_ADDRESS = eINSTANCE.getCoreAddress(); - - /** - * The meta object literal for the '<em><b>Core Address</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CORE_ADDRESS__CORE_ADDRESS = eINSTANCE.getCoreAddress_CoreAddress(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PinNumberImpl <em>Pin Number</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.PinNumberImpl - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.AnnotationPackageImpl#getPinNumber() - * @generated - */ - EClass PIN_NUMBER = eINSTANCE.getPinNumber(); - - /** - * The meta object literal for the '<em><b>Pin Number</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PIN_NUMBER__PIN_NUMBER = eINSTANCE.getPinNumber_PinNumber(); - - /** - * The meta object literal for the '{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PeripheralAddressImpl <em>Peripheral Address</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.PeripheralAddressImpl - * @see org.fortiss.af3.platform.raspberry.model.annotation.impl.AnnotationPackageImpl#getPeripheralAddress() - * @generated - */ - EClass PERIPHERAL_ADDRESS = eINSTANCE.getPeripheralAddress(); - - /** - * The meta object literal for the '<em><b>Peripheral Address</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERIPHERAL_ADDRESS__PERIPHERAL_ADDRESS = eINSTANCE.getPeripheralAddress_PeripheralAddress(); - - } - -} //AnnotationPackage diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/CoreAddress.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/CoreAddress.java deleted file mode 100644 index 8b46fd94..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/CoreAddress.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation; - -import org.fortiss.tooling.base.model.element.IAnnotatedSpecification; -import org.fortiss.tooling.base.model.element.IHiddenSpecification; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Core Address</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress#getCoreAddress <em>Core Address</em>}</li> - * </ul> - * </p> - * - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage#getCoreAddress() - * @model - * @generated - */ -public interface CoreAddress extends IAnnotatedSpecification, IHiddenSpecification { - /** - * Returns the value of the '<em><b>Core Address</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Core Address</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Core Address</em>' attribute. - * @see #setCoreAddress(int) - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage#getCoreAddress_CoreAddress() - * @model - * @generated - */ - int getCoreAddress(); - - /** - * Sets the value of the '{@link org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress#getCoreAddress <em>Core Address</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Core Address</em>' attribute. - * @see #getCoreAddress() - * @generated - */ - void setCoreAddress(int value); - -} // CoreAddress diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PAddress.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PAddress.java deleted file mode 100644 index 0c35cee7..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PAddress.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation; - -import org.fortiss.tooling.base.model.element.IAnnotatedSpecification; -import org.fortiss.tooling.base.model.element.IHiddenSpecification; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>PAddress</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage#getPAddress() - * @model - * @generated - */ -public interface PAddress extends IAnnotatedSpecification, IHiddenSpecification { -} // PAddress diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PeripheralAddress.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PeripheralAddress.java deleted file mode 100644 index 08150acf..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PeripheralAddress.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation; - -import org.fortiss.tooling.base.model.element.IAnnotatedSpecification; -import org.fortiss.tooling.base.model.element.IHiddenSpecification; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Peripheral Address</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress#getPeripheralAddress <em>Peripheral Address</em>}</li> - * </ul> - * </p> - * - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage#getPeripheralAddress() - * @model - * @generated - */ -public interface PeripheralAddress extends IAnnotatedSpecification, IHiddenSpecification { - /** - * Returns the value of the '<em><b>Peripheral Address</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Peripheral Address</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Peripheral Address</em>' attribute. - * @see #setPeripheralAddress(int) - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage#getPeripheralAddress_PeripheralAddress() - * @model - * @generated - */ - int getPeripheralAddress(); - - /** - * Sets the value of the '{@link org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress#getPeripheralAddress <em>Peripheral Address</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Peripheral Address</em>' attribute. - * @see #getPeripheralAddress() - * @generated - */ - void setPeripheralAddress(int value); - -} // PeripheralAddress diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PinNumber.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PinNumber.java deleted file mode 100644 index 0ab6b505..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/PinNumber.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation; - -import org.fortiss.tooling.base.model.element.IAnnotatedSpecification; -import org.fortiss.tooling.base.model.element.IHiddenSpecification; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Pin Number</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.PinNumber#getPinNumber <em>Pin Number</em>}</li> - * </ul> - * </p> - * - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage#getPinNumber() - * @model - * @generated - */ -public interface PinNumber extends IAnnotatedSpecification, IHiddenSpecification { - /** - * Returns the value of the '<em><b>Pin Number</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Pin Number</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Pin Number</em>' attribute. - * @see #setPinNumber(int) - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage#getPinNumber_PinNumber() - * @model - * @generated - */ - int getPinNumber(); - - /** - * Sets the value of the '{@link org.fortiss.af3.platform.raspberry.model.annotation.PinNumber#getPinNumber <em>Pin Number</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Pin Number</em>' attribute. - * @see #getPinNumber() - * @generated - */ - void setPinNumber(int value); - -} // PinNumber diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/AnnotationFactoryImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/AnnotationFactoryImpl.java deleted file mode 100644 index b2806fb6..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/AnnotationFactoryImpl.java +++ /dev/null @@ -1,117 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.fortiss.af3.platform.raspberry.model.annotation.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class AnnotationFactoryImpl extends EFactoryImpl implements AnnotationFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static AnnotationFactory init() { - try { - AnnotationFactory theAnnotationFactory = (AnnotationFactory)EPackage.Registry.INSTANCE.getEFactory(AnnotationPackage.eNS_URI); - if (theAnnotationFactory != null) { - return theAnnotationFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new AnnotationFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AnnotationFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case AnnotationPackage.CORE_ADDRESS: return createCoreAddress(); - case AnnotationPackage.PIN_NUMBER: return createPinNumber(); - case AnnotationPackage.PERIPHERAL_ADDRESS: return createPeripheralAddress(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CoreAddress createCoreAddress() { - CoreAddressImpl coreAddress = new CoreAddressImpl(); - return coreAddress; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PinNumber createPinNumber() { - PinNumberImpl pinNumber = new PinNumberImpl(); - return pinNumber; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PeripheralAddress createPeripheralAddress() { - PeripheralAddressImpl peripheralAddress = new PeripheralAddressImpl(); - return peripheralAddress; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AnnotationPackage getAnnotationPackage() { - return (AnnotationPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static AnnotationPackage getPackage() { - return AnnotationPackage.eINSTANCE; - } - -} //AnnotationFactoryImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/AnnotationPackageImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/AnnotationPackageImpl.java deleted file mode 100644 index c114cd6f..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/AnnotationPackageImpl.java +++ /dev/null @@ -1,264 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.fortiss.af3.platform.model.AF3PlatformPackage; - -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -import org.fortiss.af3.platform.raspberry.model.annotation.AnnotationFactory; -import org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage; -import org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress; -import org.fortiss.af3.platform.raspberry.model.annotation.PAddress; -import org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress; -import org.fortiss.af3.platform.raspberry.model.annotation.PinNumber; - -import org.fortiss.af3.platform.raspberry.model.impl.ModelPackageImpl; - -import org.fortiss.tooling.base.model.element.ElementPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class AnnotationPackageImpl extends EPackageImpl implements AnnotationPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass coreAddressEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass pinNumberEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass peripheralAddressEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage#eNS_URI - * @see #init() - * @generated - */ - private AnnotationPackageImpl() { - super(eNS_URI, AnnotationFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link AnnotationPackage#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 AnnotationPackage init() { - if (isInited) return (AnnotationPackage)EPackage.Registry.INSTANCE.getEPackage(AnnotationPackage.eNS_URI); - - // Obtain or create and register package - AnnotationPackageImpl theAnnotationPackage = (AnnotationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AnnotationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AnnotationPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - AF3PlatformPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - ModelPackageImpl theModelPackage = (ModelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) instanceof ModelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) : ModelPackage.eINSTANCE); - - // Create package meta-data objects - theAnnotationPackage.createPackageContents(); - theModelPackage.createPackageContents(); - - // Initialize created meta-data - theAnnotationPackage.initializePackageContents(); - theModelPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theAnnotationPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(AnnotationPackage.eNS_URI, theAnnotationPackage); - return theAnnotationPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCoreAddress() { - return coreAddressEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCoreAddress_CoreAddress() { - return (EAttribute)coreAddressEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPinNumber() { - return pinNumberEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPinNumber_PinNumber() { - return (EAttribute)pinNumberEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPeripheralAddress() { - return peripheralAddressEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPeripheralAddress_PeripheralAddress() { - return (EAttribute)peripheralAddressEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AnnotationFactory getAnnotationFactory() { - return (AnnotationFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - coreAddressEClass = createEClass(CORE_ADDRESS); - createEAttribute(coreAddressEClass, CORE_ADDRESS__CORE_ADDRESS); - - pinNumberEClass = createEClass(PIN_NUMBER); - createEAttribute(pinNumberEClass, PIN_NUMBER__PIN_NUMBER); - - peripheralAddressEClass = createEClass(PERIPHERAL_ADDRESS); - createEAttribute(peripheralAddressEClass, PERIPHERAL_ADDRESS__PERIPHERAL_ADDRESS); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - ElementPackage theElementPackage = (ElementPackage)EPackage.Registry.INSTANCE.getEPackage(ElementPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - coreAddressEClass.getESuperTypes().add(theElementPackage.getIAnnotatedSpecification()); - coreAddressEClass.getESuperTypes().add(theElementPackage.getIHiddenSpecification()); - pinNumberEClass.getESuperTypes().add(theElementPackage.getIAnnotatedSpecification()); - pinNumberEClass.getESuperTypes().add(theElementPackage.getIHiddenSpecification()); - peripheralAddressEClass.getESuperTypes().add(theElementPackage.getIAnnotatedSpecification()); - peripheralAddressEClass.getESuperTypes().add(theElementPackage.getIHiddenSpecification()); - - // Initialize classes and features; add operations and parameters - initEClass(coreAddressEClass, CoreAddress.class, "CoreAddress", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getCoreAddress_CoreAddress(), ecorePackage.getEInt(), "coreAddress", null, 0, 1, CoreAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(pinNumberEClass, PinNumber.class, "PinNumber", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPinNumber_PinNumber(), ecorePackage.getEInt(), "pinNumber", null, 0, 1, PinNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(peripheralAddressEClass, PeripheralAddress.class, "PeripheralAddress", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPeripheralAddress_PeripheralAddress(), ecorePackage.getEInt(), "peripheralAddress", null, 0, 1, PeripheralAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - } - -} //AnnotationPackageImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/CoreAddressImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/CoreAddressImpl.java deleted file mode 100644 index 943d3bc3..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/CoreAddressImpl.java +++ /dev/null @@ -1,431 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EcoreUtil; - -import org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage; -import org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress; - -import org.fortiss.tooling.base.model.element.ElementPackage; -import org.fortiss.tooling.base.model.element.IHiddenSpecification; -import org.fortiss.tooling.base.model.element.IModelElement; - -import org.fortiss.tooling.kernel.model.FortissToolingKernelPackage; -import org.fortiss.tooling.kernel.model.INamedElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Core Address</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.CoreAddressImpl#getId <em>Id</em>}</li> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.CoreAddressImpl#getSpecificationOf <em>Specification Of</em>}</li> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.CoreAddressImpl#getName <em>Name</em>}</li> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.CoreAddressImpl#getCoreAddress <em>Core Address</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class CoreAddressImpl extends EObjectImpl implements CoreAddress { - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final int ID_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected int id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getCoreAddress() <em>Core Address</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCoreAddress() - * @generated - * @ordered - */ - protected static final int CORE_ADDRESS_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getCoreAddress() <em>Core Address</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCoreAddress() - * @generated - * @ordered - */ - protected int coreAddress = CORE_ADDRESS_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CoreAddressImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return AnnotationPackage.Literals.CORE_ADDRESS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(int newId) { - int oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.CORE_ADDRESS__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IModelElement getSpecificationOf() { - if (eContainerFeatureID() != AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF) return null; - return (IModelElement)eContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IModelElement basicGetSpecificationOf() { - if (eContainerFeatureID() != AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF) return null; - return (IModelElement)eInternalContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSpecificationOf(IModelElement newSpecificationOf, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newSpecificationOf, AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF, msgs); - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSpecificationOf(IModelElement newSpecificationOf) { - if (newSpecificationOf != eInternalContainer() || (eContainerFeatureID() != AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF && newSpecificationOf != null)) { - if (EcoreUtil.isAncestor(this, newSpecificationOf)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newSpecificationOf != null) - msgs = ((InternalEObject)newSpecificationOf).eInverseAdd(this, ElementPackage.IMODEL_ELEMENT__SPECIFICATIONS, IModelElement.class, msgs); - msgs = basicSetSpecificationOf(newSpecificationOf, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF, newSpecificationOf, newSpecificationOf)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.CORE_ADDRESS__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getCoreAddress() { - return coreAddress; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setCoreAddress(int newCoreAddress) { - int oldCoreAddress = coreAddress; - coreAddress = newCoreAddress; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.CORE_ADDRESS__CORE_ADDRESS, oldCoreAddress, coreAddress)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetSpecificationOf((IModelElement)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF: - return basicSetSpecificationOf(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF: - return eInternalContainer().eInverseRemove(this, ElementPackage.IMODEL_ELEMENT__SPECIFICATIONS, IModelElement.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case AnnotationPackage.CORE_ADDRESS__ID: - return getId(); - case AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF: - if (resolve) return getSpecificationOf(); - return basicGetSpecificationOf(); - case AnnotationPackage.CORE_ADDRESS__NAME: - return getName(); - case AnnotationPackage.CORE_ADDRESS__CORE_ADDRESS: - return getCoreAddress(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case AnnotationPackage.CORE_ADDRESS__ID: - setId((Integer)newValue); - return; - case AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF: - setSpecificationOf((IModelElement)newValue); - return; - case AnnotationPackage.CORE_ADDRESS__NAME: - setName((String)newValue); - return; - case AnnotationPackage.CORE_ADDRESS__CORE_ADDRESS: - setCoreAddress((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case AnnotationPackage.CORE_ADDRESS__ID: - setId(ID_EDEFAULT); - return; - case AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF: - setSpecificationOf((IModelElement)null); - return; - case AnnotationPackage.CORE_ADDRESS__NAME: - setName(NAME_EDEFAULT); - return; - case AnnotationPackage.CORE_ADDRESS__CORE_ADDRESS: - setCoreAddress(CORE_ADDRESS_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case AnnotationPackage.CORE_ADDRESS__ID: - return id != ID_EDEFAULT; - case AnnotationPackage.CORE_ADDRESS__SPECIFICATION_OF: - return basicGetSpecificationOf() != null; - case AnnotationPackage.CORE_ADDRESS__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case AnnotationPackage.CORE_ADDRESS__CORE_ADDRESS: - return coreAddress != CORE_ADDRESS_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { - if (baseClass == INamedElement.class) { - switch (derivedFeatureID) { - case AnnotationPackage.CORE_ADDRESS__NAME: return FortissToolingKernelPackage.INAMED_ELEMENT__NAME; - default: return -1; - } - } - if (baseClass == IHiddenSpecification.class) { - switch (derivedFeatureID) { - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) { - if (baseClass == INamedElement.class) { - switch (baseFeatureID) { - case FortissToolingKernelPackage.INAMED_ELEMENT__NAME: return AnnotationPackage.CORE_ADDRESS__NAME; - default: return -1; - } - } - if (baseClass == IHiddenSpecification.class) { - switch (baseFeatureID) { - default: return -1; - } - } - return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", name: "); - result.append(name); - result.append(", coreAddress: "); - result.append(coreAddress); - result.append(')'); - return result.toString(); - } - -} //CoreAddressImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/PeripheralAddressImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/PeripheralAddressImpl.java deleted file mode 100644 index 49456d11..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/PeripheralAddressImpl.java +++ /dev/null @@ -1,431 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EcoreUtil; - -import org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage; -import org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress; - -import org.fortiss.tooling.base.model.element.ElementPackage; -import org.fortiss.tooling.base.model.element.IHiddenSpecification; -import org.fortiss.tooling.base.model.element.IModelElement; - -import org.fortiss.tooling.kernel.model.FortissToolingKernelPackage; -import org.fortiss.tooling.kernel.model.INamedElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Peripheral Address</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PeripheralAddressImpl#getId <em>Id</em>}</li> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PeripheralAddressImpl#getSpecificationOf <em>Specification Of</em>}</li> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PeripheralAddressImpl#getName <em>Name</em>}</li> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PeripheralAddressImpl#getPeripheralAddress <em>Peripheral Address</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PeripheralAddressImpl extends EObjectImpl implements PeripheralAddress { - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final int ID_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected int id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getPeripheralAddress() <em>Peripheral Address</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPeripheralAddress() - * @generated - * @ordered - */ - protected static final int PERIPHERAL_ADDRESS_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getPeripheralAddress() <em>Peripheral Address</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPeripheralAddress() - * @generated - * @ordered - */ - protected int peripheralAddress = PERIPHERAL_ADDRESS_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PeripheralAddressImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return AnnotationPackage.Literals.PERIPHERAL_ADDRESS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(int newId) { - int oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.PERIPHERAL_ADDRESS__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IModelElement getSpecificationOf() { - if (eContainerFeatureID() != AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF) return null; - return (IModelElement)eContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IModelElement basicGetSpecificationOf() { - if (eContainerFeatureID() != AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF) return null; - return (IModelElement)eInternalContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSpecificationOf(IModelElement newSpecificationOf, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newSpecificationOf, AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF, msgs); - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSpecificationOf(IModelElement newSpecificationOf) { - if (newSpecificationOf != eInternalContainer() || (eContainerFeatureID() != AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF && newSpecificationOf != null)) { - if (EcoreUtil.isAncestor(this, newSpecificationOf)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newSpecificationOf != null) - msgs = ((InternalEObject)newSpecificationOf).eInverseAdd(this, ElementPackage.IMODEL_ELEMENT__SPECIFICATIONS, IModelElement.class, msgs); - msgs = basicSetSpecificationOf(newSpecificationOf, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF, newSpecificationOf, newSpecificationOf)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.PERIPHERAL_ADDRESS__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getPeripheralAddress() { - return peripheralAddress; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPeripheralAddress(int newPeripheralAddress) { - int oldPeripheralAddress = peripheralAddress; - peripheralAddress = newPeripheralAddress; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.PERIPHERAL_ADDRESS__PERIPHERAL_ADDRESS, oldPeripheralAddress, peripheralAddress)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetSpecificationOf((IModelElement)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF: - return basicSetSpecificationOf(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF: - return eInternalContainer().eInverseRemove(this, ElementPackage.IMODEL_ELEMENT__SPECIFICATIONS, IModelElement.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case AnnotationPackage.PERIPHERAL_ADDRESS__ID: - return getId(); - case AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF: - if (resolve) return getSpecificationOf(); - return basicGetSpecificationOf(); - case AnnotationPackage.PERIPHERAL_ADDRESS__NAME: - return getName(); - case AnnotationPackage.PERIPHERAL_ADDRESS__PERIPHERAL_ADDRESS: - return getPeripheralAddress(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case AnnotationPackage.PERIPHERAL_ADDRESS__ID: - setId((Integer)newValue); - return; - case AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF: - setSpecificationOf((IModelElement)newValue); - return; - case AnnotationPackage.PERIPHERAL_ADDRESS__NAME: - setName((String)newValue); - return; - case AnnotationPackage.PERIPHERAL_ADDRESS__PERIPHERAL_ADDRESS: - setPeripheralAddress((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case AnnotationPackage.PERIPHERAL_ADDRESS__ID: - setId(ID_EDEFAULT); - return; - case AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF: - setSpecificationOf((IModelElement)null); - return; - case AnnotationPackage.PERIPHERAL_ADDRESS__NAME: - setName(NAME_EDEFAULT); - return; - case AnnotationPackage.PERIPHERAL_ADDRESS__PERIPHERAL_ADDRESS: - setPeripheralAddress(PERIPHERAL_ADDRESS_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case AnnotationPackage.PERIPHERAL_ADDRESS__ID: - return id != ID_EDEFAULT; - case AnnotationPackage.PERIPHERAL_ADDRESS__SPECIFICATION_OF: - return basicGetSpecificationOf() != null; - case AnnotationPackage.PERIPHERAL_ADDRESS__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case AnnotationPackage.PERIPHERAL_ADDRESS__PERIPHERAL_ADDRESS: - return peripheralAddress != PERIPHERAL_ADDRESS_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { - if (baseClass == INamedElement.class) { - switch (derivedFeatureID) { - case AnnotationPackage.PERIPHERAL_ADDRESS__NAME: return FortissToolingKernelPackage.INAMED_ELEMENT__NAME; - default: return -1; - } - } - if (baseClass == IHiddenSpecification.class) { - switch (derivedFeatureID) { - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) { - if (baseClass == INamedElement.class) { - switch (baseFeatureID) { - case FortissToolingKernelPackage.INAMED_ELEMENT__NAME: return AnnotationPackage.PERIPHERAL_ADDRESS__NAME; - default: return -1; - } - } - if (baseClass == IHiddenSpecification.class) { - switch (baseFeatureID) { - default: return -1; - } - } - return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", name: "); - result.append(name); - result.append(", peripheralAddress: "); - result.append(peripheralAddress); - result.append(')'); - return result.toString(); - } - -} //PeripheralAddressImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/PinNumberImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/PinNumberImpl.java deleted file mode 100644 index cdb65f53..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/impl/PinNumberImpl.java +++ /dev/null @@ -1,431 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EcoreUtil; - -import org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage; -import org.fortiss.af3.platform.raspberry.model.annotation.PinNumber; - -import org.fortiss.tooling.base.model.element.ElementPackage; -import org.fortiss.tooling.base.model.element.IHiddenSpecification; -import org.fortiss.tooling.base.model.element.IModelElement; - -import org.fortiss.tooling.kernel.model.FortissToolingKernelPackage; -import org.fortiss.tooling.kernel.model.INamedElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Pin Number</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PinNumberImpl#getId <em>Id</em>}</li> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PinNumberImpl#getSpecificationOf <em>Specification Of</em>}</li> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PinNumberImpl#getName <em>Name</em>}</li> - * <li>{@link org.fortiss.af3.platform.raspberry.model.annotation.impl.PinNumberImpl#getPinNumber <em>Pin Number</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PinNumberImpl extends EObjectImpl implements PinNumber { - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final int ID_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected int id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getPinNumber() <em>Pin Number</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPinNumber() - * @generated - * @ordered - */ - protected static final int PIN_NUMBER_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getPinNumber() <em>Pin Number</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPinNumber() - * @generated - * @ordered - */ - protected int pinNumber = PIN_NUMBER_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PinNumberImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return AnnotationPackage.Literals.PIN_NUMBER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(int newId) { - int oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.PIN_NUMBER__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IModelElement getSpecificationOf() { - if (eContainerFeatureID() != AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF) return null; - return (IModelElement)eContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IModelElement basicGetSpecificationOf() { - if (eContainerFeatureID() != AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF) return null; - return (IModelElement)eInternalContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSpecificationOf(IModelElement newSpecificationOf, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newSpecificationOf, AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF, msgs); - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSpecificationOf(IModelElement newSpecificationOf) { - if (newSpecificationOf != eInternalContainer() || (eContainerFeatureID() != AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF && newSpecificationOf != null)) { - if (EcoreUtil.isAncestor(this, newSpecificationOf)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newSpecificationOf != null) - msgs = ((InternalEObject)newSpecificationOf).eInverseAdd(this, ElementPackage.IMODEL_ELEMENT__SPECIFICATIONS, IModelElement.class, msgs); - msgs = basicSetSpecificationOf(newSpecificationOf, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF, newSpecificationOf, newSpecificationOf)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.PIN_NUMBER__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getPinNumber() { - return pinNumber; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPinNumber(int newPinNumber) { - int oldPinNumber = pinNumber; - pinNumber = newPinNumber; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AnnotationPackage.PIN_NUMBER__PIN_NUMBER, oldPinNumber, pinNumber)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetSpecificationOf((IModelElement)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF: - return basicSetSpecificationOf(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF: - return eInternalContainer().eInverseRemove(this, ElementPackage.IMODEL_ELEMENT__SPECIFICATIONS, IModelElement.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case AnnotationPackage.PIN_NUMBER__ID: - return getId(); - case AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF: - if (resolve) return getSpecificationOf(); - return basicGetSpecificationOf(); - case AnnotationPackage.PIN_NUMBER__NAME: - return getName(); - case AnnotationPackage.PIN_NUMBER__PIN_NUMBER: - return getPinNumber(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case AnnotationPackage.PIN_NUMBER__ID: - setId((Integer)newValue); - return; - case AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF: - setSpecificationOf((IModelElement)newValue); - return; - case AnnotationPackage.PIN_NUMBER__NAME: - setName((String)newValue); - return; - case AnnotationPackage.PIN_NUMBER__PIN_NUMBER: - setPinNumber((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case AnnotationPackage.PIN_NUMBER__ID: - setId(ID_EDEFAULT); - return; - case AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF: - setSpecificationOf((IModelElement)null); - return; - case AnnotationPackage.PIN_NUMBER__NAME: - setName(NAME_EDEFAULT); - return; - case AnnotationPackage.PIN_NUMBER__PIN_NUMBER: - setPinNumber(PIN_NUMBER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case AnnotationPackage.PIN_NUMBER__ID: - return id != ID_EDEFAULT; - case AnnotationPackage.PIN_NUMBER__SPECIFICATION_OF: - return basicGetSpecificationOf() != null; - case AnnotationPackage.PIN_NUMBER__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case AnnotationPackage.PIN_NUMBER__PIN_NUMBER: - return pinNumber != PIN_NUMBER_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { - if (baseClass == INamedElement.class) { - switch (derivedFeatureID) { - case AnnotationPackage.PIN_NUMBER__NAME: return FortissToolingKernelPackage.INAMED_ELEMENT__NAME; - default: return -1; - } - } - if (baseClass == IHiddenSpecification.class) { - switch (derivedFeatureID) { - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) { - if (baseClass == INamedElement.class) { - switch (baseFeatureID) { - case FortissToolingKernelPackage.INAMED_ELEMENT__NAME: return AnnotationPackage.PIN_NUMBER__NAME; - default: return -1; - } - } - if (baseClass == IHiddenSpecification.class) { - switch (baseFeatureID) { - default: return -1; - } - } - return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", name: "); - result.append(name); - result.append(", pinNumber: "); - result.append(pinNumber); - result.append(')'); - return result.toString(); - } - -} //PinNumberImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/util/AnnotationAdapterFactory.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/util/AnnotationAdapterFactory.java deleted file mode 100644 index 2b303216..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/util/AnnotationAdapterFactory.java +++ /dev/null @@ -1,253 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.fortiss.af3.platform.raspberry.model.annotation.*; - -import org.fortiss.tooling.base.model.element.IAnnotatedSpecification; -import org.fortiss.tooling.base.model.element.IHiddenSpecification; -import org.fortiss.tooling.base.model.element.IModelElementSpecification; - -import org.fortiss.tooling.kernel.model.IIdLabeled; -import org.fortiss.tooling.kernel.model.INamedElement; - -/** - * <!-- 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.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage - * @generated - */ -public class AnnotationAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static AnnotationPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AnnotationAdapterFactory() { - if (modelPackage == null) { - modelPackage = AnnotationPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AnnotationSwitch<Adapter> modelSwitch = - new AnnotationSwitch<Adapter>() { - @Override - public Adapter caseCoreAddress(CoreAddress object) { - return createCoreAddressAdapter(); - } - @Override - public Adapter casePinNumber(PinNumber object) { - return createPinNumberAdapter(); - } - @Override - public Adapter casePeripheralAddress(PeripheralAddress object) { - return createPeripheralAddressAdapter(); - } - @Override - public Adapter caseIIdLabeled(IIdLabeled object) { - return createIIdLabeledAdapter(); - } - @Override - public Adapter caseIModelElementSpecification(IModelElementSpecification object) { - return createIModelElementSpecificationAdapter(); - } - @Override - public Adapter caseINamedElement(INamedElement object) { - return createINamedElementAdapter(); - } - @Override - public Adapter caseIAnnotatedSpecification(IAnnotatedSpecification object) { - return createIAnnotatedSpecificationAdapter(); - } - @Override - public Adapter caseIHiddenSpecification(IHiddenSpecification object) { - return createIHiddenSpecificationAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress <em>Core Address</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.annotation.CoreAddress - * @generated - */ - public Adapter createCoreAddressAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.annotation.PinNumber <em>Pin Number</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.annotation.PinNumber - * @generated - */ - public Adapter createPinNumberAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress <em>Peripheral Address</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.annotation.PeripheralAddress - * @generated - */ - public Adapter createPeripheralAddressAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.kernel.model.IIdLabeled <em>IId Labeled</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.kernel.model.IIdLabeled - * @generated - */ - public Adapter createIIdLabeledAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.element.IModelElementSpecification <em>IModel Element Specification</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.element.IModelElementSpecification - * @generated - */ - public Adapter createIModelElementSpecificationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.kernel.model.INamedElement <em>INamed Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.kernel.model.INamedElement - * @generated - */ - public Adapter createINamedElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.element.IAnnotatedSpecification <em>IAnnotated Specification</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.element.IAnnotatedSpecification - * @generated - */ - public Adapter createIAnnotatedSpecificationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.element.IHiddenSpecification <em>IHidden Specification</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.element.IHiddenSpecification - * @generated - */ - public Adapter createIHiddenSpecificationAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //AnnotationAdapterFactory diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/util/AnnotationSwitch.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/util/AnnotationSwitch.java deleted file mode 100644 index 25ed6efc..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/annotation/util/AnnotationSwitch.java +++ /dev/null @@ -1,249 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.annotation.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.fortiss.af3.platform.raspberry.model.annotation.*; - -import org.fortiss.tooling.base.model.element.IAnnotatedSpecification; -import org.fortiss.tooling.base.model.element.IHiddenSpecification; -import org.fortiss.tooling.base.model.element.IModelElementSpecification; - -import org.fortiss.tooling.kernel.model.IIdLabeled; -import org.fortiss.tooling.kernel.model.INamedElement; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage - * @generated - */ -public class AnnotationSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static AnnotationPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AnnotationSwitch() { - if (modelPackage == null) { - modelPackage = AnnotationPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case AnnotationPackage.CORE_ADDRESS: { - CoreAddress coreAddress = (CoreAddress)theEObject; - T result = caseCoreAddress(coreAddress); - if (result == null) result = caseIAnnotatedSpecification(coreAddress); - if (result == null) result = caseIHiddenSpecification(coreAddress); - if (result == null) result = caseIModelElementSpecification(coreAddress); - if (result == null) result = caseINamedElement(coreAddress); - if (result == null) result = caseIIdLabeled(coreAddress); - if (result == null) result = defaultCase(theEObject); - return result; - } - case AnnotationPackage.PIN_NUMBER: { - PinNumber pinNumber = (PinNumber)theEObject; - T result = casePinNumber(pinNumber); - if (result == null) result = caseIAnnotatedSpecification(pinNumber); - if (result == null) result = caseIHiddenSpecification(pinNumber); - if (result == null) result = caseIModelElementSpecification(pinNumber); - if (result == null) result = caseINamedElement(pinNumber); - if (result == null) result = caseIIdLabeled(pinNumber); - if (result == null) result = defaultCase(theEObject); - return result; - } - case AnnotationPackage.PERIPHERAL_ADDRESS: { - PeripheralAddress peripheralAddress = (PeripheralAddress)theEObject; - T result = casePeripheralAddress(peripheralAddress); - if (result == null) result = caseIAnnotatedSpecification(peripheralAddress); - if (result == null) result = caseIHiddenSpecification(peripheralAddress); - if (result == null) result = caseIModelElementSpecification(peripheralAddress); - if (result == null) result = caseINamedElement(peripheralAddress); - if (result == null) result = caseIIdLabeled(peripheralAddress); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Core Address</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>Core Address</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCoreAddress(CoreAddress object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Pin Number</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>Pin Number</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePinNumber(PinNumber object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Peripheral Address</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>Peripheral Address</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePeripheralAddress(PeripheralAddress object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IId Labeled</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>IId Labeled</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIIdLabeled(IIdLabeled object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IModel Element Specification</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>IModel Element Specification</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIModelElementSpecification(IModelElementSpecification object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>INamed 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. - * @return the result of interpreting the object as an instance of '<em>INamed Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseINamedElement(INamedElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IAnnotated Specification</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>IAnnotated Specification</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIAnnotatedSpecification(IAnnotatedSpecification object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IHidden Specification</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>IHidden Specification</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIHiddenSpecification(IHiddenSpecification object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //AnnotationSwitch diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ActuatorImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ActuatorImpl.java deleted file mode 100644 index 007c6fb7..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ActuatorImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.TransmitterImpl; - -import org.fortiss.af3.platform.raspberry.model.Actuator; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Actuator</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class ActuatorImpl extends TransmitterImpl implements Actuator { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ActuatorImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.ACTUATOR; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Board"; - } - -} //ActuatorImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ActuatorOutImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ActuatorOutImpl.java deleted file mode 100644 index bd97c05a..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ActuatorOutImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.TransmitterImpl; - -import org.fortiss.af3.platform.raspberry.model.ActuatorOut; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Actuator Out</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class ActuatorOutImpl extends TransmitterImpl implements ActuatorOut { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ActuatorOutImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.ACTUATOR_OUT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Processor"; - } - -} //ActuatorOutImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusImpl.java deleted file mode 100644 index a9ac93c8..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.TransmissionUnitImpl; - -import org.fortiss.af3.platform.raspberry.model.Bus; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Bus</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class BusImpl extends TransmissionUnitImpl implements Bus { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BusImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.BUS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Processor"; - } - -} //BusImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusMasterInterfaceImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusMasterInterfaceImpl.java deleted file mode 100644 index f0b76d0b..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusMasterInterfaceImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.TransceiverImpl; - -import org.fortiss.af3.platform.raspberry.model.BusMasterInterface; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Bus Master Interface</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class BusMasterInterfaceImpl extends TransceiverImpl implements BusMasterInterface { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BusMasterInterfaceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.BUS_MASTER_INTERFACE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Processor"; - } - -} //BusMasterInterfaceImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusMasterPortImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusMasterPortImpl.java deleted file mode 100644 index df0b56e4..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/BusMasterPortImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.TransceiverImpl; - -import org.fortiss.af3.platform.raspberry.model.BusMasterPort; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Bus Master Port</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class BusMasterPortImpl extends TransceiverImpl implements BusMasterPort { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BusMasterPortImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.BUS_MASTER_PORT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Processor"; - } - -} //BusMasterPortImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusImpl.java deleted file mode 100644 index d9c09259..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.TransmissionUnitImpl; - -import org.fortiss.af3.platform.raspberry.model.CANBus; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>CAN Bus</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class CANBusImpl extends TransmissionUnitImpl implements CANBus { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CANBusImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.CAN_BUS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Board"; - } - -} //CANBusImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusMasterInterfaceImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusMasterInterfaceImpl.java deleted file mode 100644 index 32232557..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusMasterInterfaceImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.TransceiverImpl; - -import org.fortiss.af3.platform.raspberry.model.CANBusMasterInterface; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>CAN Bus Master Interface</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class CANBusMasterInterfaceImpl extends TransceiverImpl implements CANBusMasterInterface { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CANBusMasterInterfaceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.CAN_BUS_MASTER_INTERFACE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Board"; - } - -} //CANBusMasterInterfaceImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusMasterPortImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusMasterPortImpl.java deleted file mode 100644 index 0e43f62f..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CANBusMasterPortImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.TransceiverImpl; - -import org.fortiss.af3.platform.raspberry.model.CANBusMasterPort; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>CAN Bus Master Port</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class CANBusMasterPortImpl extends TransceiverImpl implements CANBusMasterPort { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CANBusMasterPortImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.CAN_BUS_MASTER_PORT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Board"; - } - -} //CANBusMasterPortImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CoreImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CoreImpl.java deleted file mode 100644 index 4e4528a1..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/CoreImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.ExecutionUnitImpl; - -import org.fortiss.af3.platform.raspberry.model.Core; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Core</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class CoreImpl extends ExecutionUnitImpl implements Core { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CoreImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.CORE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Processor"; - } - -} //CoreImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/IBoardDomainImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/IBoardDomainImpl.java deleted file mode 100644 index ab7fc7dd..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/IBoardDomainImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.fortiss.af3.platform.raspberry.model.IBoardDomain; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>IBoard Domain</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class IBoardDomainImpl extends EObjectImpl implements IBoardDomain { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IBoardDomainImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.IBOARD_DOMAIN; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Board"; - } - -} //IBoardDomainImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/IProcessorDomainImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/IProcessorDomainImpl.java deleted file mode 100644 index a9e198f6..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/IProcessorDomainImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.fortiss.af3.platform.raspberry.model.IProcessorDomain; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>IProcessor Domain</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class IProcessorDomainImpl extends EObjectImpl implements IProcessorDomain { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IProcessorDomainImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.IPROCESSOR_DOMAIN; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Processor"; - } - -} //IProcessorDomainImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ModelFactoryImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ModelFactoryImpl.java deleted file mode 100644 index 22df3964..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ModelFactoryImpl.java +++ /dev/null @@ -1,260 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.fortiss.af3.platform.raspberry.model.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class ModelFactoryImpl extends EFactoryImpl implements ModelFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ModelFactory init() { - try { - ModelFactory theModelFactory = (ModelFactory)EPackage.Registry.INSTANCE.getEFactory(ModelPackage.eNS_URI); - if (theModelFactory != null) { - return theModelFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ModelFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ModelPackage.CAN_BUS: return createCANBus(); - case ModelPackage.IPROCESSOR_DOMAIN: return createIProcessorDomain(); - case ModelPackage.IBOARD_DOMAIN: return createIBoardDomain(); - case ModelPackage.RASPBERRY_PI1: return createRaspberryPi1(); - case ModelPackage.RASPBERRY_PI2: return createRaspberryPi2(); - case ModelPackage.RASPBERRY_PI3: return createRaspberryPi3(); - case ModelPackage.CORE: return createCore(); - case ModelPackage.BUS: return createBus(); - case ModelPackage.SENSOR: return createSensor(); - case ModelPackage.ACTUATOR: return createActuator(); - case ModelPackage.SENSOR_IN: return createSensorIn(); - case ModelPackage.ACTUATOR_OUT: return createActuatorOut(); - case ModelPackage.BUS_MASTER_INTERFACE: return createBusMasterInterface(); - case ModelPackage.BUS_MASTER_PORT: return createBusMasterPort(); - case ModelPackage.CAN_BUS_MASTER_PORT: return createCANBusMasterPort(); - case ModelPackage.CAN_BUS_MASTER_INTERFACE: return createCANBusMasterInterface(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CANBus createCANBus() { - CANBusImpl canBus = new CANBusImpl(); - return canBus; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IProcessorDomain createIProcessorDomain() { - IProcessorDomainImpl iProcessorDomain = new IProcessorDomainImpl(); - return iProcessorDomain; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IBoardDomain createIBoardDomain() { - IBoardDomainImpl iBoardDomain = new IBoardDomainImpl(); - return iBoardDomain; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RaspberryPi1 createRaspberryPi1() { - RaspberryPi1Impl raspberryPi1 = new RaspberryPi1Impl(); - return raspberryPi1; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RaspberryPi2 createRaspberryPi2() { - RaspberryPi2Impl raspberryPi2 = new RaspberryPi2Impl(); - return raspberryPi2; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RaspberryPi3 createRaspberryPi3() { - RaspberryPi3Impl raspberryPi3 = new RaspberryPi3Impl(); - return raspberryPi3; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Core createCore() { - CoreImpl core = new CoreImpl(); - return core; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Bus createBus() { - BusImpl bus = new BusImpl(); - return bus; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Sensor createSensor() { - SensorImpl sensor = new SensorImpl(); - return sensor; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Actuator createActuator() { - ActuatorImpl actuator = new ActuatorImpl(); - return actuator; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SensorIn createSensorIn() { - SensorInImpl sensorIn = new SensorInImpl(); - return sensorIn; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActuatorOut createActuatorOut() { - ActuatorOutImpl actuatorOut = new ActuatorOutImpl(); - return actuatorOut; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BusMasterInterface createBusMasterInterface() { - BusMasterInterfaceImpl busMasterInterface = new BusMasterInterfaceImpl(); - return busMasterInterface; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BusMasterPort createBusMasterPort() { - BusMasterPortImpl busMasterPort = new BusMasterPortImpl(); - return busMasterPort; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CANBusMasterPort createCANBusMasterPort() { - CANBusMasterPortImpl canBusMasterPort = new CANBusMasterPortImpl(); - return canBusMasterPort; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CANBusMasterInterface createCANBusMasterInterface() { - CANBusMasterInterfaceImpl canBusMasterInterface = new CANBusMasterInterfaceImpl(); - return canBusMasterInterface; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelPackage getModelPackage() { - return (ModelPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static ModelPackage getPackage() { - return ModelPackage.eINSTANCE; - } - -} //ModelFactoryImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ModelPackageImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ModelPackageImpl.java deleted file mode 100644 index bab6f137..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/ModelPackageImpl.java +++ /dev/null @@ -1,571 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.fortiss.af3.platform.model.AF3PlatformPackage; - -import org.fortiss.af3.platform.raspberry.model.Actuator; -import org.fortiss.af3.platform.raspberry.model.ActuatorOut; -import org.fortiss.af3.platform.raspberry.model.Bus; -import org.fortiss.af3.platform.raspberry.model.BusMasterInterface; -import org.fortiss.af3.platform.raspberry.model.BusMasterPort; -import org.fortiss.af3.platform.raspberry.model.CANBus; -import org.fortiss.af3.platform.raspberry.model.CANBusMasterInterface; -import org.fortiss.af3.platform.raspberry.model.CANBusMasterPort; -import org.fortiss.af3.platform.raspberry.model.Core; -import org.fortiss.af3.platform.raspberry.model.IBoardDomain; -import org.fortiss.af3.platform.raspberry.model.IProcessorDomain; -import org.fortiss.af3.platform.raspberry.model.ModelFactory; -import org.fortiss.af3.platform.raspberry.model.ModelPackage; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi1; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi2; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi3; -import org.fortiss.af3.platform.raspberry.model.Sensor; -import org.fortiss.af3.platform.raspberry.model.SensorIn; -import org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage; -import org.fortiss.af3.platform.raspberry.model.annotation.impl.AnnotationPackageImpl; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class ModelPackageImpl extends EPackageImpl implements ModelPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass canBusEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass iProcessorDomainEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass iBoardDomainEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass raspberryPi1EClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass raspberryPi2EClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass raspberryPi3EClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass coreEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass busEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass sensorEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass actuatorEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass sensorInEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass actuatorOutEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass busMasterInterfaceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass busMasterPortEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass canBusMasterPortEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass canBusMasterInterfaceEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage#eNS_URI - * @see #init() - * @generated - */ - private ModelPackageImpl() { - super(eNS_URI, ModelFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link ModelPackage#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 ModelPackage init() { - if (isInited) return (ModelPackage)EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI); - - // Obtain or create and register package - ModelPackageImpl theModelPackage = (ModelPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ModelPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ModelPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - AF3PlatformPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - AnnotationPackageImpl theAnnotationPackage = (AnnotationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AnnotationPackage.eNS_URI) instanceof AnnotationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnotationPackage.eNS_URI) : AnnotationPackage.eINSTANCE); - - // Create package meta-data objects - theModelPackage.createPackageContents(); - theAnnotationPackage.createPackageContents(); - - // Initialize created meta-data - theModelPackage.initializePackageContents(); - theAnnotationPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theModelPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ModelPackage.eNS_URI, theModelPackage); - return theModelPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCANBus() { - return canBusEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getIProcessorDomain() { - return iProcessorDomainEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getIBoardDomain() { - return iBoardDomainEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRaspberryPi1() { - return raspberryPi1EClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRaspberryPi2() { - return raspberryPi2EClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRaspberryPi3() { - return raspberryPi3EClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCore() { - return coreEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBus() { - return busEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSensor() { - return sensorEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getActuator() { - return actuatorEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSensorIn() { - return sensorInEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getActuatorOut() { - return actuatorOutEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBusMasterInterface() { - return busMasterInterfaceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBusMasterPort() { - return busMasterPortEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCANBusMasterPort() { - return canBusMasterPortEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCANBusMasterInterface() { - return canBusMasterInterfaceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelFactory getModelFactory() { - return (ModelFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - canBusEClass = createEClass(CAN_BUS); - - iProcessorDomainEClass = createEClass(IPROCESSOR_DOMAIN); - - iBoardDomainEClass = createEClass(IBOARD_DOMAIN); - - raspberryPi1EClass = createEClass(RASPBERRY_PI1); - - raspberryPi2EClass = createEClass(RASPBERRY_PI2); - - raspberryPi3EClass = createEClass(RASPBERRY_PI3); - - coreEClass = createEClass(CORE); - - busEClass = createEClass(BUS); - - sensorEClass = createEClass(SENSOR); - - actuatorEClass = createEClass(ACTUATOR); - - sensorInEClass = createEClass(SENSOR_IN); - - actuatorOutEClass = createEClass(ACTUATOR_OUT); - - busMasterInterfaceEClass = createEClass(BUS_MASTER_INTERFACE); - - busMasterPortEClass = createEClass(BUS_MASTER_PORT); - - canBusMasterPortEClass = createEClass(CAN_BUS_MASTER_PORT); - - canBusMasterInterfaceEClass = createEClass(CAN_BUS_MASTER_INTERFACE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - AnnotationPackage theAnnotationPackage = (AnnotationPackage)EPackage.Registry.INSTANCE.getEPackage(AnnotationPackage.eNS_URI); - AF3PlatformPackage theAF3PlatformPackage = (AF3PlatformPackage)EPackage.Registry.INSTANCE.getEPackage(AF3PlatformPackage.eNS_URI); - - // Add subpackages - getESubpackages().add(theAnnotationPackage); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - canBusEClass.getESuperTypes().add(theAF3PlatformPackage.getTransmissionUnit()); - canBusEClass.getESuperTypes().add(theAF3PlatformPackage.getIBoardPlatformArchitectureElement()); - canBusEClass.getESuperTypes().add(this.getIBoardDomain()); - iProcessorDomainEClass.getESuperTypes().add(theAF3PlatformPackage.getIArchitectureDomain()); - iBoardDomainEClass.getESuperTypes().add(theAF3PlatformPackage.getIArchitectureDomain()); - raspberryPi1EClass.getESuperTypes().add(theAF3PlatformPackage.getGenericPlatformUnit()); - raspberryPi1EClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - raspberryPi1EClass.getESuperTypes().add(theAF3PlatformPackage.getIBoardPlatformArchitectureElement()); - raspberryPi1EClass.getESuperTypes().add(this.getIBoardDomain()); - raspberryPi2EClass.getESuperTypes().add(theAF3PlatformPackage.getGenericPlatformUnit()); - raspberryPi2EClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - raspberryPi2EClass.getESuperTypes().add(theAF3PlatformPackage.getIBoardPlatformArchitectureElement()); - raspberryPi2EClass.getESuperTypes().add(this.getIBoardDomain()); - raspberryPi3EClass.getESuperTypes().add(theAF3PlatformPackage.getGenericPlatformUnit()); - raspberryPi3EClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - raspberryPi3EClass.getESuperTypes().add(theAF3PlatformPackage.getIBoardPlatformArchitectureElement()); - raspberryPi3EClass.getESuperTypes().add(this.getIBoardDomain()); - coreEClass.getESuperTypes().add(theAF3PlatformPackage.getExecutionUnit()); - coreEClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - coreEClass.getESuperTypes().add(theAF3PlatformPackage.getIIpCorePlatformArchitectureElement()); - coreEClass.getESuperTypes().add(this.getIProcessorDomain()); - busEClass.getESuperTypes().add(theAF3PlatformPackage.getTransmissionUnit()); - busEClass.getESuperTypes().add(theAF3PlatformPackage.getIIpCorePlatformArchitectureElement()); - busEClass.getESuperTypes().add(this.getIProcessorDomain()); - sensorEClass.getESuperTypes().add(theAF3PlatformPackage.getReceiver()); - sensorEClass.getESuperTypes().add(theAF3PlatformPackage.getIBoardPlatformArchitectureElement()); - sensorEClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - sensorEClass.getESuperTypes().add(this.getIBoardDomain()); - sensorEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformPort()); - sensorEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformIOResource()); - actuatorEClass.getESuperTypes().add(theAF3PlatformPackage.getTransmitter()); - actuatorEClass.getESuperTypes().add(theAF3PlatformPackage.getIBoardPlatformArchitectureElement()); - actuatorEClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - actuatorEClass.getESuperTypes().add(this.getIBoardDomain()); - actuatorEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformPort()); - actuatorEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformIOResource()); - sensorInEClass.getESuperTypes().add(theAF3PlatformPackage.getReceiver()); - sensorInEClass.getESuperTypes().add(theAF3PlatformPackage.getIIpCorePlatformArchitectureElement()); - sensorInEClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - sensorInEClass.getESuperTypes().add(this.getIProcessorDomain()); - sensorInEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformPort()); - sensorInEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformIOResource()); - actuatorOutEClass.getESuperTypes().add(theAF3PlatformPackage.getTransmitter()); - actuatorOutEClass.getESuperTypes().add(theAF3PlatformPackage.getIIpCorePlatformArchitectureElement()); - actuatorOutEClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - actuatorOutEClass.getESuperTypes().add(this.getIProcessorDomain()); - actuatorOutEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformPort()); - actuatorOutEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformIOResource()); - busMasterInterfaceEClass.getESuperTypes().add(theAF3PlatformPackage.getTransceiver()); - busMasterInterfaceEClass.getESuperTypes().add(theAF3PlatformPackage.getIIpCorePlatformArchitectureElement()); - busMasterInterfaceEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformInterface()); - busMasterInterfaceEClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - busMasterInterfaceEClass.getESuperTypes().add(this.getIProcessorDomain()); - busMasterPortEClass.getESuperTypes().add(theAF3PlatformPackage.getTransceiver()); - busMasterPortEClass.getESuperTypes().add(theAF3PlatformPackage.getIIpCorePlatformArchitectureElement()); - busMasterPortEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformPort()); - busMasterPortEClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - busMasterPortEClass.getESuperTypes().add(this.getIProcessorDomain()); - canBusMasterPortEClass.getESuperTypes().add(theAF3PlatformPackage.getTransceiver()); - canBusMasterPortEClass.getESuperTypes().add(theAF3PlatformPackage.getIBoardPlatformArchitectureElement()); - canBusMasterPortEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformPort()); - canBusMasterPortEClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - canBusMasterPortEClass.getESuperTypes().add(this.getIBoardDomain()); - canBusMasterInterfaceEClass.getESuperTypes().add(theAF3PlatformPackage.getTransceiver()); - canBusMasterInterfaceEClass.getESuperTypes().add(theAF3PlatformPackage.getIBoardPlatformArchitectureElement()); - canBusMasterInterfaceEClass.getESuperTypes().add(theAF3PlatformPackage.getIPlatformInterface()); - canBusMasterInterfaceEClass.getESuperTypes().add(theAF3PlatformPackage.getICommunicationMaster()); - canBusMasterInterfaceEClass.getESuperTypes().add(this.getIBoardDomain()); - - // Initialize classes and features; add operations and parameters - initEClass(canBusEClass, CANBus.class, "CANBus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(iProcessorDomainEClass, IProcessorDomain.class, "IProcessorDomain", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - addEOperation(iProcessorDomainEClass, ecorePackage.getEString(), "getArchitectureDomainName", 1, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(iBoardDomainEClass, IBoardDomain.class, "IBoardDomain", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - addEOperation(iBoardDomainEClass, ecorePackage.getEString(), "getArchitectureDomainName", 1, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(raspberryPi1EClass, RaspberryPi1.class, "RaspberryPi1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(raspberryPi2EClass, RaspberryPi2.class, "RaspberryPi2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(raspberryPi3EClass, RaspberryPi3.class, "RaspberryPi3", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(coreEClass, Core.class, "Core", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(busEClass, Bus.class, "Bus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(sensorEClass, Sensor.class, "Sensor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(actuatorEClass, Actuator.class, "Actuator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(sensorInEClass, SensorIn.class, "SensorIn", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(actuatorOutEClass, ActuatorOut.class, "ActuatorOut", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(busMasterInterfaceEClass, BusMasterInterface.class, "BusMasterInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(busMasterPortEClass, BusMasterPort.class, "BusMasterPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(canBusMasterPortEClass, CANBusMasterPort.class, "CANBusMasterPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(canBusMasterInterfaceEClass, CANBusMasterInterface.class, "CANBusMasterInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - // Create resource - createResource(eNS_URI); - } - -} //ModelPackageImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi1Impl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi1Impl.java deleted file mode 100644 index ae117aa2..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi1Impl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.GenericPlatformUnitImpl; - -import org.fortiss.af3.platform.raspberry.model.ModelPackage; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi1; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Raspberry Pi1</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class RaspberryPi1Impl extends GenericPlatformUnitImpl implements RaspberryPi1 { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RaspberryPi1Impl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.RASPBERRY_PI1; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Board"; - } - -} //RaspberryPi1Impl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi2Impl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi2Impl.java deleted file mode 100644 index bc6fc7df..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi2Impl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.GenericPlatformUnitImpl; - -import org.fortiss.af3.platform.raspberry.model.ModelPackage; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi2; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Raspberry Pi2</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class RaspberryPi2Impl extends GenericPlatformUnitImpl implements RaspberryPi2 { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RaspberryPi2Impl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.RASPBERRY_PI2; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Board"; - } - -} //RaspberryPi2Impl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi3Impl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi3Impl.java deleted file mode 100644 index 5ad967ee..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/RaspberryPi3Impl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.GenericPlatformUnitImpl; - -import org.fortiss.af3.platform.raspberry.model.ModelPackage; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi3; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Raspberry Pi3</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class RaspberryPi3Impl extends GenericPlatformUnitImpl implements RaspberryPi3 { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RaspberryPi3Impl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.RASPBERRY_PI3; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Board"; - } - -} //RaspberryPi3Impl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/SensorImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/SensorImpl.java deleted file mode 100644 index ccc39369..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/SensorImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.ReceiverImpl; - -import org.fortiss.af3.platform.raspberry.model.ModelPackage; -import org.fortiss.af3.platform.raspberry.model.Sensor; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Sensor</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class SensorImpl extends ReceiverImpl implements Sensor { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected SensorImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.SENSOR; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Board"; - } - -} //SensorImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/SensorInImpl.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/SensorInImpl.java deleted file mode 100644 index 4821ff7c..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/impl/SensorInImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.fortiss.af3.platform.model.impl.ReceiverImpl; - -import org.fortiss.af3.platform.raspberry.model.ModelPackage; -import org.fortiss.af3.platform.raspberry.model.SensorIn; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Sensor In</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class SensorInImpl extends ReceiverImpl implements SensorIn { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected SensorInImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelPackage.Literals.SENSOR_IN; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getArchitectureDomainName() { - return "Processor"; - } - -} //SensorInImpl diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/util/ModelAdapterFactory.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/util/ModelAdapterFactory.java deleted file mode 100644 index d3d21cf3..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/util/ModelAdapterFactory.java +++ /dev/null @@ -1,1060 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.fortiss.af3.platform.model.ExecutionUnit; -import org.fortiss.af3.platform.model.GenericPlatformUnit; -import org.fortiss.af3.platform.model.IArchitectureDomain; -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.ICommunicationRole; -import org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPhysicalPlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPlatformArchitectureElementType; -import org.fortiss.af3.platform.model.IPlatformCommunicationResource; -import org.fortiss.af3.platform.model.IPlatformConnectorType; -import org.fortiss.af3.platform.model.IPlatformIOResource; -import org.fortiss.af3.platform.model.IPlatformInterface; -import org.fortiss.af3.platform.model.IPlatformPort; -import org.fortiss.af3.platform.model.IPlatformProcessingResource; -import org.fortiss.af3.platform.model.IPlatformResource; -import org.fortiss.af3.platform.model.PlatformConnectorUnit; -import org.fortiss.af3.platform.model.Receiver; -import org.fortiss.af3.platform.model.Transceiver; -import org.fortiss.af3.platform.model.TransmissionUnit; -import org.fortiss.af3.platform.model.Transmitter; - -import org.fortiss.af3.platform.raspberry.model.*; - -import org.fortiss.tooling.base.model.base.ConnectorBase; -import org.fortiss.tooling.base.model.base.EntryConnectorBase; -import org.fortiss.tooling.base.model.base.ExitConnectorBase; -import org.fortiss.tooling.base.model.base.HierarchicElementBase; - -import org.fortiss.tooling.base.model.element.IConnector; -import org.fortiss.tooling.base.model.element.IHierarchicElement; -import org.fortiss.tooling.base.model.element.IHierarchicElementContainer; -import org.fortiss.tooling.base.model.element.IModelElement; - -import org.fortiss.tooling.base.model.layout.ILayoutedModelElement; - -import org.fortiss.tooling.kernel.model.IIdLabeled; -import org.fortiss.tooling.kernel.model.INamedCommentedElement; -import org.fortiss.tooling.kernel.model.INamedElement; -import org.fortiss.tooling.kernel.model.ISpeciallyCopyiable; - -/** - * <!-- 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.fortiss.af3.platform.raspberry.model.ModelPackage - * @generated - */ -public class ModelAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static ModelPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelAdapterFactory() { - if (modelPackage == null) { - modelPackage = ModelPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ModelSwitch<Adapter> modelSwitch = - new ModelSwitch<Adapter>() { - @Override - public Adapter caseCANBus(CANBus object) { - return createCANBusAdapter(); - } - @Override - public Adapter caseIProcessorDomain(IProcessorDomain object) { - return createIProcessorDomainAdapter(); - } - @Override - public Adapter caseIBoardDomain(IBoardDomain object) { - return createIBoardDomainAdapter(); - } - @Override - public Adapter caseRaspberryPi1(RaspberryPi1 object) { - return createRaspberryPi1Adapter(); - } - @Override - public Adapter caseRaspberryPi2(RaspberryPi2 object) { - return createRaspberryPi2Adapter(); - } - @Override - public Adapter caseRaspberryPi3(RaspberryPi3 object) { - return createRaspberryPi3Adapter(); - } - @Override - public Adapter caseCore(Core object) { - return createCoreAdapter(); - } - @Override - public Adapter caseBus(Bus object) { - return createBusAdapter(); - } - @Override - public Adapter caseSensor(Sensor object) { - return createSensorAdapter(); - } - @Override - public Adapter caseActuator(Actuator object) { - return createActuatorAdapter(); - } - @Override - public Adapter caseSensorIn(SensorIn object) { - return createSensorInAdapter(); - } - @Override - public Adapter caseActuatorOut(ActuatorOut object) { - return createActuatorOutAdapter(); - } - @Override - public Adapter caseBusMasterInterface(BusMasterInterface object) { - return createBusMasterInterfaceAdapter(); - } - @Override - public Adapter caseBusMasterPort(BusMasterPort object) { - return createBusMasterPortAdapter(); - } - @Override - public Adapter caseCANBusMasterPort(CANBusMasterPort object) { - return createCANBusMasterPortAdapter(); - } - @Override - public Adapter caseCANBusMasterInterface(CANBusMasterInterface object) { - return createCANBusMasterInterfaceAdapter(); - } - @Override - public Adapter caseIIdLabeled(IIdLabeled object) { - return createIIdLabeledAdapter(); - } - @Override - public Adapter caseINamedElement(INamedElement object) { - return createINamedElementAdapter(); - } - @Override - public Adapter caseINamedCommentedElement(INamedCommentedElement object) { - return createINamedCommentedElementAdapter(); - } - @Override - public Adapter caseIHierarchicElementContainer(IHierarchicElementContainer object) { - return createIHierarchicElementContainerAdapter(); - } - @Override - public Adapter caseIModelElement(IModelElement object) { - return createIModelElementAdapter(); - } - @Override - public Adapter caseIHierarchicElement(IHierarchicElement object) { - return createIHierarchicElementAdapter(); - } - @Override - public Adapter caseILayoutedModelElement(ILayoutedModelElement object) { - return createILayoutedModelElementAdapter(); - } - @Override - public Adapter caseHierarchicElementBase(HierarchicElementBase object) { - return createHierarchicElementBaseAdapter(); - } - @Override - public Adapter caseISpeciallyCopyiable(ISpeciallyCopyiable object) { - return createISpeciallyCopyiableAdapter(); - } - @Override - public Adapter caseIPlatformArchitectureElement(IPlatformArchitectureElement object) { - return createIPlatformArchitectureElementAdapter(); - } - @Override - public Adapter caseIPlatformResource(IPlatformResource object) { - return createIPlatformResourceAdapter(); - } - @Override - public Adapter caseIPlatformCommunicationResource(IPlatformCommunicationResource object) { - return createIPlatformCommunicationResourceAdapter(); - } - @Override - public Adapter caseTransmissionUnit(TransmissionUnit object) { - return createTransmissionUnitAdapter(); - } - @Override - public Adapter caseIPlatformArchitectureElementType(IPlatformArchitectureElementType object) { - return createIPlatformArchitectureElementTypeAdapter(); - } - @Override - public Adapter caseIPhysicalPlatformArchitectureElement(IPhysicalPlatformArchitectureElement object) { - return createIPhysicalPlatformArchitectureElementAdapter(); - } - @Override - public Adapter caseIBoardPlatformArchitectureElement(IBoardPlatformArchitectureElement object) { - return createIBoardPlatformArchitectureElementAdapter(); - } - @Override - public Adapter caseIArchitectureDomain(IArchitectureDomain object) { - return createIArchitectureDomainAdapter(); - } - @Override - public Adapter caseGenericPlatformUnit(GenericPlatformUnit object) { - return createGenericPlatformUnitAdapter(); - } - @Override - public Adapter caseICommunicationRole(ICommunicationRole object) { - return createICommunicationRoleAdapter(); - } - @Override - public Adapter caseICommunicationMaster(ICommunicationMaster object) { - return createICommunicationMasterAdapter(); - } - @Override - public Adapter caseIPlatformProcessingResource(IPlatformProcessingResource object) { - return createIPlatformProcessingResourceAdapter(); - } - @Override - public Adapter caseExecutionUnit(ExecutionUnit object) { - return createExecutionUnitAdapter(); - } - @Override - public Adapter caseIIpCorePlatformArchitectureElement(IIpCorePlatformArchitectureElement object) { - return createIIpCorePlatformArchitectureElementAdapter(); - } - @Override - public Adapter caseIConnector(IConnector object) { - return createIConnectorAdapter(); - } - @Override - public Adapter caseConnectorBase(ConnectorBase object) { - return createConnectorBaseAdapter(); - } - @Override - public Adapter casePlatformConnectorUnit(PlatformConnectorUnit object) { - return createPlatformConnectorUnitAdapter(); - } - @Override - public Adapter caseReceiver(Receiver object) { - return createReceiverAdapter(); - } - @Override - public Adapter caseIPlatformConnectorType(IPlatformConnectorType object) { - return createIPlatformConnectorTypeAdapter(); - } - @Override - public Adapter caseExitConnectorBase(ExitConnectorBase object) { - return createExitConnectorBaseAdapter(); - } - @Override - public Adapter caseIPlatformPort(IPlatformPort object) { - return createIPlatformPortAdapter(); - } - @Override - public Adapter caseIPlatformIOResource(IPlatformIOResource object) { - return createIPlatformIOResourceAdapter(); - } - @Override - public Adapter caseTransmitter(Transmitter object) { - return createTransmitterAdapter(); - } - @Override - public Adapter caseTransceiver(Transceiver object) { - return createTransceiverAdapter(); - } - @Override - public Adapter caseEntryConnectorBase(EntryConnectorBase object) { - return createEntryConnectorBaseAdapter(); - } - @Override - public Adapter caseIPlatformInterface(IPlatformInterface object) { - return createIPlatformInterfaceAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.CANBus <em>CAN Bus</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.CANBus - * @generated - */ - public Adapter createCANBusAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.IProcessorDomain <em>IProcessor Domain</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.IProcessorDomain - * @generated - */ - public Adapter createIProcessorDomainAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.IBoardDomain <em>IBoard Domain</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.IBoardDomain - * @generated - */ - public Adapter createIBoardDomainAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.RaspberryPi1 <em>Raspberry Pi1</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.RaspberryPi1 - * @generated - */ - public Adapter createRaspberryPi1Adapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.RaspberryPi2 <em>Raspberry Pi2</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.RaspberryPi2 - * @generated - */ - public Adapter createRaspberryPi2Adapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.RaspberryPi3 <em>Raspberry Pi3</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.RaspberryPi3 - * @generated - */ - public Adapter createRaspberryPi3Adapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.Core <em>Core</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.Core - * @generated - */ - public Adapter createCoreAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.Bus <em>Bus</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.Bus - * @generated - */ - public Adapter createBusAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.Sensor <em>Sensor</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.Sensor - * @generated - */ - public Adapter createSensorAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.Actuator <em>Actuator</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.Actuator - * @generated - */ - public Adapter createActuatorAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.SensorIn <em>Sensor In</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.SensorIn - * @generated - */ - public Adapter createSensorInAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.ActuatorOut <em>Actuator Out</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.ActuatorOut - * @generated - */ - public Adapter createActuatorOutAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.BusMasterInterface <em>Bus Master Interface</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.BusMasterInterface - * @generated - */ - public Adapter createBusMasterInterfaceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.BusMasterPort <em>Bus Master Port</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.BusMasterPort - * @generated - */ - public Adapter createBusMasterPortAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.CANBusMasterPort <em>CAN Bus Master Port</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.CANBusMasterPort - * @generated - */ - public Adapter createCANBusMasterPortAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.raspberry.model.CANBusMasterInterface <em>CAN Bus Master Interface</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.raspberry.model.CANBusMasterInterface - * @generated - */ - public Adapter createCANBusMasterInterfaceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.kernel.model.IIdLabeled <em>IId Labeled</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.kernel.model.IIdLabeled - * @generated - */ - public Adapter createIIdLabeledAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.kernel.model.INamedElement <em>INamed Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.kernel.model.INamedElement - * @generated - */ - public Adapter createINamedElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.kernel.model.INamedCommentedElement <em>INamed Commented Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.kernel.model.INamedCommentedElement - * @generated - */ - public Adapter createINamedCommentedElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.element.IHierarchicElementContainer <em>IHierarchic Element Container</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.element.IHierarchicElementContainer - * @generated - */ - public Adapter createIHierarchicElementContainerAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.element.IModelElement <em>IModel Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.element.IModelElement - * @generated - */ - public Adapter createIModelElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.element.IHierarchicElement <em>IHierarchic Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.element.IHierarchicElement - * @generated - */ - public Adapter createIHierarchicElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.layout.ILayoutedModelElement <em>ILayouted Model Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.layout.ILayoutedModelElement - * @generated - */ - public Adapter createILayoutedModelElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.base.HierarchicElementBase <em>Hierarchic Element Base</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.base.HierarchicElementBase - * @generated - */ - public Adapter createHierarchicElementBaseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.kernel.model.ISpeciallyCopyiable <em>ISpecially Copyiable</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.kernel.model.ISpeciallyCopyiable - * @generated - */ - public Adapter createISpeciallyCopyiableAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPlatformArchitectureElement <em>IPlatform Architecture Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPlatformArchitectureElement - * @generated - */ - public Adapter createIPlatformArchitectureElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPlatformResource <em>IPlatform Resource</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPlatformResource - * @generated - */ - public Adapter createIPlatformResourceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPlatformCommunicationResource <em>IPlatform Communication Resource</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPlatformCommunicationResource - * @generated - */ - public Adapter createIPlatformCommunicationResourceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.TransmissionUnit <em>Transmission Unit</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.TransmissionUnit - * @generated - */ - public Adapter createTransmissionUnitAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPlatformArchitectureElementType <em>IPlatform Architecture Element Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPlatformArchitectureElementType - * @generated - */ - public Adapter createIPlatformArchitectureElementTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPhysicalPlatformArchitectureElement <em>IPhysical Platform Architecture Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPhysicalPlatformArchitectureElement - * @generated - */ - public Adapter createIPhysicalPlatformArchitectureElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement <em>IBoard Platform Architecture Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement - * @generated - */ - public Adapter createIBoardPlatformArchitectureElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IArchitectureDomain <em>IArchitecture Domain</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IArchitectureDomain - * @generated - */ - public Adapter createIArchitectureDomainAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.GenericPlatformUnit <em>Generic Platform Unit</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.GenericPlatformUnit - * @generated - */ - public Adapter createGenericPlatformUnitAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.ICommunicationRole <em>ICommunication Role</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.ICommunicationRole - * @generated - */ - public Adapter createICommunicationRoleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.ICommunicationMaster <em>ICommunication Master</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.ICommunicationMaster - * @generated - */ - public Adapter createICommunicationMasterAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPlatformProcessingResource <em>IPlatform Processing Resource</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPlatformProcessingResource - * @generated - */ - public Adapter createIPlatformProcessingResourceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.ExecutionUnit <em>Execution Unit</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.ExecutionUnit - * @generated - */ - public Adapter createExecutionUnitAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement <em>IIp Core Platform Architecture Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement - * @generated - */ - public Adapter createIIpCorePlatformArchitectureElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.element.IConnector <em>IConnector</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.element.IConnector - * @generated - */ - public Adapter createIConnectorAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.base.ConnectorBase <em>Connector Base</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.base.ConnectorBase - * @generated - */ - public Adapter createConnectorBaseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.PlatformConnectorUnit <em>Platform Connector Unit</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.PlatformConnectorUnit - * @generated - */ - public Adapter createPlatformConnectorUnitAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.Receiver <em>Receiver</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.Receiver - * @generated - */ - public Adapter createReceiverAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPlatformConnectorType <em>IPlatform Connector Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPlatformConnectorType - * @generated - */ - public Adapter createIPlatformConnectorTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.base.ExitConnectorBase <em>Exit Connector Base</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.base.ExitConnectorBase - * @generated - */ - public Adapter createExitConnectorBaseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPlatformPort <em>IPlatform Port</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPlatformPort - * @generated - */ - public Adapter createIPlatformPortAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPlatformIOResource <em>IPlatform IO Resource</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPlatformIOResource - * @generated - */ - public Adapter createIPlatformIOResourceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.Transmitter <em>Transmitter</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.Transmitter - * @generated - */ - public Adapter createTransmitterAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.Transceiver <em>Transceiver</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.Transceiver - * @generated - */ - public Adapter createTransceiverAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.tooling.base.model.base.EntryConnectorBase <em>Entry Connector Base</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.tooling.base.model.base.EntryConnectorBase - * @generated - */ - public Adapter createEntryConnectorBaseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.fortiss.af3.platform.model.IPlatformInterface <em>IPlatform Interface</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.fortiss.af3.platform.model.IPlatformInterface - * @generated - */ - public Adapter createIPlatformInterfaceAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ModelAdapterFactory diff --git a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/util/ModelSwitch.java b/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/util/ModelSwitch.java deleted file mode 100644 index f6bf4b21..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/generated-src/org/fortiss/af3/platform/raspberry/model/util/ModelSwitch.java +++ /dev/null @@ -1,1270 +0,0 @@ -/** - */ -package org.fortiss.af3.platform.raspberry.model.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.fortiss.af3.platform.model.ExecutionUnit; -import org.fortiss.af3.platform.model.GenericPlatformUnit; -import org.fortiss.af3.platform.model.IArchitectureDomain; -import org.fortiss.af3.platform.model.IBoardPlatformArchitectureElement; -import org.fortiss.af3.platform.model.ICommunicationMaster; -import org.fortiss.af3.platform.model.ICommunicationRole; -import org.fortiss.af3.platform.model.IIpCorePlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPhysicalPlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPlatformArchitectureElement; -import org.fortiss.af3.platform.model.IPlatformArchitectureElementType; -import org.fortiss.af3.platform.model.IPlatformCommunicationResource; -import org.fortiss.af3.platform.model.IPlatformConnectorType; -import org.fortiss.af3.platform.model.IPlatformIOResource; -import org.fortiss.af3.platform.model.IPlatformInterface; -import org.fortiss.af3.platform.model.IPlatformPort; -import org.fortiss.af3.platform.model.IPlatformProcessingResource; -import org.fortiss.af3.platform.model.IPlatformResource; -import org.fortiss.af3.platform.model.PlatformConnectorUnit; -import org.fortiss.af3.platform.model.Receiver; -import org.fortiss.af3.platform.model.Transceiver; -import org.fortiss.af3.platform.model.TransmissionUnit; -import org.fortiss.af3.platform.model.Transmitter; - -import org.fortiss.af3.platform.raspberry.model.*; - -import org.fortiss.tooling.base.model.base.ConnectorBase; -import org.fortiss.tooling.base.model.base.EntryConnectorBase; -import org.fortiss.tooling.base.model.base.ExitConnectorBase; -import org.fortiss.tooling.base.model.base.HierarchicElementBase; - -import org.fortiss.tooling.base.model.element.IConnector; -import org.fortiss.tooling.base.model.element.IHierarchicElement; -import org.fortiss.tooling.base.model.element.IHierarchicElementContainer; -import org.fortiss.tooling.base.model.element.IModelElement; - -import org.fortiss.tooling.base.model.layout.ILayoutedModelElement; - -import org.fortiss.tooling.kernel.model.IIdLabeled; -import org.fortiss.tooling.kernel.model.INamedCommentedElement; -import org.fortiss.tooling.kernel.model.INamedElement; -import org.fortiss.tooling.kernel.model.ISpeciallyCopyiable; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.fortiss.af3.platform.raspberry.model.ModelPackage - * @generated - */ -public class ModelSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static ModelPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelSwitch() { - if (modelPackage == null) { - modelPackage = ModelPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ModelPackage.CAN_BUS: { - CANBus canBus = (CANBus)theEObject; - T result = caseCANBus(canBus); - if (result == null) result = caseTransmissionUnit(canBus); - if (result == null) result = caseIBoardPlatformArchitectureElement(canBus); - if (result == null) result = caseIBoardDomain(canBus); - if (result == null) result = caseIPlatformArchitectureElement(canBus); - if (result == null) result = caseIPlatformCommunicationResource(canBus); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(canBus); - if (result == null) result = caseIArchitectureDomain(canBus); - if (result == null) result = caseHierarchicElementBase(canBus); - if (result == null) result = caseISpeciallyCopyiable(canBus); - if (result == null) result = caseIPlatformResource(canBus); - if (result == null) result = caseIPlatformArchitectureElementType(canBus); - if (result == null) result = caseINamedCommentedElement(canBus); - if (result == null) result = caseIHierarchicElement(canBus); - if (result == null) result = caseILayoutedModelElement(canBus); - if (result == null) result = caseINamedElement(canBus); - if (result == null) result = caseIHierarchicElementContainer(canBus); - if (result == null) result = caseIModelElement(canBus); - if (result == null) result = caseIIdLabeled(canBus); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.IPROCESSOR_DOMAIN: { - IProcessorDomain iProcessorDomain = (IProcessorDomain)theEObject; - T result = caseIProcessorDomain(iProcessorDomain); - if (result == null) result = caseIArchitectureDomain(iProcessorDomain); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.IBOARD_DOMAIN: { - IBoardDomain iBoardDomain = (IBoardDomain)theEObject; - T result = caseIBoardDomain(iBoardDomain); - if (result == null) result = caseIArchitectureDomain(iBoardDomain); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.RASPBERRY_PI1: { - RaspberryPi1 raspberryPi1 = (RaspberryPi1)theEObject; - T result = caseRaspberryPi1(raspberryPi1); - if (result == null) result = caseGenericPlatformUnit(raspberryPi1); - if (result == null) result = caseICommunicationMaster(raspberryPi1); - if (result == null) result = caseIBoardPlatformArchitectureElement(raspberryPi1); - if (result == null) result = caseIBoardDomain(raspberryPi1); - if (result == null) result = caseIPlatformArchitectureElement(raspberryPi1); - if (result == null) result = caseICommunicationRole(raspberryPi1); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(raspberryPi1); - if (result == null) result = caseIArchitectureDomain(raspberryPi1); - if (result == null) result = caseHierarchicElementBase(raspberryPi1); - if (result == null) result = caseISpeciallyCopyiable(raspberryPi1); - if (result == null) result = caseIPlatformArchitectureElementType(raspberryPi1); - if (result == null) result = caseINamedCommentedElement(raspberryPi1); - if (result == null) result = caseIHierarchicElement(raspberryPi1); - if (result == null) result = caseILayoutedModelElement(raspberryPi1); - if (result == null) result = caseINamedElement(raspberryPi1); - if (result == null) result = caseIHierarchicElementContainer(raspberryPi1); - if (result == null) result = caseIModelElement(raspberryPi1); - if (result == null) result = caseIIdLabeled(raspberryPi1); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.RASPBERRY_PI2: { - RaspberryPi2 raspberryPi2 = (RaspberryPi2)theEObject; - T result = caseRaspberryPi2(raspberryPi2); - if (result == null) result = caseGenericPlatformUnit(raspberryPi2); - if (result == null) result = caseICommunicationMaster(raspberryPi2); - if (result == null) result = caseIBoardPlatformArchitectureElement(raspberryPi2); - if (result == null) result = caseIBoardDomain(raspberryPi2); - if (result == null) result = caseIPlatformArchitectureElement(raspberryPi2); - if (result == null) result = caseICommunicationRole(raspberryPi2); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(raspberryPi2); - if (result == null) result = caseIArchitectureDomain(raspberryPi2); - if (result == null) result = caseHierarchicElementBase(raspberryPi2); - if (result == null) result = caseISpeciallyCopyiable(raspberryPi2); - if (result == null) result = caseIPlatformArchitectureElementType(raspberryPi2); - if (result == null) result = caseINamedCommentedElement(raspberryPi2); - if (result == null) result = caseIHierarchicElement(raspberryPi2); - if (result == null) result = caseILayoutedModelElement(raspberryPi2); - if (result == null) result = caseINamedElement(raspberryPi2); - if (result == null) result = caseIHierarchicElementContainer(raspberryPi2); - if (result == null) result = caseIModelElement(raspberryPi2); - if (result == null) result = caseIIdLabeled(raspberryPi2); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.RASPBERRY_PI3: { - RaspberryPi3 raspberryPi3 = (RaspberryPi3)theEObject; - T result = caseRaspberryPi3(raspberryPi3); - if (result == null) result = caseGenericPlatformUnit(raspberryPi3); - if (result == null) result = caseICommunicationMaster(raspberryPi3); - if (result == null) result = caseIBoardPlatformArchitectureElement(raspberryPi3); - if (result == null) result = caseIBoardDomain(raspberryPi3); - if (result == null) result = caseIPlatformArchitectureElement(raspberryPi3); - if (result == null) result = caseICommunicationRole(raspberryPi3); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(raspberryPi3); - if (result == null) result = caseIArchitectureDomain(raspberryPi3); - if (result == null) result = caseHierarchicElementBase(raspberryPi3); - if (result == null) result = caseISpeciallyCopyiable(raspberryPi3); - if (result == null) result = caseIPlatformArchitectureElementType(raspberryPi3); - if (result == null) result = caseINamedCommentedElement(raspberryPi3); - if (result == null) result = caseIHierarchicElement(raspberryPi3); - if (result == null) result = caseILayoutedModelElement(raspberryPi3); - if (result == null) result = caseINamedElement(raspberryPi3); - if (result == null) result = caseIHierarchicElementContainer(raspberryPi3); - if (result == null) result = caseIModelElement(raspberryPi3); - if (result == null) result = caseIIdLabeled(raspberryPi3); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.CORE: { - Core core = (Core)theEObject; - T result = caseCore(core); - if (result == null) result = caseExecutionUnit(core); - if (result == null) result = caseICommunicationMaster(core); - if (result == null) result = caseIIpCorePlatformArchitectureElement(core); - if (result == null) result = caseIProcessorDomain(core); - if (result == null) result = caseIPlatformArchitectureElement(core); - if (result == null) result = caseIPlatformProcessingResource(core); - if (result == null) result = caseICommunicationRole(core); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(core); - if (result == null) result = caseIArchitectureDomain(core); - if (result == null) result = caseHierarchicElementBase(core); - if (result == null) result = caseISpeciallyCopyiable(core); - if (result == null) result = caseIPlatformResource(core); - if (result == null) result = caseIPlatformArchitectureElementType(core); - if (result == null) result = caseINamedCommentedElement(core); - if (result == null) result = caseIHierarchicElement(core); - if (result == null) result = caseILayoutedModelElement(core); - if (result == null) result = caseINamedElement(core); - if (result == null) result = caseIHierarchicElementContainer(core); - if (result == null) result = caseIModelElement(core); - if (result == null) result = caseIIdLabeled(core); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.BUS: { - Bus bus = (Bus)theEObject; - T result = caseBus(bus); - if (result == null) result = caseTransmissionUnit(bus); - if (result == null) result = caseIIpCorePlatformArchitectureElement(bus); - if (result == null) result = caseIProcessorDomain(bus); - if (result == null) result = caseIPlatformArchitectureElement(bus); - if (result == null) result = caseIPlatformCommunicationResource(bus); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(bus); - if (result == null) result = caseIArchitectureDomain(bus); - if (result == null) result = caseHierarchicElementBase(bus); - if (result == null) result = caseISpeciallyCopyiable(bus); - if (result == null) result = caseIPlatformResource(bus); - if (result == null) result = caseIPlatformArchitectureElementType(bus); - if (result == null) result = caseINamedCommentedElement(bus); - if (result == null) result = caseIHierarchicElement(bus); - if (result == null) result = caseILayoutedModelElement(bus); - if (result == null) result = caseINamedElement(bus); - if (result == null) result = caseIHierarchicElementContainer(bus); - if (result == null) result = caseIModelElement(bus); - if (result == null) result = caseIIdLabeled(bus); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.SENSOR: { - Sensor sensor = (Sensor)theEObject; - T result = caseSensor(sensor); - if (result == null) result = caseReceiver(sensor); - if (result == null) result = caseIBoardPlatformArchitectureElement(sensor); - if (result == null) result = caseICommunicationMaster(sensor); - if (result == null) result = caseIBoardDomain(sensor); - if (result == null) result = caseIPlatformPort(sensor); - if (result == null) result = caseIPlatformIOResource(sensor); - if (result == null) result = casePlatformConnectorUnit(sensor); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(sensor); - if (result == null) result = caseICommunicationRole(sensor); - if (result == null) result = caseIArchitectureDomain(sensor); - if (result == null) result = caseIPlatformConnectorType(sensor); - if (result == null) result = caseExitConnectorBase(sensor); - if (result == null) result = caseIPlatformResource(sensor); - if (result == null) result = caseConnectorBase(sensor); - if (result == null) result = caseISpeciallyCopyiable(sensor); - if (result == null) result = caseIPlatformArchitectureElementType(sensor); - if (result == null) result = caseINamedCommentedElement(sensor); - if (result == null) result = caseIConnector(sensor); - if (result == null) result = caseILayoutedModelElement(sensor); - if (result == null) result = caseINamedElement(sensor); - if (result == null) result = caseIModelElement(sensor); - if (result == null) result = caseIIdLabeled(sensor); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.ACTUATOR: { - Actuator actuator = (Actuator)theEObject; - T result = caseActuator(actuator); - if (result == null) result = caseTransmitter(actuator); - if (result == null) result = caseIBoardPlatformArchitectureElement(actuator); - if (result == null) result = caseICommunicationMaster(actuator); - if (result == null) result = caseIBoardDomain(actuator); - if (result == null) result = caseIPlatformPort(actuator); - if (result == null) result = caseIPlatformIOResource(actuator); - if (result == null) result = casePlatformConnectorUnit(actuator); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(actuator); - if (result == null) result = caseICommunicationRole(actuator); - if (result == null) result = caseIArchitectureDomain(actuator); - if (result == null) result = caseIPlatformConnectorType(actuator); - if (result == null) result = caseExitConnectorBase(actuator); - if (result == null) result = caseIPlatformResource(actuator); - if (result == null) result = caseConnectorBase(actuator); - if (result == null) result = caseISpeciallyCopyiable(actuator); - if (result == null) result = caseIPlatformArchitectureElementType(actuator); - if (result == null) result = caseINamedCommentedElement(actuator); - if (result == null) result = caseIConnector(actuator); - if (result == null) result = caseILayoutedModelElement(actuator); - if (result == null) result = caseINamedElement(actuator); - if (result == null) result = caseIModelElement(actuator); - if (result == null) result = caseIIdLabeled(actuator); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.SENSOR_IN: { - SensorIn sensorIn = (SensorIn)theEObject; - T result = caseSensorIn(sensorIn); - if (result == null) result = caseReceiver(sensorIn); - if (result == null) result = caseIIpCorePlatformArchitectureElement(sensorIn); - if (result == null) result = caseICommunicationMaster(sensorIn); - if (result == null) result = caseIProcessorDomain(sensorIn); - if (result == null) result = caseIPlatformPort(sensorIn); - if (result == null) result = caseIPlatformIOResource(sensorIn); - if (result == null) result = casePlatformConnectorUnit(sensorIn); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(sensorIn); - if (result == null) result = caseICommunicationRole(sensorIn); - if (result == null) result = caseIArchitectureDomain(sensorIn); - if (result == null) result = caseIPlatformConnectorType(sensorIn); - if (result == null) result = caseExitConnectorBase(sensorIn); - if (result == null) result = caseIPlatformResource(sensorIn); - if (result == null) result = caseConnectorBase(sensorIn); - if (result == null) result = caseISpeciallyCopyiable(sensorIn); - if (result == null) result = caseIPlatformArchitectureElementType(sensorIn); - if (result == null) result = caseINamedCommentedElement(sensorIn); - if (result == null) result = caseIConnector(sensorIn); - if (result == null) result = caseILayoutedModelElement(sensorIn); - if (result == null) result = caseINamedElement(sensorIn); - if (result == null) result = caseIModelElement(sensorIn); - if (result == null) result = caseIIdLabeled(sensorIn); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.ACTUATOR_OUT: { - ActuatorOut actuatorOut = (ActuatorOut)theEObject; - T result = caseActuatorOut(actuatorOut); - if (result == null) result = caseTransmitter(actuatorOut); - if (result == null) result = caseIIpCorePlatformArchitectureElement(actuatorOut); - if (result == null) result = caseICommunicationMaster(actuatorOut); - if (result == null) result = caseIProcessorDomain(actuatorOut); - if (result == null) result = caseIPlatformPort(actuatorOut); - if (result == null) result = caseIPlatformIOResource(actuatorOut); - if (result == null) result = casePlatformConnectorUnit(actuatorOut); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(actuatorOut); - if (result == null) result = caseICommunicationRole(actuatorOut); - if (result == null) result = caseIArchitectureDomain(actuatorOut); - if (result == null) result = caseIPlatformConnectorType(actuatorOut); - if (result == null) result = caseExitConnectorBase(actuatorOut); - if (result == null) result = caseIPlatformResource(actuatorOut); - if (result == null) result = caseConnectorBase(actuatorOut); - if (result == null) result = caseISpeciallyCopyiable(actuatorOut); - if (result == null) result = caseIPlatformArchitectureElementType(actuatorOut); - if (result == null) result = caseINamedCommentedElement(actuatorOut); - if (result == null) result = caseIConnector(actuatorOut); - if (result == null) result = caseILayoutedModelElement(actuatorOut); - if (result == null) result = caseINamedElement(actuatorOut); - if (result == null) result = caseIModelElement(actuatorOut); - if (result == null) result = caseIIdLabeled(actuatorOut); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.BUS_MASTER_INTERFACE: { - BusMasterInterface busMasterInterface = (BusMasterInterface)theEObject; - T result = caseBusMasterInterface(busMasterInterface); - if (result == null) result = caseTransceiver(busMasterInterface); - if (result == null) result = caseIIpCorePlatformArchitectureElement(busMasterInterface); - if (result == null) result = caseIPlatformInterface(busMasterInterface); - if (result == null) result = caseICommunicationMaster(busMasterInterface); - if (result == null) result = caseIProcessorDomain(busMasterInterface); - if (result == null) result = casePlatformConnectorUnit(busMasterInterface); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(busMasterInterface); - if (result == null) result = caseIPlatformConnectorType(busMasterInterface); - if (result == null) result = caseEntryConnectorBase(busMasterInterface); - if (result == null) result = caseICommunicationRole(busMasterInterface); - if (result == null) result = caseIArchitectureDomain(busMasterInterface); - if (result == null) result = caseConnectorBase(busMasterInterface); - if (result == null) result = caseISpeciallyCopyiable(busMasterInterface); - if (result == null) result = caseIPlatformArchitectureElementType(busMasterInterface); - if (result == null) result = caseINamedCommentedElement(busMasterInterface); - if (result == null) result = caseIConnector(busMasterInterface); - if (result == null) result = caseILayoutedModelElement(busMasterInterface); - if (result == null) result = caseINamedElement(busMasterInterface); - if (result == null) result = caseIModelElement(busMasterInterface); - if (result == null) result = caseIIdLabeled(busMasterInterface); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.BUS_MASTER_PORT: { - BusMasterPort busMasterPort = (BusMasterPort)theEObject; - T result = caseBusMasterPort(busMasterPort); - if (result == null) result = caseTransceiver(busMasterPort); - if (result == null) result = caseIIpCorePlatformArchitectureElement(busMasterPort); - if (result == null) result = caseIPlatformPort(busMasterPort); - if (result == null) result = caseICommunicationMaster(busMasterPort); - if (result == null) result = caseIProcessorDomain(busMasterPort); - if (result == null) result = casePlatformConnectorUnit(busMasterPort); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(busMasterPort); - if (result == null) result = caseIPlatformConnectorType(busMasterPort); - if (result == null) result = caseExitConnectorBase(busMasterPort); - if (result == null) result = caseICommunicationRole(busMasterPort); - if (result == null) result = caseIArchitectureDomain(busMasterPort); - if (result == null) result = caseConnectorBase(busMasterPort); - if (result == null) result = caseISpeciallyCopyiable(busMasterPort); - if (result == null) result = caseIPlatformArchitectureElementType(busMasterPort); - if (result == null) result = caseINamedCommentedElement(busMasterPort); - if (result == null) result = caseIConnector(busMasterPort); - if (result == null) result = caseILayoutedModelElement(busMasterPort); - if (result == null) result = caseINamedElement(busMasterPort); - if (result == null) result = caseIModelElement(busMasterPort); - if (result == null) result = caseIIdLabeled(busMasterPort); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.CAN_BUS_MASTER_PORT: { - CANBusMasterPort canBusMasterPort = (CANBusMasterPort)theEObject; - T result = caseCANBusMasterPort(canBusMasterPort); - if (result == null) result = caseTransceiver(canBusMasterPort); - if (result == null) result = caseIBoardPlatformArchitectureElement(canBusMasterPort); - if (result == null) result = caseIPlatformPort(canBusMasterPort); - if (result == null) result = caseICommunicationMaster(canBusMasterPort); - if (result == null) result = caseIBoardDomain(canBusMasterPort); - if (result == null) result = casePlatformConnectorUnit(canBusMasterPort); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(canBusMasterPort); - if (result == null) result = caseIPlatformConnectorType(canBusMasterPort); - if (result == null) result = caseExitConnectorBase(canBusMasterPort); - if (result == null) result = caseICommunicationRole(canBusMasterPort); - if (result == null) result = caseIArchitectureDomain(canBusMasterPort); - if (result == null) result = caseConnectorBase(canBusMasterPort); - if (result == null) result = caseISpeciallyCopyiable(canBusMasterPort); - if (result == null) result = caseIPlatformArchitectureElementType(canBusMasterPort); - if (result == null) result = caseINamedCommentedElement(canBusMasterPort); - if (result == null) result = caseIConnector(canBusMasterPort); - if (result == null) result = caseILayoutedModelElement(canBusMasterPort); - if (result == null) result = caseINamedElement(canBusMasterPort); - if (result == null) result = caseIModelElement(canBusMasterPort); - if (result == null) result = caseIIdLabeled(canBusMasterPort); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelPackage.CAN_BUS_MASTER_INTERFACE: { - CANBusMasterInterface canBusMasterInterface = (CANBusMasterInterface)theEObject; - T result = caseCANBusMasterInterface(canBusMasterInterface); - if (result == null) result = caseTransceiver(canBusMasterInterface); - if (result == null) result = caseIBoardPlatformArchitectureElement(canBusMasterInterface); - if (result == null) result = caseIPlatformInterface(canBusMasterInterface); - if (result == null) result = caseICommunicationMaster(canBusMasterInterface); - if (result == null) result = caseIBoardDomain(canBusMasterInterface); - if (result == null) result = casePlatformConnectorUnit(canBusMasterInterface); - if (result == null) result = caseIPhysicalPlatformArchitectureElement(canBusMasterInterface); - if (result == null) result = caseIPlatformConnectorType(canBusMasterInterface); - if (result == null) result = caseEntryConnectorBase(canBusMasterInterface); - if (result == null) result = caseICommunicationRole(canBusMasterInterface); - if (result == null) result = caseIArchitectureDomain(canBusMasterInterface); - if (result == null) result = caseConnectorBase(canBusMasterInterface); - if (result == null) result = caseISpeciallyCopyiable(canBusMasterInterface); - if (result == null) result = caseIPlatformArchitectureElementType(canBusMasterInterface); - if (result == null) result = caseINamedCommentedElement(canBusMasterInterface); - if (result == null) result = caseIConnector(canBusMasterInterface); - if (result == null) result = caseILayoutedModelElement(canBusMasterInterface); - if (result == null) result = caseINamedElement(canBusMasterInterface); - if (result == null) result = caseIModelElement(canBusMasterInterface); - if (result == null) result = caseIIdLabeled(canBusMasterInterface); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>CAN Bus</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>CAN Bus</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCANBus(CANBus object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IProcessor Domain</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>IProcessor Domain</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIProcessorDomain(IProcessorDomain object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IBoard Domain</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>IBoard Domain</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIBoardDomain(IBoardDomain object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Raspberry Pi1</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>Raspberry Pi1</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRaspberryPi1(RaspberryPi1 object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Raspberry Pi2</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>Raspberry Pi2</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRaspberryPi2(RaspberryPi2 object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Raspberry Pi3</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>Raspberry Pi3</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRaspberryPi3(RaspberryPi3 object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Core</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>Core</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCore(Core object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Bus</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>Bus</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBus(Bus object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Sensor</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>Sensor</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSensor(Sensor object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Actuator</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>Actuator</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseActuator(Actuator object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Sensor In</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>Sensor In</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSensorIn(SensorIn object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Actuator Out</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>Actuator Out</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseActuatorOut(ActuatorOut object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Bus Master Interface</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>Bus Master Interface</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBusMasterInterface(BusMasterInterface object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Bus Master Port</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>Bus Master Port</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBusMasterPort(BusMasterPort object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>CAN Bus Master Port</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>CAN Bus Master Port</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCANBusMasterPort(CANBusMasterPort object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>CAN Bus Master Interface</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>CAN Bus Master Interface</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCANBusMasterInterface(CANBusMasterInterface object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IId Labeled</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>IId Labeled</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIIdLabeled(IIdLabeled object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>INamed 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. - * @return the result of interpreting the object as an instance of '<em>INamed Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseINamedElement(INamedElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>INamed Commented 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. - * @return the result of interpreting the object as an instance of '<em>INamed Commented Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseINamedCommentedElement(INamedCommentedElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IHierarchic Element Container</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>IHierarchic Element Container</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIHierarchicElementContainer(IHierarchicElementContainer object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IModel 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. - * @return the result of interpreting the object as an instance of '<em>IModel Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIModelElement(IModelElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IHierarchic 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. - * @return the result of interpreting the object as an instance of '<em>IHierarchic Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIHierarchicElement(IHierarchicElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>ILayouted Model 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. - * @return the result of interpreting the object as an instance of '<em>ILayouted Model Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseILayoutedModelElement(ILayoutedModelElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Hierarchic Element Base</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>Hierarchic Element Base</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseHierarchicElementBase(HierarchicElementBase object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>ISpecially Copyiable</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>ISpecially Copyiable</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseISpeciallyCopyiable(ISpeciallyCopyiable object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPlatform Architecture 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. - * @return the result of interpreting the object as an instance of '<em>IPlatform Architecture Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPlatformArchitectureElement(IPlatformArchitectureElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPlatform Resource</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>IPlatform Resource</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPlatformResource(IPlatformResource object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPlatform Communication Resource</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>IPlatform Communication Resource</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPlatformCommunicationResource(IPlatformCommunicationResource object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Transmission Unit</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Transmission Unit</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTransmissionUnit(TransmissionUnit object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPlatform Architecture Element Type</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>IPlatform Architecture Element Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPlatformArchitectureElementType(IPlatformArchitectureElementType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPhysical Platform Architecture 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. - * @return the result of interpreting the object as an instance of '<em>IPhysical Platform Architecture Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPhysicalPlatformArchitectureElement(IPhysicalPlatformArchitectureElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IBoard Platform Architecture 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. - * @return the result of interpreting the object as an instance of '<em>IBoard Platform Architecture Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIBoardPlatformArchitectureElement(IBoardPlatformArchitectureElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IArchitecture Domain</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>IArchitecture Domain</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIArchitectureDomain(IArchitectureDomain object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Generic Platform Unit</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Generic Platform Unit</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGenericPlatformUnit(GenericPlatformUnit object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>ICommunication Role</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>ICommunication Role</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseICommunicationRole(ICommunicationRole object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>ICommunication Master</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>ICommunication Master</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseICommunicationMaster(ICommunicationMaster object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPlatform Processing Resource</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>IPlatform Processing Resource</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPlatformProcessingResource(IPlatformProcessingResource object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Execution Unit</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Execution Unit</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExecutionUnit(ExecutionUnit object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IIp Core Platform Architecture 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. - * @return the result of interpreting the object as an instance of '<em>IIp Core Platform Architecture Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIIpCorePlatformArchitectureElement(IIpCorePlatformArchitectureElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IConnector</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>IConnector</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIConnector(IConnector object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Connector Base</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>Connector Base</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConnectorBase(ConnectorBase object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Platform Connector Unit</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Platform Connector Unit</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePlatformConnectorUnit(PlatformConnectorUnit object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Receiver</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>Receiver</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseReceiver(Receiver object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPlatform Connector Type</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>IPlatform Connector Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPlatformConnectorType(IPlatformConnectorType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Exit Connector Base</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>Exit Connector Base</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExitConnectorBase(ExitConnectorBase object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPlatform Port</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>IPlatform Port</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPlatformPort(IPlatformPort object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPlatform IO Resource</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>IPlatform IO Resource</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPlatformIOResource(IPlatformIOResource object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Transmitter</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>Transmitter</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTransmitter(Transmitter object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Transceiver</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>Transceiver</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTransceiver(Transceiver object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Entry Connector Base</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>Entry Connector Base</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEntryConnectorBase(EntryConnectorBase object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>IPlatform Interface</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>IPlatform Interface</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIPlatformInterface(IPlatformInterface object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ModelSwitch diff --git a/org.fortiss.af3.platform.raspberry/trunk/model/raspberry.ecore b/org.fortiss.af3.platform.raspberry/trunk/model/raspberry.ecore index 7028de30..62a5eb05 100644 --- a/org.fortiss.af3.platform.raspberry/trunk/model/raspberry.ecore +++ b/org.fortiss.af3.platform.raspberry/trunk/model/raspberry.ecore @@ -19,8 +19,6 @@ </eAnnotations> </eOperations> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="RaspberryPi1" eSuperTypes="platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//GenericPlatformUnit platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//ICommunicationMaster platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//IBoardPlatformArchitectureElement #//IBoardDomain"/> - <eClassifiers xsi:type="ecore:EClass" name="RaspberryPi2" eSuperTypes="platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//GenericPlatformUnit platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//ICommunicationMaster platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//IBoardPlatformArchitectureElement #//IBoardDomain"/> <eClassifiers xsi:type="ecore:EClass" name="RaspberryPi3" eSuperTypes="platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//GenericPlatformUnit platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//ICommunicationMaster platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//IBoardPlatformArchitectureElement #//IBoardDomain"/> <eClassifiers xsi:type="ecore:EClass" name="Core" eSuperTypes="platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//ExecutionUnit platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//ICommunicationMaster platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//IIpCorePlatformArchitectureElement #//IProcessorDomain"/> <eClassifiers xsi:type="ecore:EClass" name="Bus" eSuperTypes="platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//TransmissionUnit platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//IIpCorePlatformArchitectureElement #//IProcessorDomain"/> diff --git a/org.fortiss.af3.platform.raspberry/trunk/model/raspberry.genmodel b/org.fortiss.af3.platform.raspberry/trunk/model/raspberry.genmodel index 2cac1d3e..32ba92e0 100644 --- a/org.fortiss.af3.platform.raspberry/trunk/model/raspberry.genmodel +++ b/org.fortiss.af3.platform.raspberry/trunk/model/raspberry.genmodel @@ -14,8 +14,6 @@ <genClasses ecoreClass="raspberry.ecore#//IBoardDomain"> <genOperations ecoreOperation="raspberry.ecore#//IBoardDomain/getArchitectureDomainName"/> </genClasses> - <genClasses ecoreClass="raspberry.ecore#//RaspberryPi1"/> - <genClasses ecoreClass="raspberry.ecore#//RaspberryPi2"/> <genClasses ecoreClass="raspberry.ecore#//RaspberryPi3"/> <genClasses ecoreClass="raspberry.ecore#//Core"/> <genClasses ecoreClass="raspberry.ecore#//Bus"/> diff --git a/org.fortiss.af3.platform.raspberry/trunk/plugin.xml b/org.fortiss.af3.platform.raspberry/trunk/plugin.xml index 615d4377..74e367df 100644 --- a/org.fortiss.af3.platform.raspberry/trunk/plugin.xml +++ b/org.fortiss.af3.platform.raspberry/trunk/plugin.xml @@ -17,6 +17,14 @@ class="org.fortiss.af3.platform.raspberry.model.ModelPackage" genModel="model/raspberry.genmodel"/> </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated raspberry --> + <package + uri="http://www.fortiss.org/af3/platform/raspberry/annotation" + class="org.fortiss.af3.platform.raspberry.model.annotation.AnnotationPackage" + genModel="model/raspberry.genmodel"/> + </extension> <extension point="org.fortiss.tooling.kernel.transformationProvider"> diff --git a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/executable/RaspberryPi1Executable.java b/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/executable/RaspberryPi1Executable.java deleted file mode 100644 index 74718c69..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/executable/RaspberryPi1Executable.java +++ /dev/null @@ -1,40 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.generator.executable; - -import org.fortiss.af3.platform.language.executable.GenericPlatformUnitExecutableBase; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi1; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi1Executable extends GenericPlatformUnitExecutableBase<RaspberryPi1> { - - /** - * @param modelElement - */ - public RaspberryPi1Executable(RaspberryPi1 modelElement) { - super(modelElement); - // TODO Auto-generated constructor stub - } - -} diff --git a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/executable/RaspberryPi2Executable.java b/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/executable/RaspberryPi2Executable.java deleted file mode 100644 index 5c8e82bd..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/executable/RaspberryPi2Executable.java +++ /dev/null @@ -1,71 +0,0 @@ -/*--------------------------------------------------------------------------+ - -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.generator.executable; - -import static org.fortiss.af3.generator.common.utils.SourceModelElementFactory.createStaticContentSourceUnit; - -import org.eclipse.emf.common.util.EList; -import org.fortiss.af3.generator.common.model.source.SourcePackage; -import org.fortiss.af3.platform.language.executable.GenericPlatformUnitExecutableBase; -import org.fortiss.af3.platform.model.PlatformArchitecture; -import org.fortiss.af3.platform.model.PlatformConnectorUnit; -import org.fortiss.af3.platform.raspberry.generated.files.RaspberryFileGeneration; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi2; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi2Executable extends GenericPlatformUnitExecutableBase<RaspberryPi2> { - - /** - * @param modelElement - */ - public RaspberryPi2Executable(RaspberryPi2 modelElement) { - super(modelElement); - // TODO Auto-generated constructor stub - PlatformArchitecture platformArchitecture = modelElement.getPlatformArchitecture(); - platformArchitecture.getConnectors(); - } - - /** Create files for Sensors and Actuators. */ - public void createPeripheralsInfo(SourcePackage pack) { - EList<PlatformConnectorUnit> conns = modelElement.getPlatformConnectorUnits(); - - String sensorList = "{\n"; - - for(PlatformConnectorUnit exec : conns) { - // ExecutableBase<? extends PlatformConnectorUnit> exec = - // getPlatformArchitectureExecutable().getExecutable((PlatformConnectorUnit)p); - - if(exec instanceof SensorExecutable) { - String details = ((SensorInExecutable)exec).getSensorDetails(); - sensorList += details; - } - } - sensorList += "\n}"; - RaspberryFileGeneration sensorsInfoGen = new RaspberryFileGeneration(sensorList); - sensorsInfoGen.createInfofile(); - pack.addUnit(createStaticContentSourceUnit("sensors.c", sensorsInfoGen.getContent(), false)); - } - -} diff --git a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/transform/RaspberryPi1ExecutableTransformation.java b/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/transform/RaspberryPi1ExecutableTransformation.java deleted file mode 100644 index 40e2477e..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/transform/RaspberryPi1ExecutableTransformation.java +++ /dev/null @@ -1,59 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.generator.transform; - -import org.fortiss.af3.platform.raspberry.generator.executable.RaspberryPi1Executable; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi1; -import org.fortiss.tooling.kernel.extension.ITransformationProvider; -import org.fortiss.tooling.kernel.extension.data.ITransformationContext; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi1ExecutableTransformation implements ITransformationProvider { - - /** {@inheritDoc} */ - @Override - public Class<?> getTargetClass() { - return RaspberryPi1Executable.class; - } - - /** {@inheritDoc} */ - @Override - public boolean - canHandleChainTransformation(Class<?> sourceClass, ITransformationContext context) { - return RaspberryPi1.class.isAssignableFrom(sourceClass); - } - - /** {@inheritDoc} */ - @Override - public boolean canTransform(Object source, ITransformationContext context) { - return source instanceof RaspberryPi1; - } - - /** {@inheritDoc} */ - @Override - public Object transform(Object source, ITransformationContext context) { - return new RaspberryPi1Executable((RaspberryPi1)source); - } - -} diff --git a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/transform/RaspberryPi2ExecutableTransformation.java b/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/transform/RaspberryPi2ExecutableTransformation.java deleted file mode 100644 index d2da60db..00000000 --- a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/generator/transform/RaspberryPi2ExecutableTransformation.java +++ /dev/null @@ -1,59 +0,0 @@ -/*--------------------------------------------------------------------------+ -$Id$ -| | -| Copyright 2016 ForTISS GmbH | -| | -| Licensed under the Apache License, Version 2.0 (the "License"); | -| you may not use this file except in compliance with the License. | -| You may obtain a copy of the License at | -| | -| http://www.apache.org/licenses/LICENSE-2.0 | -| | -| Unless required by applicable law or agreed to in writing, software | -| distributed under the License is distributed on an "AS IS" BASIS, | -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | -| See the License for the specific language governing permissions and | -| limitations under the License. | -+--------------------------------------------------------------------------*/ -package org.fortiss.af3.platform.raspberry.generator.transform; - -import org.fortiss.af3.platform.raspberry.generator.executable.RaspberryPi2Executable; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi2; -import org.fortiss.tooling.kernel.extension.ITransformationProvider; -import org.fortiss.tooling.kernel.extension.data.ITransformationContext; - -/** - * - * @author chaudhary - * @author $Author$ - * @version $Rev$ - * @ConQAT.Rating RED Hash: - */ -public class RaspberryPi2ExecutableTransformation implements ITransformationProvider { - - /** {@inheritDoc} */ - @Override - public Class<?> getTargetClass() { - return RaspberryPi2Executable.class; - } - - /** {@inheritDoc} */ - @Override - public boolean - canHandleChainTransformation(Class<?> sourceClass, ITransformationContext context) { - return RaspberryPi2.class.isAssignableFrom(sourceClass); - } - - /** {@inheritDoc} */ - @Override - public boolean canTransform(Object source, ITransformationContext context) { - return source instanceof RaspberryPi2; - } - - /** {@inheritDoc} */ - @Override - public Object transform(Object source, ITransformationContext context) { - return new RaspberryPi2Executable((RaspberryPi2)source); - } - -} diff --git a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/utils/RaspberryModelElementFactory.java b/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/utils/RaspberryModelElementFactory.java index 71c1ff08..35eb2429 100644 --- a/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/utils/RaspberryModelElementFactory.java +++ b/org.fortiss.af3.platform.raspberry/trunk/src/org/fortiss/af3/platform/raspberry/utils/RaspberryModelElementFactory.java @@ -27,8 +27,6 @@ import org.fortiss.af3.platform.raspberry.model.CANBusMasterInterface; import org.fortiss.af3.platform.raspberry.model.CANBusMasterPort; import org.fortiss.af3.platform.raspberry.model.Core; import org.fortiss.af3.platform.raspberry.model.ModelFactory; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi1; -import org.fortiss.af3.platform.raspberry.model.RaspberryPi2; import org.fortiss.af3.platform.raspberry.model.RaspberryPi3; import org.fortiss.af3.platform.raspberry.model.Sensor; import org.fortiss.af3.platform.raspberry.model.SensorIn; @@ -72,22 +70,6 @@ public class RaspberryModelElementFactory { return busMasterInterface; } - /** Creates a Hardware Board. */ - public static RaspberryPi1 createRaspberryPi1(String name) { - RaspberryPi1 raspberryPi1 = ModelFactory.eINSTANCE.createRaspberryPi1(); - raspberryPi1.setName(name); - LayoutModelElementFactory.createNodeElementLayout(raspberryPi1); - return raspberryPi1; - } - - /** Creates a Hardware Board. */ - public static RaspberryPi2 createRaspberryPi2(String name) { - RaspberryPi2 raspberryPi2 = ModelFactory.eINSTANCE.createRaspberryPi2(); - raspberryPi2.setName(name); - LayoutModelElementFactory.createNodeElementLayout(raspberryPi2); - return raspberryPi2; - } - /** Creates a Hardware Board. */ public static RaspberryPi3 createRaspberryPi3(String name) { RaspberryPi3 raspberryPi3 = ModelFactory.eINSTANCE.createRaspberryPi3(); -- GitLab