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 calldoSwitch(object)
to invoke thecaseXXX
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:
ServiceCutterConfigurationDSLPackage
- Generated:
-
-
Field Summary
Fields Modifier and Type Field Description protected static ServiceCutterConfigurationDSLPackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description ServiceCutterConfigurationDSLSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseAggregate(Aggregate object)
Returns the result of interpreting the object as an instance of 'Aggregate'.T
caseAvailabilityCriticality(AvailabilityCriticality object)
Returns the result of interpreting the object as an instance of 'Availability Criticality'.T
caseCharacteristic(Characteristic object)
Returns the result of interpreting the object as an instance of 'Characteristic'.T
caseCompatibilities(Compatibilities object)
Returns the result of interpreting the object as an instance of 'Compatibilities'.T
caseConsistencyCriticality(ConsistencyCriticality object)
Returns the result of interpreting the object as an instance of 'Consistency Criticality'.T
caseContentVolatility(ContentVolatility object)
Returns the result of interpreting the object as an instance of 'Content Volatility'.T
caseEntity(Entity object)
Returns the result of interpreting the object as an instance of 'Entity'.T
casePredefinedService(PredefinedService object)
Returns the result of interpreting the object as an instance of 'Predefined Service'.T
caseRelatedGroup(RelatedGroup object)
Returns the result of interpreting the object as an instance of 'Related Group'.T
caseSecurityAccessGroup(SecurityAccessGroup object)
Returns the result of interpreting the object as an instance of 'Security Access Group'.T
caseSecurityCriticality(SecurityCriticality object)
Returns the result of interpreting the object as an instance of 'Security Criticality'.T
caseSeparatedSecurityZone(SeparatedSecurityZone object)
Returns the result of interpreting the object as an instance of 'Separated Security Zone'.T
caseServiceCutterUserRepresentationsModel(ServiceCutterUserRepresentationsModel object)
Returns the result of interpreting the object as an instance of 'Service Cutter User Representations Model'.T
caseSharedOwnerGroup(SharedOwnerGroup object)
Returns the result of interpreting the object as an instance of 'Shared Owner Group'.T
caseStorageSimilarity(StorageSimilarity object)
Returns the result of interpreting the object as an instance of 'Storage Similarity'.T
caseStructuralVolatility(StructuralVolatility object)
Returns the result of interpreting the object as an instance of 'Structural Volatility'.T
caseUseCase(UseCase object)
Returns the result of interpreting the object as an instance of 'Use Case'.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)
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.
-
-
-
Field Detail
-
modelPackage
protected static ServiceCutterConfigurationDSLPackage modelPackage
The cached model package- Generated:
-
-
Method Detail
-
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
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.- Overrides:
doSwitch
in classorg.eclipse.emf.ecore.util.Switch<T>
- Returns:
- the first non-null result returned by a
caseXXX
call. - Generated:
-
caseServiceCutterUserRepresentationsModel
public T caseServiceCutterUserRepresentationsModel(ServiceCutterUserRepresentationsModel object)
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
public T caseUseCase(UseCase object)
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
public T caseCompatibilities(Compatibilities object)
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
public T caseCharacteristic(Characteristic object)
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
public T caseAvailabilityCriticality(AvailabilityCriticality object)
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
public T caseConsistencyCriticality(ConsistencyCriticality object)
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
public T caseContentVolatility(ContentVolatility object)
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
public T caseSecurityCriticality(SecurityCriticality object)
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
public T caseStorageSimilarity(StorageSimilarity object)
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
public T caseStructuralVolatility(StructuralVolatility object)
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
public T caseRelatedGroup(RelatedGroup object)
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
public T caseAggregate(Aggregate object)
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
public T caseEntity(Entity object)
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
public T casePredefinedService(PredefinedService object)
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
public T caseSecurityAccessGroup(SecurityAccessGroup object)
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
public T caseSeparatedSecurityZone(SeparatedSecurityZone object)
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:
-
caseSharedOwnerGroup
public T caseSharedOwnerGroup(SharedOwnerGroup object)
Returns the result of interpreting the object as an instance of 'Shared Owner 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 'Shared Owner Group'.
- See Also:
doSwitch(EObject)
- Generated:
-
defaultCase
public T defaultCase(org.eclipse.emf.ecore.EObject object)
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:
-
-