public class BindingSwitch<T> extends Switch<T>
doSwitch(object) to invoke the caseXXX method for
each class of the model, starting with the actual class of the object and proceeding up the
inheritance hierarchy until a non-null result is returned, which is the result of the switch.
BindingPackage| Constructor and Description |
|---|
BindingSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
<Q extends javax.measure.quantity.Quantity> |
caseAbstractFixedFactorValue(AbstractFixedFactorValue<Q> object)
Returns the result of interpreting the object as an instance of '
Abstract Fixed Factor Value'.
|
T |
caseDistributionPowerBinding(DistributionPowerBinding object)
Returns the result of interpreting the object as an instance of '
Distribution Power Binding'.
|
T |
caseEntity(Entity object)
Returns the result of interpreting the object as an instance of 'Entity'.
|
T |
caseFixedFactorValueDimensionless(FixedFactorValueDimensionless object)
Returns the result of interpreting the object as an instance of '
Fixed Factor Value Dimensionless'.
|
T |
caseFixedFactorValuePower(FixedFactorValuePower object)
Returns the result of interpreting the object as an instance of '
Fixed Factor Value Power'.
|
T |
caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.
|
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.
|
T |
casePowerBinding(PowerBinding object)
Returns the result of interpreting the object as an instance of 'Power Binding'.
|
T |
casePowerBindingRepository(PowerBindingRepository object)
Returns the result of interpreting the object as an instance of '
Power Binding Repository'.
|
T |
casePowerFactorBinding(PowerFactorBinding object)
Returns the result of interpreting the object as an instance of '
Power Factor Binding'.
|
T |
casePowerState(PowerState object)
Returns the result of interpreting the object as an instance of 'Power State'.
|
T |
caseResourcePowerBinding(ResourcePowerBinding object)
Returns the result of interpreting the object as an instance of '
Resource Power Binding'.
|
T |
caseStatefulResourcePowerBinding(StatefulResourcePowerBinding object)
Returns the result of interpreting the object as an instance of '
Stateful Resource Power Binding'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public BindingSwitch()
public T caseFixedFactorValuePower(FixedFactorValuePower object)
object - the target of the switch.doSwitch(EObject)public T casePowerBindingRepository(PowerBindingRepository object)
object - the target of the switch.doSwitch(EObject)public T casePowerBinding(PowerBinding object)
object - the target of the switch.doSwitch(EObject)public T caseResourcePowerBinding(ResourcePowerBinding object)
object - the target of the switch.doSwitch(EObject)public T caseDistributionPowerBinding(DistributionPowerBinding object)
object - the target of the switch.doSwitch(EObject)public T casePowerState(PowerState object)
object - the target of the switch.doSwitch(EObject)public T caseStatefulResourcePowerBinding(StatefulResourcePowerBinding object)
object - the target of the switch.doSwitch(EObject)public T casePowerFactorBinding(PowerFactorBinding object)
object - the target of the switch.doSwitch(EObject)public <Q extends javax.measure.quantity.Quantity> T caseAbstractFixedFactorValue(AbstractFixedFactorValue<Q> object)
object - the target of the switch.doSwitch(EObject)public T caseFixedFactorValueDimensionless(FixedFactorValueDimensionless object)
object - the target of the switch.doSwitch(EObject)public T caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
object - the target of the switch.doSwitch(EObject)public T caseNamedElement(NamedElement object)
object - the target of the switch.doSwitch(EObject)public T caseEntity(Entity object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(EObject object)
defaultCase in class Switch<T>object - the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)