public class DatatypeSwitch<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.
DatatypePackage| Constructor and Description |
|---|
DatatypeSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAbstractNamedElement(AbstractNamedElement object)
Returns the result of interpreting the object as an instance of 'Abstract Named Element'.
|
T |
caseAbstractType(AbstractType object)
Returns the result of interpreting the object as an instance of 'Abstract Type'.
|
T |
caseBooleanType(BooleanType object)
Returns the result of interpreting the object as an instance of 'Boolean Type'.
|
T |
caseCapellaElement(CapellaElement object)
Returns the result of interpreting the object as an instance of 'Capella Element'.
|
T |
caseDataType(DataType object)
Returns the result of interpreting the object as an instance of 'Data Type'.
|
T |
caseDataValueContainer(DataValueContainer object)
Returns the result of interpreting the object as an instance of 'Data Value Container'.
|
T |
caseElement(org.polarsys.kitalpha.emde.model.Element object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseEnumeration(Enumeration object)
Returns the result of interpreting the object as an instance of 'Enumeration'.
|
T |
caseExtensibleElement(org.polarsys.kitalpha.emde.model.ExtensibleElement object)
Returns the result of interpreting the object as an instance of 'Extensible Element'.
|
T |
caseFinalizableElement(FinalizableElement object)
Returns the result of interpreting the object as an instance of 'Finalizable Element'.
|
T |
caseGeneralizableElement(GeneralizableElement object)
Returns the result of interpreting the object as an instance of 'Generalizable Element'.
|
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'.
|
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.
|
T |
caseNamespace(Namespace object)
Returns the result of interpreting the object as an instance of 'Namespace'.
|
T |
caseNumericType(NumericType object)
Returns the result of interpreting the object as an instance of 'Numeric Type'.
|
T |
casePhysicalQuantity(PhysicalQuantity object)
Returns the result of interpreting the object as an instance of 'Physical Quantity'.
|
T |
casePublishableElement(PublishableElement object)
Returns the result of interpreting the object as an instance of 'Publishable Element'.
|
T |
caseStringType(StringType object)
Returns the result of interpreting the object as an instance of 'String Type'.
|
T |
caseStructure(Structure object)
Returns the result of interpreting the object as an instance of 'Structure'.
|
T |
caseTraceableElement(TraceableElement object)
Returns the result of interpreting the object as an instance of 'Traceable Element'.
|
T |
caseType(Type object)
Returns the result of interpreting the object as an instance of 'Type'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public T caseDataType(DataType object)
object - the target of the switch.doSwitch(EObject)public T caseBooleanType(BooleanType object)
object - the target of the switch.doSwitch(EObject)public T caseEnumeration(Enumeration object)
object - the target of the switch.doSwitch(EObject)public T caseStringType(StringType object)
object - the target of the switch.doSwitch(EObject)public T caseNumericType(NumericType object)
object - the target of the switch.doSwitch(EObject)public T casePhysicalQuantity(PhysicalQuantity object)
object - the target of the switch.doSwitch(EObject)public T caseElement(org.polarsys.kitalpha.emde.model.Element object)
object - the target of the switch.doSwitch(EObject)public T caseExtensibleElement(org.polarsys.kitalpha.emde.model.ExtensibleElement object)
object - the target of the switch.doSwitch(EObject)public T caseModelElement(ModelElement object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractNamedElement(AbstractNamedElement object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractType(AbstractType object)
object - the target of the switch.doSwitch(EObject)public T caseTraceableElement(TraceableElement object)
object - the target of the switch.doSwitch(EObject)public T casePublishableElement(PublishableElement object)
object - the target of the switch.doSwitch(EObject)public T caseCapellaElement(CapellaElement object)
object - the target of the switch.doSwitch(EObject)public T caseNamedElement(NamedElement object)
object - the target of the switch.doSwitch(EObject)public T caseNamespace(Namespace object)
object - the target of the switch.doSwitch(EObject)public T caseType(Type object)
object - the target of the switch.doSwitch(EObject)public T caseGeneralizableElement(GeneralizableElement object)
object - the target of the switch.doSwitch(EObject)public T caseStructure(Structure object)
object - the target of the switch.doSwitch(EObject)public T caseDataValueContainer(DataValueContainer object)
object - the target of the switch.doSwitch(EObject)public T caseFinalizableElement(FinalizableElement 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)