public class ConfigurationSwitch<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.
ConfigurationPackage
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
protected static ConfigurationPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
ConfigurationSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseCommandType(CommandType object)
Returns the result of interpreting the object as an instance of 'Command Type'.
|
T |
caseContinuousCommandType(ContinuousCommandType object)
Returns the result of interpreting the object as an instance of 'Continuous Command Type'.
|
T |
caseCustomExtractorType(CustomExtractorType object)
Returns the result of interpreting the object as an instance of 'Custom Extractor Type'.
|
T |
caseDocumentRoot(DocumentRoot object)
Returns the result of interpreting the object as an instance of 'Document Root'.
|
T |
caseEnvEntryType(EnvEntryType object)
Returns the result of interpreting the object as an instance of 'Env Entry Type'.
|
T |
caseExtractorType(ExtractorType object)
Returns the result of interpreting the object as an instance of 'Extractor Type'.
|
T |
caseFieldExtractorType(FieldExtractorType object)
Returns the result of interpreting the object as an instance of 'Field Extractor Type'.
|
T |
caseFieldType(FieldType object)
Returns the result of interpreting the object as an instance of 'Field Type'.
|
T |
caseHiveProcessCommandType(HiveProcessCommandType object)
Returns the result of interpreting the object as an instance of 'Hive Process Command Type'.
|
T |
caseNagiosReturnCodeExtractorType(NagiosReturnCodeExtractorType object)
Returns the result of interpreting the object as an instance of 'Nagios Return Code Extractor Type'.
|
T |
casePlainStreamExtractorType(PlainStreamExtractorType object)
Returns the result of interpreting the object as an instance of 'Plain Stream Extractor Type'.
|
T |
caseProcessType(ProcessType object)
Returns the result of interpreting the object as an instance of 'Process Type'.
|
T |
caseQueueType(QueueType object)
Returns the result of interpreting the object as an instance of 'Queue Type'.
|
T |
caseRegExExtractorType(RegExExtractorType object)
Returns the result of interpreting the object as an instance of 'Reg Ex Extractor Type'.
|
T |
caseReturnCodeExtractorType(ReturnCodeExtractorType object)
Returns the result of interpreting the object as an instance of 'Return Code Extractor Type'.
|
T |
caseRootType(RootType object)
Returns the result of interpreting the object as an instance of 'Root Type'.
|
T |
caseSimpleExtractorType(SimpleExtractorType object)
Returns the result of interpreting the object as an instance of 'Simple Extractor Type'.
|
T |
caseSingleCommandType(SingleCommandType object)
Returns the result of interpreting the object as an instance of 'Single Command Type'.
|
T |
caseSplitContinuousCommandType(SplitContinuousCommandType object)
Returns the result of interpreting the object as an instance of 'Split Continuous Command Type'.
|
T |
caseSplitterExtractorType(SplitterExtractorType object)
Returns the result of interpreting the object as an instance of 'Splitter Extractor Type'.
|
T |
caseSplitterType(SplitterType object)
Returns the result of interpreting the object as an instance of 'Splitter Type'.
|
T |
caseTriggerCommandType(TriggerCommandType object)
Returns the result of interpreting the object as an instance of 'Trigger Command Type'.
|
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.
|
public static final String copyright
protected static ConfigurationPackage modelPackage
public ConfigurationSwitch()
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 caseCommandType(CommandType object)
object
- the target of the switch.doSwitch(EObject)
public T caseContinuousCommandType(ContinuousCommandType object)
object
- the target of the switch.doSwitch(EObject)
public T caseCustomExtractorType(CustomExtractorType object)
object
- the target of the switch.doSwitch(EObject)
public T caseDocumentRoot(DocumentRoot object)
object
- the target of the switch.doSwitch(EObject)
public T caseEnvEntryType(EnvEntryType object)
object
- the target of the switch.doSwitch(EObject)
public T caseExtractorType(ExtractorType object)
object
- the target of the switch.doSwitch(EObject)
public T caseFieldExtractorType(FieldExtractorType object)
object
- the target of the switch.doSwitch(EObject)
public T caseFieldType(FieldType object)
object
- the target of the switch.doSwitch(EObject)
public T caseHiveProcessCommandType(HiveProcessCommandType object)
object
- the target of the switch.doSwitch(EObject)
public T caseNagiosReturnCodeExtractorType(NagiosReturnCodeExtractorType object)
object
- the target of the switch.doSwitch(EObject)
public T casePlainStreamExtractorType(PlainStreamExtractorType object)
object
- the target of the switch.doSwitch(EObject)
public T caseProcessType(ProcessType object)
object
- the target of the switch.doSwitch(EObject)
public T caseQueueType(QueueType object)
object
- the target of the switch.doSwitch(EObject)
public T caseRegExExtractorType(RegExExtractorType object)
object
- the target of the switch.doSwitch(EObject)
public T caseReturnCodeExtractorType(ReturnCodeExtractorType object)
object
- the target of the switch.doSwitch(EObject)
public T caseRootType(RootType object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleExtractorType(SimpleExtractorType object)
object
- the target of the switch.doSwitch(EObject)
public T caseSingleCommandType(SingleCommandType object)
object
- the target of the switch.doSwitch(EObject)
public T caseSplitContinuousCommandType(SplitContinuousCommandType object)
object
- the target of the switch.doSwitch(EObject)
public T caseSplitterExtractorType(SplitterExtractorType object)
object
- the target of the switch.doSwitch(EObject)
public T caseSplitterType(SplitterType object)
object
- the target of the switch.doSwitch(EObject)
public T caseTriggerCommandType(TriggerCommandType 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)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.