/**
* Copyright (c) 2010-2014, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
/**
*/
package org.openhab.binding.tinkerforge.internal.model.util;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
import org.openhab.binding.tinkerforge.internal.model.*;
import org.openhab.binding.tinkerforge.internal.model.CallbackListener;
import org.openhab.binding.tinkerforge.internal.model.DigitalActor;
import org.openhab.binding.tinkerforge.internal.model.DigitalSensor;
import org.openhab.binding.tinkerforge.internal.model.Ecosystem;
import org.openhab.binding.tinkerforge.internal.model.IODevice;
import org.openhab.binding.tinkerforge.internal.model.InterruptListener;
import org.openhab.binding.tinkerforge.internal.model.MActor;
import org.openhab.binding.tinkerforge.internal.model.MBarometerTemperature;
import org.openhab.binding.tinkerforge.internal.model.MBaseDevice;
import org.openhab.binding.tinkerforge.internal.model.MBrickDC;
import org.openhab.binding.tinkerforge.internal.model.MBrickServo;
import org.openhab.binding.tinkerforge.internal.model.MBrickd;
import org.openhab.binding.tinkerforge.internal.model.MBrickletAmbientLight;
import org.openhab.binding.tinkerforge.internal.model.MBrickletBarometer;
import org.openhab.binding.tinkerforge.internal.model.MBrickletDistanceIR;
import org.openhab.binding.tinkerforge.internal.model.MBrickletHumidity;
import org.openhab.binding.tinkerforge.internal.model.MBrickletIO16;
import org.openhab.binding.tinkerforge.internal.model.MBrickletIndustrialDigitalIn4;
import org.openhab.binding.tinkerforge.internal.model.MBrickletLCD20x4;
import org.openhab.binding.tinkerforge.internal.model.MBrickletTemperature;
import org.openhab.binding.tinkerforge.internal.model.MDevice;
import org.openhab.binding.tinkerforge.internal.model.MDualRelay;
import org.openhab.binding.tinkerforge.internal.model.MDualRelayBricklet;
import org.openhab.binding.tinkerforge.internal.model.MInSwitchActor;
import org.openhab.binding.tinkerforge.internal.model.MIndustrialDigitalIn;
import org.openhab.binding.tinkerforge.internal.model.MIndustrialQuadRelay;
import org.openhab.binding.tinkerforge.internal.model.MIndustrialQuadRelayBricklet;
import org.openhab.binding.tinkerforge.internal.model.MLCD20x4Backlight;
import org.openhab.binding.tinkerforge.internal.model.MLCD20x4Button;
import org.openhab.binding.tinkerforge.internal.model.MLCDSubDevice;
import org.openhab.binding.tinkerforge.internal.model.MOutSwitchActor;
import org.openhab.binding.tinkerforge.internal.model.MSensor;
import org.openhab.binding.tinkerforge.internal.model.MServo;
import org.openhab.binding.tinkerforge.internal.model.MSubDevice;
import org.openhab.binding.tinkerforge.internal.model.MSubDeviceHolder;
import org.openhab.binding.tinkerforge.internal.model.MSwitchActor;
import org.openhab.binding.tinkerforge.internal.model.MTFConfigConsumer;
import org.openhab.binding.tinkerforge.internal.model.MTextActor;
import org.openhab.binding.tinkerforge.internal.model.ModelPackage;
import org.openhab.binding.tinkerforge.internal.model.OHConfig;
import org.openhab.binding.tinkerforge.internal.model.OHTFDevice;
import org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration;
import org.openhab.binding.tinkerforge.internal.model.TFBrickDCConfiguration;
import org.openhab.binding.tinkerforge.internal.model.TFConfig;
import org.openhab.binding.tinkerforge.internal.model.TFIOActorConfiguration;
import org.openhab.binding.tinkerforge.internal.model.TFIOSensorConfiguration;
import org.openhab.binding.tinkerforge.internal.model.TFInterruptListenerConfiguration;
import org.openhab.binding.tinkerforge.internal.model.TFNullConfiguration;
import org.openhab.binding.tinkerforge.internal.model.TFServoConfiguration;
import org.openhab.binding.tinkerforge.internal.types.TinkerforgeValue;
import com.tinkerforge.Device;
/**
* <!-- 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.openhab.binding.tinkerforge.internal.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.ECOSYSTEM:
{
Ecosystem ecosystem = (Ecosystem)theEObject;
T result = caseEcosystem(ecosystem);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKD:
{
MBrickd mBrickd = (MBrickd)theEObject;
T result = caseMBrickd(mBrickd);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.SUB_DEVICE_ADMIN:
{
SubDeviceAdmin subDeviceAdmin = (SubDeviceAdmin)theEObject;
T result = caseSubDeviceAdmin(subDeviceAdmin);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MTF_CONFIG_CONSUMER:
{
MTFConfigConsumer<?> mtfConfigConsumer = (MTFConfigConsumer<?>)theEObject;
T result = caseMTFConfigConsumer(mtfConfigConsumer);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBASE_DEVICE:
{
MBaseDevice mBaseDevice = (MBaseDevice)theEObject;
T result = caseMBaseDevice(mBaseDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MDEVICE:
{
MDevice<?> mDevice = (MDevice<?>)theEObject;
T result = caseMDevice(mDevice);
if (result == null) result = caseMBaseDevice(mDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MSUB_DEVICE_HOLDER:
{
MSubDeviceHolder<?> mSubDeviceHolder = (MSubDeviceHolder<?>)theEObject;
T result = caseMSubDeviceHolder(mSubDeviceHolder);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MACTOR:
{
MActor mActor = (MActor)theEObject;
T result = caseMActor(mActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MSWITCH_ACTOR:
{
MSwitchActor mSwitchActor = (MSwitchActor)theEObject;
T result = caseMSwitchActor(mSwitchActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MOUT_SWITCH_ACTOR:
{
MOutSwitchActor mOutSwitchActor = (MOutSwitchActor)theEObject;
T result = caseMOutSwitchActor(mOutSwitchActor);
if (result == null) result = caseMSwitchActor(mOutSwitchActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MIN_SWITCH_ACTOR:
{
MInSwitchActor mInSwitchActor = (MInSwitchActor)theEObject;
T result = caseMInSwitchActor(mInSwitchActor);
if (result == null) result = caseMSwitchActor(mInSwitchActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.GENERIC_DEVICE:
{
GenericDevice genericDevice = (GenericDevice)theEObject;
T result = caseGenericDevice(genericDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.IO_DEVICE:
{
IODevice ioDevice = (IODevice)theEObject;
T result = caseIODevice(ioDevice);
if (result == null) result = caseMSubDevice(ioDevice);
if (result == null) result = caseGenericDevice(ioDevice);
if (result == null) result = caseMBaseDevice(ioDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MSUB_DEVICE:
{
MSubDevice<?> mSubDevice = (MSubDevice<?>)theEObject;
T result = caseMSubDevice(mSubDevice);
if (result == null) result = caseMBaseDevice(mSubDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.CALLBACK_LISTENER:
{
CallbackListener callbackListener = (CallbackListener)theEObject;
T result = caseCallbackListener(callbackListener);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.INTERRUPT_LISTENER:
{
InterruptListener interruptListener = (InterruptListener)theEObject;
T result = caseInterruptListener(interruptListener);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MSENSOR:
{
MSensor<?> mSensor = (MSensor<?>)theEObject;
T result = caseMSensor(mSensor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MTEXT_ACTOR:
{
MTextActor mTextActor = (MTextActor)theEObject;
T result = caseMTextActor(mTextActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MLCD_SUB_DEVICE:
{
MLCDSubDevice mlcdSubDevice = (MLCDSubDevice)theEObject;
T result = caseMLCDSubDevice(mlcdSubDevice);
if (result == null) result = caseMSubDevice(mlcdSubDevice);
if (result == null) result = caseMBaseDevice(mlcdSubDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICK_SERVO:
{
MBrickServo mBrickServo = (MBrickServo)theEObject;
T result = caseMBrickServo(mBrickServo);
if (result == null) result = caseMDevice(mBrickServo);
if (result == null) result = caseMSubDeviceHolder(mBrickServo);
if (result == null) result = caseMBaseDevice(mBrickServo);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MSERVO:
{
MServo mServo = (MServo)theEObject;
T result = caseMServo(mServo);
if (result == null) result = caseMInSwitchActor(mServo);
if (result == null) result = caseMSubDevice(mServo);
if (result == null) result = caseMTFConfigConsumer(mServo);
if (result == null) result = caseMSwitchActor(mServo);
if (result == null) result = caseMBaseDevice(mServo);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICK_DC:
{
MBrickDC mBrickDC = (MBrickDC)theEObject;
T result = caseMBrickDC(mBrickDC);
if (result == null) result = caseMInSwitchActor(mBrickDC);
if (result == null) result = caseMDevice(mBrickDC);
if (result == null) result = caseMTFConfigConsumer(mBrickDC);
if (result == null) result = caseMSwitchActor(mBrickDC);
if (result == null) result = caseMBaseDevice(mBrickDC);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MDUAL_RELAY_BRICKLET:
{
MDualRelayBricklet mDualRelayBricklet = (MDualRelayBricklet)theEObject;
T result = caseMDualRelayBricklet(mDualRelayBricklet);
if (result == null) result = caseMDevice(mDualRelayBricklet);
if (result == null) result = caseMSubDeviceHolder(mDualRelayBricklet);
if (result == null) result = caseMBaseDevice(mDualRelayBricklet);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MINDUSTRIAL_QUAD_RELAY_BRICKLET:
{
MIndustrialQuadRelayBricklet mIndustrialQuadRelayBricklet = (MIndustrialQuadRelayBricklet)theEObject;
T result = caseMIndustrialQuadRelayBricklet(mIndustrialQuadRelayBricklet);
if (result == null) result = caseMDevice(mIndustrialQuadRelayBricklet);
if (result == null) result = caseMSubDeviceHolder(mIndustrialQuadRelayBricklet);
if (result == null) result = caseMBaseDevice(mIndustrialQuadRelayBricklet);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MINDUSTRIAL_QUAD_RELAY:
{
MIndustrialQuadRelay mIndustrialQuadRelay = (MIndustrialQuadRelay)theEObject;
T result = caseMIndustrialQuadRelay(mIndustrialQuadRelay);
if (result == null) result = caseMInSwitchActor(mIndustrialQuadRelay);
if (result == null) result = caseMSubDevice(mIndustrialQuadRelay);
if (result == null) result = caseMSwitchActor(mIndustrialQuadRelay);
if (result == null) result = caseMBaseDevice(mIndustrialQuadRelay);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_INDUSTRIAL_DIGITAL_IN4:
{
MBrickletIndustrialDigitalIn4 mBrickletIndustrialDigitalIn4 = (MBrickletIndustrialDigitalIn4)theEObject;
T result = caseMBrickletIndustrialDigitalIn4(mBrickletIndustrialDigitalIn4);
if (result == null) result = caseMSubDeviceHolder(mBrickletIndustrialDigitalIn4);
if (result == null) result = caseMDevice(mBrickletIndustrialDigitalIn4);
if (result == null) result = caseInterruptListener(mBrickletIndustrialDigitalIn4);
if (result == null) result = caseMTFConfigConsumer(mBrickletIndustrialDigitalIn4);
if (result == null) result = caseMBaseDevice(mBrickletIndustrialDigitalIn4);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MINDUSTRIAL_DIGITAL_IN:
{
MIndustrialDigitalIn mIndustrialDigitalIn = (MIndustrialDigitalIn)theEObject;
T result = caseMIndustrialDigitalIn(mIndustrialDigitalIn);
if (result == null) result = caseMSubDevice(mIndustrialDigitalIn);
if (result == null) result = caseMSensor(mIndustrialDigitalIn);
if (result == null) result = caseMBaseDevice(mIndustrialDigitalIn);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_INDUSTRIAL_DIGITAL_OUT4:
{
MBrickletIndustrialDigitalOut4 mBrickletIndustrialDigitalOut4 = (MBrickletIndustrialDigitalOut4)theEObject;
T result = caseMBrickletIndustrialDigitalOut4(mBrickletIndustrialDigitalOut4);
if (result == null) result = caseMDevice(mBrickletIndustrialDigitalOut4);
if (result == null) result = caseMSubDeviceHolder(mBrickletIndustrialDigitalOut4);
if (result == null) result = caseMBaseDevice(mBrickletIndustrialDigitalOut4);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.DIGITAL_ACTOR_DIGITAL_OUT4:
{
DigitalActorDigitalOut4 digitalActorDigitalOut4 = (DigitalActorDigitalOut4)theEObject;
T result = caseDigitalActorDigitalOut4(digitalActorDigitalOut4);
if (result == null) result = caseDigitalActor(digitalActorDigitalOut4);
if (result == null) result = caseMSubDevice(digitalActorDigitalOut4);
if (result == null) result = caseMBaseDevice(digitalActorDigitalOut4);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.DIGITAL_ACTOR:
{
DigitalActor digitalActor = (DigitalActor)theEObject;
T result = caseDigitalActor(digitalActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.NUMBER_ACTOR:
{
NumberActor numberActor = (NumberActor)theEObject;
T result = caseNumberActor(numberActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_SEGMENT_DISPLAY4X7:
{
MBrickletSegmentDisplay4x7 mBrickletSegmentDisplay4x7 = (MBrickletSegmentDisplay4x7)theEObject;
T result = caseMBrickletSegmentDisplay4x7(mBrickletSegmentDisplay4x7);
if (result == null) result = caseNumberActor(mBrickletSegmentDisplay4x7);
if (result == null) result = caseMDevice(mBrickletSegmentDisplay4x7);
if (result == null) result = caseMBaseDevice(mBrickletSegmentDisplay4x7);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.COLOR_ACTOR:
{
ColorActor colorActor = (ColorActor)theEObject;
T result = caseColorActor(colorActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_LED_STRIP:
{
MBrickletLEDStrip mBrickletLEDStrip = (MBrickletLEDStrip)theEObject;
T result = caseMBrickletLEDStrip(mBrickletLEDStrip);
if (result == null) result = caseColorActor(mBrickletLEDStrip);
if (result == null) result = caseMDevice(mBrickletLEDStrip);
if (result == null) result = caseMBaseDevice(mBrickletLEDStrip);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.DIGITAL_ACTOR_IO16:
{
DigitalActorIO16 digitalActorIO16 = (DigitalActorIO16)theEObject;
T result = caseDigitalActorIO16(digitalActorIO16);
if (result == null) result = caseDigitalActor(digitalActorIO16);
if (result == null) result = caseIODevice(digitalActorIO16);
if (result == null) result = caseMTFConfigConsumer(digitalActorIO16);
if (result == null) result = caseMSubDevice(digitalActorIO16);
if (result == null) result = caseGenericDevice(digitalActorIO16);
if (result == null) result = caseMBaseDevice(digitalActorIO16);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_IO16:
{
MBrickletIO16 mBrickletIO16 = (MBrickletIO16)theEObject;
T result = caseMBrickletIO16(mBrickletIO16);
if (result == null) result = caseMDevice(mBrickletIO16);
if (result == null) result = caseMSubDeviceHolder(mBrickletIO16);
if (result == null) result = caseInterruptListener(mBrickletIO16);
if (result == null) result = caseMTFConfigConsumer(mBrickletIO16);
if (result == null) result = caseMBaseDevice(mBrickletIO16);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.DIGITAL_SENSOR:
{
DigitalSensor digitalSensor = (DigitalSensor)theEObject;
T result = caseDigitalSensor(digitalSensor);
if (result == null) result = caseIODevice(digitalSensor);
if (result == null) result = caseMSensor(digitalSensor);
if (result == null) result = caseMTFConfigConsumer(digitalSensor);
if (result == null) result = caseMSubDevice(digitalSensor);
if (result == null) result = caseGenericDevice(digitalSensor);
if (result == null) result = caseMBaseDevice(digitalSensor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_IO4:
{
MBrickletIO4 mBrickletIO4 = (MBrickletIO4)theEObject;
T result = caseMBrickletIO4(mBrickletIO4);
if (result == null) result = caseMDevice(mBrickletIO4);
if (result == null) result = caseMSubDeviceHolder(mBrickletIO4);
if (result == null) result = caseInterruptListener(mBrickletIO4);
if (result == null) result = caseMTFConfigConsumer(mBrickletIO4);
if (result == null) result = caseMBaseDevice(mBrickletIO4);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.IO4_DEVICE:
{
IO4Device io4Device = (IO4Device)theEObject;
T result = caseIO4Device(io4Device);
if (result == null) result = caseMSubDevice(io4Device);
if (result == null) result = caseGenericDevice(io4Device);
if (result == null) result = caseMBaseDevice(io4Device);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.DIGITAL_SENSOR_IO4:
{
DigitalSensorIO4 digitalSensorIO4 = (DigitalSensorIO4)theEObject;
T result = caseDigitalSensorIO4(digitalSensorIO4);
if (result == null) result = caseIO4Device(digitalSensorIO4);
if (result == null) result = caseMSensor(digitalSensorIO4);
if (result == null) result = caseMTFConfigConsumer(digitalSensorIO4);
if (result == null) result = caseMSubDevice(digitalSensorIO4);
if (result == null) result = caseGenericDevice(digitalSensorIO4);
if (result == null) result = caseMBaseDevice(digitalSensorIO4);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.DIGITAL_ACTOR_IO4:
{
DigitalActorIO4 digitalActorIO4 = (DigitalActorIO4)theEObject;
T result = caseDigitalActorIO4(digitalActorIO4);
if (result == null) result = caseDigitalActor(digitalActorIO4);
if (result == null) result = caseIO4Device(digitalActorIO4);
if (result == null) result = caseMTFConfigConsumer(digitalActorIO4);
if (result == null) result = caseMSubDevice(digitalActorIO4);
if (result == null) result = caseGenericDevice(digitalActorIO4);
if (result == null) result = caseMBaseDevice(digitalActorIO4);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_MULTI_TOUCH:
{
MBrickletMultiTouch mBrickletMultiTouch = (MBrickletMultiTouch)theEObject;
T result = caseMBrickletMultiTouch(mBrickletMultiTouch);
if (result == null) result = caseMDevice(mBrickletMultiTouch);
if (result == null) result = caseMSubDeviceHolder(mBrickletMultiTouch);
if (result == null) result = caseMTFConfigConsumer(mBrickletMultiTouch);
if (result == null) result = caseMBaseDevice(mBrickletMultiTouch);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MULTI_TOUCH_DEVICE:
{
MultiTouchDevice multiTouchDevice = (MultiTouchDevice)theEObject;
T result = caseMultiTouchDevice(multiTouchDevice);
if (result == null) result = caseMSubDevice(multiTouchDevice);
if (result == null) result = caseMSensor(multiTouchDevice);
if (result == null) result = caseMTFConfigConsumer(multiTouchDevice);
if (result == null) result = caseMBaseDevice(multiTouchDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.ELECTRODE:
{
Electrode electrode = (Electrode)theEObject;
T result = caseElectrode(electrode);
if (result == null) result = caseMultiTouchDevice(electrode);
if (result == null) result = caseMSubDevice(electrode);
if (result == null) result = caseMSensor(electrode);
if (result == null) result = caseMTFConfigConsumer(electrode);
if (result == null) result = caseMBaseDevice(electrode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.PROXIMITY:
{
Proximity proximity = (Proximity)theEObject;
T result = caseProximity(proximity);
if (result == null) result = caseMultiTouchDevice(proximity);
if (result == null) result = caseMSubDevice(proximity);
if (result == null) result = caseMSensor(proximity);
if (result == null) result = caseMTFConfigConsumer(proximity);
if (result == null) result = caseMBaseDevice(proximity);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_MOTION_DETECTOR:
{
MBrickletMotionDetector mBrickletMotionDetector = (MBrickletMotionDetector)theEObject;
T result = caseMBrickletMotionDetector(mBrickletMotionDetector);
if (result == null) result = caseMDevice(mBrickletMotionDetector);
if (result == null) result = caseMSensor(mBrickletMotionDetector);
if (result == null) result = caseMBaseDevice(mBrickletMotionDetector);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_HALL_EFFECT:
{
MBrickletHallEffect mBrickletHallEffect = (MBrickletHallEffect)theEObject;
T result = caseMBrickletHallEffect(mBrickletHallEffect);
if (result == null) result = caseMDevice(mBrickletHallEffect);
if (result == null) result = caseMSensor(mBrickletHallEffect);
if (result == null) result = caseCallbackListener(mBrickletHallEffect);
if (result == null) result = caseMTFConfigConsumer(mBrickletHallEffect);
if (result == null) result = caseMBaseDevice(mBrickletHallEffect);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MDUAL_RELAY:
{
MDualRelay mDualRelay = (MDualRelay)theEObject;
T result = caseMDualRelay(mDualRelay);
if (result == null) result = caseMInSwitchActor(mDualRelay);
if (result == null) result = caseMSubDevice(mDualRelay);
if (result == null) result = caseMSwitchActor(mDualRelay);
if (result == null) result = caseMBaseDevice(mDualRelay);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_REMOTE_SWITCH:
{
MBrickletRemoteSwitch mBrickletRemoteSwitch = (MBrickletRemoteSwitch)theEObject;
T result = caseMBrickletRemoteSwitch(mBrickletRemoteSwitch);
if (result == null) result = caseMDevice(mBrickletRemoteSwitch);
if (result == null) result = caseMSubDeviceHolder(mBrickletRemoteSwitch);
if (result == null) result = caseSubDeviceAdmin(mBrickletRemoteSwitch);
if (result == null) result = caseMTFConfigConsumer(mBrickletRemoteSwitch);
if (result == null) result = caseMBaseDevice(mBrickletRemoteSwitch);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.REMOTE_SWITCH:
{
RemoteSwitch remoteSwitch = (RemoteSwitch)theEObject;
T result = caseRemoteSwitch(remoteSwitch);
if (result == null) result = caseMInSwitchActor(remoteSwitch);
if (result == null) result = caseMSubDevice(remoteSwitch);
if (result == null) result = caseMSwitchActor(remoteSwitch);
if (result == null) result = caseMBaseDevice(remoteSwitch);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.REMOTE_SWITCH_A:
{
RemoteSwitchA remoteSwitchA = (RemoteSwitchA)theEObject;
T result = caseRemoteSwitchA(remoteSwitchA);
if (result == null) result = caseRemoteSwitch(remoteSwitchA);
if (result == null) result = caseMTFConfigConsumer(remoteSwitchA);
if (result == null) result = caseMInSwitchActor(remoteSwitchA);
if (result == null) result = caseMSubDevice(remoteSwitchA);
if (result == null) result = caseMSwitchActor(remoteSwitchA);
if (result == null) result = caseMBaseDevice(remoteSwitchA);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.REMOTE_SWITCH_B:
{
RemoteSwitchB remoteSwitchB = (RemoteSwitchB)theEObject;
T result = caseRemoteSwitchB(remoteSwitchB);
if (result == null) result = caseRemoteSwitch(remoteSwitchB);
if (result == null) result = caseMTFConfigConsumer(remoteSwitchB);
if (result == null) result = caseMInSwitchActor(remoteSwitchB);
if (result == null) result = caseMSubDevice(remoteSwitchB);
if (result == null) result = caseMSwitchActor(remoteSwitchB);
if (result == null) result = caseMBaseDevice(remoteSwitchB);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.REMOTE_SWITCH_C:
{
RemoteSwitchC remoteSwitchC = (RemoteSwitchC)theEObject;
T result = caseRemoteSwitchC(remoteSwitchC);
if (result == null) result = caseRemoteSwitch(remoteSwitchC);
if (result == null) result = caseMTFConfigConsumer(remoteSwitchC);
if (result == null) result = caseMInSwitchActor(remoteSwitchC);
if (result == null) result = caseMSubDevice(remoteSwitchC);
if (result == null) result = caseMSwitchActor(remoteSwitchC);
if (result == null) result = caseMBaseDevice(remoteSwitchC);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_HUMIDITY:
{
MBrickletHumidity mBrickletHumidity = (MBrickletHumidity)theEObject;
T result = caseMBrickletHumidity(mBrickletHumidity);
if (result == null) result = caseMSensor(mBrickletHumidity);
if (result == null) result = caseMDevice(mBrickletHumidity);
if (result == null) result = caseMTFConfigConsumer(mBrickletHumidity);
if (result == null) result = caseCallbackListener(mBrickletHumidity);
if (result == null) result = caseMBaseDevice(mBrickletHumidity);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_DISTANCE_IR:
{
MBrickletDistanceIR mBrickletDistanceIR = (MBrickletDistanceIR)theEObject;
T result = caseMBrickletDistanceIR(mBrickletDistanceIR);
if (result == null) result = caseMDevice(mBrickletDistanceIR);
if (result == null) result = caseMSensor(mBrickletDistanceIR);
if (result == null) result = caseMTFConfigConsumer(mBrickletDistanceIR);
if (result == null) result = caseCallbackListener(mBrickletDistanceIR);
if (result == null) result = caseMBaseDevice(mBrickletDistanceIR);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_TEMPERATURE:
{
MBrickletTemperature mBrickletTemperature = (MBrickletTemperature)theEObject;
T result = caseMBrickletTemperature(mBrickletTemperature);
if (result == null) result = caseMDevice(mBrickletTemperature);
if (result == null) result = caseMSensor(mBrickletTemperature);
if (result == null) result = caseMTFConfigConsumer(mBrickletTemperature);
if (result == null) result = caseCallbackListener(mBrickletTemperature);
if (result == null) result = caseMBaseDevice(mBrickletTemperature);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_TEMPERATURE_IR:
{
MBrickletTemperatureIR mBrickletTemperatureIR = (MBrickletTemperatureIR)theEObject;
T result = caseMBrickletTemperatureIR(mBrickletTemperatureIR);
if (result == null) result = caseMDevice(mBrickletTemperatureIR);
if (result == null) result = caseMSubDeviceHolder(mBrickletTemperatureIR);
if (result == null) result = caseMBaseDevice(mBrickletTemperatureIR);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MTEMPERATURE_IR_DEVICE:
{
MTemperatureIRDevice mTemperatureIRDevice = (MTemperatureIRDevice)theEObject;
T result = caseMTemperatureIRDevice(mTemperatureIRDevice);
if (result == null) result = caseMSensor(mTemperatureIRDevice);
if (result == null) result = caseMSubDevice(mTemperatureIRDevice);
if (result == null) result = caseCallbackListener(mTemperatureIRDevice);
if (result == null) result = caseMBaseDevice(mTemperatureIRDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.OBJECT_TEMPERATURE:
{
ObjectTemperature objectTemperature = (ObjectTemperature)theEObject;
T result = caseObjectTemperature(objectTemperature);
if (result == null) result = caseMTemperatureIRDevice(objectTemperature);
if (result == null) result = caseMTFConfigConsumer(objectTemperature);
if (result == null) result = caseMSensor(objectTemperature);
if (result == null) result = caseMSubDevice(objectTemperature);
if (result == null) result = caseCallbackListener(objectTemperature);
if (result == null) result = caseMBaseDevice(objectTemperature);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.AMBIENT_TEMPERATURE:
{
AmbientTemperature ambientTemperature = (AmbientTemperature)theEObject;
T result = caseAmbientTemperature(ambientTemperature);
if (result == null) result = caseMTemperatureIRDevice(ambientTemperature);
if (result == null) result = caseMTFConfigConsumer(ambientTemperature);
if (result == null) result = caseMSensor(ambientTemperature);
if (result == null) result = caseMSubDevice(ambientTemperature);
if (result == null) result = caseCallbackListener(ambientTemperature);
if (result == null) result = caseMBaseDevice(ambientTemperature);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_TILT:
{
MBrickletTilt mBrickletTilt = (MBrickletTilt)theEObject;
T result = caseMBrickletTilt(mBrickletTilt);
if (result == null) result = caseMDevice(mBrickletTilt);
if (result == null) result = caseMSensor(mBrickletTilt);
if (result == null) result = caseMBaseDevice(mBrickletTilt);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_VOLTAGE_CURRENT:
{
MBrickletVoltageCurrent mBrickletVoltageCurrent = (MBrickletVoltageCurrent)theEObject;
T result = caseMBrickletVoltageCurrent(mBrickletVoltageCurrent);
if (result == null) result = caseMDevice(mBrickletVoltageCurrent);
if (result == null) result = caseMSubDeviceHolder(mBrickletVoltageCurrent);
if (result == null) result = caseMTFConfigConsumer(mBrickletVoltageCurrent);
if (result == null) result = caseMBaseDevice(mBrickletVoltageCurrent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.VOLTAGE_CURRENT_DEVICE:
{
VoltageCurrentDevice voltageCurrentDevice = (VoltageCurrentDevice)theEObject;
T result = caseVoltageCurrentDevice(voltageCurrentDevice);
if (result == null) result = caseMSensor(voltageCurrentDevice);
if (result == null) result = caseMSubDevice(voltageCurrentDevice);
if (result == null) result = caseCallbackListener(voltageCurrentDevice);
if (result == null) result = caseMTFConfigConsumer(voltageCurrentDevice);
if (result == null) result = caseMBaseDevice(voltageCurrentDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.VC_DEVICE_VOLTAGE:
{
VCDeviceVoltage vcDeviceVoltage = (VCDeviceVoltage)theEObject;
T result = caseVCDeviceVoltage(vcDeviceVoltage);
if (result == null) result = caseVoltageCurrentDevice(vcDeviceVoltage);
if (result == null) result = caseMSensor(vcDeviceVoltage);
if (result == null) result = caseMSubDevice(vcDeviceVoltage);
if (result == null) result = caseCallbackListener(vcDeviceVoltage);
if (result == null) result = caseMTFConfigConsumer(vcDeviceVoltage);
if (result == null) result = caseMBaseDevice(vcDeviceVoltage);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.VC_DEVICE_CURRENT:
{
VCDeviceCurrent vcDeviceCurrent = (VCDeviceCurrent)theEObject;
T result = caseVCDeviceCurrent(vcDeviceCurrent);
if (result == null) result = caseVoltageCurrentDevice(vcDeviceCurrent);
if (result == null) result = caseMSensor(vcDeviceCurrent);
if (result == null) result = caseMSubDevice(vcDeviceCurrent);
if (result == null) result = caseCallbackListener(vcDeviceCurrent);
if (result == null) result = caseMTFConfigConsumer(vcDeviceCurrent);
if (result == null) result = caseMBaseDevice(vcDeviceCurrent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.VC_DEVICE_POWER:
{
VCDevicePower vcDevicePower = (VCDevicePower)theEObject;
T result = caseVCDevicePower(vcDevicePower);
if (result == null) result = caseVoltageCurrentDevice(vcDevicePower);
if (result == null) result = caseMSensor(vcDevicePower);
if (result == null) result = caseMSubDevice(vcDevicePower);
if (result == null) result = caseCallbackListener(vcDevicePower);
if (result == null) result = caseMTFConfigConsumer(vcDevicePower);
if (result == null) result = caseMBaseDevice(vcDevicePower);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_BAROMETER:
{
MBrickletBarometer mBrickletBarometer = (MBrickletBarometer)theEObject;
T result = caseMBrickletBarometer(mBrickletBarometer);
if (result == null) result = caseMDevice(mBrickletBarometer);
if (result == null) result = caseMSensor(mBrickletBarometer);
if (result == null) result = caseMTFConfigConsumer(mBrickletBarometer);
if (result == null) result = caseMSubDeviceHolder(mBrickletBarometer);
if (result == null) result = caseCallbackListener(mBrickletBarometer);
if (result == null) result = caseMBaseDevice(mBrickletBarometer);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBAROMETER_TEMPERATURE:
{
MBarometerTemperature mBarometerTemperature = (MBarometerTemperature)theEObject;
T result = caseMBarometerTemperature(mBarometerTemperature);
if (result == null) result = caseMSensor(mBarometerTemperature);
if (result == null) result = caseMSubDevice(mBarometerTemperature);
if (result == null) result = caseMBaseDevice(mBarometerTemperature);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_AMBIENT_LIGHT:
{
MBrickletAmbientLight mBrickletAmbientLight = (MBrickletAmbientLight)theEObject;
T result = caseMBrickletAmbientLight(mBrickletAmbientLight);
if (result == null) result = caseMDevice(mBrickletAmbientLight);
if (result == null) result = caseMSensor(mBrickletAmbientLight);
if (result == null) result = caseMTFConfigConsumer(mBrickletAmbientLight);
if (result == null) result = caseCallbackListener(mBrickletAmbientLight);
if (result == null) result = caseMBaseDevice(mBrickletAmbientLight);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_SOUND_INTENSITY:
{
MBrickletSoundIntensity mBrickletSoundIntensity = (MBrickletSoundIntensity)theEObject;
T result = caseMBrickletSoundIntensity(mBrickletSoundIntensity);
if (result == null) result = caseMDevice(mBrickletSoundIntensity);
if (result == null) result = caseMSensor(mBrickletSoundIntensity);
if (result == null) result = caseMTFConfigConsumer(mBrickletSoundIntensity);
if (result == null) result = caseCallbackListener(mBrickletSoundIntensity);
if (result == null) result = caseMBaseDevice(mBrickletSoundIntensity);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_MOISTURE:
{
MBrickletMoisture mBrickletMoisture = (MBrickletMoisture)theEObject;
T result = caseMBrickletMoisture(mBrickletMoisture);
if (result == null) result = caseMDevice(mBrickletMoisture);
if (result == null) result = caseMSensor(mBrickletMoisture);
if (result == null) result = caseMTFConfigConsumer(mBrickletMoisture);
if (result == null) result = caseCallbackListener(mBrickletMoisture);
if (result == null) result = caseMBaseDevice(mBrickletMoisture);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_DISTANCE_US:
{
MBrickletDistanceUS mBrickletDistanceUS = (MBrickletDistanceUS)theEObject;
T result = caseMBrickletDistanceUS(mBrickletDistanceUS);
if (result == null) result = caseMDevice(mBrickletDistanceUS);
if (result == null) result = caseMSensor(mBrickletDistanceUS);
if (result == null) result = caseMTFConfigConsumer(mBrickletDistanceUS);
if (result == null) result = caseCallbackListener(mBrickletDistanceUS);
if (result == null) result = caseMBaseDevice(mBrickletDistanceUS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MBRICKLET_LCD2_0X4:
{
MBrickletLCD20x4 mBrickletLCD20x4 = (MBrickletLCD20x4)theEObject;
T result = caseMBrickletLCD20x4(mBrickletLCD20x4);
if (result == null) result = caseMDevice(mBrickletLCD20x4);
if (result == null) result = caseMTextActor(mBrickletLCD20x4);
if (result == null) result = caseMSubDeviceHolder(mBrickletLCD20x4);
if (result == null) result = caseMBaseDevice(mBrickletLCD20x4);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MLCD2_0X4_BACKLIGHT:
{
MLCD20x4Backlight mlcd20x4Backlight = (MLCD20x4Backlight)theEObject;
T result = caseMLCD20x4Backlight(mlcd20x4Backlight);
if (result == null) result = caseMInSwitchActor(mlcd20x4Backlight);
if (result == null) result = caseMLCDSubDevice(mlcd20x4Backlight);
if (result == null) result = caseMSwitchActor(mlcd20x4Backlight);
if (result == null) result = caseMSubDevice(mlcd20x4Backlight);
if (result == null) result = caseMBaseDevice(mlcd20x4Backlight);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MLCD2_0X4_BUTTON:
{
MLCD20x4Button mlcd20x4Button = (MLCD20x4Button)theEObject;
T result = caseMLCD20x4Button(mlcd20x4Button);
if (result == null) result = caseMOutSwitchActor(mlcd20x4Button);
if (result == null) result = caseMLCDSubDevice(mlcd20x4Button);
if (result == null) result = caseCallbackListener(mlcd20x4Button);
if (result == null) result = caseMSwitchActor(mlcd20x4Button);
if (result == null) result = caseMSubDevice(mlcd20x4Button);
if (result == null) result = caseMBaseDevice(mlcd20x4Button);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_CONFIG:
{
TFConfig tfConfig = (TFConfig)theEObject;
T result = caseTFConfig(tfConfig);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.OHTF_DEVICE:
{
OHTFDevice<?, ?> ohtfDevice = (OHTFDevice<?, ?>)theEObject;
T result = caseOHTFDevice(ohtfDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.OHTF_SUB_DEVICE_ADMIN_DEVICE:
{
OHTFSubDeviceAdminDevice<?, ?> ohtfSubDeviceAdminDevice = (OHTFSubDeviceAdminDevice<?, ?>)theEObject;
T result = caseOHTFSubDeviceAdminDevice(ohtfSubDeviceAdminDevice);
if (result == null) result = caseOHTFDevice(ohtfSubDeviceAdminDevice);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.OH_CONFIG:
{
OHConfig ohConfig = (OHConfig)theEObject;
T result = caseOHConfig(ohConfig);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_NULL_CONFIGURATION:
{
TFNullConfiguration tfNullConfiguration = (TFNullConfiguration)theEObject;
T result = caseTFNullConfiguration(tfNullConfiguration);
if (result == null) result = caseTFConfig(tfNullConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_BASE_CONFIGURATION:
{
TFBaseConfiguration tfBaseConfiguration = (TFBaseConfiguration)theEObject;
T result = caseTFBaseConfiguration(tfBaseConfiguration);
if (result == null) result = caseTFConfig(tfBaseConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_OBJECT_TEMPERATURE_CONFIGURATION:
{
TFObjectTemperatureConfiguration tfObjectTemperatureConfiguration = (TFObjectTemperatureConfiguration)theEObject;
T result = caseTFObjectTemperatureConfiguration(tfObjectTemperatureConfiguration);
if (result == null) result = caseTFBaseConfiguration(tfObjectTemperatureConfiguration);
if (result == null) result = caseTFConfig(tfObjectTemperatureConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_MOISTURE_BRICKLET_CONFIGURATION:
{
TFMoistureBrickletConfiguration tfMoistureBrickletConfiguration = (TFMoistureBrickletConfiguration)theEObject;
T result = caseTFMoistureBrickletConfiguration(tfMoistureBrickletConfiguration);
if (result == null) result = caseTFBaseConfiguration(tfMoistureBrickletConfiguration);
if (result == null) result = caseTFConfig(tfMoistureBrickletConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_DISTANCE_US_BRICKLET_CONFIGURATION:
{
TFDistanceUSBrickletConfiguration tfDistanceUSBrickletConfiguration = (TFDistanceUSBrickletConfiguration)theEObject;
T result = caseTFDistanceUSBrickletConfiguration(tfDistanceUSBrickletConfiguration);
if (result == null) result = caseTFBaseConfiguration(tfDistanceUSBrickletConfiguration);
if (result == null) result = caseTFConfig(tfDistanceUSBrickletConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_VOLTAGE_CURRENT_CONFIGURATION:
{
TFVoltageCurrentConfiguration tfVoltageCurrentConfiguration = (TFVoltageCurrentConfiguration)theEObject;
T result = caseTFVoltageCurrentConfiguration(tfVoltageCurrentConfiguration);
if (result == null) result = caseTFConfig(tfVoltageCurrentConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_BRICK_DC_CONFIGURATION:
{
TFBrickDCConfiguration tfBrickDCConfiguration = (TFBrickDCConfiguration)theEObject;
T result = caseTFBrickDCConfiguration(tfBrickDCConfiguration);
if (result == null) result = caseTFConfig(tfBrickDCConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TFIO_ACTOR_CONFIGURATION:
{
TFIOActorConfiguration tfioActorConfiguration = (TFIOActorConfiguration)theEObject;
T result = caseTFIOActorConfiguration(tfioActorConfiguration);
if (result == null) result = caseTFConfig(tfioActorConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_INTERRUPT_LISTENER_CONFIGURATION:
{
TFInterruptListenerConfiguration tfInterruptListenerConfiguration = (TFInterruptListenerConfiguration)theEObject;
T result = caseTFInterruptListenerConfiguration(tfInterruptListenerConfiguration);
if (result == null) result = caseTFConfig(tfInterruptListenerConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TFIO_SENSOR_CONFIGURATION:
{
TFIOSensorConfiguration tfioSensorConfiguration = (TFIOSensorConfiguration)theEObject;
T result = caseTFIOSensorConfiguration(tfioSensorConfiguration);
if (result == null) result = caseTFConfig(tfioSensorConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.TF_SERVO_CONFIGURATION:
{
TFServoConfiguration tfServoConfiguration = (TFServoConfiguration)theEObject;
T result = caseTFServoConfiguration(tfServoConfiguration);
if (result == null) result = caseTFConfig(tfServoConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.BRICKLET_REMOTE_SWITCH_CONFIGURATION:
{
BrickletRemoteSwitchConfiguration brickletRemoteSwitchConfiguration = (BrickletRemoteSwitchConfiguration)theEObject;
T result = caseBrickletRemoteSwitchConfiguration(brickletRemoteSwitchConfiguration);
if (result == null) result = caseTFConfig(brickletRemoteSwitchConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.REMOTE_SWITCH_ACONFIGURATION:
{
RemoteSwitchAConfiguration remoteSwitchAConfiguration = (RemoteSwitchAConfiguration)theEObject;
T result = caseRemoteSwitchAConfiguration(remoteSwitchAConfiguration);
if (result == null) result = caseTFConfig(remoteSwitchAConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.REMOTE_SWITCH_BCONFIGURATION:
{
RemoteSwitchBConfiguration remoteSwitchBConfiguration = (RemoteSwitchBConfiguration)theEObject;
T result = caseRemoteSwitchBConfiguration(remoteSwitchBConfiguration);
if (result == null) result = caseTFConfig(remoteSwitchBConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.REMOTE_SWITCH_CCONFIGURATION:
{
RemoteSwitchCConfiguration remoteSwitchCConfiguration = (RemoteSwitchCConfiguration)theEObject;
T result = caseRemoteSwitchCConfiguration(remoteSwitchCConfiguration);
if (result == null) result = caseTFConfig(remoteSwitchCConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.MULTI_TOUCH_DEVICE_CONFIGURATION:
{
MultiTouchDeviceConfiguration multiTouchDeviceConfiguration = (MultiTouchDeviceConfiguration)theEObject;
T result = caseMultiTouchDeviceConfiguration(multiTouchDeviceConfiguration);
if (result == null) result = caseTFConfig(multiTouchDeviceConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ModelPackage.BRICKLET_MULTI_TOUCH_CONFIGURATION:
{
BrickletMultiTouchConfiguration brickletMultiTouchConfiguration = (BrickletMultiTouchConfiguration)theEObject;
T result = caseBrickletMultiTouchConfiguration(brickletMultiTouchConfiguration);
if (result == null) result = caseTFConfig(brickletMultiTouchConfiguration);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Config</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>TF Config</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFConfig(TFConfig object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>OHTF Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>OHTF Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@SuppressWarnings("rawtypes")
public <TFC extends TFConfig, IDS extends Enum> T caseOHTFDevice(
OHTFDevice<TFC, IDS> object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>OHTF Sub Device Admin Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>OHTF Sub Device Admin Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public <TFC extends TFConfig, IDS extends Enum> T caseOHTFSubDeviceAdminDevice(OHTFSubDeviceAdminDevice<TFC, IDS> object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>OH Config</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>OH Config</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOHConfig(OHConfig object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ecosystem</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>Ecosystem</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEcosystem(Ecosystem object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBrickd</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>MBrickd</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickd(MBrickd object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Sub Device Admin</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>Sub Device Admin</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSubDeviceAdmin(SubDeviceAdmin object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MTF Config Consumer</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>MTF Config Consumer</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public <TFC> T caseMTFConfigConsumer(MTFConfigConsumer<TFC> object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBase Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>MBase Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBaseDevice(MBaseDevice object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MDevice</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>MDevice</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public <TF extends Device> T caseMDevice(MDevice<TF> object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MSub Device Holder</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>MSub Device Holder</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public <S extends MSubDevice<?>> T caseMSubDeviceHolder(MSubDeviceHolder<S> object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBrick Servo</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>MBrick Servo</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickServo(MBrickServo object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Brick DC Configuration</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>TF Brick DC Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFBrickDCConfiguration(TFBrickDCConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBrick DC</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>MBrick DC</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickDC(MBrickDC object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MDual Relay Bricklet</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>MDual Relay Bricklet</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMDualRelayBricklet(MDualRelayBricklet object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MIndustrial Quad Relay Bricklet</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>MIndustrial Quad Relay Bricklet</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMIndustrialQuadRelayBricklet(MIndustrialQuadRelayBricklet object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MIndustrial Quad Relay</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>MIndustrial Quad Relay</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMIndustrialQuadRelay(MIndustrialQuadRelay object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Industrial Digital In4</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>MBricklet Industrial Digital In4</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletIndustrialDigitalIn4(MBrickletIndustrialDigitalIn4 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MIndustrial Digital 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>MIndustrial Digital In</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMIndustrialDigitalIn(MIndustrialDigitalIn object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Industrial Digital Out4</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>MBricklet Industrial Digital Out4</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletIndustrialDigitalOut4(MBrickletIndustrialDigitalOut4 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Digital Actor Digital Out4</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>Digital Actor Digital Out4</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDigitalActorDigitalOut4(DigitalActorDigitalOut4 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Digital Actor</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>Digital Actor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDigitalActor(DigitalActor object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Number Actor</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>Number Actor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNumberActor(NumberActor object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Color Actor</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>Color Actor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseColorActor(ColorActor object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet LED Strip</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>MBricklet LED Strip</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletLEDStrip(MBrickletLEDStrip object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Segment Display4x7</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>MBricklet Segment Display4x7</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletSegmentDisplay4x7(MBrickletSegmentDisplay4x7 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Digital Actor IO16</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>Digital Actor IO16</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDigitalActorIO16(DigitalActorIO16 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MActor</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>MActor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMActor(MActor object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MSwitch Actor</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>MSwitch Actor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMSwitchActor(MSwitchActor object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MOut Switch Actor</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>MOut Switch Actor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMOutSwitchActor(MOutSwitchActor object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MIn Switch Actor</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>MIn Switch Actor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMInSwitchActor(MInSwitchActor object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Generic Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Generic Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseGenericDevice(GenericDevice object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TFIO Actor Configuration</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>TFIO Actor Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFIOActorConfiguration(TFIOActorConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Interrupt Listener Configuration</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>TF Interrupt Listener Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFInterruptListenerConfiguration(TFInterruptListenerConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet IO16</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>MBricklet IO16</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletIO16(MBrickletIO16 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>IO Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>IO Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIODevice(IODevice object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TFIO Sensor Configuration</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>TFIO Sensor Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFIOSensorConfiguration(TFIOSensorConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Digital 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>Digital Sensor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDigitalSensor(DigitalSensor object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet IO4</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>MBricklet IO4</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletIO4(MBrickletIO4 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>IO4 Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>IO4 Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIO4Device(IO4Device object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Digital Sensor IO4</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>Digital Sensor IO4</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDigitalSensorIO4(DigitalSensorIO4 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Digital Actor IO4</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>Digital Actor IO4</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDigitalActorIO4(DigitalActorIO4 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Multi Touch</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>MBricklet Multi Touch</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletMultiTouch(MBrickletMultiTouch object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Multi Touch Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Multi Touch Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMultiTouchDevice(MultiTouchDevice object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Electrode</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>Electrode</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseElectrode(Electrode object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Proximity</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>Proximity</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseProximity(Proximity object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Motion Detector</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>MBricklet Motion Detector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletMotionDetector(MBrickletMotionDetector object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Hall Effect</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>MBricklet Hall Effect</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletHallEffect(MBrickletHallEffect object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MSub Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>MSub Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public <B extends MSubDeviceHolder<?>> T caseMSubDevice(MSubDevice<B> object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MDual Relay</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>MDual Relay</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMDualRelay(MDualRelay object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Remote Switch</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>MBricklet Remote Switch</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletRemoteSwitch(MBrickletRemoteSwitch object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Remote Switch</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>Remote Switch</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRemoteSwitch(RemoteSwitch object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Remote Switch A</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>Remote Switch A</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRemoteSwitchA(RemoteSwitchA object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Remote Switch B</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>Remote Switch B</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRemoteSwitchB(RemoteSwitchB object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Remote Switch C</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>Remote Switch C</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRemoteSwitchC(RemoteSwitchC object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Null Configuration</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>TF Null Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFNullConfiguration(TFNullConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Servo Configuration</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>TF Servo Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFServoConfiguration(TFServoConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Bricklet Remote Switch Configuration</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>Bricklet Remote Switch Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBrickletRemoteSwitchConfiguration(BrickletRemoteSwitchConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Remote Switch AConfiguration</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>Remote Switch AConfiguration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRemoteSwitchAConfiguration(RemoteSwitchAConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Remote Switch BConfiguration</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>Remote Switch BConfiguration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRemoteSwitchBConfiguration(RemoteSwitchBConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Remote Switch CConfiguration</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>Remote Switch CConfiguration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRemoteSwitchCConfiguration(RemoteSwitchCConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Multi Touch Device Configuration</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>Multi Touch Device Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMultiTouchDeviceConfiguration(MultiTouchDeviceConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Bricklet Multi Touch Configuration</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>Bricklet Multi Touch Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBrickletMultiTouchConfiguration(BrickletMultiTouchConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MServo</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>MServo</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMServo(MServo object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Callback Listener</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>Callback Listener</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCallbackListener(CallbackListener object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Interrupt Listener</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>Interrupt Listener</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseInterruptListener(InterruptListener object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MSensor</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>MSensor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public <DeviceValue extends TinkerforgeValue> T caseMSensor(MSensor<DeviceValue> object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Humidity</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>MBricklet Humidity</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletHumidity(MBrickletHumidity object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Distance IR</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>MBricklet Distance IR</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletDistanceIR(MBrickletDistanceIR object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Temperature</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>MBricklet Temperature</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletTemperature(MBrickletTemperature object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Temperature IR</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>MBricklet Temperature IR</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletTemperatureIR(MBrickletTemperatureIR object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MTemperature IR Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>MTemperature IR Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMTemperatureIRDevice(MTemperatureIRDevice object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Object Temperature</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>Object Temperature</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseObjectTemperature(ObjectTemperature object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ambient Temperature</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>Ambient Temperature</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAmbientTemperature(AmbientTemperature object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Tilt</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>MBricklet Tilt</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletTilt(MBrickletTilt object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Voltage Current</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>MBricklet Voltage Current</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletVoltageCurrent(MBrickletVoltageCurrent object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Voltage Current Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Voltage Current Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVoltageCurrentDevice(VoltageCurrentDevice object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>VC Device Voltage</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>VC Device Voltage</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVCDeviceVoltage(VCDeviceVoltage object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>VC Device Current</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>VC Device Current</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVCDeviceCurrent(VCDeviceCurrent object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>VC Device Power</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>VC Device Power</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVCDevicePower(VCDevicePower object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Base Configuration</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>TF Base Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFBaseConfiguration(TFBaseConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Object Temperature Configuration</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>TF Object Temperature Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFObjectTemperatureConfiguration(TFObjectTemperatureConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Moisture Bricklet Configuration</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>TF Moisture Bricklet Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFMoistureBrickletConfiguration(TFMoistureBrickletConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Distance US Bricklet Configuration</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>TF Distance US Bricklet Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFDistanceUSBrickletConfiguration(TFDistanceUSBrickletConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>TF Voltage Current Configuration</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>TF Voltage Current Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTFVoltageCurrentConfiguration(TFVoltageCurrentConfiguration object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Barometer</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>MBricklet Barometer</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletBarometer(MBrickletBarometer object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBarometer Temperature</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>MBarometer Temperature</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBarometerTemperature(MBarometerTemperature object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Ambient Light</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>MBricklet Ambient Light</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletAmbientLight(MBrickletAmbientLight object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Sound Intensity</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>MBricklet Sound Intensity</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletSoundIntensity(MBrickletSoundIntensity object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Moisture</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>MBricklet Moisture</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletMoisture(MBrickletMoisture object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet Distance US</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>MBricklet Distance US</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletDistanceUS(MBrickletDistanceUS object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MBricklet LCD2 0x4</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>MBricklet LCD2 0x4</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMBrickletLCD20x4(MBrickletLCD20x4 object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MText Actor</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>MText Actor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMTextActor(MTextActor object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MLCD Sub Device</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>MLCD Sub Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMLCDSubDevice(MLCDSubDevice object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MLCD2 0x4 Backlight</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>MLCD2 0x4 Backlight</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMLCD20x4Backlight(MLCD20x4Backlight object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>MLCD2 0x4 Button</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>MLCD2 0x4 Button</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMLCD20x4Button(MLCD20x4Button 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