public class DecisionsSwitch<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.
DecisionsPackage
Constructor and Description |
---|
DecisionsSwitch()
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 |
caseConflictObject(ConflictObject object)
Returns the result of interpreting the object as an instance of 'Conflict Object'.
|
T |
caseCouldResolveObject(CouldResolveObject object)
Returns the result of interpreting the object as an instance of 'Could Resolve Object'.
|
T |
caseDecision(Decision object)
Returns the result of interpreting the object as an instance of 'Decision'.
|
T |
caseDecisionRepository(DecisionRepository object)
Returns the result of interpreting the object as an instance of 'Decision Repository'.
|
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 |
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 |
caseTextDecision(TextDecision object)
Returns the result of interpreting the object as an instance of 'Text Decision'.
|
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 DecisionsSwitch()
public T caseDecisionRepository(DecisionRepository object)
object
- the target of the switch.doSwitch(EObject)
public T caseDecision(Decision object)
object
- the target of the switch.doSwitch(EObject)
public T caseRationale(Rationale object)
object
- the target of the switch.doSwitch(EObject)
public T caseTextDecision(TextDecision object)
object
- the target of the switch.doSwitch(EObject)
public T caseTextRationale(TextRationale 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)