public class featuremodelSwitch<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.
featuremodelPackage| Constructor and Description |
|---|
featuremodelSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAttribute(Attribute object)
Returns the result of interpreting the object as an instance of 'Attribute'.
|
T |
caseChildRelation(ChildRelation object)
Returns the result of interpreting the object as an instance of 'Child Relation'.
|
T |
caseConstraint(Constraint object)
Returns the result of interpreting the object as an instance of 'Constraint'.
|
T |
caseContinousIntervalRange(ContinousIntervalRange object)
Returns the result of interpreting the object as an instance of 'Continous Interval Range'.
|
T |
caseDoubleAttribute(DoubleAttribute object)
Returns the result of interpreting the object as an instance of 'Double Attribute'.
|
T |
caseExternalObjectAttribute(ExternalObjectAttribute object)
Returns the result of interpreting the object as an instance of 'External Object Attribute'.
|
T |
caseFeature(Feature object)
Returns the result of interpreting the object as an instance of 'Feature'.
|
T |
caseFeatureDiagram(FeatureDiagram object)
Returns the result of interpreting the object as an instance of 'Feature Diagram'.
|
T |
caseFeatureGroup(FeatureGroup object)
Returns the result of interpreting the object as an instance of 'Feature Group'.
|
T |
caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.
|
T |
caseIntegerAttribute(IntegerAttribute object)
Returns the result of interpreting the object as an instance of 'Integer Attribute'.
|
T |
caseIntegerIntervalRange(IntegerIntervalRange object)
Returns the result of interpreting the object as an instance of 'Integer Interval Range'.
|
T |
caseIntervalRange(IntervalRange object)
Returns the result of interpreting the object as an instance of 'Interval Range'.
|
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.
|
T |
caseProhibitsConstraint(ProhibitsConstraint object)
Returns the result of interpreting the object as an instance of 'Prohibits Constraint'.
|
T |
caseRequiredConstraint(RequiredConstraint object)
Returns the result of interpreting the object as an instance of 'Required Constraint'.
|
T |
caseSimple(Simple object)
Returns the result of interpreting the object as an instance of 'Simple'.
|
T |
caseStringAttribute(StringAttribute object)
Returns the result of interpreting the object as an instance of 'String Attribute'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public featuremodelSwitch()
public T caseFeature(Feature object)
object - the target of the switch.doSwitch(EObject)public T caseNamedElement(NamedElement object)
object - the target of the switch.doSwitch(EObject)public T caseAttribute(Attribute object)
object - the target of the switch.doSwitch(EObject)public T caseChildRelation(ChildRelation object)
object - the target of the switch.doSwitch(EObject)public T caseIntegerAttribute(IntegerAttribute object)
object - the target of the switch.doSwitch(EObject)public T caseDoubleAttribute(DoubleAttribute object)
object - the target of the switch.doSwitch(EObject)public T caseStringAttribute(StringAttribute object)
object - the target of the switch.doSwitch(EObject)public T caseExternalObjectAttribute(ExternalObjectAttribute object)
object - the target of the switch.doSwitch(EObject)public T caseIntervalRange(IntervalRange object)
object - the target of the switch.doSwitch(EObject)public T caseIntegerIntervalRange(IntegerIntervalRange object)
object - the target of the switch.doSwitch(EObject)public T caseContinousIntervalRange(ContinousIntervalRange object)
object - the target of the switch.doSwitch(EObject)public T caseFeatureGroup(FeatureGroup object)
object - the target of the switch.doSwitch(EObject)public T caseFeatureDiagram(FeatureDiagram object)
object - the target of the switch.doSwitch(EObject)public T caseConstraint(Constraint object)
object - the target of the switch.doSwitch(EObject)public T caseRequiredConstraint(RequiredConstraint object)
object - the target of the switch.doSwitch(EObject)public T caseProhibitsConstraint(ProhibitsConstraint object)
object - the target of the switch.doSwitch(EObject)public T caseSimple(Simple 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)