public class RelationsSwitch<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.
RelationsPackage
Constructor and Description |
---|
RelationsSwitch()
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 |
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 |
caseRelation(Relation object)
Returns the result of interpreting the object as an instance of 'Relation'.
|
T |
caseRelationObject(RelationObject object)
Returns the result of interpreting the object as an instance of 'Relation Object'.
|
T |
caseRelationsModel(RelationsModel object)
Returns the result of interpreting the object as an instance of 'Model'.
|
T |
caseRelationType(RelationType object)
Returns the result of interpreting the object as an instance of 'Relation Type'.
|
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 |
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 RelationsSwitch()
public T caseTraceableObject(TraceableObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelationType(RelationType object)
object
- the target of the switch.doSwitch(EObject)
public T caseDuplicationObject(DuplicationObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseParentalObject(ParentalObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelationObject(RelationObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseTriggerObject(TriggerObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseDependencyObject(DependencyObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseConflictObject(ConflictObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseAlternativeObject(AlternativeObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelationsModel(RelationsModel object)
object
- the target of the switch.doSwitch(EObject)
public T caseResolveObject(ResolveObject object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelation(Relation 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 caseIdentifier(de.uka.ipd.sdq.identifier.Identifier 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)