|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.metaabm.util.MetaABMSwitch<T>
public class MetaABMSwitch<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.
MetaABMPackage| Field Summary | |
|---|---|
protected static MetaABMPackage |
modelPackage
The cached model package |
| Constructor Summary | |
|---|---|
MetaABMSwitch()
Creates an instance of the switch. |
|
| Method Summary | |
|---|---|
T |
caseIAct(IAct object)
Returns the result of interpreting the object as an instance of 'IAct'. |
T |
caseIArtifact(IArtifact object)
Returns the result of interpreting the object as an instance of 'IArtifact'. |
T |
caseIID(IID object)
Returns the result of interpreting the object as an instance of 'IID'. |
T |
caseITyped(ITyped object)
Returns the result of interpreting the object as an instance of 'ITyped'. |
T |
caseITypedArray(ITypedArray object)
Returns the result of interpreting the object as an instance of 'ITyped Array'. |
T |
caseIValue(IValue object)
Returns the result of interpreting the object as an instance of 'IValue'. |
T |
caseSActable(SActable object)
Returns the result of interpreting the object as an instance of 'SActable'. |
T |
caseSAgent(SAgent object)
Returns the result of interpreting the object as an instance of 'SAgent'. |
T |
caseSAttribute(SAttribute object)
Returns the result of interpreting the object as an instance of 'SAttribute'. |
T |
caseSAttributeArray(SAttributeArray object)
Returns the result of interpreting the object as an instance of 'SAttribute Array'. |
T |
caseSAttributed(SAttributed object)
Returns the result of interpreting the object as an instance of 'SAttributed'. |
T |
caseSContext(SContext object)
Returns the result of interpreting the object as an instance of 'SContext'. |
T |
caseSContinuousSpace(SContinuousSpace object)
Returns the result of interpreting the object as an instance of 'SContinuous Space'. |
T |
caseSGeography(SGeography object)
Returns the result of interpreting the object as an instance of 'SGeography'. |
T |
caseSGrid(SGrid object)
Returns the result of interpreting the object as an instance of 'SGrid'. |
T |
caseSImplementation(SImplementation object)
Returns the result of interpreting the object as an instance of 'SImplementation'. |
T |
caseSImplemented(SImplemented object)
Returns the result of interpreting the object as an instance of 'SImplemented'. |
T |
caseSNamed(SNamed object)
Returns the result of interpreting the object as an instance of 'SNamed'. |
T |
caseSNDimensional(SNDimensional object)
Returns the result of interpreting the object as an instance of 'SN Dimensional'. |
T |
caseSNetwork(SNetwork object)
Returns the result of interpreting the object as an instance of 'SNetwork'. |
T |
caseSProjection(SProjection object)
Returns the result of interpreting the object as an instance of 'SProjection'. |
T |
caseSState(SState object)
Returns the result of interpreting the object as an instance of 'SState'. |
T |
caseSStateValue(SStateValue object)
Returns the result of interpreting the object as an instance of 'SState Value'. |
T |
caseSStyle(SStyle object)
Returns the result of interpreting the object as an instance of 'SStyle'. |
T |
caseSStyle2D(SStyle2D object)
Returns the result of interpreting the object as an instance of 'SStyle2 D'. |
T |
caseSStyle3D(SStyle3D object)
Returns the result of interpreting the object as an instance of 'SStyle3 D'. |
T |
caseSValueLayer(SValueLayer object)
Returns the result of interpreting the object as an instance of 'SValue Layer'. |
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 MetaABMPackage modelPackage
| Constructor Detail |
|---|
public MetaABMSwitch()
| 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 caseIID(IID object)
object - the target of the switch.
doSwitch(EObject)public T caseITyped(ITyped object)
object - the target of the switch.
doSwitch(EObject)public T caseITypedArray(ITypedArray object)
object - the target of the switch.
doSwitch(EObject)public T caseIValue(IValue object)
object - the target of the switch.
doSwitch(EObject)public T caseIArtifact(IArtifact 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 caseSAttributed(SAttributed object)
object - the target of the switch.
doSwitch(EObject)public T caseSAttribute(SAttribute object)
object - the target of the switch.
doSwitch(EObject)public T caseSAttributeArray(SAttributeArray object)
object - the target of the switch.
doSwitch(EObject)public T caseSAgent(SAgent object)
object - the target of the switch.
doSwitch(EObject)public T caseSContext(SContext object)
object - the target of the switch.
doSwitch(EObject)public T caseSProjection(SProjection object)
object - the target of the switch.
doSwitch(EObject)public T caseSNDimensional(SNDimensional object)
object - the target of the switch.
doSwitch(EObject)public T caseSContinuousSpace(SContinuousSpace object)
object - the target of the switch.
doSwitch(EObject)public T caseSGrid(SGrid object)
object - the target of the switch.
doSwitch(EObject)public T caseSNetwork(SNetwork object)
object - the target of the switch.
doSwitch(EObject)public T caseSGeography(SGeography object)
object - the target of the switch.
doSwitch(EObject)public T caseSValueLayer(SValueLayer object)
object - the target of the switch.
doSwitch(EObject)public T caseSStyle(SStyle object)
object - the target of the switch.
doSwitch(EObject)public T caseSStyle3D(SStyle3D object)
object - the target of the switch.
doSwitch(EObject)public T caseSStyle2D(SStyle2D object)
object - the target of the switch.
doSwitch(EObject)public T caseSImplemented(SImplemented object)
object - the target of the switch.
doSwitch(EObject)public T caseSImplementation(SImplementation object)
object - the target of the switch.
doSwitch(EObject)public T caseSState(SState object)
object - the target of the switch.
doSwitch(EObject)public T caseSStateValue(SStateValue object)
object - the target of the switch.
doSwitch(EObject)public T caseSActable(SActable 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 | |||||||||