|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.modisco.infra.discovery.benchmark.metamodel.benchmark.util.BenchmarkSwitch<T>
public class BenchmarkSwitch<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.
BenchmarkPackage| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Constructor Summary | |
|---|---|
BenchmarkSwitch()
Creates an instance of the switch. |
|
| Method Summary | |
|---|---|
T |
caseBeginEvent(BeginEvent object)
Returns the result of interpreting the object as an instance of 'Begin Event'. |
T |
caseBenchmark(Benchmark object)
Returns the result of interpreting the object as an instance of 'Benchmark'. |
T |
caseDiscovery(Discovery object)
Returns the result of interpreting the object as an instance of 'Discovery'. |
T |
caseDiscoveryIteration(DiscoveryIteration object)
Returns the result of interpreting the object as an instance of 'Discovery Iteration'. |
T |
caseEndEvent(EndEvent object)
Returns the result of interpreting the object as an instance of 'End Event'. |
T |
caseEvent(Event object)
Returns the result of interpreting the object as an instance of 'Event'. |
T |
caseEventType(EventType object)
Returns the result of interpreting the object as an instance of 'Event Type'. |
T |
caseFile(File object)
Returns the result of interpreting the object as an instance of 'File'. |
T |
caseMemoryMeasurement(MemoryMeasurement object)
Returns the result of interpreting the object as an instance of 'Memory Measurement'. |
T |
caseProject(Project object)
Returns the result of interpreting the object as an instance of 'Project'. |
T |
caseResource(Resource object)
Returns the result of interpreting the object as an instance of 'Resource'. |
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
| Constructor Detail |
|---|
public BenchmarkSwitch()
| Method Detail |
|---|
public T caseMemoryMeasurement(MemoryMeasurement object)
object - the target of the switch.
doSwitch(EObject)public T caseEvent(Event object)
object - the target of the switch.
doSwitch(EObject)public T caseEventType(EventType object)
object - the target of the switch.
doSwitch(EObject)public T caseBeginEvent(BeginEvent object)
object - the target of the switch.
doSwitch(EObject)public T caseEndEvent(EndEvent object)
object - the target of the switch.
doSwitch(EObject)public T caseFile(File object)
object - the target of the switch.
doSwitch(EObject)public T caseResource(Resource object)
object - the target of the switch.
doSwitch(EObject)public T caseProject(Project object)
object - the target of the switch.
doSwitch(EObject)public T caseBenchmark(Benchmark object)
object - the target of the switch.
doSwitch(EObject)public T caseDiscovery(Discovery object)
object - the target of the switch.
doSwitch(EObject)public T caseDiscoveryIteration(DiscoveryIteration object)
object - the target of the switch.
doSwitch(EObject)public T defaultCase(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 | |||||||||