public class OptionsSwitch<T> extends Switch<T>
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.
OptionsPackage
Constructor and Description |
---|
OptionsSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAlternativeObject(AlternativeObject object)
Returns the result of interpreting the object as an instance of 'Alternative Object'.
|
T |
caseAnalysisRationale(AnalysisRationale object)
Returns the result of interpreting the object as an instance of 'Analysis Rationale'.
|
T |
caseConflictObject(ConflictObject object)
Returns the result of interpreting the object as an instance of 'Conflict Object'.
|
T |
caseConstraint(Constraint object)
Returns the result of interpreting the object as an instance of 'Constraint'.
|
T |
caseCouldResolveObject(CouldResolveObject object)
Returns the result of interpreting the object as an instance of 'Could Resolve Object'.
|
T |
caseDependencyObject(DependencyObject object)
Returns the result of interpreting the object as an instance of 'Dependency Object'.
|
T |
caseDuplicationObject(DuplicationObject object)
Returns the result of interpreting the object as an instance of 'Duplication Object'.
|
T |
caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.
|
T |
caseOption(Option object)
Returns the result of interpreting the object as an instance of 'Option'.
|
T |
caseOptionRepository(OptionRepository object)
Returns the result of interpreting the object as an instance of 'Option Repository'.
|
T |
caseParentalObject(ParentalObject object)
Returns the result of interpreting the object as an instance of 'Parental Object'.
|
T |
caseRationale(Rationale object)
Returns the result of interpreting the object as an instance of 'Rationale'.
|
T |
caseRelationObject(RelationObject object)
Returns the result of interpreting the object as an instance of 'Relation Object'.
|
T |
caseResolveObject(ResolveObject object)
Returns the result of interpreting the object as an instance of 'Resolve Object'.
|
T |
caseSelectionObject(SelectionObject object)
Returns the result of interpreting the object as an instance of 'Selection Object'.
|
T |
caseStakeholderObject(StakeholderObject object)
Returns the result of interpreting the object as an instance of 'Stakeholder Object'.
|
T |
caseTextOption(TextOption object)
Returns the result of interpreting the object as an instance of 'Text Option'.
|
T |
caseTextRationale(TextRationale object)
Returns the result of interpreting the object as an instance of 'Text Rationale'.
|
T |
caseTraceableObject(TraceableObject object)
Returns the result of interpreting the object as an instance of 'Traceable Object'.
|
T |
caseTriggerObject(TriggerObject object)
Returns the result of interpreting the object as an instance of 'Trigger Object'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public OptionsSwitch()
public T caseTextOption(TextOption object)
object
- the target of the switch.doSwitch(EObject)
public T caseOption(Option object)
object
- the target of the switch.doSwitch(EObject)
public T caseOptionRepository(OptionRepository object)
object
- the target of the switch.doSwitch(EObject)
public T caseConstraint(Constraint object)
object
- the target of the switch.doSwitch(EObject)
public T caseRationale(Rationale object)
object
- the target of the switch.doSwitch(EObject)
public T caseTextRationale(TextRationale object)
object
- the target of the switch.doSwitch(EObject)
public T caseAnalysisRationale(AnalysisRationale object)
object
- the target of the switch.doSwitch(EObject)
public T caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelationObject(RelationObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseConflictObject(ConflictObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseDuplicationObject(DuplicationObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseDependencyObject(DependencyObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseParentalObject(ParentalObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseTriggerObject(TriggerObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseResolveObject(ResolveObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseAlternativeObject(AlternativeObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseCouldResolveObject(CouldResolveObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseStakeholderObject(StakeholderObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseSelectionObject(SelectionObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseTraceableObject(TraceableObject object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(EObject object)
defaultCase
in class Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)