public class InfrastructureSwitch<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.
InfrastructurePackage
Modifier and Type | Field and Description |
---|---|
protected static InfrastructurePackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
InfrastructureSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAbstractFactoryDriver(AbstractFactoryDriver object)
Returns the result of interpreting the object as an instance of 'Abstract Factory Driver'.
|
T |
caseApplication(Application object)
Returns the result of interpreting the object as an instance of 'Application'.
|
T |
caseApplicationConfiguration(ApplicationConfiguration object)
Returns the result of interpreting the object as an instance of 'Application Configuration'.
|
T |
caseCommonDriver(CommonDriver object)
Returns the result of interpreting the object as an instance of 'Common Driver'.
|
T |
caseConfigurations(Configurations object)
Returns the result of interpreting the object as an instance of 'Configurations'.
|
T |
caseDevice(Device object)
Returns the result of interpreting the object as an instance of 'Device'.
|
T |
caseDocumentable(Documentable object)
Returns the result of interpreting the object as an instance of 'Documentable'.
|
T |
caseDriver(Driver object)
Returns the result of interpreting the object as an instance of 'Driver'.
|
T |
caseEquinoxApplication(EquinoxApplication object)
Returns the result of interpreting the object as an instance of 'Equinox Application'.
|
T |
caseEquinoxDriver(EquinoxDriver object)
Returns the result of interpreting the object as an instance of 'Equinox Driver'.
|
T |
caseExternalDriver(ExternalDriver object)
Returns the result of interpreting the object as an instance of 'External Driver'.
|
T |
caseExternalDriverPlaceholder(ExternalDriverPlaceholder object)
Returns the result of interpreting the object as an instance of 'External Driver Placeholder'.
|
T |
caseExternalNode(ExternalNode object)
Returns the result of interpreting the object as an instance of 'External Node'.
|
T |
caseHttpServiceModule(HttpServiceModule object)
Returns the result of interpreting the object as an instance of 'Http Service Module'.
|
T |
caseJdbcUserService(JdbcUserService object)
Returns the result of interpreting the object as an instance of 'Jdbc User Service'.
|
T |
caseMasterImport(MasterImport object)
Returns the result of interpreting the object as an instance of 'Master Import'.
|
T |
caseMasterServer(MasterServer object)
Returns the result of interpreting the object as an instance of 'Master Server'.
|
T |
caseModule(Module object)
Returns the result of interpreting the object as an instance of 'Module'.
|
T |
caseNamedDocumentable(NamedDocumentable object)
Returns the result of interpreting the object as an instance of 'Named Documentable'.
|
T |
caseNode(Node object)
Returns the result of interpreting the object as an instance of 'Node'.
|
T |
caseOptions(Options object)
Returns the result of interpreting the object as an instance of 'Options'.
|
T |
caseRestExporterModule(RestExporterModule object)
Returns the result of interpreting the object as an instance of 'Rest Exporter Module'.
|
T |
caseSystemNode(SystemNode object)
Returns the result of interpreting the object as an instance of 'System Node'.
|
T |
caseSystemPropertyUserService(SystemPropertyUserService object)
Returns the result of interpreting the object as an instance of 'System Property User Service'.
|
T |
caseUserEntry(UserEntry object)
Returns the result of interpreting the object as an instance of 'User Entry'.
|
T |
caseUserService(UserService object)
Returns the result of interpreting the object as an instance of 'User Service'.
|
T |
caseValueArchiveServer(ValueArchiveServer object)
Returns the result of interpreting the object as an instance of 'Value Archive Server'.
|
T |
caseValueArchiveSlave(ValueArchiveSlave object)
Returns the result of interpreting the object as an instance of 'Value Archive Slave'.
|
T |
caseWorld_Driver(Driver object)
Returns the result of interpreting the object as an instance of 'Driver'.
|
T |
caseWorld(World object)
Returns the result of interpreting the object as an instance of 'World'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static InfrastructurePackage modelPackage
public InfrastructureSwitch()
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T>
caseXXX
call.public T caseWorld(World object)
object
- the target of the switch.doSwitch(EObject)
public T caseNode(Node object)
object
- the target of the switch.doSwitch(EObject)
public T caseMasterServer(MasterServer object)
object
- the target of the switch.doSwitch(EObject)
public T caseMasterImport(MasterImport object)
object
- the target of the switch.doSwitch(EObject)
public T caseOptions(Options object)
object
- the target of the switch.doSwitch(EObject)
public T caseEquinoxApplication(EquinoxApplication object)
object
- the target of the switch.doSwitch(EObject)
public T caseCommonDriver(CommonDriver object)
object
- the target of the switch.doSwitch(EObject)
public T caseExternalNode(ExternalNode object)
object
- the target of the switch.doSwitch(EObject)
public T caseSystemNode(SystemNode object)
object
- the target of the switch.doSwitch(EObject)
public T caseSystemPropertyUserService(SystemPropertyUserService object)
object
- the target of the switch.doSwitch(EObject)
public T caseUserEntry(UserEntry object)
object
- the target of the switch.doSwitch(EObject)
public T caseUserService(UserService object)
object
- the target of the switch.doSwitch(EObject)
public T caseJdbcUserService(JdbcUserService object)
object
- the target of the switch.doSwitch(EObject)
public T caseValueArchiveServer(ValueArchiveServer object)
object
- the target of the switch.doSwitch(EObject)
public T caseAbstractFactoryDriver(AbstractFactoryDriver object)
object
- the target of the switch.doSwitch(EObject)
public T caseDevice(Device object)
object
- the target of the switch.doSwitch(EObject)
public T caseEquinoxDriver(EquinoxDriver object)
object
- the target of the switch.doSwitch(EObject)
public T caseExternalDriver(ExternalDriver object)
object
- the target of the switch.doSwitch(EObject)
public T caseDriver(Driver object)
object
- the target of the switch.doSwitch(EObject)
public T caseExternalDriverPlaceholder(ExternalDriverPlaceholder object)
object
- the target of the switch.doSwitch(EObject)
public T caseApplicationConfiguration(ApplicationConfiguration object)
object
- the target of the switch.doSwitch(EObject)
public T caseConfigurations(Configurations object)
object
- the target of the switch.doSwitch(EObject)
public T caseModule(Module object)
object
- the target of the switch.doSwitch(EObject)
public T caseHttpServiceModule(HttpServiceModule object)
object
- the target of the switch.doSwitch(EObject)
public T caseRestExporterModule(RestExporterModule object)
object
- the target of the switch.doSwitch(EObject)
public T caseValueArchiveSlave(ValueArchiveSlave object)
object
- the target of the switch.doSwitch(EObject)
public T caseDocumentable(Documentable object)
object
- the target of the switch.doSwitch(EObject)
public T caseNamedDocumentable(NamedDocumentable object)
object
- the target of the switch.doSwitch(EObject)
public T caseApplication(Application object)
object
- the target of the switch.doSwitch(EObject)
public T caseWorld_Driver(Driver 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)