public class HistorySwitch<T> extends 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.
HistoryPackage
Constructor and Description |
---|
HistorySwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAdd(Add object)
Returns the result of interpreting the object as an instance of 'Add'.
|
T |
caseChange(Change object)
Returns the result of interpreting the object as an instance of 'Change'.
|
T |
caseCompositeChange(CompositeChange object)
Returns the result of interpreting the object as an instance of 'Composite Change'.
|
T |
caseContentChange(ContentChange object)
Returns the result of interpreting the object as an instance of 'Content Change'.
|
T |
caseCreate(Create object)
Returns the result of interpreting the object as an instance of 'Create'.
|
T |
caseDelete(Delete object)
Returns the result of interpreting the object as an instance of 'Delete'.
|
T |
caseHistory(History object)
Returns the result of interpreting the object as an instance of 'History'.
|
T |
caseInitializerChange(InitializerChange object)
Returns the result of interpreting the object as an instance of 'Initializer Change'.
|
T |
caseMigrateableChange(MigrateableChange object)
Returns the result of interpreting the object as an instance of 'Migrateable Change'.
|
T |
caseMigrationChange(MigrationChange object)
Returns the result of interpreting the object as an instance of 'Migration Change'.
|
T |
caseModelReference(ModelReference object)
Returns the result of interpreting the object as an instance of 'Model Reference'.
|
T |
caseMove(Move object)
Returns the result of interpreting the object as an instance of 'Move'.
|
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.
|
T |
caseNoChange(NoChange object)
Returns the result of interpreting the object as an instance of 'No Change'.
|
T |
caseNonDelete(NonDelete object)
Returns the result of interpreting the object as an instance of 'Non Delete'.
|
T |
caseOperationChange(OperationChange object)
Returns the result of interpreting the object as an instance of 'Operation Change'.
|
T |
caseOperationInstance(OperationInstance object)
Returns the result of interpreting the object as an instance of 'Operation Instance'.
|
T |
caseParameterInstance(ParameterInstance object)
Returns the result of interpreting the object as an instance of 'Parameter Instance'.
|
T |
casePrimitiveChange(PrimitiveChange object)
Returns the result of interpreting the object as an instance of 'Primitive Change'.
|
T |
caseRelease(Release object)
Returns the result of interpreting the object as an instance of 'Release'.
|
T |
caseRemove(Remove object)
Returns the result of interpreting the object as an instance of 'Remove'.
|
T |
caseSet(Set object)
Returns the result of interpreting the object as an instance of 'Set'.
|
T |
caseValueChange(ValueChange object)
Returns the result of interpreting the object as an instance of 'Value Change'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
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. |
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.public T caseHistory(History object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelease(Release object)
object
- the target of the switch.doSwitch(EObject)
public T caseChange(Change object)
object
- the target of the switch.doSwitch(EObject)
public T casePrimitiveChange(PrimitiveChange object)
object
- the target of the switch.doSwitch(EObject)
public T caseNoChange(NoChange object)
object
- the target of the switch.doSwitch(EObject)
public T caseContentChange(ContentChange object)
object
- the target of the switch.doSwitch(EObject)
public T caseNonDelete(NonDelete object)
object
- the target of the switch.doSwitch(EObject)
public T caseCreate(Create object)
object
- the target of the switch.doSwitch(EObject)
public T caseMove(Move object)
object
- the target of the switch.doSwitch(EObject)
public T caseDelete(Delete object)
object
- the target of the switch.doSwitch(EObject)
public T caseValueChange(ValueChange object)
object
- the target of the switch.doSwitch(EObject)
public T caseSet(Set object)
object
- the target of the switch.doSwitch(EObject)
public T caseAdd(Add object)
object
- the target of the switch.doSwitch(EObject)
public T caseRemove(Remove object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompositeChange(CompositeChange object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperationChange(OperationChange object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperationInstance(OperationInstance object)
object
- the target of the switch.doSwitch(EObject)
public T caseParameterInstance(ParameterInstance object)
object
- the target of the switch.doSwitch(EObject)
public T caseModelReference(ModelReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseNamedElement(NamedElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseMigrateableChange(MigrateableChange object)
object
- the target of the switch.doSwitch(EObject)
public T caseMigrationChange(MigrationChange object)
object
- the target of the switch.doSwitch(EObject)
public T caseInitializerChange(InitializerChange 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 © 2020. All rights reserved.