|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.cdo.defs.util.CDODefsSwitch<T>
public class CDODefsSwitch<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.
CDODefsPackage| Field Summary | |
|---|---|
protected static CDODefsPackage |
modelPackage
The cached model package |
| Constructor Summary | |
|---|---|
CDODefsSwitch()
Creates an instance of the switch. | |
| Method Summary | |
|---|---|
T |
caseCDOAuditDef(CDOAuditDef object)
Returns the result of interpreting the object as an instance of 'CDO Audit Def'. |
T |
caseCDOClientProtocolFactoryDef(CDOClientProtocolFactoryDef object)
Returns the result of interpreting the object as an instance of 'CDO Client Protocol Factory Def'. |
T |
caseCDOEagerPackageRegistryDef(CDOEagerPackageRegistryDef object)
Returns the result of interpreting the object as an instance of 'CDO Eager Package Registry Def'. |
T |
caseCDOLazyPackageRegistryDef(CDOLazyPackageRegistryDef object)
Returns the result of interpreting the object as an instance of 'CDO Lazy Package Registry Def'. |
T |
caseCDOPackageRegistryDef(CDOPackageRegistryDef object)
Returns the result of interpreting the object as an instance of 'CDO Package Registry Def'. |
T |
caseCDOResourceDef(CDOResourceDef object)
Returns the result of interpreting the object as an instance of 'CDO Resource Def'. |
T |
caseCDOSessionDef(CDOSessionDef object)
Returns the result of interpreting the object as an instance of 'CDO Session Def'. |
T |
caseCDOTransactionDef(CDOTransactionDef object)
Returns the result of interpreting the object as an instance of 'CDO Transaction Def'. |
T |
caseCDOViewDef(CDOViewDef object)
Returns the result of interpreting the object as an instance of 'CDO View Def'. |
T |
caseClientProtocolFactoryDef(org.eclipse.net4j.defs.ClientProtocolFactoryDef object)
Returns the result of interpreting the object as an instance of 'Client Protocol Factory Def'. |
T |
caseDef(org.eclipse.net4j.util.defs.Def object)
Returns the result of interpreting the object as an instance of 'Def'. |
T |
caseEDynamicPackageDef(EDynamicPackageDef object)
Returns the result of interpreting the object as an instance of 'EDynamic Package Def'. |
T |
caseEGlobalPackageDef(EGlobalPackageDef object)
Returns the result of interpreting the object as an instance of 'EGlobal Package Def'. |
T |
caseEPackageDef(EPackageDef object)
Returns the result of interpreting the object as an instance of 'EPackage Def'. |
T |
caseFailOverStrategyDef(FailOverStrategyDef object)
Returns the result of interpreting the object as an instance of 'Fail Over Strategy Def'. |
T |
caseProtocolProviderDef(org.eclipse.net4j.defs.ProtocolProviderDef object)
Returns the result of interpreting the object as an instance of 'Protocol Provider Def'. |
T |
caseRetryFailOverStrategyDef(RetryFailOverStrategyDef object)
Returns the result of interpreting the object as an instance of 'Retry Fail Over Strategy Def'. |
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 CDODefsPackage modelPackage
| Constructor Detail |
|---|
public CDODefsSwitch()
| 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 caseCDOViewDef(CDOViewDef object)
object - the target of the switch.
doSwitch(EObject)public T caseCDOTransactionDef(CDOTransactionDef object)
object - the target of the switch.
doSwitch(EObject)public T caseCDOAuditDef(CDOAuditDef object)
object - the target of the switch.
doSwitch(EObject)public T caseCDOSessionDef(CDOSessionDef object)
object - the target of the switch.
doSwitch(EObject)public T caseFailOverStrategyDef(FailOverStrategyDef object)
object - the target of the switch.
doSwitch(EObject)public T caseRetryFailOverStrategyDef(RetryFailOverStrategyDef object)
object - the target of the switch.
doSwitch(EObject)public T caseCDOPackageRegistryDef(CDOPackageRegistryDef object)
object - the target of the switch.
doSwitch(EObject)public T caseCDOEagerPackageRegistryDef(CDOEagerPackageRegistryDef object)
object - the target of the switch.
doSwitch(EObject)public T caseCDOLazyPackageRegistryDef(CDOLazyPackageRegistryDef object)
object - the target of the switch.
doSwitch(EObject)public T caseEPackageDef(EPackageDef object)
object - the target of the switch.
doSwitch(EObject)public T caseEDynamicPackageDef(EDynamicPackageDef object)
object - the target of the switch.
doSwitch(EObject)public T caseEGlobalPackageDef(EGlobalPackageDef object)
object - the target of the switch.
doSwitch(EObject)public T caseCDOClientProtocolFactoryDef(CDOClientProtocolFactoryDef object)
object - the target of the switch.
doSwitch(EObject)public T caseCDOResourceDef(CDOResourceDef object)
object - the target of the switch.
doSwitch(EObject)public T caseDef(org.eclipse.net4j.util.defs.Def object)
object - the target of the switch.
doSwitch(EObject)public T caseProtocolProviderDef(org.eclipse.net4j.defs.ProtocolProviderDef object)
object - the target of the switch.
doSwitch(EObject)public T caseClientProtocolFactoryDef(org.eclipse.net4j.defs.ClientProtocolFactoryDef 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)
|
Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||