public class TraceSwitch<T>
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.
TracePackage
Constructor and Description |
---|
TraceSwitch()
Creates an instance of the switch
|
Modifier and Type | Method and Description |
---|---|
T |
caseAssertionState(AssertionState object)
Returns the result of interpreting the object as an instance of 'Assertion State'
|
T |
caseConstraintState(ConstraintState object)
Returns the result of interpreting the object as an instance of 'Constraint State'
|
T |
caseDiscretizedClockStep(DiscretizedClockStep object)
Returns the result of interpreting the object as an instance of 'Discretized Clock Step'
|
T |
caseEventOccurrence(EventOccurrence object)
Returns the result of interpreting the object as an instance of 'Event Occurrence'
|
T |
caseInterDiscretizedSteps(InterDiscretizedSteps object)
Returns the result of interpreting the object as an instance of 'Inter Discretized Steps'
|
T |
caseLogicalStep(LogicalStep object)
Returns the result of interpreting the object as an instance of 'Logical Step'
|
T |
caseModelElementReference(ModelElementReference object)
Returns the result of interpreting the object as an instance of 'Model Element Reference'
|
T |
caseNamedReference(NamedReference object)
Returns the result of interpreting the object as an instance of 'Named Reference'
|
T |
casePhysicalBase(PhysicalBase object)
Returns the result of interpreting the object as an instance of 'Physical Base'
|
T |
casePhysicalSteps(PhysicalSteps object)
Returns the result of interpreting the object as an instance of 'Physical Steps'
|
T |
caseReference(Reference object)
Returns the result of interpreting the object as an instance of 'Reference'
|
T |
caseState(State object)
Returns the result of interpreting the object as an instance of 'State'
|
T |
caseTrace(Trace object)
Returns the result of interpreting the object as an instance of 'Trace'
|
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 caseTrace(Trace object)
object
- the target of the switch.doSwitch(EObject)
public T caseLogicalStep(LogicalStep object)
object
- the target of the switch.doSwitch(EObject)
public T caseConstraintState(ConstraintState object)
object
- the target of the switch.doSwitch(EObject)
public T caseEventOccurrence(EventOccurrence object)
object
- the target of the switch.doSwitch(EObject)
public T caseState(State object)
object
- the target of the switch.doSwitch(EObject)
public T caseReference(Reference object)
object
- the target of the switch.doSwitch(EObject)
public T caseModelElementReference(ModelElementReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseNamedReference(NamedReference object)
object
- the target of the switch.doSwitch(EObject)
public T casePhysicalBase(PhysicalBase object)
object
- the target of the switch.doSwitch(EObject)
public T casePhysicalSteps(PhysicalSteps object)
object
- the target of the switch.doSwitch(EObject)
public T caseDiscretizedClockStep(DiscretizedClockStep object)
object
- the target of the switch.doSwitch(EObject)
public T caseInterDiscretizedSteps(InterDiscretizedSteps object)
object
- the target of the switch.doSwitch(EObject)
public T caseAssertionState(AssertionState 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)