public class OCLstdlibCSSwitch<T>
extends org.eclipse.emf.ecore.util.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.
OCLstdlibCSPackage
Modifier and Type | Field and Description |
---|---|
protected static OCLstdlibCSPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
OCLstdlibCSSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAttributeCS(AttributeCS object)
Returns the result of interpreting the object as an instance of 'Attribute CS'.
|
T |
caseClassCS(ClassCS object)
Returns the result of interpreting the object as an instance of 'Class CS'.
|
T |
caseConstraintCS(ConstraintCS object)
Returns the result of interpreting the object as an instance of 'Constraint CS'.
|
T |
caseElementCS(ElementCS object)
Returns the result of interpreting the object as an instance of 'Element CS'.
|
T |
caseFeatureCS(FeatureCS object)
Returns the result of interpreting the object as an instance of 'Feature CS'.
|
T |
caseJavaClassCS(JavaClassCS object)
Returns the result of interpreting the object as an instance of 'Java Class CS'.
|
T |
caseJavaImplementationCS(JavaImplementationCS object)
Returns the result of interpreting the object as an instance of 'Java Implementation CS'.
|
T |
caseLibClassCS(LibClassCS object)
Returns the result of interpreting the object as an instance of 'Lib Class CS'.
|
T |
caseLibCoercionCS(LibCoercionCS object)
Returns the result of interpreting the object as an instance of 'Lib Coercion CS'.
|
T |
caseLibConstraintCS(LibConstraintCS object)
Returns the result of interpreting the object as an instance of 'Lib Constraint CS'.
|
T |
caseLibIterationCS(LibIterationCS object)
Returns the result of interpreting the object as an instance of 'Lib Iteration CS'.
|
T |
caseLibOperationCS(LibOperationCS object)
Returns the result of interpreting the object as an instance of 'Lib Operation CS'.
|
T |
caseLibPackageCS(LibPackageCS object)
Returns the result of interpreting the object as an instance of 'Lib Package CS'.
|
T |
caseLibPropertyCS(LibPropertyCS object)
Returns the result of interpreting the object as an instance of 'Lib Property CS'.
|
T |
caseLibRootPackageCS(LibRootPackageCS object)
Returns the result of interpreting the object as an instance of 'Lib Root Package CS'.
|
T |
caseMetaclassNameCS(MetaclassNameCS object)
Returns the result of interpreting the object as an instance of 'Metaclass Name CS'.
|
T |
caseModelElementCS(ModelElementCS object)
Returns the result of interpreting the object as an instance of 'Model Element CS'.
|
T |
caseNameable(Nameable object)
Returns the result of interpreting the object as an instance of 'Nameable'.
|
T |
caseNamedElementCS(NamedElementCS object)
Returns the result of interpreting the object as an instance of 'Named Element CS'.
|
T |
caseNamespaceCS(NamespaceCS object)
Returns the result of interpreting the object as an instance of 'Namespace CS'.
|
T |
caseOperationCS(OperationCS object)
Returns the result of interpreting the object as an instance of 'Operation CS'.
|
T |
casePackageCS(PackageCS object)
Returns the result of interpreting the object as an instance of 'Package CS'.
|
T |
casePackageOwnerCS(PackageOwnerCS object)
Returns the result of interpreting the object as an instance of 'Package Owner CS'.
|
T |
casePivotable(Pivotable object)
Returns the result of interpreting the object as an instance of 'Pivotable'.
|
T |
casePivotableElementCS(PivotableElementCS object)
Returns the result of interpreting the object as an instance of 'Pivotable Element CS'.
|
T |
casePrecedenceCS(PrecedenceCS object)
Returns the result of interpreting the object as an instance of 'Precedence CS'.
|
T |
caseRootCS(RootCS object)
Returns the result of interpreting the object as an instance of 'Root CS'.
|
T |
caseRootPackageCS(RootPackageCS object)
Returns the result of interpreting the object as an instance of 'Root Package CS'.
|
T |
caseStructuralFeatureCS(StructuralFeatureCS object)
Returns the result of interpreting the object as an instance of 'Structural Feature CS'.
|
T |
caseStructuredClassCS(StructuredClassCS object)
Returns the result of interpreting the object as an instance of 'Structured Class CS'.
|
T |
caseTemplateableElementCS(TemplateableElementCS object)
Returns the result of interpreting the object as an instance of 'Templateable Element CS'.
|
T |
caseTypeCS(TypeCS object)
Returns the result of interpreting the object as an instance of 'Type CS'.
|
T |
caseTypedElementCS(TypedElementCS object)
Returns the result of interpreting the object as an instance of 'Typed Element CS'.
|
T |
caseVisitableCS(VisitableCS object)
Returns the result of interpreting the object as an instance of 'Visitable CS'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
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. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static OCLstdlibCSPackage modelPackage
public OCLstdlibCSSwitch()
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
ePackage
- the package in question.protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T>
caseXXX
call.public T caseJavaClassCS(JavaClassCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibClassCS(LibClassCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibCoercionCS(LibCoercionCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibConstraintCS(LibConstraintCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibIterationCS(LibIterationCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibOperationCS(LibOperationCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibPackageCS(LibPackageCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibPropertyCS(LibPropertyCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibRootPackageCS(LibRootPackageCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMetaclassNameCS(MetaclassNameCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseJavaImplementationCS(JavaImplementationCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePrecedenceCS(PrecedenceCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseVisitableCS(VisitableCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseElementCS(ElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePivotable(Pivotable object)
object
- the target of the switch.doSwitch(EObject)
public T casePivotableElementCS(PivotableElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseModelElementCS(ModelElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseNameable(Nameable object)
object
- the target of the switch.doSwitch(EObject)
public T caseNamedElementCS(NamedElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTemplateableElementCS(TemplateableElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseClassCS(ClassCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypedElementCS(TypedElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypeCS(TypeCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseFeatureCS(FeatureCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperationCS(OperationCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePackageOwnerCS(PackageOwnerCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseStructuralFeatureCS(StructuralFeatureCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseAttributeCS(AttributeCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseRootCS(RootCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseRootPackageCS(RootPackageCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseNamespaceCS(NamespaceCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseStructuredClassCS(StructuredClassCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePackageCS(PackageCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseConstraintCS(ConstraintCS object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)