public class RequirementsSwitch<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.
RequirementsPackage
Constructor and Description |
---|
RequirementsSwitch()
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 |
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 |
caseFunctionalRequirement(FunctionalRequirement object)
Returns the result of interpreting the object as an instance of 'Functional Requirement'.
|
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 |
caseProcessRequirement(ProcessRequirement object)
Returns the result of interpreting the object as an instance of 'Process Requirement'.
|
T |
caseProcessRequirements(ProcessRequirements object)
Returns the result of interpreting the object as an instance of 'Process Requirements'.
|
T |
caseProjectRequirement(ProjectRequirement object)
Returns the result of interpreting the object as an instance of 'Project Requirement'.
|
T |
caseProjectRequirements(ProjectRequirements object)
Returns the result of interpreting the object as an instance of 'Project Requirements'.
|
T |
caseQualityRequirement(QualityRequirement object)
Returns the result of interpreting the object as an instance of 'Quality Requirement'.
|
T |
caseRelationObject(RelationObject object)
Returns the result of interpreting the object as an instance of 'Relation Object'.
|
T |
caseReqRepository(ReqRepository object)
Returns the result of interpreting the object as an instance of 'Req Repository'.
|
T |
caseRequirement(Requirement object)
Returns the result of interpreting the object as an instance of 'Requirement'.
|
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 |
caseSystemRequirement(SystemRequirement object)
Returns the result of interpreting the object as an instance of 'System Requirement'.
|
T |
caseSystemRequirements(SystemRequirements object)
Returns the result of interpreting the object as an instance of 'System Requirements'.
|
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 RequirementsSwitch()
public T caseReqRepository(ReqRepository object)
object
- the target of the switch.doSwitch(EObject)
public T caseRequirement(Requirement object)
object
- the target of the switch.doSwitch(EObject)
public T caseProjectRequirement(ProjectRequirement object)
object
- the target of the switch.doSwitch(EObject)
public T caseSystemRequirement(SystemRequirement object)
object
- the target of the switch.doSwitch(EObject)
public T caseProcessRequirement(ProcessRequirement object)
object
- the target of the switch.doSwitch(EObject)
public T caseConstraint(Constraint object)
object
- the target of the switch.doSwitch(EObject)
public T caseFunctionalRequirement(FunctionalRequirement object)
object
- the target of the switch.doSwitch(EObject)
public T caseQualityRequirement(QualityRequirement object)
object
- the target of the switch.doSwitch(EObject)
public T caseProjectRequirements(ProjectRequirements object)
object
- the target of the switch.doSwitch(EObject)
public T caseSystemRequirements(SystemRequirements object)
object
- the target of the switch.doSwitch(EObject)
public T caseProcessRequirements(ProcessRequirements 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)