public class SharedmodelSwitch<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.
SharedmodelPackage| Constructor and Description |
|---|
SharedmodelSwitch()
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 |
caseCapellaElement(CapellaElement object)
Returns the result of interpreting the object as an instance of 'Capella Element'.
|
T |
caseElement(org.polarsys.kitalpha.emde.model.Element object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseExtensibleElement(org.polarsys.kitalpha.emde.model.ExtensibleElement object)
Returns the result of interpreting the object as an instance of 'Extensible Element'.
|
T |
caseGenericPkg(GenericPkg object)
Returns the result of interpreting the object as an instance of 'Generic Pkg'.
|
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'.
|
T |
caseModelRoot(ModelRoot object)
Returns the result of interpreting the object as an instance of 'Model Root'.
|
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 |
casePublishableElement(PublishableElement object)
Returns the result of interpreting the object as an instance of 'Publishable Element'.
|
T |
caseReuseableStructure(ReuseableStructure object)
Returns the result of interpreting the object as an instance of 'Reuseable Structure'.
|
T |
caseSharedPkg(SharedPkg object)
Returns the result of interpreting the object as an instance of 'Shared Pkg'.
|
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 |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public T caseSharedPkg(SharedPkg object)
object - the target of the switch.doSwitch(EObject)public T caseGenericPkg(GenericPkg 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 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 caseStructure(Structure object)
object - the target of the switch.doSwitch(EObject)public T caseReuseableStructure(ReuseableStructure object)
object - the target of the switch.doSwitch(EObject)public T caseModelRoot(ModelRoot 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)