|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscheduler.configuration.util.ConfigurationSwitch<T>
public class ConfigurationSwitch<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.
ConfigurationPackage
Field Summary | |
---|---|
protected static ConfigurationPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
ConfigurationSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseActiveResourceConfiguration(ActiveResourceConfiguration object)
Returns the result of interpreting the object as an instance of 'Active Resource Configuration'. |
T |
caseDynamicPriorityBoostConfiguratioin(DynamicPriorityBoostConfiguratioin object)
Returns the result of interpreting the object as an instance of 'Dynamic Priority Boost Configuratioin'. |
T |
caseIdentifier(Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'. |
T |
caseLoadBalancing(LoadBalancing object)
Returns the result of interpreting the object as an instance of 'Load Balancing'. |
T |
caseMultipleQueueConfiguration(MultipleQueueConfiguration object)
Returns the result of interpreting the object as an instance of 'Multiple Queue Configuration'. |
T |
casePassiveResourceConfiguration(PassiveResourceConfiguration object)
Returns the result of interpreting the object as an instance of 'Passive Resource Configuration'. |
T |
casePredefinedTimeSliceConfiguration(PredefinedTimeSliceConfiguration object)
Returns the result of interpreting the object as an instance of 'Predefined Time Slice Configuration'. |
T |
casePreemptionConfiguration(PreemptionConfiguration object)
Returns the result of interpreting the object as an instance of 'Preemption Configuration'. |
T |
casePriorityBoostConfiguration(PriorityBoostConfiguration object)
Returns the result of interpreting the object as an instance of 'Priority Boost Configuration'. |
T |
casePriorityConfiguration(PriorityConfiguration object)
Returns the result of interpreting the object as an instance of 'Priority Configuration'. |
T |
casePriorityDependentTimeSliceConfiguration(PriorityDependentTimeSliceConfiguration object)
Returns the result of interpreting the object as an instance of 'Priority Dependent Time Slice Configuration'. |
T |
casePriorityRange(PriorityRange object)
Returns the result of interpreting the object as an instance of 'Priority Range'. |
T |
caseProcessConfiguration(ProcessConfiguration object)
Returns the result of interpreting the object as an instance of 'Process Configuration'. |
T |
caseQueueingConfiguration(QueueingConfiguration object)
Returns the result of interpreting the object as an instance of 'Queueing Configuration'. |
T |
caseSchedulerConfiguration(SchedulerConfiguration object)
Returns the result of interpreting the object as an instance of 'Scheduler Configuration'. |
T |
caseSingleQueueConfiguration(SingleQueueConfiguration object)
Returns the result of interpreting the object as an instance of 'Single Queue Configuration'. |
T |
caseStaticPriorityBoost(StaticPriorityBoost object)
Returns the result of interpreting the object as an instance of 'Static Priority Boost'. |
T |
caseStaticPriorityBoostConfiguration(StaticPriorityBoostConfiguration object)
Returns the result of interpreting the object as an instance of 'Static Priority Boost Configuration'. |
T |
caseTimeSliceConfiguration(TimeSliceConfiguration object)
Returns the result of interpreting the object as an instance of 'Time Slice Configuration'. |
T |
caseTimeValue(TimeValue object)
Returns the result of interpreting the object as an instance of 'Time Value'. |
T |
caseUnitCarryingElement(UnitCarryingElement object)
Returns the result of interpreting the object as an instance of 'Unit Carrying Element'. |
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
protected T |
doSwitch(EClass theEClass,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
T |
doSwitch(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,
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 ConfigurationPackage modelPackage
Constructor Detail |
---|
public ConfigurationSwitch()
Method Detail |
---|
public T doSwitch(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(EClass theEClass, 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, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public T caseTimeValue(TimeValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDynamicPriorityBoostConfiguratioin(DynamicPriorityBoostConfiguratioin object)
object
- the target of the switch.
doSwitch(EObject)
public T casePriorityBoostConfiguration(PriorityBoostConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLoadBalancing(LoadBalancing object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMultipleQueueConfiguration(MultipleQueueConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseQueueingConfiguration(QueueingConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T casePredefinedTimeSliceConfiguration(PredefinedTimeSliceConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTimeSliceConfiguration(TimeSliceConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T casePreemptionConfiguration(PreemptionConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T casePriorityConfiguration(PriorityConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T casePriorityRange(PriorityRange object)
object
- the target of the switch.
doSwitch(EObject)
public T casePriorityDependentTimeSliceConfiguration(PriorityDependentTimeSliceConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseActiveResourceConfiguration(ActiveResourceConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T casePassiveResourceConfiguration(PassiveResourceConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStaticPriorityBoost(StaticPriorityBoost object)
object
- the target of the switch.
doSwitch(EObject)
public T caseProcessConfiguration(ProcessConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSingleQueueConfiguration(SingleQueueConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStaticPriorityBoostConfiguration(StaticPriorityBoostConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSchedulerConfiguration(SchedulerConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUnitCarryingElement(UnitCarryingElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIdentifier(Identifier 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 |