Class ServiceCutterConfigurationDSLSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.contextmapper.servicecutter.dsl.serviceCutterConfigurationDSL.util.ServiceCutterConfigurationDSLSwitch<T>
public class ServiceCutterConfigurationDSLSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
The Switch for the model's inheritance hierarchy.
It supports the call
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.
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static ServiceCutterConfigurationDSLPackage
The cached model package -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncaseAggregate
(Aggregate object) Returns the result of interpreting the object as an instance of 'Aggregate'.Returns the result of interpreting the object as an instance of 'Availability Criticality'.caseCharacteristic
(Characteristic object) Returns the result of interpreting the object as an instance of 'Characteristic'.caseCompatibilities
(Compatibilities object) Returns the result of interpreting the object as an instance of 'Compatibilities'.Returns the result of interpreting the object as an instance of 'Consistency Criticality'.Returns the result of interpreting the object as an instance of 'Content Volatility'.caseEntity
(Entity object) Returns the result of interpreting the object as an instance of 'Entity'.Returns the result of interpreting the object as an instance of 'Predefined Service'.caseRelatedGroup
(RelatedGroup object) Returns the result of interpreting the object as an instance of 'Related Group'.Returns the result of interpreting the object as an instance of 'Security Access Group'.Returns the result of interpreting the object as an instance of 'Security Criticality'.Returns the result of interpreting the object as an instance of 'Separated Security Zone'.Returns the result of interpreting the object as an instance of 'Service Cutter User Representations Model'.caseSharedOwnerGroup
(SharedOwnerGroup object) Returns the result of interpreting the object as an instance of 'Shared Owner Group'.Returns the result of interpreting the object as an instance of 'Storage Similarity'.Returns the result of interpreting the object as an instance of 'Structural Volatility'.caseUseCase
(UseCase object) Returns the result of interpreting the object as an instance of 'Use Case'.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) CallscaseXXX
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.Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
-
Field Details
-
modelPackage
The cached model package- Generated:
-
-
Constructor Details
-
ServiceCutterConfigurationDSLSwitch
public ServiceCutterConfigurationDSLSwitch()Creates an instance of the switch.- Generated:
-
-
Method Details
-
isSwitchFor
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
- Generated:
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitch
in classorg.eclipse.emf.ecore.util.Switch<T>
- Returns:
- the first non-null result returned by a
caseXXX
call. - Generated:
-
caseServiceCutterUserRepresentationsModel
Returns the result of interpreting the object as an instance of 'Service Cutter User Representations Model'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Service Cutter User Representations Model'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseUseCase
Returns the result of interpreting the object as an instance of 'Use Case'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Use Case'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseCompatibilities
Returns the result of interpreting the object as an instance of 'Compatibilities'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Compatibilities'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseCharacteristic
Returns the result of interpreting the object as an instance of 'Characteristic'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Characteristic'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseAvailabilityCriticality
Returns the result of interpreting the object as an instance of 'Availability Criticality'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Availability Criticality'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseConsistencyCriticality
Returns the result of interpreting the object as an instance of 'Consistency Criticality'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Consistency Criticality'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseContentVolatility
Returns the result of interpreting the object as an instance of 'Content Volatility'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Content Volatility'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseSecurityCriticality
Returns the result of interpreting the object as an instance of 'Security Criticality'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Security Criticality'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseStorageSimilarity
Returns the result of interpreting the object as an instance of 'Storage Similarity'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Storage Similarity'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseStructuralVolatility
Returns the result of interpreting the object as an instance of 'Structural Volatility'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Structural Volatility'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseRelatedGroup
Returns the result of interpreting the object as an instance of 'Related Group'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Related Group'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseAggregate
Returns the result of interpreting the object as an instance of 'Aggregate'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Aggregate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseEntity
Returns the result of interpreting the object as an instance of 'Entity'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Entity'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePredefinedService
Returns the result of interpreting the object as an instance of 'Predefined Service'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Predefined Service'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseSecurityAccessGroup
Returns the result of interpreting the object as an instance of 'Security Access Group'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Security Access Group'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseSeparatedSecurityZone
Returns the result of interpreting the object as an instance of 'Separated Security Zone'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Separated Security Zone'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
defaultCase
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
defaultCase
in classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
-
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
- Generated:
-