public class PlanningAlgorithmSwitch<T>
extends org.eclipse.emf.ecore.util.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.
PlanningAlgorithmPackage
Modifier and Type | Field and Description |
---|---|
protected static PlanningAlgorithmPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
PlanningAlgorithmSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAclfNetwork(AclfNetwork object)
Returns the result of interpreting the object as an instance of 'Network'.
|
<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch> |
caseBaseAclfNetwork(BaseAclfNetwork<TBus,TBranch> object)
Returns the result of interpreting the object as an instance of 'Base Aclf Network'.
|
<TBranch extends Branch> |
caseBranchRef(BranchRef<TBranch> object)
Returns the result of interpreting the object as an instance of 'Branch Ref'.
|
<TBus extends Bus> |
caseBusRef(BusRef<TBus> object)
Returns the result of interpreting the object as an instance of 'Bus Ref'.
|
T |
caseDataSerializable(com.hazelcast.nio.serialization.DataSerializable object)
Returns the result of interpreting the object as an instance of 'Data Serializable'.
|
T |
caseIAclfAreaZone(IAclfAreaZone object)
Returns the result of interpreting the object as an instance of 'IAclf Area Zone'.
|
T |
caseIAclfNetAdjustment(IAclfNetAdjustment object)
Returns the result of interpreting the object as an instance of 'IAclf Net Adjustment'.
|
T |
caseIAclfNetElement(IAclfNetElement object)
Returns the result of interpreting the object as an instance of 'IAclf Net Element'.
|
T |
caseIAclfNetFormMatrix(IAclfNetFormMatrix object)
Returns the result of interpreting the object as an instance of 'IAclf Net Form Matrix'.
|
T |
caseIAclfNetFunc(IAclfNetFunc object)
Returns the result of interpreting the object as an instance of 'IAclf Net Func'.
|
T |
caseIAclfNetLookup(IAclfNetLookup object)
Returns the result of interpreting the object as an instance of 'IAclf Net Lookup'.
|
T |
caseIChildNet(IChildNet object)
Returns the result of interpreting the object as an instance of 'IChild Net'.
|
T |
caseINet3WXfrElement(INet3WXfrElement object)
Returns the result of interpreting the object as an instance of 'INet3 WXfr Element'.
|
T |
caseNameTag(NameTag object)
Returns the result of interpreting the object as an instance of 'Name Tag'.
|
<TBus extends Bus,TBranch extends Branch> |
caseNetwork(Network<TBus,TBranch> object)
Returns the result of interpreting the object as an instance of 'Network'.
|
T |
casePlanningAclfNetwork(PlanningAclfNetwork object)
Returns the result of interpreting the object as an instance of 'Planning Aclf Network'.
|
T |
casePlanningChangeBranch(PlanningChangeBranch object)
Returns the result of interpreting the object as an instance of 'Planning Change Branch'.
|
T |
casePlanningChangeBus(PlanningChangeBus object)
Returns the result of interpreting the object as an instance of 'Planning Change Bus'.
|
T |
casePlanningChangeInfo(PlanningChangeInfo object)
Returns the result of interpreting the object as an instance of 'Planning Change Info'.
|
T |
casePlanningChangeSubstation(PlanningChangeSubstation object)
Returns the result of interpreting the object as an instance of 'Planning Change Substation'.
|
T |
casePlanningPeriodAclfNet(PlanningPeriodAclfNet object)
Returns the result of interpreting the object as an instance of 'Planning Period Aclf Net'.
|
<TSub extends Substation> |
caseSubstationRef(SubstationRef<TSub> object)
Returns the result of interpreting the object as an instance of 'Substation Ref'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static PlanningAlgorithmPackage modelPackage
public PlanningAlgorithmSwitch()
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
ePackage
- the package in question.protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T>
caseXXX
call.public T casePlanningChangeInfo(PlanningChangeInfo object)
object
- the target of the switch.doSwitch(EObject)
public T casePlanningChangeBus(PlanningChangeBus object)
object
- the target of the switch.doSwitch(EObject)
public T casePlanningChangeBranch(PlanningChangeBranch object)
object
- the target of the switch.doSwitch(EObject)
public T casePlanningChangeSubstation(PlanningChangeSubstation object)
object
- the target of the switch.doSwitch(EObject)
public T casePlanningPeriodAclfNet(PlanningPeriodAclfNet object)
object
- the target of the switch.doSwitch(EObject)
public T casePlanningAclfNetwork(PlanningAclfNetwork object)
object
- the target of the switch.doSwitch(EObject)
public T caseDataSerializable(com.hazelcast.nio.serialization.DataSerializable object)
object
- the target of the switch.doSwitch(EObject)
public T caseNameTag(NameTag object)
object
- the target of the switch.doSwitch(EObject)
public <TBus extends Bus> T caseBusRef(BusRef<TBus> object)
object
- the target of the switch.doSwitch(EObject)
public <TBranch extends Branch> T caseBranchRef(BranchRef<TBranch> object)
object
- the target of the switch.doSwitch(EObject)
public <TSub extends Substation> T caseSubstationRef(SubstationRef<TSub> object)
object
- the target of the switch.doSwitch(EObject)
public T caseIChildNet(IChildNet object)
object
- the target of the switch.doSwitch(EObject)
public <TBus extends Bus,TBranch extends Branch> T caseNetwork(Network<TBus,TBranch> object)
object
- the target of the switch.doSwitch(EObject)
public T caseIAclfNetFunc(IAclfNetFunc object)
object
- the target of the switch.doSwitch(EObject)
public T caseIAclfNetAdjustment(IAclfNetAdjustment object)
object
- the target of the switch.doSwitch(EObject)
public T caseINet3WXfrElement(INet3WXfrElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseIAclfNetElement(IAclfNetElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseIAclfAreaZone(IAclfAreaZone object)
object
- the target of the switch.doSwitch(EObject)
public T caseIAclfNetFormMatrix(IAclfNetFormMatrix object)
object
- the target of the switch.doSwitch(EObject)
public <TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch> T caseBaseAclfNetwork(BaseAclfNetwork<TBus,TBranch> object)
object
- the target of the switch.doSwitch(EObject)
public T caseIAclfNetLookup(IAclfNetLookup object)
object
- the target of the switch.doSwitch(EObject)
public T caseAclfNetwork(AclfNetwork object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)