java.lang.Objectorg.eclipse.gmt.umlx.registry.km3.cst.util.KM3CSTSwitch<T>
public class KM3CSTSwitch<T>
The Switch for the model's inheritance hierarchy.
It supports the call 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.
KM3CSTPackage
Constructor Summary | |
---|---|
KM3CSTSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAttributeCS(AttributeCS object)
Returns the result of interpretting the object as an instance of 'Attribute CS'. |
T |
caseClassCS(ClassCS object)
Returns the result of interpretting the object as an instance of 'Class CS'. |
T |
caseClassifierCS(ClassifierCS object)
Returns the result of interpretting the object as an instance of 'Classifier CS'. |
T |
caseDataTypeCS(DataTypeCS object)
Returns the result of interpretting the object as an instance of 'Data Type CS'. |
T |
caseElementCS(ElementCS object)
Returns the result of interpretting the object as an instance of 'Element CS'. |
T |
caseEnumerationCS(EnumerationCS object)
Returns the result of interpretting the object as an instance of 'Enumeration CS'. |
T |
caseFeatureCS(FeatureCS object)
Returns the result of interpretting the object as an instance of 'Feature CS'. |
T |
caseIdentifiedElementCS(IdentifiedElementCS object)
Returns the result of interpretting the object as an instance of 'Identified Element CS'. |
T |
caseIdentifierCS(IdentifierCS object)
Returns the result of interpretting the object as an instance of 'Identifier CS'. |
T |
caseIdentifiersCS(IdentifiersCS object)
Returns the result of interpretting the object as an instance of 'Identifiers CS'. |
T |
caseLiteralCS(LiteralCS object)
Returns the result of interpretting the object as an instance of 'Literal CS'. |
T |
caseMetaModelCS(MetaModelCS object)
Returns the result of interpretting the object as an instance of 'Meta Model CS'. |
T |
caseMultiplicityBoundCS(MultiplicityBoundCS object)
Returns the result of interpretting the object as an instance of 'Multiplicity Bound CS'. |
T |
casePackageCS(PackageCS object)
Returns the result of interpretting the object as an instance of 'Package CS'. |
T |
caseReferenceCS(ReferenceCS object)
Returns the result of interpretting the object as an instance of 'Reference CS'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
T |
doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KM3CSTSwitch()
Method Detail |
---|
public T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public T caseAttributeCS(AttributeCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFeatureCS(FeatureCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseClassCS(ClassCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseClassifierCS(ClassifierCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDataTypeCS(DataTypeCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEnumerationCS(EnumerationCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIdentifierCS(IdentifierCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLiteralCS(LiteralCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMetaModelCS(MetaModelCS object)
object
- the target of the switch.
doSwitch(EObject)
public T casePackageCS(PackageCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseReferenceCS(ReferenceCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseElementCS(ElementCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIdentifiedElementCS(IdentifiedElementCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIdentifiersCS(IdentifiersCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMultiplicityBoundCS(MultiplicityBoundCS object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)