|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.carma.model.util.ModelSwitch
public class ModelSwitch
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.
ModelPackage| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Constructor Summary | |
|---|---|
ModelSwitch()
Creates an instance of the switch. |
|
| Method Summary | |
|---|---|
java.lang.Object |
caseAction(Action object)
Returns the result of interpretting the object as an instance of 'Action'. |
java.lang.Object |
caseCARMA(CARMA object)
Returns the result of interpretting the object as an instance of 'CARMA'. |
java.lang.Object |
caseCARMAContainer(CARMAContainer object)
Returns the result of interpretting the object as an instance of 'CARMA Container'. |
java.lang.Object |
caseCARMAContent(CARMAContent object)
Returns the result of interpretting the object as an instance of 'CARMA Content'. |
java.lang.Object |
caseCARMAMember(CARMAMember object)
Returns the result of interpretting the object as an instance of 'CARMA Member'. |
java.lang.Object |
caseCARMAMemberVersion(CARMAMemberVersion object)
Returns the result of interpretting the object as an instance of 'CARMA Member Version'. |
java.lang.Object |
caseCARMAResource(CARMAResource object)
Returns the result of interpretting the object as an instance of 'CARMA Resource'. |
java.lang.Object |
caseCARMAReturn(CARMAReturn object)
Returns the result of interpretting the object as an instance of 'CARMA Return'. |
java.lang.Object |
caseConvertable(Convertable object)
Returns the result of interpretting the object as an instance of 'Convertable'. |
java.lang.Object |
caseCustomActionAccepter(CustomActionAccepter object)
Returns the result of interpretting the object as an instance of 'Custom Action Accepter'. |
java.lang.Object |
caseCustomParameter(CustomParameter object)
Returns the result of interpretting the object as an instance of 'Custom Parameter'. |
java.lang.Object |
caseDefaultParameter(DefaultParameter object)
Returns the result of interpretting the object as an instance of 'Default Parameter'. |
java.lang.Object |
caseField(Field object)
Returns the result of interpretting the object as an instance of 'Field'. |
java.lang.Object |
caseFilterable(Filterable object)
Returns the result of interpretting the object as an instance of 'Filterable'. |
java.lang.Object |
caseFilterContent(java.util.Map.Entry object)
Returns the result of interpretting the object as an instance of 'Filter Content'. |
java.lang.Object |
caseKeyValuePair(java.util.Map.Entry object)
Returns the result of interpretting the object as an instance of 'Key Value Pair'. |
java.lang.Object |
caseManaged(Managed object)
Returns the result of interpretting the object as an instance of 'Managed'. |
java.lang.Object |
caseMovable(Movable object)
Returns the result of interpretting the object as an instance of 'Movable'. |
java.lang.Object |
caseParameter(Parameter object)
Returns the result of interpretting the object as an instance of 'Parameter'. |
java.lang.Object |
caseProperties(java.util.Map.Entry object)
Returns the result of interpretting the object as an instance of 'Properties'. |
java.lang.Object |
caseRepositoryInstance(RepositoryInstance object)
Returns the result of interpretting the object as an instance of 'Repository Instance'. |
java.lang.Object |
caseRepositoryManager(RepositoryManager object)
Returns the result of interpretting the object as an instance of 'Repository Manager'. |
java.lang.Object |
caseResourceContainer(ResourceContainer object)
Returns the result of interpretting the object as an instance of 'Resource Container'. |
java.lang.Object |
caseReturnItem(java.util.Map.Entry object)
Returns the result of interpretting the object as an instance of 'Return Item'. |
java.lang.Object |
caseReturnValue(ReturnValue object)
Returns the result of interpretting the object as an instance of 'Return Value'. |
java.lang.Object |
caseTransportConnectionListener(TransportConnectionListener object)
Returns the result of interpretting the object as an instance of 'Transport Connection Listener'. |
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
java.lang.Object |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
| Constructor Detail |
|---|
public ModelSwitch()
| Method Detail |
|---|
public java.lang.Object 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.public java.lang.Object caseCARMA(CARMA object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseResourceContainer(ResourceContainer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCARMAMember(CARMAMember object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCARMAResource(CARMAResource object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseRepositoryInstance(RepositoryInstance object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseRepositoryManager(RepositoryManager object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseAction(Action object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseParameter(Parameter object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseField(Field object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseMovable(Movable object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCARMAContainer(CARMAContainer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseManaged(Managed object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseKeyValuePair(java.util.Map.Entry object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCARMAContent(CARMAContent object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseProperties(java.util.Map.Entry object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseTransportConnectionListener(TransportConnectionListener object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseReturnValue(ReturnValue object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCustomParameter(CustomParameter object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCustomActionAccepter(CustomActionAccepter object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCARMAReturn(CARMAReturn object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseReturnItem(java.util.Map.Entry object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseDefaultParameter(DefaultParameter object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseConvertable(Convertable object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseFilterable(Filterable object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseFilterContent(java.util.Map.Entry object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCARMAMemberVersion(CARMAMemberVersion object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object 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 | |||||||||