|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.metaabm.act.util.MetaABMActSwitch<T>
public class MetaABMActSwitch<T>
The Switch for the model's inheritance hierarchy.
It supports the call 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.
MetaABMActPackage| Field Summary | |
|---|---|
protected static MetaABMActPackage |
modelPackage
The cached model package |
| Constructor Summary | |
|---|---|
MetaABMActSwitch()
Creates an instance of the switch. |
|
| Method Summary | |
|---|---|
T |
caseAAccessor(AAccessor object)
Returns the result of interpreting the object as an instance of 'AAccessor'. |
T |
caseAAct(AAct object)
Returns the result of interpreting the object as an instance of 'AAct'. |
T |
caseAAll(AAll object)
Returns the result of interpreting the object as an instance of 'AAll'. |
T |
caseAAny(AAny object)
Returns the result of interpreting the object as an instance of 'AAny'. |
T |
caseABuild(ABuild object)
Returns the result of interpreting the object as an instance of 'ABuild'. |
T |
caseABuildGrid(ABuildGrid object)
Returns the result of interpreting the object as an instance of 'ABuild Grid'. |
T |
caseABuildNetwork(ABuildNetwork object)
Returns the result of interpreting the object as an instance of 'ABuild Network'. |
T |
caseABuildProjection(ABuildProjection object)
Returns the result of interpreting the object as an instance of 'ABuild Projection'. |
T |
caseABuildSpace(ABuildSpace object)
Returns the result of interpreting the object as an instance of 'ABuild Space'. |
T |
caseACommand(ACommand object)
Returns the result of interpreting the object as an instance of 'ACommand'. |
T |
caseAConnect(AConnect object)
Returns the result of interpreting the object as an instance of 'AConnect'. |
T |
caseAControl(AControl object)
Returns the result of interpreting the object as an instance of 'AControl'. |
T |
caseACreateAgents(ACreateAgents object)
Returns the result of interpreting the object as an instance of 'ACreate Agents'. |
T |
caseADie(ADie object)
Returns the result of interpreting the object as an instance of 'ADie'. |
T |
caseADisconnect(ADisconnect object)
Returns the result of interpreting the object as an instance of 'ADisconnect'. |
T |
caseAEvaluate(AEvaluate object)
Returns the result of interpreting the object as an instance of 'AEvaluate'. |
T |
caseAGroup(AGroup object)
Returns the result of interpreting the object as an instance of 'AGroup'. |
T |
caseAInitialize(AInitialize object)
Returns the result of interpreting the object as an instance of 'AInitialize'. |
T |
caseAInput(AInput object)
Returns the result of interpreting the object as an instance of 'AInput'. |
T |
caseALeave(ALeave object)
Returns the result of interpreting the object as an instance of 'ALeave'. |
T |
caseALiteral(ALiteral object)
Returns the result of interpreting the object as an instance of 'ALiteral'. |
T |
caseALogic(ALogic object)
Returns the result of interpreting the object as an instance of 'ALogic'. |
T |
caseAMethod(AMethod object)
Returns the result of interpreting the object as an instance of 'AMethod'. |
T |
caseAMove(AMove object)
Returns the result of interpreting the object as an instance of 'AMove'. |
T |
caseANetwork(ANetwork object)
Returns the result of interpreting the object as an instance of 'ANetwork'. |
T |
caseANone(ANone object)
Returns the result of interpreting the object as an instance of 'ANone'. |
T |
caseAQuery(AQuery object)
Returns the result of interpreting the object as an instance of 'AQuery'. |
T |
caseAReplace(AReplace object)
Returns the result of interpreting the object as an instance of 'AReplace'. |
T |
caseARoot(ARoot object)
Returns the result of interpreting the object as an instance of 'ARoot'. |
T |
caseARule(ARule object)
Returns the result of interpreting the object as an instance of 'ARule'. |
T |
caseASchedule(ASchedule object)
Returns the result of interpreting the object as an instance of 'ASchedule'. |
T |
caseASelect(ASelect object)
Returns the result of interpreting the object as an instance of 'ASelect'. |
T |
caseASet(ASet object)
Returns the result of interpreting the object as an instance of 'ASet'. |
T |
caseASink(ASink object)
Returns the result of interpreting the object as an instance of 'ASink'. |
T |
caseATransform(ATransform object)
Returns the result of interpreting the object as an instance of 'ATransform'. |
T |
caseAWatch(AWatch object)
Returns the result of interpreting the object as an instance of 'AWatch'. |
T |
caseIAct(IAct object)
Returns the result of interpreting the object as an instance of 'IAct'. |
T |
caseIID(IID object)
Returns the result of interpreting the object as an instance of 'IID'. |
T |
caseIValue(IValue object)
Returns the result of interpreting the object as an instance of 'IValue'. |
T |
caseSNamed(SNamed object)
Returns the result of interpreting the object as an instance of 'SNamed'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
protected T |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
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. |
T |
doSwitch(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 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static MetaABMActPackage modelPackage
| Constructor Detail |
|---|
public MetaABMActSwitch()
| Method Detail |
|---|
public T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected T doSwitch(org.eclipse.emf.ecore.EClass theEClass,
org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
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.
caseXXX call.public T caseAInput(AInput object)
object - the target of the switch.
doSwitch(EObject)public T caseALiteral(ALiteral object)
object - the target of the switch.
doSwitch(EObject)public T caseAAct(AAct object)
object - the target of the switch.
doSwitch(EObject)public T caseAControl(AControl object)
object - the target of the switch.
doSwitch(EObject)public T caseARoot(ARoot object)
object - the target of the switch.
doSwitch(EObject)public T caseAGroup(AGroup object)
object - the target of the switch.
doSwitch(EObject)public T caseASchedule(ASchedule object)
object - the target of the switch.
doSwitch(EObject)public T caseARule(ARule object)
object - the target of the switch.
doSwitch(EObject)public T caseABuild(ABuild object)
object - the target of the switch.
doSwitch(EObject)public T caseAInitialize(AInitialize object)
object - the target of the switch.
doSwitch(EObject)public T caseAMethod(AMethod object)
object - the target of the switch.
doSwitch(EObject)public T caseASink(ASink object)
object - the target of the switch.
doSwitch(EObject)public T caseALogic(ALogic object)
object - the target of the switch.
doSwitch(EObject)public T caseAAny(AAny object)
object - the target of the switch.
doSwitch(EObject)public T caseAAll(AAll object)
object - the target of the switch.
doSwitch(EObject)public T caseANone(ANone object)
object - the target of the switch.
doSwitch(EObject)public T caseAQuery(AQuery object)
object - the target of the switch.
doSwitch(EObject)public T caseAEvaluate(AEvaluate object)
object - the target of the switch.
doSwitch(EObject)public T caseAAccessor(AAccessor object)
object - the target of the switch.
doSwitch(EObject)public T caseAWatch(AWatch object)
object - the target of the switch.
doSwitch(EObject)public T caseASet(ASet object)
object - the target of the switch.
doSwitch(EObject)public T caseACreateAgents(ACreateAgents object)
object - the target of the switch.
doSwitch(EObject)public T caseABuildProjection(ABuildProjection object)
object - the target of the switch.
doSwitch(EObject)public T caseABuildNetwork(ABuildNetwork object)
object - the target of the switch.
doSwitch(EObject)public T caseABuildSpace(ABuildSpace object)
object - the target of the switch.
doSwitch(EObject)public T caseABuildGrid(ABuildGrid object)
object - the target of the switch.
doSwitch(EObject)public T caseASelect(ASelect object)
object - the target of the switch.
doSwitch(EObject)public T caseAMove(AMove object)
object - the target of the switch.
doSwitch(EObject)public T caseATransform(ATransform object)
object - the target of the switch.
doSwitch(EObject)public T caseALeave(ALeave object)
object - the target of the switch.
doSwitch(EObject)public T caseADie(ADie object)
object - the target of the switch.
doSwitch(EObject)public T caseAConnect(AConnect object)
object - the target of the switch.
doSwitch(EObject)public T caseANetwork(ANetwork object)
object - the target of the switch.
doSwitch(EObject)public T caseADisconnect(ADisconnect object)
object - the target of the switch.
doSwitch(EObject)public T caseAReplace(AReplace object)
object - the target of the switch.
doSwitch(EObject)public T caseACommand(ACommand object)
object - the target of the switch.
doSwitch(EObject)public T caseIID(IID object)
object - the target of the switch.
doSwitch(EObject)public T caseIValue(IValue object)
object - the target of the switch.
doSwitch(EObject)public T caseIAct(IAct object)
object - the target of the switch.
doSwitch(EObject)public T caseSNamed(SNamed object)
object - the target of the switch.
doSwitch(EObject)public T defaultCase(org.eclipse.emf.ecore.EObject object)
object - the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||