public class PlatformSwitch<T>
extends java.lang.Object
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.
PlatformPackage| Constructor and Description |
|---|
PlatformSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAbstractActionRelationship(AbstractActionRelationship object)
Returns the result of interpreting the object as an instance of 'Abstract Action Relationship'.
|
T |
caseAbstractPlatformElement(AbstractPlatformElement object)
Returns the result of interpreting the object as an instance of 'Abstract Platform Element'.
|
T |
caseAbstractPlatformRelationship(AbstractPlatformRelationship object)
Returns the result of interpreting the object as an instance of 'Abstract Platform Relationship'.
|
T |
caseBindsTo(BindsTo object)
Returns the result of interpreting the object as an instance of 'Binds To'.
|
T |
caseDataManager(DataManager object)
Returns the result of interpreting the object as an instance of 'Data Manager'.
|
T |
caseDefinedBy(DefinedBy object)
Returns the result of interpreting the object as an instance of 'Defined By'.
|
T |
caseDeployedComponent(DeployedComponent object)
Returns the result of interpreting the object as an instance of 'Deployed Component'.
|
T |
caseDeployedResource(DeployedResource object)
Returns the result of interpreting the object as an instance of 'Deployed Resource'.
|
T |
caseDeployedSoftwareSystem(DeployedSoftwareSystem object)
Returns the result of interpreting the object as an instance of 'Deployed Software System'.
|
T |
caseElement(Element object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseExecutionResource(ExecutionResource object)
Returns the result of interpreting the object as an instance of 'Execution Resource'.
|
T |
caseExternalActor(ExternalActor object)
Returns the result of interpreting the object as an instance of 'External Actor'.
|
T |
caseFileResource(FileResource object)
Returns the result of interpreting the object as an instance of 'File Resource'.
|
T |
caseKDMEntity(KDMEntity object)
Returns the result of interpreting the object as an instance of 'KDM Entity'.
|
T |
caseKDMFramework(KDMFramework object)
Returns the result of interpreting the object as an instance of 'KDM Framework'.
|
T |
caseKDMModel(KDMModel object)
Returns the result of interpreting the object as an instance of 'KDM Model'.
|
T |
caseKDMRelationship(KDMRelationship object)
Returns the result of interpreting the object as an instance of 'KDM Relationship'.
|
T |
caseLoads(Loads object)
Returns the result of interpreting the object as an instance of 'Loads'.
|
T |
caseLockResource(LockResource object)
Returns the result of interpreting the object as an instance of 'Lock Resource'.
|
T |
caseMachine(Machine object)
Returns the result of interpreting the object as an instance of 'Machine'.
|
T |
caseManagesResource(ManagesResource object)
Returns the result of interpreting the object as an instance of 'Manages Resource'.
|
T |
caseMarshalledResource(MarshalledResource object)
Returns the result of interpreting the object as an instance of 'Marshalled Resource'.
|
T |
caseMessagingResource(MessagingResource object)
Returns the result of interpreting the object as an instance of 'Messaging Resource'.
|
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'.
|
T |
caseNamingResource(NamingResource object)
Returns the result of interpreting the object as an instance of 'Naming Resource'.
|
T |
casePlatformAction(PlatformAction object)
Returns the result of interpreting the object as an instance of 'Action'.
|
T |
casePlatformElement(PlatformElement object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
casePlatformEvent(PlatformEvent object)
Returns the result of interpreting the object as an instance of 'Event'.
|
T |
casePlatformModel(PlatformModel object)
Returns the result of interpreting the object as an instance of 'Model'.
|
T |
casePlatformRelationship(PlatformRelationship object)
Returns the result of interpreting the object as an instance of 'Relationship'.
|
T |
caseProcess(Process object)
Returns the result of interpreting the object as an instance of 'Process'.
|
T |
caseReadsResource(ReadsResource object)
Returns the result of interpreting the object as an instance of 'Reads Resource'.
|
T |
caseRequires(Requires object)
Returns the result of interpreting the object as an instance of 'Requires'.
|
T |
caseResourceType(ResourceType object)
Returns the result of interpreting the object as an instance of 'Resource Type'.
|
T |
caseRuntimeResource(RuntimeResource object)
Returns the result of interpreting the object as an instance of 'Runtime Resource'.
|
T |
caseSpawns(Spawns object)
Returns the result of interpreting the object as an instance of 'Spawns'.
|
T |
caseStreamResource(StreamResource object)
Returns the result of interpreting the object as an instance of 'Stream Resource'.
|
T |
caseThread(Thread object)
Returns the result of interpreting the object as an instance of 'Thread'.
|
T |
caseWritesResource(WritesResource object)
Returns the result of interpreting the object as an instance of 'Writes Resource'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
T |
doSwitch(EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
public PlatformSwitch()
public T doSwitch(EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public T caseAbstractPlatformElement(AbstractPlatformElement object)
object - the target of the switch.doSwitch(EObject)public T casePlatformModel(PlatformModel object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractPlatformRelationship(AbstractPlatformRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseRequires(Requires object)
object - the target of the switch.doSwitch(EObject)public T caseResourceType(ResourceType object)
object - the target of the switch.doSwitch(EObject)public T caseNamingResource(NamingResource object)
object - the target of the switch.doSwitch(EObject)public T caseMarshalledResource(MarshalledResource object)
object - the target of the switch.doSwitch(EObject)public T caseMessagingResource(MessagingResource object)
object - the target of the switch.doSwitch(EObject)public T caseFileResource(FileResource object)
object - the target of the switch.doSwitch(EObject)public T caseExecutionResource(ExecutionResource object)
object - the target of the switch.doSwitch(EObject)public T casePlatformAction(PlatformAction object)
object - the target of the switch.doSwitch(EObject)public T caseExternalActor(ExternalActor object)
object - the target of the switch.doSwitch(EObject)public T caseDataManager(DataManager object)
object - the target of the switch.doSwitch(EObject)public T caseBindsTo(BindsTo object)
object - the target of the switch.doSwitch(EObject)public T casePlatformElement(PlatformElement object)
object - the target of the switch.doSwitch(EObject)public T casePlatformRelationship(PlatformRelationship object)
object - the target of the switch.doSwitch(EObject)public T casePlatformEvent(PlatformEvent object)
object - the target of the switch.doSwitch(EObject)public T caseLockResource(LockResource object)
object - the target of the switch.doSwitch(EObject)public T caseDeployedSoftwareSystem(DeployedSoftwareSystem object)
object - the target of the switch.doSwitch(EObject)public T caseMachine(Machine object)
object - the target of the switch.doSwitch(EObject)public T caseDeployedComponent(DeployedComponent object)
object - the target of the switch.doSwitch(EObject)public T caseDeployedResource(DeployedResource object)
object - the target of the switch.doSwitch(EObject)public T caseLoads(Loads object)
object - the target of the switch.doSwitch(EObject)public T caseSpawns(Spawns object)
object - the target of the switch.doSwitch(EObject)public T caseRuntimeResource(RuntimeResource object)
object - the target of the switch.doSwitch(EObject)public T caseThread(Thread object)
object - the target of the switch.doSwitch(EObject)public T caseProcess(Process object)
object - the target of the switch.doSwitch(EObject)public T caseReadsResource(ReadsResource object)
object - the target of the switch.doSwitch(EObject)public T caseWritesResource(WritesResource object)
object - the target of the switch.doSwitch(EObject)public T caseManagesResource(ManagesResource object)
object - the target of the switch.doSwitch(EObject)public T caseDefinedBy(DefinedBy object)
object - the target of the switch.doSwitch(EObject)public T caseStreamResource(StreamResource object)
object - the target of the switch.doSwitch(EObject)public T caseElement(Element object)
object - the target of the switch.doSwitch(EObject)public T caseModelElement(ModelElement object)
object - the target of the switch.doSwitch(EObject)public T caseKDMEntity(KDMEntity object)
object - the target of the switch.doSwitch(EObject)public T caseKDMFramework(KDMFramework object)
object - the target of the switch.doSwitch(EObject)public T caseKDMModel(KDMModel object)
object - the target of the switch.doSwitch(EObject)public T caseKDMRelationship(KDMRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractActionRelationship(AbstractActionRelationship object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(EObject object)
object - the target of the switch.#doSwitch(org.eclipse.emf.ecore.EObject)