Class CodeSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.eclipse.gmt.modisco.omg.kdm.code.util.CodeSwitch<T>
public class CodeSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<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.
- See Also:
CodePackage
-
Field Summary
Fields Modifier and Type Field Description protected static CodePackagemodelPackageThe cached model package -
Constructor Summary
Constructors Constructor Description CodeSwitch()Creates an instance of the switch. -
Method Summary
Modifier and Type Method Description TcaseAbstractCodeElement(AbstractCodeElement object)Returns the result of interpreting the object as an instance of 'Abstract Code Element'.TcaseAbstractCodeRelationship(AbstractCodeRelationship object)Returns the result of interpreting the object as an instance of 'Abstract Code Relationship'.TcaseArrayType(ArrayType object)Returns the result of interpreting the object as an instance of 'Array Type'.TcaseBagType(BagType object)Returns the result of interpreting the object as an instance of 'Bag Type'.TcaseBitstringType(BitstringType object)Returns the result of interpreting the object as an instance of 'Bitstring Type'.TcaseBitType(BitType object)Returns the result of interpreting the object as an instance of 'Bit Type'.TcaseBooleanType(BooleanType object)Returns the result of interpreting the object as an instance of 'Boolean Type'.TcaseCallableUnit(CallableUnit object)Returns the result of interpreting the object as an instance of 'Callable Unit'.TcaseCharType(CharType object)Returns the result of interpreting the object as an instance of 'Char Type'.TcaseChoiceType(ChoiceType object)Returns the result of interpreting the object as an instance of 'Choice Type'.TcaseClassUnit(ClassUnit object)Returns the result of interpreting the object as an instance of 'Class Unit'.TcaseCodeAssembly(CodeAssembly object)Returns the result of interpreting the object as an instance of 'Assembly'.TcaseCodeElement(CodeElement object)Returns the result of interpreting the object as an instance of 'Element'.TcaseCodeItem(CodeItem object)Returns the result of interpreting the object as an instance of 'Item'.TcaseCodeModel(CodeModel object)Returns the result of interpreting the object as an instance of 'Model'.TcaseCodeRelationship(CodeRelationship object)Returns the result of interpreting the object as an instance of 'Relationship'.TcaseCommentUnit(CommentUnit object)Returns the result of interpreting the object as an instance of 'Comment Unit'.TcaseCompilationUnit(CompilationUnit object)Returns the result of interpreting the object as an instance of 'Compilation Unit'.TcaseCompositeType(CompositeType object)Returns the result of interpreting the object as an instance of 'Composite Type'.TcaseComputationalObject(ComputationalObject object)Returns the result of interpreting the object as an instance of 'Computational Object'.TcaseConditionalDirective(ConditionalDirective object)Returns the result of interpreting the object as an instance of 'Conditional Directive'.TcaseControlElement(ControlElement object)Returns the result of interpreting the object as an instance of 'Control Element'.TcaseDataElement(DataElement object)Returns the result of interpreting the object as an instance of 'Data Element'.TcaseDatatype(Datatype object)Returns the result of interpreting the object as an instance of 'Datatype'.TcaseDateType(DateType object)Returns the result of interpreting the object as an instance of 'Date Type'.TcaseDecimalType(DecimalType object)Returns the result of interpreting the object as an instance of 'Decimal Type'.TcaseDefinedType(DefinedType object)Returns the result of interpreting the object as an instance of 'Defined Type'.TcaseDerivedType(DerivedType object)Returns the result of interpreting the object as an instance of 'Derived Type'.TcaseElement(Element object)Returns the result of interpreting the object as an instance of 'Element'.TcaseEnumeratedType(EnumeratedType object)Returns the result of interpreting the object as an instance of 'Enumerated Type'.TcaseExpands(Expands object)Returns the result of interpreting the object as an instance of 'Expands'.TcaseExtends(Extends object)Returns the result of interpreting the object as an instance of 'Extends'.TcaseFloatType(FloatType object)Returns the result of interpreting the object as an instance of 'Float Type'.TcaseGeneratedFrom(GeneratedFrom object)Returns the result of interpreting the object as an instance of 'Generated From'.TcaseHasType(HasType object)Returns the result of interpreting the object as an instance of 'Has Type'.TcaseHasValue(HasValue object)Returns the result of interpreting the object as an instance of 'Has Value'.TcaseImplementationOf(ImplementationOf object)Returns the result of interpreting the object as an instance of 'Implementation Of'.TcaseImplements(Implements object)Returns the result of interpreting the object as an instance of 'Implements'.TcaseImports(Imports object)Returns the result of interpreting the object as an instance of 'Imports'.TcaseIncludeDirective(IncludeDirective object)Returns the result of interpreting the object as an instance of 'Include Directive'.TcaseIncludes(Includes object)Returns the result of interpreting the object as an instance of 'Includes'.TcaseIndexUnit(IndexUnit object)Returns the result of interpreting the object as an instance of 'Index Unit'.TcaseInstanceOf(InstanceOf object)Returns the result of interpreting the object as an instance of 'Instance Of'.TcaseIntegerType(IntegerType object)Returns the result of interpreting the object as an instance of 'Integer Type'.TcaseInterfaceUnit(InterfaceUnit object)Returns the result of interpreting the object as an instance of 'Interface Unit'.TcaseItemUnit(ItemUnit object)Returns the result of interpreting the object as an instance of 'Item Unit'.TcaseKDMEntity(KDMEntity object)Returns the result of interpreting the object as an instance of 'KDM Entity'.TcaseKDMFramework(KDMFramework object)Returns the result of interpreting the object as an instance of 'KDM Framework'.TcaseKDMModel(KDMModel object)Returns the result of interpreting the object as an instance of 'KDM Model'.TcaseKDMRelationship(KDMRelationship object)Returns the result of interpreting the object as an instance of 'KDM Relationship'.TcaseLanguageUnit(LanguageUnit object)Returns the result of interpreting the object as an instance of 'Language Unit'.TcaseMacroDirective(MacroDirective object)Returns the result of interpreting the object as an instance of 'Macro Directive'.TcaseMacroUnit(MacroUnit object)Returns the result of interpreting the object as an instance of 'Macro Unit'.TcaseMemberUnit(MemberUnit object)Returns the result of interpreting the object as an instance of 'Member Unit'.TcaseMethodUnit(MethodUnit object)Returns the result of interpreting the object as an instance of 'Method Unit'.TcaseModelElement(ModelElement object)Returns the result of interpreting the object as an instance of 'Model Element'.TcaseModule(Module object)Returns the result of interpreting the object as an instance of 'Module'.TcaseNamespaceUnit(NamespaceUnit object)Returns the result of interpreting the object as an instance of 'Namespace Unit'.TcaseOctetstringType(OctetstringType object)Returns the result of interpreting the object as an instance of 'Octetstring Type'.TcaseOctetType(OctetType object)Returns the result of interpreting the object as an instance of 'Octet Type'.TcaseOrdinalType(OrdinalType object)Returns the result of interpreting the object as an instance of 'Ordinal Type'.TcasePackage(Package object)Returns the result of interpreting the object as an instance of 'Package'.TcaseParameterTo(ParameterTo object)Returns the result of interpreting the object as an instance of 'Parameter To'.TcaseParameterUnit(ParameterUnit object)Returns the result of interpreting the object as an instance of 'Parameter Unit'.TcasePointerType(PointerType object)Returns the result of interpreting the object as an instance of 'Pointer Type'.TcasePreprocessorDirective(PreprocessorDirective object)Returns the result of interpreting the object as an instance of 'Preprocessor Directive'.TcasePrimitiveType(PrimitiveType object)Returns the result of interpreting the object as an instance of 'Primitive Type'.TcaseRangeType(RangeType object)Returns the result of interpreting the object as an instance of 'Range Type'.TcaseRecordType(RecordType object)Returns the result of interpreting the object as an instance of 'Record Type'.TcaseRedefines(Redefines object)Returns the result of interpreting the object as an instance of 'Redefines'.TcaseScaledType(ScaledType object)Returns the result of interpreting the object as an instance of 'Scaled Type'.TcaseSequenceType(SequenceType object)Returns the result of interpreting the object as an instance of 'Sequence Type'.TcaseSetType(SetType object)Returns the result of interpreting the object as an instance of 'Set Type'.TcaseSharedUnit(SharedUnit object)Returns the result of interpreting the object as an instance of 'Shared Unit'.TcaseSignature(Signature object)Returns the result of interpreting the object as an instance of 'Signature'.TcaseStorableUnit(StorableUnit object)Returns the result of interpreting the object as an instance of 'Storable Unit'.TcaseStringType(StringType object)Returns the result of interpreting the object as an instance of 'String Type'.TcaseSynonymType(SynonymType object)Returns the result of interpreting the object as an instance of 'Synonym Type'.TcaseTemplateParameter(TemplateParameter object)Returns the result of interpreting the object as an instance of 'Template Parameter'.TcaseTemplateType(TemplateType object)Returns the result of interpreting the object as an instance of 'Template Type'.TcaseTemplateUnit(TemplateUnit object)Returns the result of interpreting the object as an instance of 'Template Unit'.TcaseTimeType(TimeType object)Returns the result of interpreting the object as an instance of 'Time Type'.TcaseTypeUnit(TypeUnit object)Returns the result of interpreting the object as an instance of 'Type Unit'.TcaseValue(Value object)Returns the result of interpreting the object as an instance of 'Value'.TcaseValueElement(ValueElement object)Returns the result of interpreting the object as an instance of 'Value Element'.TcaseValueList(ValueList object)Returns the result of interpreting the object as an instance of 'Value List'.TcaseVariantTo(VariantTo object)Returns the result of interpreting the object as an instance of 'Variant To'.TcaseVisibleIn(VisibleIn object)Returns the result of interpreting the object as an instance of 'Visible In'.TcaseVoidType(VoidType object)Returns the result of interpreting the object as an instance of 'Void Type'.TdefaultCase(org.eclipse.emf.ecore.EObject object)Returns the result of interpreting the object as an instance of 'EObject'.protected TdoSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.protected booleanisSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)Checks whether this is a switch for the given package.Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
-
Field Details
-
modelPackage
The cached model package
-
-
Constructor Details
-
CodeSwitch
public CodeSwitch()Creates an instance of the switch.
-
-
Method Details
-
isSwitchFor
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)Checks whether this is a switch for the given package.- Specified by:
isSwitchForin classorg.eclipse.emf.ecore.util.Switch<T>- Parameters:
ePackage- the package in question.- Returns:
- whether this is a switch for the given package.
-
doSwitch
CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitchin classorg.eclipse.emf.ecore.util.Switch<T>- Returns:
- the first non-null result returned by a
caseXXXcall.
-
caseAbstractCodeElement
Returns the result of interpreting the object as an instance of 'Abstract Code Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract Code Element'.
- See Also:
doSwitch(EObject)
-
caseCodeItem
Returns the result of interpreting the object as an instance of 'Item'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Item'.
- See Also:
doSwitch(EObject)
-
caseComputationalObject
Returns the result of interpreting the object as an instance of 'Computational Object'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Computational Object'.
- See Also:
doSwitch(EObject)
-
caseControlElement
Returns the result of interpreting the object as an instance of 'Control Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Control Element'.
- See Also:
doSwitch(EObject)
-
caseMethodUnit
Returns the result of interpreting the object as an instance of 'Method Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Method Unit'.
- See Also:
doSwitch(EObject)
-
caseModule
Returns the result of interpreting the object as an instance of 'Module'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Module'.
- See Also:
doSwitch(EObject)
-
caseCodeAssembly
Returns the result of interpreting the object as an instance of 'Assembly'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Assembly'.
- See Also:
doSwitch(EObject)
-
caseCallableUnit
Returns the result of interpreting the object as an instance of 'Callable Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Callable Unit'.
- See Also:
doSwitch(EObject)
-
caseDatatype
Returns the result of interpreting the object as an instance of 'Datatype'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Datatype'.
- See Also:
doSwitch(EObject)
-
caseTemplateUnit
Returns the result of interpreting the object as an instance of 'Template Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Template Unit'.
- See Also:
doSwitch(EObject)
-
caseTemplateParameter
Returns the result of interpreting the object as an instance of 'Template Parameter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Template Parameter'.
- See Also:
doSwitch(EObject)
-
caseAbstractCodeRelationship
Returns the result of interpreting the object as an instance of 'Abstract Code Relationship'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract Code Relationship'.
- See Also:
doSwitch(EObject)
-
caseInstanceOf
Returns the result of interpreting the object as an instance of 'Instance Of'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Instance Of'.
- See Also:
doSwitch(EObject)
-
caseCompilationUnit
Returns the result of interpreting the object as an instance of 'Compilation Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Compilation Unit'.
- See Also:
doSwitch(EObject)
-
caseCodeModel
Returns the result of interpreting the object as an instance of 'Model'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Model'.
- See Also:
doSwitch(EObject)
-
caseDerivedType
Returns the result of interpreting the object as an instance of 'Derived Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Derived Type'.
- See Also:
doSwitch(EObject)
-
caseArrayType
Returns the result of interpreting the object as an instance of 'Array Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Array Type'.
- See Also:
doSwitch(EObject)
-
casePrimitiveType
Returns the result of interpreting the object as an instance of 'Primitive Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type'.
- See Also:
doSwitch(EObject)
-
caseBooleanType
Returns the result of interpreting the object as an instance of 'Boolean Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Boolean Type'.
- See Also:
doSwitch(EObject)
-
caseCharType
Returns the result of interpreting the object as an instance of 'Char Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Char Type'.
- See Also:
doSwitch(EObject)
-
caseClassUnit
Returns the result of interpreting the object as an instance of 'Class Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Class Unit'.
- See Also:
doSwitch(EObject)
-
caseCompositeType
Returns the result of interpreting the object as an instance of 'Composite Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Composite Type'.
- See Also:
doSwitch(EObject)
-
caseRecordType
Returns the result of interpreting the object as an instance of 'Record Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Record Type'.
- See Also:
doSwitch(EObject)
-
caseEnumeratedType
Returns the result of interpreting the object as an instance of 'Enumerated Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Enumerated Type'.
- See Also:
doSwitch(EObject)
-
caseExtends
Returns the result of interpreting the object as an instance of 'Extends'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Extends'.
- See Also:
doSwitch(EObject)
-
caseScaledType
Returns the result of interpreting the object as an instance of 'Scaled Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Scaled Type'.
- See Also:
doSwitch(EObject)
-
caseFloatType
Returns the result of interpreting the object as an instance of 'Float Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Float Type'.
- See Also:
doSwitch(EObject)
-
caseHasType
Returns the result of interpreting the object as an instance of 'Has Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Has Type'.
- See Also:
doSwitch(EObject)
-
caseImplementationOf
Returns the result of interpreting the object as an instance of 'Implementation Of'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Implementation Of'.
- See Also:
doSwitch(EObject)
-
caseImplements
Returns the result of interpreting the object as an instance of 'Implements'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Implements'.
- See Also:
doSwitch(EObject)
-
caseIntegerType
Returns the result of interpreting the object as an instance of 'Integer Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Integer Type'.
- See Also:
doSwitch(EObject)
-
caseInterfaceUnit
Returns the result of interpreting the object as an instance of 'Interface Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Interface Unit'.
- See Also:
doSwitch(EObject)
-
casePointerType
Returns the result of interpreting the object as an instance of 'Pointer Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Pointer Type'.
- See Also:
doSwitch(EObject)
-
caseDefinedType
Returns the result of interpreting the object as an instance of 'Defined Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Defined Type'.
- See Also:
doSwitch(EObject)
-
caseTypeUnit
Returns the result of interpreting the object as an instance of 'Type Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Type Unit'.
- See Also:
doSwitch(EObject)
-
caseRangeType
Returns the result of interpreting the object as an instance of 'Range Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Range Type'.
- See Also:
doSwitch(EObject)
-
caseSignature
Returns the result of interpreting the object as an instance of 'Signature'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Signature'.
- See Also:
doSwitch(EObject)
-
caseDataElement
Returns the result of interpreting the object as an instance of 'Data Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Data Element'.
- See Also:
doSwitch(EObject)
-
caseStringType
Returns the result of interpreting the object as an instance of 'String Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'String Type'.
- See Also:
doSwitch(EObject)
-
caseChoiceType
Returns the result of interpreting the object as an instance of 'Choice Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Choice Type'.
- See Also:
doSwitch(EObject)
-
caseNamespaceUnit
Returns the result of interpreting the object as an instance of 'Namespace Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Namespace Unit'.
- See Also:
doSwitch(EObject)
-
caseVisibleIn
Returns the result of interpreting the object as an instance of 'Visible In'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Visible In'.
- See Also:
doSwitch(EObject)
-
caseCommentUnit
Returns the result of interpreting the object as an instance of 'Comment Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Comment Unit'.
- See Also:
doSwitch(EObject)
-
caseDecimalType
Returns the result of interpreting the object as an instance of 'Decimal Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Decimal Type'.
- See Also:
doSwitch(EObject)
-
caseDateType
Returns the result of interpreting the object as an instance of 'Date Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Date Type'.
- See Also:
doSwitch(EObject)
-
caseTimeType
Returns the result of interpreting the object as an instance of 'Time Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Time Type'.
- See Also:
doSwitch(EObject)
-
caseVoidType
Returns the result of interpreting the object as an instance of 'Void Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Void Type'.
- See Also:
doSwitch(EObject)
-
caseValueElement
Returns the result of interpreting the object as an instance of 'Value Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Value Element'.
- See Also:
doSwitch(EObject)
-
caseValue
Returns the result of interpreting the object as an instance of 'Value'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Value'.
- See Also:
doSwitch(EObject)
-
caseValueList
Returns the result of interpreting the object as an instance of 'Value List'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Value List'.
- See Also:
doSwitch(EObject)
-
caseStorableUnit
Returns the result of interpreting the object as an instance of 'Storable Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Storable Unit'.
- See Also:
doSwitch(EObject)
-
caseMemberUnit
Returns the result of interpreting the object as an instance of 'Member Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Member Unit'.
- See Also:
doSwitch(EObject)
-
caseParameterUnit
Returns the result of interpreting the object as an instance of 'Parameter Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Parameter Unit'.
- See Also:
doSwitch(EObject)
-
caseItemUnit
Returns the result of interpreting the object as an instance of 'Item Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Item Unit'.
- See Also:
doSwitch(EObject)
-
caseIndexUnit
Returns the result of interpreting the object as an instance of 'Index Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Index Unit'.
- See Also:
doSwitch(EObject)
-
caseSynonymType
Returns the result of interpreting the object as an instance of 'Synonym Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Synonym Type'.
- See Also:
doSwitch(EObject)
-
caseSequenceType
Returns the result of interpreting the object as an instance of 'Sequence Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Sequence Type'.
- See Also:
doSwitch(EObject)
-
caseBagType
Returns the result of interpreting the object as an instance of 'Bag Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Bag Type'.
- See Also:
doSwitch(EObject)
-
caseSetType
Returns the result of interpreting the object as an instance of 'Set Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Set Type'.
- See Also:
doSwitch(EObject)
-
caseCodeElement
Returns the result of interpreting the object as an instance of 'Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Element'.
- See Also:
doSwitch(EObject)
-
caseCodeRelationship
Returns the result of interpreting the object as an instance of 'Relationship'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Relationship'.
- See Also:
doSwitch(EObject)
-
caseLanguageUnit
Returns the result of interpreting the object as an instance of 'Language Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Language Unit'.
- See Also:
doSwitch(EObject)
-
caseOrdinalType
Returns the result of interpreting the object as an instance of 'Ordinal Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Ordinal Type'.
- See Also:
doSwitch(EObject)
-
caseBitstringType
Returns the result of interpreting the object as an instance of 'Bitstring Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Bitstring Type'.
- See Also:
doSwitch(EObject)
-
caseOctetType
Returns the result of interpreting the object as an instance of 'Octet Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Octet Type'.
- See Also:
doSwitch(EObject)
-
caseOctetstringType
Returns the result of interpreting the object as an instance of 'Octetstring Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Octetstring Type'.
- See Also:
doSwitch(EObject)
-
caseBitType
Returns the result of interpreting the object as an instance of 'Bit Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Bit Type'.
- See Also:
doSwitch(EObject)
-
caseImports
Returns the result of interpreting the object as an instance of 'Imports'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Imports'.
- See Also:
doSwitch(EObject)
-
casePackage
Returns the result of interpreting the object as an instance of 'Package'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Package'.
- See Also:
doSwitch(EObject)
-
caseParameterTo
Returns the result of interpreting the object as an instance of 'Parameter To'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Parameter To'.
- See Also:
doSwitch(EObject)
-
caseTemplateType
Returns the result of interpreting the object as an instance of 'Template Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Template Type'.
- See Also:
doSwitch(EObject)
-
casePreprocessorDirective
Returns the result of interpreting the object as an instance of 'Preprocessor Directive'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Preprocessor Directive'.
- See Also:
doSwitch(EObject)
-
caseMacroDirective
Returns the result of interpreting the object as an instance of 'Macro Directive'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Macro Directive'.
- See Also:
doSwitch(EObject)
-
caseMacroUnit
Returns the result of interpreting the object as an instance of 'Macro Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Macro Unit'.
- See Also:
doSwitch(EObject)
-
caseConditionalDirective
Returns the result of interpreting the object as an instance of 'Conditional Directive'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Conditional Directive'.
- See Also:
doSwitch(EObject)
-
caseIncludeDirective
Returns the result of interpreting the object as an instance of 'Include Directive'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Include Directive'.
- See Also:
doSwitch(EObject)
-
caseVariantTo
Returns the result of interpreting the object as an instance of 'Variant To'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Variant To'.
- See Also:
doSwitch(EObject)
-
caseExpands
Returns the result of interpreting the object as an instance of 'Expands'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Expands'.
- See Also:
doSwitch(EObject)
-
caseRedefines
Returns the result of interpreting the object as an instance of 'Redefines'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Redefines'.
- See Also:
doSwitch(EObject)
-
caseGeneratedFrom
Returns the result of interpreting the object as an instance of 'Generated From'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Generated From'.
- See Also:
doSwitch(EObject)
-
caseIncludes
Returns the result of interpreting the object as an instance of 'Includes'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Includes'.
- See Also:
doSwitch(EObject)
-
caseHasValue
Returns the result of interpreting the object as an instance of 'Has Value'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Has Value'.
- See Also:
doSwitch(EObject)
-
caseElement
Returns the result of interpreting the object as an instance of 'Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Element'.
- See Also:
doSwitch(EObject)
-
caseModelElement
Returns the result of interpreting the object as an instance of 'Model Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Model Element'.
- See Also:
doSwitch(EObject)
-
caseKDMEntity
Returns the result of interpreting the object as an instance of 'KDM Entity'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'KDM Entity'.
- See Also:
doSwitch(EObject)
-
caseKDMRelationship
Returns the result of interpreting the object as an instance of 'KDM Relationship'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'KDM Relationship'.
- See Also:
doSwitch(EObject)
-
caseKDMFramework
Returns the result of interpreting the object as an instance of 'KDM Framework'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'KDM Framework'.
- See Also:
doSwitch(EObject)
-
caseKDMModel
Returns the result of interpreting the object as an instance of 'KDM Model'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'KDM Model'.
- See Also:
doSwitch(EObject)
-
defaultCase
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
defaultCasein classorg.eclipse.emf.ecore.util.Switch<T>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
-