public class DeploymentSwitch<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.
DeploymentPackage
Modifier and Type | Field and Description |
---|---|
protected static DeploymentPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
DeploymentSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAuthor(Author object)
Returns the result of interpreting the object as an instance of 'Author'.
|
T |
caseChangeEntry(ChangeEntry object)
Returns the result of interpreting the object as an instance of 'Change Entry'.
|
T |
caseCommonDeploymentMechanism(CommonDeploymentMechanism object)
Returns the result of interpreting the object as an instance of 'Common Deployment Mechanism'.
|
T |
caseDebianDeploymentMechanism(DebianDeploymentMechanism object)
Returns the result of interpreting the object as an instance of 'Debian Deployment Mechanism'.
|
T |
caseDeploymentInformation(DeploymentInformation object)
Returns the result of interpreting the object as an instance of 'Information'.
|
T |
caseDeploymentMechanism(DeploymentMechanism object)
Returns the result of interpreting the object as an instance of 'Mechanism'.
|
T |
caseExpressionNodeMappingEntry(ExpressionNodeMappingEntry object)
Returns the result of interpreting the object as an instance of 'Expression Node Mapping Entry'.
|
T |
caseMappingEntry(MappingEntry object)
Returns the result of interpreting the object as an instance of 'Mapping Entry'.
|
T |
caseMappings(Mappings object)
Returns the result of interpreting the object as an instance of 'Mappings'.
|
T |
caseMsiDeploymentMechanism(MsiDeploymentMechanism object)
Returns the result of interpreting the object as an instance of 'Msi Deployment Mechanism'.
|
T |
caseNodeMappings(NodeMappings object)
Returns the result of interpreting the object as an instance of 'Node Mappings'.
|
T |
caseP2Platform(P2Platform object)
Returns the result of interpreting the object as an instance of 'P2 Platform'.
|
T |
caseRedhatDeploymentMechanism(RedhatDeploymentMechanism object)
Returns the result of interpreting the object as an instance of 'Redhat Deployment Mechanism'.
|
T |
caseSimpleNodeMappingEntry(SimpleNodeMappingEntry object)
Returns the result of interpreting the object as an instance of 'Simple Node Mapping Entry'.
|
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 DeploymentPackage modelPackage
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
ePackage
- the package in question.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 caseDeploymentMechanism(DeploymentMechanism object)
object
- the target of the switch.doSwitch(EObject)
public T caseDebianDeploymentMechanism(DebianDeploymentMechanism object)
object
- the target of the switch.doSwitch(EObject)
public T caseAuthor(Author object)
object
- the target of the switch.doSwitch(EObject)
public T caseRedhatDeploymentMechanism(RedhatDeploymentMechanism object)
object
- the target of the switch.doSwitch(EObject)
public T caseDeploymentInformation(DeploymentInformation object)
object
- the target of the switch.doSwitch(EObject)
public T caseCommonDeploymentMechanism(CommonDeploymentMechanism object)
object
- the target of the switch.doSwitch(EObject)
public T caseChangeEntry(ChangeEntry object)
object
- the target of the switch.doSwitch(EObject)
public T caseNodeMappings(NodeMappings object)
object
- the target of the switch.doSwitch(EObject)
public T caseExpressionNodeMappingEntry(ExpressionNodeMappingEntry object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingEntry(MappingEntry object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleNodeMappingEntry(SimpleNodeMappingEntry object)
object
- the target of the switch.doSwitch(EObject)
public T caseMsiDeploymentMechanism(MsiDeploymentMechanism object)
object
- the target of the switch.doSwitch(EObject)
public T caseP2Platform(P2Platform object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappings(Mappings 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)