|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.db.models.db2.util.DB2ModelSwitch
public class DB2ModelSwitch
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.
DB2ModelPackage
Constructor Summary | |
---|---|
DB2ModelSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
java.lang.Object |
caseBaseTable(org.eclipse.wst.rdb.internal.models.sql.tables.BaseTable object)
Returns the result of interpretting the object as an instance of 'Base Table'. |
java.lang.Object |
caseColumn(org.eclipse.wst.rdb.internal.models.sql.tables.Column object)
Returns the result of interpretting the object as an instance of 'Column'. |
java.lang.Object |
caseDatabase(org.eclipse.wst.rdb.internal.models.sql.schema.Database object)
Returns the result of interpretting the object as an instance of 'Database'. |
java.lang.Object |
caseDB2AccessPlan(DB2AccessPlan object)
Returns the result of interpretting the object as an instance of 'DB2 Access Plan'. |
java.lang.Object |
caseDB2Alias(DB2Alias object)
Returns the result of interpretting the object as an instance of 'DB2 Alias'. |
java.lang.Object |
caseDB2ApplicationProcess(DB2ApplicationProcess object)
Returns the result of interpretting the object as an instance of 'DB2 Application Process'. |
java.lang.Object |
caseDB2Column(DB2Column object)
Returns the result of interpretting the object as an instance of 'DB2 Column'. |
java.lang.Object |
caseDB2Database(DB2Database object)
Returns the result of interpretting the object as an instance of 'DB2 Database'. |
java.lang.Object |
caseDB2DatabaseManager(DB2DatabaseManager object)
Returns the result of interpretting the object as an instance of 'DB2 Database Manager'. |
java.lang.Object |
caseDB2ExtendedOptions(DB2ExtendedOptions object)
Returns the result of interpretting the object as an instance of 'DB2 Extended Options'. |
java.lang.Object |
caseDB2Function(DB2Function object)
Returns the result of interpretting the object as an instance of 'DB2 Function'. |
java.lang.Object |
caseDB2IdentitySpecifier(DB2IdentitySpecifier object)
Returns the result of interpretting the object as an instance of 'DB2 Identity Specifier'. |
java.lang.Object |
caseDB2Index(DB2Index object)
Returns the result of interpretting the object as an instance of 'DB2 Index'. |
java.lang.Object |
caseDB2Jar(DB2Jar object)
Returns the result of interpretting the object as an instance of 'DB2 Jar'. |
java.lang.Object |
caseDB2JavaOptions(DB2JavaOptions object)
Returns the result of interpretting the object as an instance of 'DB2 Java Options'. |
java.lang.Object |
caseDB2MaterializedQueryTable(DB2MaterializedQueryTable object)
Returns the result of interpretting the object as an instance of 'DB2 Materialized Query Table'. |
java.lang.Object |
caseDB2Method(DB2Method object)
Returns the result of interpretting the object as an instance of 'DB2 Method'. |
java.lang.Object |
caseDB2MultidimensionalIndex(DB2MultidimensionalIndex object)
Returns the result of interpretting the object as an instance of 'DB2 Multidimensional Index'. |
java.lang.Object |
caseDB2OLAPObject(DB2OLAPObject object)
Returns the result of interpretting the object as an instance of 'DB2OLAP Object'. |
java.lang.Object |
caseDB2Package(DB2Package object)
Returns the result of interpretting the object as an instance of 'DB2 Package'. |
java.lang.Object |
caseDB2Procedure(DB2Procedure object)
Returns the result of interpretting the object as an instance of 'DB2 Procedure'. |
java.lang.Object |
caseDB2ProcedureDeploy(DB2ProcedureDeploy object)
Returns the result of interpretting the object as an instance of 'DB2 Procedure Deploy'. |
java.lang.Object |
caseDB2Routine(DB2Routine object)
Returns the result of interpretting the object as an instance of 'DB2 Routine'. |
java.lang.Object |
caseDB2RoutineExtension(DB2RoutineExtension object)
Returns the result of interpretting the object as an instance of 'DB2 Routine Extension'. |
java.lang.Object |
caseDB2Schema(DB2Schema object)
Returns the result of interpretting the object as an instance of 'DB2 Schema'. |
java.lang.Object |
caseDB2Source(DB2Source object)
Returns the result of interpretting the object as an instance of 'DB2 Source'. |
java.lang.Object |
caseDB2SystemSchema(DB2SystemSchema object)
Returns the result of interpretting the object as an instance of 'DB2 System Schema'. |
java.lang.Object |
caseDB2Table(DB2Table object)
Returns the result of interpretting the object as an instance of 'DB2 Table'. |
java.lang.Object |
caseDB2Transaction(DB2Transaction object)
Returns the result of interpretting the object as an instance of 'DB2 Transaction'. |
java.lang.Object |
caseDB2Trigger(DB2Trigger object)
Returns the result of interpretting the object as an instance of 'DB2 Trigger'. |
java.lang.Object |
caseDB2UserDefinedFunction(DB2UserDefinedFunction object)
Returns the result of interpretting the object as an instance of 'DB2 User Defined Function'. |
java.lang.Object |
caseDB2View(DB2View object)
Returns the result of interpretting the object as an instance of 'DB2 View'. |
java.lang.Object |
caseDB2XMLSchema(DB2XMLSchema object)
Returns the result of interpretting the object as an instance of 'DB2XML Schema'. |
java.lang.Object |
caseDB2XMLSchemaDocProperties(DB2XMLSchemaDocProperties object)
Returns the result of interpretting the object as an instance of 'DB2XML Schema Doc Properties'. |
java.lang.Object |
caseDB2XMLSchemaDocument(DB2XMLSchemaDocument object)
Returns the result of interpretting the object as an instance of 'DB2XML Schema Document'. |
java.lang.Object |
caseDB2XSRObject(DB2XSRObject object)
Returns the result of interpretting the object as an instance of 'DB2XSR Object'. |
java.lang.Object |
caseDerivedTable(org.eclipse.wst.rdb.internal.models.sql.tables.DerivedTable object)
Returns the result of interpretting the object as an instance of 'Derived Table'. |
java.lang.Object |
caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
Returns the result of interpretting the object as an instance of 'EModel Element'. |
java.lang.Object |
caseENamedElement(org.eclipse.emf.ecore.ENamedElement object)
Returns the result of interpretting the object as an instance of 'ENamed Element'. |
java.lang.Object |
caseFunction(org.eclipse.wst.rdb.internal.models.sql.routines.Function object)
Returns the result of interpretting the object as an instance of 'Function'. |
java.lang.Object |
caseIdentitySpecifier(org.eclipse.wst.rdb.internal.models.sql.schema.IdentitySpecifier object)
Returns the result of interpretting the object as an instance of 'Identity Specifier'. |
java.lang.Object |
caseIndex(org.eclipse.wst.rdb.internal.models.sql.constraints.Index object)
Returns the result of interpretting the object as an instance of 'Index'. |
java.lang.Object |
caseMethod(org.eclipse.wst.rdb.internal.models.sql.routines.Method object)
Returns the result of interpretting the object as an instance of 'Method'. |
java.lang.Object |
casePersistentTable(org.eclipse.wst.rdb.internal.models.sql.tables.PersistentTable object)
Returns the result of interpretting the object as an instance of 'Persistent Table'. |
java.lang.Object |
caseProcedure(org.eclipse.wst.rdb.internal.models.sql.routines.Procedure object)
Returns the result of interpretting the object as an instance of 'Procedure'. |
java.lang.Object |
caseRoutine(org.eclipse.wst.rdb.internal.models.sql.routines.Routine object)
Returns the result of interpretting the object as an instance of 'Routine'. |
java.lang.Object |
caseSchema(org.eclipse.wst.rdb.internal.models.sql.schema.Schema object)
Returns the result of interpretting the object as an instance of 'Schema'. |
java.lang.Object |
caseSource(org.eclipse.wst.rdb.internal.models.sql.routines.Source object)
Returns the result of interpretting the object as an instance of 'Source'. |
java.lang.Object |
caseSQLObject(org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject object)
Returns the result of interpretting the object as an instance of 'SQL Object'. |
java.lang.Object |
caseTable(org.eclipse.wst.rdb.internal.models.sql.tables.Table object)
Returns the result of interpretting the object as an instance of 'Table'. |
java.lang.Object |
caseTrigger(org.eclipse.wst.rdb.internal.models.sql.tables.Trigger object)
Returns the result of interpretting the object as an instance of 'Trigger'. |
java.lang.Object |
caseTypedElement(org.eclipse.wst.rdb.internal.models.sql.schema.TypedElement object)
Returns the result of interpretting the object as an instance of 'Typed Element'. |
java.lang.Object |
caseUserDefinedFunction(org.eclipse.wst.rdb.internal.models.sql.routines.UserDefinedFunction object)
Returns the result of interpretting the object as an instance of 'User Defined Function'. |
java.lang.Object |
caseViewTable(org.eclipse.wst.rdb.internal.models.sql.tables.ViewTable object)
Returns the result of interpretting the object as an instance of 'View Table'. |
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 |
Constructor Detail |
---|
public DB2ModelSwitch()
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 caseDB2Database(DB2Database object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Package(DB2Package object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Table(DB2Table object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Trigger(DB2Trigger object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Function(DB2Function object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2JavaOptions(DB2JavaOptions object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2ProcedureDeploy(DB2ProcedureDeploy object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2OLAPObject(DB2OLAPObject object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2RoutineExtension(DB2RoutineExtension object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2IdentitySpecifier(DB2IdentitySpecifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Jar(DB2Jar object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Column(DB2Column object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2XSRObject(DB2XSRObject object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2XMLSchema(DB2XMLSchema object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2XMLSchemaDocument(DB2XMLSchemaDocument object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2XMLSchemaDocProperties(DB2XMLSchemaDocProperties object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Procedure(DB2Procedure object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Schema(DB2Schema object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Routine(DB2Routine object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2DatabaseManager(DB2DatabaseManager object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2View(DB2View object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2ApplicationProcess(DB2ApplicationProcess object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Transaction(DB2Transaction object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2SystemSchema(DB2SystemSchema object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Source(DB2Source object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2AccessPlan(DB2AccessPlan object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2UserDefinedFunction(DB2UserDefinedFunction object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Method(DB2Method object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2ExtendedOptions(DB2ExtendedOptions object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Alias(DB2Alias object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2MaterializedQueryTable(DB2MaterializedQueryTable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2Index(DB2Index object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDB2MultidimensionalIndex(DB2MultidimensionalIndex object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseENamedElement(org.eclipse.emf.ecore.ENamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSQLObject(org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDatabase(org.eclipse.wst.rdb.internal.models.sql.schema.Database object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTable(org.eclipse.wst.rdb.internal.models.sql.tables.Table object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBaseTable(org.eclipse.wst.rdb.internal.models.sql.tables.BaseTable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePersistentTable(org.eclipse.wst.rdb.internal.models.sql.tables.PersistentTable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTrigger(org.eclipse.wst.rdb.internal.models.sql.tables.Trigger object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRoutine(org.eclipse.wst.rdb.internal.models.sql.routines.Routine object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcedure(org.eclipse.wst.rdb.internal.models.sql.routines.Procedure object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSchema(org.eclipse.wst.rdb.internal.models.sql.schema.Schema object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDerivedTable(org.eclipse.wst.rdb.internal.models.sql.tables.DerivedTable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseViewTable(org.eclipse.wst.rdb.internal.models.sql.tables.ViewTable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSource(org.eclipse.wst.rdb.internal.models.sql.routines.Source object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFunction(org.eclipse.wst.rdb.internal.models.sql.routines.Function object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUserDefinedFunction(org.eclipse.wst.rdb.internal.models.sql.routines.UserDefinedFunction object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMethod(org.eclipse.wst.rdb.internal.models.sql.routines.Method object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseIndex(org.eclipse.wst.rdb.internal.models.sql.constraints.Index object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseIdentitySpecifier(org.eclipse.wst.rdb.internal.models.sql.schema.IdentitySpecifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTypedElement(org.eclipse.wst.rdb.internal.models.sql.schema.TypedElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseColumn(org.eclipse.wst.rdb.internal.models.sql.tables.Column 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 |