public class DeltaSwitch
extends java.lang.Object
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.
DeltaPackage
Modifier and Type | Field and Description |
---|---|
protected static DeltaPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
DeltaSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
caseAddDelta(AddDelta object)
Returns the result of interpreting the object as an instance of 'Add Delta'.
|
java.lang.Object |
caseChangeDelta(ChangeDelta object)
Returns the result of interpreting the object as an instance of 'Change Delta'.
|
java.lang.Object |
caseCompositeDelta(CompositeDelta object)
Returns the result of interpreting the object as an instance of 'Composite Delta'.
|
java.lang.Object |
caseConflict(Conflict object)
Returns the result of interpreting the object as an instance of 'Conflict'.
|
java.lang.Object |
caseCrossResourceEObjectLocation(CrossResourceEObjectLocation object)
Returns the result of interpreting the object as an instance of 'Cross Resource EObject Location'.
|
java.lang.Object |
caseDeleteDelta(DeleteDelta object)
Returns the result of interpreting the object as an instance of 'Delete Delta'.
|
java.lang.Object |
caseDelta(Delta object)
Returns the result of interpreting the object as an instance of 'Delta'.
|
java.lang.Object |
caseDeltaContainer(DeltaContainer object)
Returns the result of interpreting the object as an instance of 'Container'.
|
java.lang.Object |
caseEAnnotationLocation(EAnnotationLocation object)
Returns the result of interpreting the object as an instance of 'EAnnotation Location'.
|
java.lang.Object |
caseEObjectLocation(EObjectLocation object)
Returns the result of interpreting the object as an instance of 'EObject Location'.
|
java.lang.Object |
caseJoinDelta(JoinDelta object)
Returns the result of interpreting the object as an instance of 'Join Delta'.
|
java.lang.Object |
caseListDelta(ListDelta object)
Returns the result of interpreting the object as an instance of 'List Delta'.
|
java.lang.Object |
caseLocation(Location object)
Returns the result of interpreting the object as an instance of 'Location'.
|
java.lang.Object |
caseMorphDelta(MorphDelta object)
Returns the result of interpreting the object as an instance of 'Morph Delta'.
|
java.lang.Object |
caseMoveDelta(MoveDelta object)
Returns the result of interpreting the object as an instance of 'Move Delta'.
|
java.lang.Object |
caseResolution(Resolution object)
Returns the result of interpreting the object as an instance of 'Resolution'.
|
java.lang.Object |
caseResourceLocation(ResourceLocation object)
Returns the result of interpreting the object as an instance of 'Resource Location'.
|
java.lang.Object |
caseSeparationDelta(SeparationDelta object)
Returns the result of interpreting the object as an instance of 'Separation Delta'.
|
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected java.lang.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. |
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. |
protected java.lang.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. |
protected static DeltaPackage modelPackage
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.protected java.lang.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 java.lang.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 java.lang.Object caseDeltaContainer(DeltaContainer object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseDelta(Delta object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseLocation(Location object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseConflict(Conflict object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseAddDelta(AddDelta object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseDeleteDelta(DeleteDelta object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseMoveDelta(MoveDelta object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseChangeDelta(ChangeDelta object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseCompositeDelta(CompositeDelta object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseEAnnotationLocation(EAnnotationLocation object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseResolution(Resolution object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseListDelta(ListDelta object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseEObjectLocation(EObjectLocation object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseResourceLocation(ResourceLocation object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseJoinDelta(JoinDelta object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseCrossResourceEObjectLocation(CrossResourceEObjectLocation object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseMorphDelta(MorphDelta object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseSeparationDelta(SeparationDelta 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)