|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.das.rdb.config.util.ConfigSwitch
public class ConfigSwitch
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.
ConfigPackageImpl
Field Summary | |
---|---|
protected static ConfigPackageImpl |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
ConfigSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
Object |
caseColumn(Column object)
Returns the result of interpretting the object as an instance of 'Column'. |
Object |
caseCommand(Command object)
Returns the result of interpretting the object as an instance of 'Command'. |
Object |
caseConfig(Config object)
Returns the result of interpretting the object as an instance of 'Config'. |
Object |
caseConnectionProperties(ConnectionProperties object)
Returns the result of interpretting the object as an instance of 'Connection Properties'. |
Object |
caseKeyPair(KeyPair object)
Returns the result of interpretting the object as an instance of 'Key Pair'. |
Object |
caseParameter(Parameter object)
Returns the result of interpretting the object as an instance of 'Parameter'. |
Object |
caseRelationship(Relationship object)
Returns the result of interpretting the object as an instance of 'Relationship'. |
Object |
caseResultDescriptor(ResultDescriptor object)
Returns the result of interpretting the object as an instance of 'Result Descriptor'. |
Object |
caseTable(Table object)
Returns the result of interpretting the object as an instance of 'Table'. |
Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
protected Object |
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. |
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. |
protected Object |
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 ConfigPackageImpl modelPackage
Constructor Detail |
---|
public ConfigSwitch()
Method Detail |
---|
public 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.protected Object 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 Object 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 Object caseColumn(Column object)
object
- the target of the switch.
doSwitch(EObject)
public Object caseCommand(Command object)
object
- the target of the switch.
doSwitch(EObject)
public Object caseConfig(Config object)
object
- the target of the switch.
doSwitch(EObject)
public Object caseConnectionProperties(ConnectionProperties object)
object
- the target of the switch.
doSwitch(EObject)
public Object caseKeyPair(KeyPair object)
object
- the target of the switch.
doSwitch(EObject)
public Object caseParameter(Parameter object)
object
- the target of the switch.
doSwitch(EObject)
public Object caseRelationship(Relationship object)
object
- the target of the switch.
doSwitch(EObject)
public Object caseResultDescriptor(ResultDescriptor object)
object
- the target of the switch.
doSwitch(EObject)
public Object caseTable(Table object)
object
- the target of the switch.
doSwitch(EObject)
public Object defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |