public class DatamodelSwitch<T1> extends Switch<T1>
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.
DatamodelPackage| Constructor and Description |
|---|
DatamodelSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T1 |
caseCollectionDataObject(CollectionDataObject object)
Returns the result of interpreting the object as an instance of 'Collection Data Object'.
|
T1 |
caseCompositeDataObject(CompositeDataObject object)
Returns the result of interpreting the object as an instance of 'Composite Data Object'.
|
T1 |
caseDataModel(DataModel object)
Returns the result of interpreting the object as an instance of 'Data Model'.
|
<T extends org.palladiosimulator.pcm.repository.DataType> |
caseDataObject(DataObject<T> object)
Returns the result of interpreting the object as an instance of 'Data Object'.
|
T1 |
caseEntity(org.palladiosimulator.pcm.core.entity.Entity object)
Returns the result of interpreting the object as an instance of 'Entity'.
|
T1 |
caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.
|
T1 |
caseInnerDataObjectDeclaration(InnerDataObjectDeclaration object)
Returns the result of interpreting the object as an instance of 'Inner Data Object Declaration'.
|
T1 |
caseNamedElement(org.palladiosimulator.pcm.core.entity.NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.
|
T1 |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public DatamodelSwitch()
public <T extends org.palladiosimulator.pcm.repository.DataType> T1 caseDataObject(DataObject<T> object)
object - the target of the switch.doSwitch(EObject)public T1 caseCollectionDataObject(CollectionDataObject object)
object - the target of the switch.doSwitch(EObject)public T1 caseCompositeDataObject(CompositeDataObject object)
object - the target of the switch.doSwitch(EObject)public T1 caseDataModel(DataModel object)
object - the target of the switch.doSwitch(EObject)public T1 caseInnerDataObjectDeclaration(InnerDataObjectDeclaration object)
object - the target of the switch.doSwitch(EObject)public T1 caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
object - the target of the switch.doSwitch(EObject)public T1 caseNamedElement(org.palladiosimulator.pcm.core.entity.NamedElement object)
object - the target of the switch.doSwitch(EObject)public T1 caseEntity(org.palladiosimulator.pcm.core.entity.Entity object)
object - the target of the switch.doSwitch(EObject)public T1 defaultCase(EObject object)
defaultCase in class Switch<T1>object - the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)