| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package de.uka.ipd.sdq.pcm.designdecision.util; |
| 8 | |
| 9 | import de.uka.ipd.sdq.pcm.designdecision.*; |
| 10 | |
| 11 | import java.util.List; |
| 12 | |
| 13 | import org.eclipse.emf.ecore.EClass; |
| 14 | import org.eclipse.emf.ecore.EObject; |
| 15 | |
| 16 | /** |
| 17 | * <!-- begin-user-doc --> |
| 18 | * The <b>Switch</b> for the model's inheritance hierarchy. |
| 19 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} |
| 20 | * to invoke the <code>caseXXX</code> method for each class of the model, |
| 21 | * starting with the actual class of the object |
| 22 | * and proceeding up the inheritance hierarchy |
| 23 | * until a non-null result is returned, |
| 24 | * which is the result of the switch. |
| 25 | * <!-- end-user-doc --> |
| 26 | * @see de.uka.ipd.sdq.pcm.designdecision.designdecisionPackage |
| 27 | * @generated |
| 28 | */ |
| 29 | public class designdecisionSwitch<T> { |
| 30 | /** |
| 31 | * The cached model package |
| 32 | * <!-- begin-user-doc --> |
| 33 | * <!-- end-user-doc --> |
| 34 | * @generated |
| 35 | */ |
| 36 | protected static designdecisionPackage modelPackage; |
| 37 | |
| 38 | /** |
| 39 | * Creates an instance of the switch. |
| 40 | * <!-- begin-user-doc --> |
| 41 | * <!-- end-user-doc --> |
| 42 | * @generated |
| 43 | */ |
| 44 | public designdecisionSwitch() { |
| 45 | if (modelPackage == null) { |
| 46 | modelPackage = designdecisionPackage.eINSTANCE; |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
| 52 | * <!-- begin-user-doc --> |
| 53 | * <!-- end-user-doc --> |
| 54 | * @return the first non-null result returned by a <code>caseXXX</code> call. |
| 55 | * @generated |
| 56 | */ |
| 57 | public T doSwitch(EObject theEObject) { |
| 58 | return doSwitch(theEObject.eClass(), theEObject); |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
| 63 | * <!-- begin-user-doc --> |
| 64 | * <!-- end-user-doc --> |
| 65 | * @return the first non-null result returned by a <code>caseXXX</code> call. |
| 66 | * @generated |
| 67 | */ |
| 68 | protected T doSwitch(EClass theEClass, EObject theEObject) { |
| 69 | if (theEClass.eContainer() == modelPackage) { |
| 70 | return doSwitch(theEClass.getClassifierID(), theEObject); |
| 71 | } |
| 72 | else { |
| 73 | List<EClass> eSuperTypes = theEClass.getESuperTypes(); |
| 74 | return |
| 75 | eSuperTypes.isEmpty() ? |
| 76 | defaultCase(theEObject) : |
| 77 | doSwitch(eSuperTypes.get(0), theEObject); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
| 83 | * <!-- begin-user-doc --> |
| 84 | * <!-- end-user-doc --> |
| 85 | * @return the first non-null result returned by a <code>caseXXX</code> call. |
| 86 | * @generated |
| 87 | */ |
| 88 | protected T doSwitch(int classifierID, EObject theEObject) { |
| 89 | switch (classifierID) { |
| 90 | case designdecisionPackage.DEGREE_OF_FREEDOM_INSTANCE: { |
| 91 | DegreeOfFreedomInstance degreeOfFreedomInstance = (DegreeOfFreedomInstance)theEObject; |
| 92 | T result = caseDegreeOfFreedomInstance(degreeOfFreedomInstance); |
| 93 | if (result == null) result = defaultCase(theEObject); |
| 94 | return result; |
| 95 | } |
| 96 | case designdecisionPackage.CHOICE: { |
| 97 | Choice choice = (Choice)theEObject; |
| 98 | T result = caseChoice(choice); |
| 99 | if (result == null) result = defaultCase(theEObject); |
| 100 | return result; |
| 101 | } |
| 102 | case designdecisionPackage.RANGE_DEGREE: { |
| 103 | RangeDegree rangeDegree = (RangeDegree)theEObject; |
| 104 | T result = caseRangeDegree(rangeDegree); |
| 105 | if (result == null) result = caseDataTypeDegree(rangeDegree); |
| 106 | if (result == null) result = caseDegreeOfFreedomInstance(rangeDegree); |
| 107 | if (result == null) result = defaultCase(theEObject); |
| 108 | return result; |
| 109 | } |
| 110 | case designdecisionPackage.DATA_TYPE_DEGREE: { |
| 111 | DataTypeDegree dataTypeDegree = (DataTypeDegree)theEObject; |
| 112 | T result = caseDataTypeDegree(dataTypeDegree); |
| 113 | if (result == null) result = caseDegreeOfFreedomInstance(dataTypeDegree); |
| 114 | if (result == null) result = defaultCase(theEObject); |
| 115 | return result; |
| 116 | } |
| 117 | case designdecisionPackage.CLASS_DEGREE: { |
| 118 | ClassDegree classDegree = (ClassDegree)theEObject; |
| 119 | T result = caseClassDegree(classDegree); |
| 120 | if (result == null) result = caseDegreeOfFreedomInstance(classDegree); |
| 121 | if (result == null) result = defaultCase(theEObject); |
| 122 | return result; |
| 123 | } |
| 124 | case designdecisionPackage.CLASS_CHOICE: { |
| 125 | ClassChoice classChoice = (ClassChoice)theEObject; |
| 126 | T result = caseClassChoice(classChoice); |
| 127 | if (result == null) result = caseChoice(classChoice); |
| 128 | if (result == null) result = defaultCase(theEObject); |
| 129 | return result; |
| 130 | } |
| 131 | case designdecisionPackage.CONTINOUS_RANGE_CHOICE: { |
| 132 | ContinousRangeChoice continousRangeChoice = (ContinousRangeChoice)theEObject; |
| 133 | T result = caseContinousRangeChoice(continousRangeChoice); |
| 134 | if (result == null) result = caseChoice(continousRangeChoice); |
| 135 | if (result == null) result = defaultCase(theEObject); |
| 136 | return result; |
| 137 | } |
| 138 | case designdecisionPackage.CONTINUOUS_PROCESSING_RATE_DEGREE: { |
| 139 | ContinuousProcessingRateDegree continuousProcessingRateDegree = (ContinuousProcessingRateDegree)theEObject; |
| 140 | T result = caseContinuousProcessingRateDegree(continuousProcessingRateDegree); |
| 141 | if (result == null) result = caseContinuousRangeDegree(continuousProcessingRateDegree); |
| 142 | if (result == null) result = caseProcessingRateDegree(continuousProcessingRateDegree); |
| 143 | if (result == null) result = caseRangeDegree(continuousProcessingRateDegree); |
| 144 | if (result == null) result = caseProcessingResourceDegree(continuousProcessingRateDegree); |
| 145 | if (result == null) result = caseDataTypeDegree(continuousProcessingRateDegree); |
| 146 | if (result == null) result = caseDegreeOfFreedomInstance(continuousProcessingRateDegree); |
| 147 | if (result == null) result = defaultCase(theEObject); |
| 148 | return result; |
| 149 | } |
| 150 | case designdecisionPackage.CONTINUOUS_RANGE_DEGREE: { |
| 151 | ContinuousRangeDegree continuousRangeDegree = (ContinuousRangeDegree)theEObject; |
| 152 | T result = caseContinuousRangeDegree(continuousRangeDegree); |
| 153 | if (result == null) result = caseRangeDegree(continuousRangeDegree); |
| 154 | if (result == null) result = caseDataTypeDegree(continuousRangeDegree); |
| 155 | if (result == null) result = caseDegreeOfFreedomInstance(continuousRangeDegree); |
| 156 | if (result == null) result = defaultCase(theEObject); |
| 157 | return result; |
| 158 | } |
| 159 | case designdecisionPackage.PROCESSING_RATE_DEGREE: { |
| 160 | ProcessingRateDegree processingRateDegree = (ProcessingRateDegree)theEObject; |
| 161 | T result = caseProcessingRateDegree(processingRateDegree); |
| 162 | if (result == null) result = caseProcessingResourceDegree(processingRateDegree); |
| 163 | if (result == null) result = caseDegreeOfFreedomInstance(processingRateDegree); |
| 164 | if (result == null) result = defaultCase(theEObject); |
| 165 | return result; |
| 166 | } |
| 167 | case designdecisionPackage.PROCESSING_RESOURCE_DEGREE: { |
| 168 | ProcessingResourceDegree processingResourceDegree = (ProcessingResourceDegree)theEObject; |
| 169 | T result = caseProcessingResourceDegree(processingResourceDegree); |
| 170 | if (result == null) result = caseDegreeOfFreedomInstance(processingResourceDegree); |
| 171 | if (result == null) result = defaultCase(theEObject); |
| 172 | return result; |
| 173 | } |
| 174 | case designdecisionPackage.ALLOCATION_DEGREE: { |
| 175 | AllocationDegree allocationDegree = (AllocationDegree)theEObject; |
| 176 | T result = caseAllocationDegree(allocationDegree); |
| 177 | if (result == null) result = caseClassAsReferenceDegree(allocationDegree); |
| 178 | if (result == null) result = caseClassDegree(allocationDegree); |
| 179 | if (result == null) result = caseDegreeOfFreedomInstance(allocationDegree); |
| 180 | if (result == null) result = defaultCase(theEObject); |
| 181 | return result; |
| 182 | } |
| 183 | case designdecisionPackage.CLASS_AS_REFERENCE_DEGREE: { |
| 184 | ClassAsReferenceDegree classAsReferenceDegree = (ClassAsReferenceDegree)theEObject; |
| 185 | T result = caseClassAsReferenceDegree(classAsReferenceDegree); |
| 186 | if (result == null) result = caseClassDegree(classAsReferenceDegree); |
| 187 | if (result == null) result = caseDegreeOfFreedomInstance(classAsReferenceDegree); |
| 188 | if (result == null) result = defaultCase(theEObject); |
| 189 | return result; |
| 190 | } |
| 191 | case designdecisionPackage.ASSEMBLED_COMPONENT_DEGREE: { |
| 192 | AssembledComponentDegree assembledComponentDegree = (AssembledComponentDegree)theEObject; |
| 193 | T result = caseAssembledComponentDegree(assembledComponentDegree); |
| 194 | if (result == null) result = caseClassAsReferenceDegree(assembledComponentDegree); |
| 195 | if (result == null) result = caseClassDegree(assembledComponentDegree); |
| 196 | if (result == null) result = caseDegreeOfFreedomInstance(assembledComponentDegree); |
| 197 | if (result == null) result = defaultCase(theEObject); |
| 198 | return result; |
| 199 | } |
| 200 | case designdecisionPackage.DISCRETE_RANGE_DEGREE: { |
| 201 | DiscreteRangeDegree discreteRangeDegree = (DiscreteRangeDegree)theEObject; |
| 202 | T result = caseDiscreteRangeDegree(discreteRangeDegree); |
| 203 | if (result == null) result = caseRangeDegree(discreteRangeDegree); |
| 204 | if (result == null) result = caseDiscreteDegree(discreteRangeDegree); |
| 205 | if (result == null) result = caseDataTypeDegree(discreteRangeDegree); |
| 206 | if (result == null) result = caseDegreeOfFreedomInstance(discreteRangeDegree); |
| 207 | if (result == null) result = defaultCase(theEObject); |
| 208 | return result; |
| 209 | } |
| 210 | case designdecisionPackage.DISCRETE_DEGREE: { |
| 211 | DiscreteDegree discreteDegree = (DiscreteDegree)theEObject; |
| 212 | T result = caseDiscreteDegree(discreteDegree); |
| 213 | if (result == null) result = caseDataTypeDegree(discreteDegree); |
| 214 | if (result == null) result = caseDegreeOfFreedomInstance(discreteDegree); |
| 215 | if (result == null) result = defaultCase(theEObject); |
| 216 | return result; |
| 217 | } |
| 218 | case designdecisionPackage.DISCRETE_RANGE_CHOICE: { |
| 219 | DiscreteRangeChoice discreteRangeChoice = (DiscreteRangeChoice)theEObject; |
| 220 | T result = caseDiscreteRangeChoice(discreteRangeChoice); |
| 221 | if (result == null) result = caseChoice(discreteRangeChoice); |
| 222 | if (result == null) result = defaultCase(theEObject); |
| 223 | return result; |
| 224 | } |
| 225 | case designdecisionPackage.RESOURCE_CONTAINER_REPLICATION_DEGREE: { |
| 226 | ResourceContainerReplicationDegree resourceContainerReplicationDegree = (ResourceContainerReplicationDegree)theEObject; |
| 227 | T result = caseResourceContainerReplicationDegree(resourceContainerReplicationDegree); |
| 228 | if (result == null) result = caseDiscreteRangeDegree(resourceContainerReplicationDegree); |
| 229 | if (result == null) result = caseRangeDegree(resourceContainerReplicationDegree); |
| 230 | if (result == null) result = caseDiscreteDegree(resourceContainerReplicationDegree); |
| 231 | if (result == null) result = caseDataTypeDegree(resourceContainerReplicationDegree); |
| 232 | if (result == null) result = caseDegreeOfFreedomInstance(resourceContainerReplicationDegree); |
| 233 | if (result == null) result = defaultCase(theEObject); |
| 234 | return result; |
| 235 | } |
| 236 | case designdecisionPackage.DECISION_SPACE: { |
| 237 | DecisionSpace decisionSpace = (DecisionSpace)theEObject; |
| 238 | T result = caseDecisionSpace(decisionSpace); |
| 239 | if (result == null) result = defaultCase(theEObject); |
| 240 | return result; |
| 241 | } |
| 242 | case designdecisionPackage.CANDIDATE: { |
| 243 | Candidate candidate = (Candidate)theEObject; |
| 244 | T result = caseCandidate(candidate); |
| 245 | if (result == null) result = defaultCase(theEObject); |
| 246 | return result; |
| 247 | } |
| 248 | case designdecisionPackage.CANDIDATES: { |
| 249 | Candidates candidates = (Candidates)theEObject; |
| 250 | T result = caseCandidates(candidates); |
| 251 | if (result == null) result = defaultCase(theEObject); |
| 252 | return result; |
| 253 | } |
| 254 | case designdecisionPackage.FEATURE_CONFIG_DEGREE: { |
| 255 | FeatureConfigDegree featureConfigDegree = (FeatureConfigDegree)theEObject; |
| 256 | T result = caseFeatureConfigDegree(featureConfigDegree); |
| 257 | if (result == null) result = caseDegreeOfFreedomInstance(featureConfigDegree); |
| 258 | if (result == null) result = defaultCase(theEObject); |
| 259 | return result; |
| 260 | } |
| 261 | case designdecisionPackage.FEATURE_GROUP_DEGREE: { |
| 262 | FeatureGroupDegree featureGroupDegree = (FeatureGroupDegree)theEObject; |
| 263 | T result = caseFeatureGroupDegree(featureGroupDegree); |
| 264 | if (result == null) result = caseFeatureConfigDegree(featureGroupDegree); |
| 265 | if (result == null) result = caseDegreeOfFreedomInstance(featureGroupDegree); |
| 266 | if (result == null) result = defaultCase(theEObject); |
| 267 | return result; |
| 268 | } |
| 269 | case designdecisionPackage.FEATURE_SUBSET: { |
| 270 | FeatureSubset featureSubset = (FeatureSubset)theEObject; |
| 271 | T result = caseFeatureSubset(featureSubset); |
| 272 | if (result == null) result = defaultCase(theEObject); |
| 273 | return result; |
| 274 | } |
| 275 | case designdecisionPackage.OPTIONAL_FEATURE_DEGREE: { |
| 276 | OptionalFeatureDegree optionalFeatureDegree = (OptionalFeatureDegree)theEObject; |
| 277 | T result = caseOptionalFeatureDegree(optionalFeatureDegree); |
| 278 | if (result == null) result = caseFeatureConfigDegree(optionalFeatureDegree); |
| 279 | if (result == null) result = caseDegreeOfFreedomInstance(optionalFeatureDegree); |
| 280 | if (result == null) result = defaultCase(theEObject); |
| 281 | return result; |
| 282 | } |
| 283 | case designdecisionPackage.DISCRETE_PROCESSING_RATE_DEGREE: { |
| 284 | DiscreteProcessingRateDegree discreteProcessingRateDegree = (DiscreteProcessingRateDegree)theEObject; |
| 285 | T result = caseDiscreteProcessingRateDegree(discreteProcessingRateDegree); |
| 286 | if (result == null) result = caseDiscreteRangeDegree(discreteProcessingRateDegree); |
| 287 | if (result == null) result = caseProcessingRateDegree(discreteProcessingRateDegree); |
| 288 | if (result == null) result = caseRangeDegree(discreteProcessingRateDegree); |
| 289 | if (result == null) result = caseDiscreteDegree(discreteProcessingRateDegree); |
| 290 | if (result == null) result = caseProcessingResourceDegree(discreteProcessingRateDegree); |
| 291 | if (result == null) result = caseDataTypeDegree(discreteProcessingRateDegree); |
| 292 | if (result == null) result = caseDegreeOfFreedomInstance(discreteProcessingRateDegree); |
| 293 | if (result == null) result = defaultCase(theEObject); |
| 294 | return result; |
| 295 | } |
| 296 | case designdecisionPackage.CAPACITY_DEGREE: { |
| 297 | CapacityDegree capacityDegree = (CapacityDegree)theEObject; |
| 298 | T result = caseCapacityDegree(capacityDegree); |
| 299 | if (result == null) result = caseDiscreteRangeDegree(capacityDegree); |
| 300 | if (result == null) result = caseRangeDegree(capacityDegree); |
| 301 | if (result == null) result = caseDiscreteDegree(capacityDegree); |
| 302 | if (result == null) result = caseDataTypeDegree(capacityDegree); |
| 303 | if (result == null) result = caseDegreeOfFreedomInstance(capacityDegree); |
| 304 | if (result == null) result = defaultCase(theEObject); |
| 305 | return result; |
| 306 | } |
| 307 | case designdecisionPackage.SCHEDULING_POLICY_DEGREE: { |
| 308 | SchedulingPolicyDegree schedulingPolicyDegree = (SchedulingPolicyDegree)theEObject; |
| 309 | T result = caseSchedulingPolicyDegree(schedulingPolicyDegree); |
| 310 | if (result == null) result = caseEnumDegree(schedulingPolicyDegree); |
| 311 | if (result == null) result = caseProcessingResourceDegree(schedulingPolicyDegree); |
| 312 | if (result == null) result = caseUnorderedDegree(schedulingPolicyDegree); |
| 313 | if (result == null) result = caseDataTypeDegree(schedulingPolicyDegree); |
| 314 | if (result == null) result = caseDegreeOfFreedomInstance(schedulingPolicyDegree); |
| 315 | if (result == null) result = defaultCase(theEObject); |
| 316 | return result; |
| 317 | } |
| 318 | case designdecisionPackage.ENUM_DEGREE: { |
| 319 | EnumDegree enumDegree = (EnumDegree)theEObject; |
| 320 | T result = caseEnumDegree(enumDegree); |
| 321 | if (result == null) result = caseUnorderedDegree(enumDegree); |
| 322 | if (result == null) result = caseDataTypeDegree(enumDegree); |
| 323 | if (result == null) result = caseDegreeOfFreedomInstance(enumDegree); |
| 324 | if (result == null) result = defaultCase(theEObject); |
| 325 | return result; |
| 326 | } |
| 327 | case designdecisionPackage.UNORDERED_DEGREE: { |
| 328 | UnorderedDegree unorderedDegree = (UnorderedDegree)theEObject; |
| 329 | T result = caseUnorderedDegree(unorderedDegree); |
| 330 | if (result == null) result = caseDataTypeDegree(unorderedDegree); |
| 331 | if (result == null) result = caseDegreeOfFreedomInstance(unorderedDegree); |
| 332 | if (result == null) result = defaultCase(theEObject); |
| 333 | return result; |
| 334 | } |
| 335 | case designdecisionPackage.SCHEDULING_POLICY_CHOICE: { |
| 336 | SchedulingPolicyChoice schedulingPolicyChoice = (SchedulingPolicyChoice)theEObject; |
| 337 | T result = caseSchedulingPolicyChoice(schedulingPolicyChoice); |
| 338 | if (result == null) result = caseChoice(schedulingPolicyChoice); |
| 339 | if (result == null) result = defaultCase(theEObject); |
| 340 | return result; |
| 341 | } |
| 342 | case designdecisionPackage.CLASS_WITH_COPY_DEGREE: { |
| 343 | ClassWithCopyDegree classWithCopyDegree = (ClassWithCopyDegree)theEObject; |
| 344 | T result = caseClassWithCopyDegree(classWithCopyDegree); |
| 345 | if (result == null) result = caseClassDegree(classWithCopyDegree); |
| 346 | if (result == null) result = caseDegreeOfFreedomInstance(classWithCopyDegree); |
| 347 | if (result == null) result = defaultCase(theEObject); |
| 348 | return result; |
| 349 | } |
| 350 | case designdecisionPackage.RESOURCE_SELECTION_DEGREE: { |
| 351 | ResourceSelectionDegree resourceSelectionDegree = (ResourceSelectionDegree)theEObject; |
| 352 | T result = caseResourceSelectionDegree(resourceSelectionDegree); |
| 353 | if (result == null) result = caseClassWithCopyDegree(resourceSelectionDegree); |
| 354 | if (result == null) result = caseProcessingResourceDegree(resourceSelectionDegree); |
| 355 | if (result == null) result = caseClassDegree(resourceSelectionDegree); |
| 356 | if (result == null) result = caseDegreeOfFreedomInstance(resourceSelectionDegree); |
| 357 | if (result == null) result = defaultCase(theEObject); |
| 358 | return result; |
| 359 | } |
| 360 | case designdecisionPackage.STRING_SET_DEGREE: { |
| 361 | StringSetDegree stringSetDegree = (StringSetDegree)theEObject; |
| 362 | T result = caseStringSetDegree(stringSetDegree); |
| 363 | if (result == null) result = caseUnorderedDegree(stringSetDegree); |
| 364 | if (result == null) result = caseDataTypeDegree(stringSetDegree); |
| 365 | if (result == null) result = caseDegreeOfFreedomInstance(stringSetDegree); |
| 366 | if (result == null) result = defaultCase(theEObject); |
| 367 | return result; |
| 368 | } |
| 369 | case designdecisionPackage.DISCRETE_COMPONENT_PARAM_DEGREE: { |
| 370 | DiscreteComponentParamDegree discreteComponentParamDegree = (DiscreteComponentParamDegree)theEObject; |
| 371 | T result = caseDiscreteComponentParamDegree(discreteComponentParamDegree); |
| 372 | if (result == null) result = caseDiscreteRangeDegree(discreteComponentParamDegree); |
| 373 | if (result == null) result = caseRangeDegree(discreteComponentParamDegree); |
| 374 | if (result == null) result = caseDiscreteDegree(discreteComponentParamDegree); |
| 375 | if (result == null) result = caseDataTypeDegree(discreteComponentParamDegree); |
| 376 | if (result == null) result = caseDegreeOfFreedomInstance(discreteComponentParamDegree); |
| 377 | if (result == null) result = defaultCase(theEObject); |
| 378 | return result; |
| 379 | } |
| 380 | case designdecisionPackage.CONTINUOUS_COMPONENT_PARAM_DEGREE: { |
| 381 | ContinuousComponentParamDegree continuousComponentParamDegree = (ContinuousComponentParamDegree)theEObject; |
| 382 | T result = caseContinuousComponentParamDegree(continuousComponentParamDegree); |
| 383 | if (result == null) result = caseContinuousRangeDegree(continuousComponentParamDegree); |
| 384 | if (result == null) result = caseRangeDegree(continuousComponentParamDegree); |
| 385 | if (result == null) result = caseDataTypeDegree(continuousComponentParamDegree); |
| 386 | if (result == null) result = caseDegreeOfFreedomInstance(continuousComponentParamDegree); |
| 387 | if (result == null) result = defaultCase(theEObject); |
| 388 | return result; |
| 389 | } |
| 390 | case designdecisionPackage.STRING_COMPONENT_PARAM_DEGREE: { |
| 391 | StringComponentParamDegree stringComponentParamDegree = (StringComponentParamDegree)theEObject; |
| 392 | T result = caseStringComponentParamDegree(stringComponentParamDegree); |
| 393 | if (result == null) result = caseStringSetDegree(stringComponentParamDegree); |
| 394 | if (result == null) result = caseUnorderedDegree(stringComponentParamDegree); |
| 395 | if (result == null) result = caseDataTypeDegree(stringComponentParamDegree); |
| 396 | if (result == null) result = caseDegreeOfFreedomInstance(stringComponentParamDegree); |
| 397 | if (result == null) result = defaultCase(theEObject); |
| 398 | return result; |
| 399 | } |
| 400 | case designdecisionPackage.UNORDERED_PRIMITIVE_DEGREE: { |
| 401 | UnorderedPrimitiveDegree unorderedPrimitiveDegree = (UnorderedPrimitiveDegree)theEObject; |
| 402 | T result = caseUnorderedPrimitiveDegree(unorderedPrimitiveDegree); |
| 403 | if (result == null) result = caseUnorderedDegree(unorderedPrimitiveDegree); |
| 404 | if (result == null) result = caseDataTypeDegree(unorderedPrimitiveDegree); |
| 405 | if (result == null) result = caseDegreeOfFreedomInstance(unorderedPrimitiveDegree); |
| 406 | if (result == null) result = defaultCase(theEObject); |
| 407 | return result; |
| 408 | } |
| 409 | case designdecisionPackage.NUMBER_OF_CORES_AS_RANGE_DEGREE: { |
| 410 | NumberOfCoresAsRangeDegree numberOfCoresAsRangeDegree = (NumberOfCoresAsRangeDegree)theEObject; |
| 411 | T result = caseNumberOfCoresAsRangeDegree(numberOfCoresAsRangeDegree); |
| 412 | if (result == null) result = caseDiscreteRangeDegree(numberOfCoresAsRangeDegree); |
| 413 | if (result == null) result = caseNumberOfCoresDegree(numberOfCoresAsRangeDegree); |
| 414 | if (result == null) result = caseRangeDegree(numberOfCoresAsRangeDegree); |
| 415 | if (result == null) result = caseDiscreteDegree(numberOfCoresAsRangeDegree); |
| 416 | if (result == null) result = caseProcessingResourceDegree(numberOfCoresAsRangeDegree); |
| 417 | if (result == null) result = caseDataTypeDegree(numberOfCoresAsRangeDegree); |
| 418 | if (result == null) result = caseDegreeOfFreedomInstance(numberOfCoresAsRangeDegree); |
| 419 | if (result == null) result = defaultCase(theEObject); |
| 420 | return result; |
| 421 | } |
| 422 | case designdecisionPackage.NUMBER_OF_CORES_DEGREE: { |
| 423 | NumberOfCoresDegree numberOfCoresDegree = (NumberOfCoresDegree)theEObject; |
| 424 | T result = caseNumberOfCoresDegree(numberOfCoresDegree); |
| 425 | if (result == null) result = caseProcessingResourceDegree(numberOfCoresDegree); |
| 426 | if (result == null) result = caseDegreeOfFreedomInstance(numberOfCoresDegree); |
| 427 | if (result == null) result = defaultCase(theEObject); |
| 428 | return result; |
| 429 | } |
| 430 | case designdecisionPackage.RESOURCE_CONTAINER_REPLICATION_DEGREE_WITH_COMPONENT_CHANGE: { |
| 431 | ResourceContainerReplicationDegreeWithComponentChange resourceContainerReplicationDegreeWithComponentChange = (ResourceContainerReplicationDegreeWithComponentChange)theEObject; |
| 432 | T result = caseResourceContainerReplicationDegreeWithComponentChange(resourceContainerReplicationDegreeWithComponentChange); |
| 433 | if (result == null) result = caseResourceContainerReplicationDegree(resourceContainerReplicationDegreeWithComponentChange); |
| 434 | if (result == null) result = caseDiscreteRangeDegree(resourceContainerReplicationDegreeWithComponentChange); |
| 435 | if (result == null) result = caseRangeDegree(resourceContainerReplicationDegreeWithComponentChange); |
| 436 | if (result == null) result = caseDiscreteDegree(resourceContainerReplicationDegreeWithComponentChange); |
| 437 | if (result == null) result = caseDataTypeDegree(resourceContainerReplicationDegreeWithComponentChange); |
| 438 | if (result == null) result = caseDegreeOfFreedomInstance(resourceContainerReplicationDegreeWithComponentChange); |
| 439 | if (result == null) result = defaultCase(theEObject); |
| 440 | return result; |
| 441 | } |
| 442 | case designdecisionPackage.EXCHANGE_COMPONENT_RULE: { |
| 443 | ExchangeComponentRule exchangeComponentRule = (ExchangeComponentRule)theEObject; |
| 444 | T result = caseExchangeComponentRule(exchangeComponentRule); |
| 445 | if (result == null) result = defaultCase(theEObject); |
| 446 | return result; |
| 447 | } |
| 448 | case designdecisionPackage.ORDERED_DATA_TYPE_DEGREE: { |
| 449 | OrderedDataTypeDegree orderedDataTypeDegree = (OrderedDataTypeDegree)theEObject; |
| 450 | T result = caseOrderedDataTypeDegree(orderedDataTypeDegree); |
| 451 | if (result == null) result = caseDataTypeDegree(orderedDataTypeDegree); |
| 452 | if (result == null) result = caseDegreeOfFreedomInstance(orderedDataTypeDegree); |
| 453 | if (result == null) result = defaultCase(theEObject); |
| 454 | return result; |
| 455 | } |
| 456 | case designdecisionPackage.ORDERED_INTEGER_DEGREE: { |
| 457 | OrderedIntegerDegree orderedIntegerDegree = (OrderedIntegerDegree)theEObject; |
| 458 | T result = caseOrderedIntegerDegree(orderedIntegerDegree); |
| 459 | if (result == null) result = caseDiscreteDegree(orderedIntegerDegree); |
| 460 | if (result == null) result = caseOrderedDataTypeDegree(orderedIntegerDegree); |
| 461 | if (result == null) result = caseDataTypeDegree(orderedIntegerDegree); |
| 462 | if (result == null) result = caseDegreeOfFreedomInstance(orderedIntegerDegree); |
| 463 | if (result == null) result = defaultCase(theEObject); |
| 464 | return result; |
| 465 | } |
| 466 | case designdecisionPackage.NUMBER_OF_CORES_AS_LIST_DEGREE: { |
| 467 | NumberOfCoresAsListDegree numberOfCoresAsListDegree = (NumberOfCoresAsListDegree)theEObject; |
| 468 | T result = caseNumberOfCoresAsListDegree(numberOfCoresAsListDegree); |
| 469 | if (result == null) result = caseNumberOfCoresDegree(numberOfCoresAsListDegree); |
| 470 | if (result == null) result = caseOrderedIntegerDegree(numberOfCoresAsListDegree); |
| 471 | if (result == null) result = caseProcessingResourceDegree(numberOfCoresAsListDegree); |
| 472 | if (result == null) result = caseDiscreteDegree(numberOfCoresAsListDegree); |
| 473 | if (result == null) result = caseOrderedDataTypeDegree(numberOfCoresAsListDegree); |
| 474 | if (result == null) result = caseDataTypeDegree(numberOfCoresAsListDegree); |
| 475 | if (result == null) result = caseDegreeOfFreedomInstance(numberOfCoresAsListDegree); |
| 476 | if (result == null) result = defaultCase(theEObject); |
| 477 | return result; |
| 478 | } |
| 479 | default: return defaultCase(theEObject); |
| 480 | } |
| 481 | } |
| 482 | |
| 483 | /** |
| 484 | * Returns the result of interpreting the object as an instance of '<em>Degree Of Freedom Instance</em>'. |
| 485 | * <!-- begin-user-doc --> |
| 486 | * This implementation returns null; |
| 487 | * returning a non-null result will terminate the switch. |
| 488 | * <!-- end-user-doc --> |
| 489 | * @param object the target of the switch. |
| 490 | * @return the result of interpreting the object as an instance of '<em>Degree Of Freedom Instance</em>'. |
| 491 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 492 | * @generated |
| 493 | */ |
| 494 | public T caseDegreeOfFreedomInstance(DegreeOfFreedomInstance object) { |
| 495 | return null; |
| 496 | } |
| 497 | |
| 498 | /** |
| 499 | * Returns the result of interpreting the object as an instance of '<em>Choice</em>'. |
| 500 | * <!-- begin-user-doc --> |
| 501 | * This implementation returns null; |
| 502 | * returning a non-null result will terminate the switch. |
| 503 | * <!-- end-user-doc --> |
| 504 | * @param object the target of the switch. |
| 505 | * @return the result of interpreting the object as an instance of '<em>Choice</em>'. |
| 506 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 507 | * @generated |
| 508 | */ |
| 509 | public T caseChoice(Choice object) { |
| 510 | return null; |
| 511 | } |
| 512 | |
| 513 | /** |
| 514 | * Returns the result of interpreting the object as an instance of '<em>Range Degree</em>'. |
| 515 | * <!-- begin-user-doc --> |
| 516 | * This implementation returns null; |
| 517 | * returning a non-null result will terminate the switch. |
| 518 | * <!-- end-user-doc --> |
| 519 | * @param object the target of the switch. |
| 520 | * @return the result of interpreting the object as an instance of '<em>Range Degree</em>'. |
| 521 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 522 | * @generated |
| 523 | */ |
| 524 | public T caseRangeDegree(RangeDegree object) { |
| 525 | return null; |
| 526 | } |
| 527 | |
| 528 | /** |
| 529 | * Returns the result of interpreting the object as an instance of '<em>Data Type Degree</em>'. |
| 530 | * <!-- begin-user-doc --> |
| 531 | * This implementation returns null; |
| 532 | * returning a non-null result will terminate the switch. |
| 533 | * <!-- end-user-doc --> |
| 534 | * @param object the target of the switch. |
| 535 | * @return the result of interpreting the object as an instance of '<em>Data Type Degree</em>'. |
| 536 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 537 | * @generated |
| 538 | */ |
| 539 | public T caseDataTypeDegree(DataTypeDegree object) { |
| 540 | return null; |
| 541 | } |
| 542 | |
| 543 | /** |
| 544 | * Returns the result of interpreting the object as an instance of '<em>Class Degree</em>'. |
| 545 | * <!-- begin-user-doc --> |
| 546 | * This implementation returns null; |
| 547 | * returning a non-null result will terminate the switch. |
| 548 | * <!-- end-user-doc --> |
| 549 | * @param object the target of the switch. |
| 550 | * @return the result of interpreting the object as an instance of '<em>Class Degree</em>'. |
| 551 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 552 | * @generated |
| 553 | */ |
| 554 | public T caseClassDegree(ClassDegree object) { |
| 555 | return null; |
| 556 | } |
| 557 | |
| 558 | /** |
| 559 | * Returns the result of interpreting the object as an instance of '<em>Class Choice</em>'. |
| 560 | * <!-- begin-user-doc --> |
| 561 | * This implementation returns null; |
| 562 | * returning a non-null result will terminate the switch. |
| 563 | * <!-- end-user-doc --> |
| 564 | * @param object the target of the switch. |
| 565 | * @return the result of interpreting the object as an instance of '<em>Class Choice</em>'. |
| 566 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 567 | * @generated |
| 568 | */ |
| 569 | public T caseClassChoice(ClassChoice object) { |
| 570 | return null; |
| 571 | } |
| 572 | |
| 573 | /** |
| 574 | * Returns the result of interpreting the object as an instance of '<em>Continous Range Choice</em>'. |
| 575 | * <!-- begin-user-doc --> |
| 576 | * This implementation returns null; |
| 577 | * returning a non-null result will terminate the switch. |
| 578 | * <!-- end-user-doc --> |
| 579 | * @param object the target of the switch. |
| 580 | * @return the result of interpreting the object as an instance of '<em>Continous Range Choice</em>'. |
| 581 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 582 | * @generated |
| 583 | */ |
| 584 | public T caseContinousRangeChoice(ContinousRangeChoice object) { |
| 585 | return null; |
| 586 | } |
| 587 | |
| 588 | /** |
| 589 | * Returns the result of interpreting the object as an instance of '<em>Continuous Processing Rate Degree</em>'. |
| 590 | * <!-- begin-user-doc --> |
| 591 | * This implementation returns null; |
| 592 | * returning a non-null result will terminate the switch. |
| 593 | * <!-- end-user-doc --> |
| 594 | * @param object the target of the switch. |
| 595 | * @return the result of interpreting the object as an instance of '<em>Continuous Processing Rate Degree</em>'. |
| 596 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 597 | * @generated |
| 598 | */ |
| 599 | public T caseContinuousProcessingRateDegree(ContinuousProcessingRateDegree object) { |
| 600 | return null; |
| 601 | } |
| 602 | |
| 603 | /** |
| 604 | * Returns the result of interpreting the object as an instance of '<em>Continuous Range Degree</em>'. |
| 605 | * <!-- begin-user-doc --> |
| 606 | * This implementation returns null; |
| 607 | * returning a non-null result will terminate the switch. |
| 608 | * <!-- end-user-doc --> |
| 609 | * @param object the target of the switch. |
| 610 | * @return the result of interpreting the object as an instance of '<em>Continuous Range Degree</em>'. |
| 611 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 612 | * @generated |
| 613 | */ |
| 614 | public T caseContinuousRangeDegree(ContinuousRangeDegree object) { |
| 615 | return null; |
| 616 | } |
| 617 | |
| 618 | /** |
| 619 | * Returns the result of interpreting the object as an instance of '<em>Processing Rate Degree</em>'. |
| 620 | * <!-- begin-user-doc --> |
| 621 | * This implementation returns null; |
| 622 | * returning a non-null result will terminate the switch. |
| 623 | * <!-- end-user-doc --> |
| 624 | * @param object the target of the switch. |
| 625 | * @return the result of interpreting the object as an instance of '<em>Processing Rate Degree</em>'. |
| 626 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 627 | * @generated |
| 628 | */ |
| 629 | public T caseProcessingRateDegree(ProcessingRateDegree object) { |
| 630 | return null; |
| 631 | } |
| 632 | |
| 633 | /** |
| 634 | * Returns the result of interpreting the object as an instance of '<em>Processing Resource Degree</em>'. |
| 635 | * <!-- begin-user-doc --> |
| 636 | * This implementation returns null; |
| 637 | * returning a non-null result will terminate the switch. |
| 638 | * <!-- end-user-doc --> |
| 639 | * @param object the target of the switch. |
| 640 | * @return the result of interpreting the object as an instance of '<em>Processing Resource Degree</em>'. |
| 641 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 642 | * @generated |
| 643 | */ |
| 644 | public T caseProcessingResourceDegree(ProcessingResourceDegree object) { |
| 645 | return null; |
| 646 | } |
| 647 | |
| 648 | /** |
| 649 | * Returns the result of interpreting the object as an instance of '<em>Allocation Degree</em>'. |
| 650 | * <!-- begin-user-doc --> |
| 651 | * This implementation returns null; |
| 652 | * returning a non-null result will terminate the switch. |
| 653 | * <!-- end-user-doc --> |
| 654 | * @param object the target of the switch. |
| 655 | * @return the result of interpreting the object as an instance of '<em>Allocation Degree</em>'. |
| 656 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 657 | * @generated |
| 658 | */ |
| 659 | public T caseAllocationDegree(AllocationDegree object) { |
| 660 | return null; |
| 661 | } |
| 662 | |
| 663 | /** |
| 664 | * Returns the result of interpreting the object as an instance of '<em>Class As Reference Degree</em>'. |
| 665 | * <!-- begin-user-doc --> |
| 666 | * This implementation returns null; |
| 667 | * returning a non-null result will terminate the switch. |
| 668 | * <!-- end-user-doc --> |
| 669 | * @param object the target of the switch. |
| 670 | * @return the result of interpreting the object as an instance of '<em>Class As Reference Degree</em>'. |
| 671 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 672 | * @generated |
| 673 | */ |
| 674 | public T caseClassAsReferenceDegree(ClassAsReferenceDegree object) { |
| 675 | return null; |
| 676 | } |
| 677 | |
| 678 | /** |
| 679 | * Returns the result of interpreting the object as an instance of '<em>Assembled Component Degree</em>'. |
| 680 | * <!-- begin-user-doc --> |
| 681 | * This implementation returns null; |
| 682 | * returning a non-null result will terminate the switch. |
| 683 | * <!-- end-user-doc --> |
| 684 | * @param object the target of the switch. |
| 685 | * @return the result of interpreting the object as an instance of '<em>Assembled Component Degree</em>'. |
| 686 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 687 | * @generated |
| 688 | */ |
| 689 | public T caseAssembledComponentDegree(AssembledComponentDegree object) { |
| 690 | return null; |
| 691 | } |
| 692 | |
| 693 | /** |
| 694 | * Returns the result of interpreting the object as an instance of '<em>Discrete Range Degree</em>'. |
| 695 | * <!-- begin-user-doc --> |
| 696 | * This implementation returns null; |
| 697 | * returning a non-null result will terminate the switch. |
| 698 | * <!-- end-user-doc --> |
| 699 | * @param object the target of the switch. |
| 700 | * @return the result of interpreting the object as an instance of '<em>Discrete Range Degree</em>'. |
| 701 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 702 | * @generated |
| 703 | */ |
| 704 | public T caseDiscreteRangeDegree(DiscreteRangeDegree object) { |
| 705 | return null; |
| 706 | } |
| 707 | |
| 708 | /** |
| 709 | * Returns the result of interpreting the object as an instance of '<em>Discrete Degree</em>'. |
| 710 | * <!-- begin-user-doc --> |
| 711 | * This implementation returns null; |
| 712 | * returning a non-null result will terminate the switch. |
| 713 | * <!-- end-user-doc --> |
| 714 | * @param object the target of the switch. |
| 715 | * @return the result of interpreting the object as an instance of '<em>Discrete Degree</em>'. |
| 716 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 717 | * @generated |
| 718 | */ |
| 719 | public T caseDiscreteDegree(DiscreteDegree object) { |
| 720 | return null; |
| 721 | } |
| 722 | |
| 723 | /** |
| 724 | * Returns the result of interpreting the object as an instance of '<em>Discrete Range Choice</em>'. |
| 725 | * <!-- begin-user-doc --> |
| 726 | * This implementation returns null; |
| 727 | * returning a non-null result will terminate the switch. |
| 728 | * <!-- end-user-doc --> |
| 729 | * @param object the target of the switch. |
| 730 | * @return the result of interpreting the object as an instance of '<em>Discrete Range Choice</em>'. |
| 731 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 732 | * @generated |
| 733 | */ |
| 734 | public T caseDiscreteRangeChoice(DiscreteRangeChoice object) { |
| 735 | return null; |
| 736 | } |
| 737 | |
| 738 | /** |
| 739 | * Returns the result of interpreting the object as an instance of '<em>Resource Container Replication Degree</em>'. |
| 740 | * <!-- begin-user-doc --> |
| 741 | * This implementation returns null; |
| 742 | * returning a non-null result will terminate the switch. |
| 743 | * <!-- end-user-doc --> |
| 744 | * @param object the target of the switch. |
| 745 | * @return the result of interpreting the object as an instance of '<em>Resource Container Replication Degree</em>'. |
| 746 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 747 | * @generated |
| 748 | */ |
| 749 | public T caseResourceContainerReplicationDegree(ResourceContainerReplicationDegree object) { |
| 750 | return null; |
| 751 | } |
| 752 | |
| 753 | /** |
| 754 | * Returns the result of interpreting the object as an instance of '<em>Decision Space</em>'. |
| 755 | * <!-- begin-user-doc --> |
| 756 | * This implementation returns null; |
| 757 | * returning a non-null result will terminate the switch. |
| 758 | * <!-- end-user-doc --> |
| 759 | * @param object the target of the switch. |
| 760 | * @return the result of interpreting the object as an instance of '<em>Decision Space</em>'. |
| 761 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 762 | * @generated |
| 763 | */ |
| 764 | public T caseDecisionSpace(DecisionSpace object) { |
| 765 | return null; |
| 766 | } |
| 767 | |
| 768 | /** |
| 769 | * Returns the result of interpreting the object as an instance of '<em>Candidate</em>'. |
| 770 | * <!-- begin-user-doc --> |
| 771 | * This implementation returns null; |
| 772 | * returning a non-null result will terminate the switch. |
| 773 | * <!-- end-user-doc --> |
| 774 | * @param object the target of the switch. |
| 775 | * @return the result of interpreting the object as an instance of '<em>Candidate</em>'. |
| 776 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 777 | * @generated |
| 778 | */ |
| 779 | public T caseCandidate(Candidate object) { |
| 780 | return null; |
| 781 | } |
| 782 | |
| 783 | /** |
| 784 | * Returns the result of interpreting the object as an instance of '<em>Candidates</em>'. |
| 785 | * <!-- begin-user-doc --> |
| 786 | * This implementation returns null; |
| 787 | * returning a non-null result will terminate the switch. |
| 788 | * <!-- end-user-doc --> |
| 789 | * @param object the target of the switch. |
| 790 | * @return the result of interpreting the object as an instance of '<em>Candidates</em>'. |
| 791 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 792 | * @generated |
| 793 | */ |
| 794 | public T caseCandidates(Candidates object) { |
| 795 | return null; |
| 796 | } |
| 797 | |
| 798 | /** |
| 799 | * Returns the result of interpreting the object as an instance of '<em>Feature Config Degree</em>'. |
| 800 | * <!-- begin-user-doc --> |
| 801 | * This implementation returns null; |
| 802 | * returning a non-null result will terminate the switch. |
| 803 | * <!-- end-user-doc --> |
| 804 | * @param object the target of the switch. |
| 805 | * @return the result of interpreting the object as an instance of '<em>Feature Config Degree</em>'. |
| 806 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 807 | * @generated |
| 808 | */ |
| 809 | public T caseFeatureConfigDegree(FeatureConfigDegree object) { |
| 810 | return null; |
| 811 | } |
| 812 | |
| 813 | /** |
| 814 | * Returns the result of interpreting the object as an instance of '<em>Feature Group Degree</em>'. |
| 815 | * <!-- begin-user-doc --> |
| 816 | * This implementation returns null; |
| 817 | * returning a non-null result will terminate the switch. |
| 818 | * <!-- end-user-doc --> |
| 819 | * @param object the target of the switch. |
| 820 | * @return the result of interpreting the object as an instance of '<em>Feature Group Degree</em>'. |
| 821 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 822 | * @generated |
| 823 | */ |
| 824 | public T caseFeatureGroupDegree(FeatureGroupDegree object) { |
| 825 | return null; |
| 826 | } |
| 827 | |
| 828 | /** |
| 829 | * Returns the result of interpreting the object as an instance of '<em>Feature Subset</em>'. |
| 830 | * <!-- begin-user-doc --> |
| 831 | * This implementation returns null; |
| 832 | * returning a non-null result will terminate the switch. |
| 833 | * <!-- end-user-doc --> |
| 834 | * @param object the target of the switch. |
| 835 | * @return the result of interpreting the object as an instance of '<em>Feature Subset</em>'. |
| 836 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 837 | * @generated |
| 838 | */ |
| 839 | public T caseFeatureSubset(FeatureSubset object) { |
| 840 | return null; |
| 841 | } |
| 842 | |
| 843 | /** |
| 844 | * Returns the result of interpreting the object as an instance of '<em>Optional Feature Degree</em>'. |
| 845 | * <!-- begin-user-doc --> |
| 846 | * This implementation returns null; |
| 847 | * returning a non-null result will terminate the switch. |
| 848 | * <!-- end-user-doc --> |
| 849 | * @param object the target of the switch. |
| 850 | * @return the result of interpreting the object as an instance of '<em>Optional Feature Degree</em>'. |
| 851 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 852 | * @generated |
| 853 | */ |
| 854 | public T caseOptionalFeatureDegree(OptionalFeatureDegree object) { |
| 855 | return null; |
| 856 | } |
| 857 | |
| 858 | /** |
| 859 | * Returns the result of interpreting the object as an instance of '<em>Discrete Processing Rate Degree</em>'. |
| 860 | * <!-- begin-user-doc --> |
| 861 | * This implementation returns null; |
| 862 | * returning a non-null result will terminate the switch. |
| 863 | * <!-- end-user-doc --> |
| 864 | * @param object the target of the switch. |
| 865 | * @return the result of interpreting the object as an instance of '<em>Discrete Processing Rate Degree</em>'. |
| 866 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 867 | * @generated |
| 868 | */ |
| 869 | public T caseDiscreteProcessingRateDegree(DiscreteProcessingRateDegree object) { |
| 870 | return null; |
| 871 | } |
| 872 | |
| 873 | /** |
| 874 | * Returns the result of interpreting the object as an instance of '<em>Capacity Degree</em>'. |
| 875 | * <!-- begin-user-doc --> |
| 876 | * This implementation returns null; |
| 877 | * returning a non-null result will terminate the switch. |
| 878 | * <!-- end-user-doc --> |
| 879 | * @param object the target of the switch. |
| 880 | * @return the result of interpreting the object as an instance of '<em>Capacity Degree</em>'. |
| 881 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 882 | * @generated |
| 883 | */ |
| 884 | public T caseCapacityDegree(CapacityDegree object) { |
| 885 | return null; |
| 886 | } |
| 887 | |
| 888 | /** |
| 889 | * Returns the result of interpreting the object as an instance of '<em>Scheduling Policy Degree</em>'. |
| 890 | * <!-- begin-user-doc --> |
| 891 | * This implementation returns null; |
| 892 | * returning a non-null result will terminate the switch. |
| 893 | * <!-- end-user-doc --> |
| 894 | * @param object the target of the switch. |
| 895 | * @return the result of interpreting the object as an instance of '<em>Scheduling Policy Degree</em>'. |
| 896 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 897 | * @generated |
| 898 | */ |
| 899 | public T caseSchedulingPolicyDegree(SchedulingPolicyDegree object) { |
| 900 | return null; |
| 901 | } |
| 902 | |
| 903 | /** |
| 904 | * Returns the result of interpreting the object as an instance of '<em>Enum Degree</em>'. |
| 905 | * <!-- begin-user-doc --> |
| 906 | * This implementation returns null; |
| 907 | * returning a non-null result will terminate the switch. |
| 908 | * <!-- end-user-doc --> |
| 909 | * @param object the target of the switch. |
| 910 | * @return the result of interpreting the object as an instance of '<em>Enum Degree</em>'. |
| 911 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 912 | * @generated |
| 913 | */ |
| 914 | public T caseEnumDegree(EnumDegree object) { |
| 915 | return null; |
| 916 | } |
| 917 | |
| 918 | /** |
| 919 | * Returns the result of interpreting the object as an instance of '<em>Unordered Degree</em>'. |
| 920 | * <!-- begin-user-doc --> |
| 921 | * This implementation returns null; |
| 922 | * returning a non-null result will terminate the switch. |
| 923 | * <!-- end-user-doc --> |
| 924 | * @param object the target of the switch. |
| 925 | * @return the result of interpreting the object as an instance of '<em>Unordered Degree</em>'. |
| 926 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 927 | * @generated |
| 928 | */ |
| 929 | public T caseUnorderedDegree(UnorderedDegree object) { |
| 930 | return null; |
| 931 | } |
| 932 | |
| 933 | /** |
| 934 | * Returns the result of interpreting the object as an instance of '<em>Scheduling Policy Choice</em>'. |
| 935 | * <!-- begin-user-doc --> |
| 936 | * This implementation returns null; |
| 937 | * returning a non-null result will terminate the switch. |
| 938 | * <!-- end-user-doc --> |
| 939 | * @param object the target of the switch. |
| 940 | * @return the result of interpreting the object as an instance of '<em>Scheduling Policy Choice</em>'. |
| 941 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 942 | * @generated |
| 943 | */ |
| 944 | public T caseSchedulingPolicyChoice(SchedulingPolicyChoice object) { |
| 945 | return null; |
| 946 | } |
| 947 | |
| 948 | /** |
| 949 | * Returns the result of interpreting the object as an instance of '<em>Class With Copy Degree</em>'. |
| 950 | * <!-- begin-user-doc --> |
| 951 | * This implementation returns null; |
| 952 | * returning a non-null result will terminate the switch. |
| 953 | * <!-- end-user-doc --> |
| 954 | * @param object the target of the switch. |
| 955 | * @return the result of interpreting the object as an instance of '<em>Class With Copy Degree</em>'. |
| 956 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 957 | * @generated |
| 958 | */ |
| 959 | public T caseClassWithCopyDegree(ClassWithCopyDegree object) { |
| 960 | return null; |
| 961 | } |
| 962 | |
| 963 | /** |
| 964 | * Returns the result of interpreting the object as an instance of '<em>Resource Selection Degree</em>'. |
| 965 | * <!-- begin-user-doc --> |
| 966 | * This implementation returns null; |
| 967 | * returning a non-null result will terminate the switch. |
| 968 | * <!-- end-user-doc --> |
| 969 | * @param object the target of the switch. |
| 970 | * @return the result of interpreting the object as an instance of '<em>Resource Selection Degree</em>'. |
| 971 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 972 | * @generated |
| 973 | */ |
| 974 | public T caseResourceSelectionDegree(ResourceSelectionDegree object) { |
| 975 | return null; |
| 976 | } |
| 977 | |
| 978 | /** |
| 979 | * Returns the result of interpreting the object as an instance of '<em>String Set Degree</em>'. |
| 980 | * <!-- begin-user-doc --> |
| 981 | * This implementation returns null; |
| 982 | * returning a non-null result will terminate the switch. |
| 983 | * <!-- end-user-doc --> |
| 984 | * @param object the target of the switch. |
| 985 | * @return the result of interpreting the object as an instance of '<em>String Set Degree</em>'. |
| 986 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 987 | * @generated |
| 988 | */ |
| 989 | public T caseStringSetDegree(StringSetDegree object) { |
| 990 | return null; |
| 991 | } |
| 992 | |
| 993 | /** |
| 994 | * Returns the result of interpreting the object as an instance of '<em>Discrete Component Param Degree</em>'. |
| 995 | * <!-- begin-user-doc --> |
| 996 | * This implementation returns null; |
| 997 | * returning a non-null result will terminate the switch. |
| 998 | * <!-- end-user-doc --> |
| 999 | * @param object the target of the switch. |
| 1000 | * @return the result of interpreting the object as an instance of '<em>Discrete Component Param Degree</em>'. |
| 1001 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1002 | * @generated |
| 1003 | */ |
| 1004 | public T caseDiscreteComponentParamDegree(DiscreteComponentParamDegree object) { |
| 1005 | return null; |
| 1006 | } |
| 1007 | |
| 1008 | /** |
| 1009 | * Returns the result of interpreting the object as an instance of '<em>Continuous Component Param Degree</em>'. |
| 1010 | * <!-- begin-user-doc --> |
| 1011 | * This implementation returns null; |
| 1012 | * returning a non-null result will terminate the switch. |
| 1013 | * <!-- end-user-doc --> |
| 1014 | * @param object the target of the switch. |
| 1015 | * @return the result of interpreting the object as an instance of '<em>Continuous Component Param Degree</em>'. |
| 1016 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1017 | * @generated |
| 1018 | */ |
| 1019 | public T caseContinuousComponentParamDegree(ContinuousComponentParamDegree object) { |
| 1020 | return null; |
| 1021 | } |
| 1022 | |
| 1023 | /** |
| 1024 | * Returns the result of interpreting the object as an instance of '<em>String Component Param Degree</em>'. |
| 1025 | * <!-- begin-user-doc --> |
| 1026 | * This implementation returns null; |
| 1027 | * returning a non-null result will terminate the switch. |
| 1028 | * <!-- end-user-doc --> |
| 1029 | * @param object the target of the switch. |
| 1030 | * @return the result of interpreting the object as an instance of '<em>String Component Param Degree</em>'. |
| 1031 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1032 | * @generated |
| 1033 | */ |
| 1034 | public T caseStringComponentParamDegree(StringComponentParamDegree object) { |
| 1035 | return null; |
| 1036 | } |
| 1037 | |
| 1038 | /** |
| 1039 | * Returns the result of interpreting the object as an instance of '<em>Unordered Primitive Degree</em>'. |
| 1040 | * <!-- begin-user-doc --> |
| 1041 | * This implementation returns null; |
| 1042 | * returning a non-null result will terminate the switch. |
| 1043 | * <!-- end-user-doc --> |
| 1044 | * @param object the target of the switch. |
| 1045 | * @return the result of interpreting the object as an instance of '<em>Unordered Primitive Degree</em>'. |
| 1046 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1047 | * @generated |
| 1048 | */ |
| 1049 | public T caseUnorderedPrimitiveDegree(UnorderedPrimitiveDegree object) { |
| 1050 | return null; |
| 1051 | } |
| 1052 | |
| 1053 | /** |
| 1054 | * Returns the result of interpreting the object as an instance of '<em>Number Of Cores As Range Degree</em>'. |
| 1055 | * <!-- begin-user-doc --> |
| 1056 | * This implementation returns null; |
| 1057 | * returning a non-null result will terminate the switch. |
| 1058 | * <!-- end-user-doc --> |
| 1059 | * @param object the target of the switch. |
| 1060 | * @return the result of interpreting the object as an instance of '<em>Number Of Cores As Range Degree</em>'. |
| 1061 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1062 | * @generated |
| 1063 | */ |
| 1064 | public T caseNumberOfCoresAsRangeDegree(NumberOfCoresAsRangeDegree object) { |
| 1065 | return null; |
| 1066 | } |
| 1067 | |
| 1068 | /** |
| 1069 | * Returns the result of interpreting the object as an instance of '<em>Number Of Cores Degree</em>'. |
| 1070 | * <!-- begin-user-doc --> |
| 1071 | * This implementation returns null; |
| 1072 | * returning a non-null result will terminate the switch. |
| 1073 | * <!-- end-user-doc --> |
| 1074 | * @param object the target of the switch. |
| 1075 | * @return the result of interpreting the object as an instance of '<em>Number Of Cores Degree</em>'. |
| 1076 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1077 | * @generated |
| 1078 | */ |
| 1079 | public T caseNumberOfCoresDegree(NumberOfCoresDegree object) { |
| 1080 | return null; |
| 1081 | } |
| 1082 | |
| 1083 | /** |
| 1084 | * Returns the result of interpreting the object as an instance of '<em>Resource Container Replication Degree With Component Change</em>'. |
| 1085 | * <!-- begin-user-doc --> |
| 1086 | * This implementation returns null; |
| 1087 | * returning a non-null result will terminate the switch. |
| 1088 | * <!-- end-user-doc --> |
| 1089 | * @param object the target of the switch. |
| 1090 | * @return the result of interpreting the object as an instance of '<em>Resource Container Replication Degree With Component Change</em>'. |
| 1091 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1092 | * @generated |
| 1093 | */ |
| 1094 | public T caseResourceContainerReplicationDegreeWithComponentChange(ResourceContainerReplicationDegreeWithComponentChange object) { |
| 1095 | return null; |
| 1096 | } |
| 1097 | |
| 1098 | /** |
| 1099 | * Returns the result of interpreting the object as an instance of '<em>Exchange Component Rule</em>'. |
| 1100 | * <!-- begin-user-doc --> |
| 1101 | * This implementation returns null; |
| 1102 | * returning a non-null result will terminate the switch. |
| 1103 | * <!-- end-user-doc --> |
| 1104 | * @param object the target of the switch. |
| 1105 | * @return the result of interpreting the object as an instance of '<em>Exchange Component Rule</em>'. |
| 1106 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1107 | * @generated |
| 1108 | */ |
| 1109 | public T caseExchangeComponentRule(ExchangeComponentRule object) { |
| 1110 | return null; |
| 1111 | } |
| 1112 | |
| 1113 | /** |
| 1114 | * Returns the result of interpreting the object as an instance of '<em>Ordered Data Type Degree</em>'. |
| 1115 | * <!-- begin-user-doc --> |
| 1116 | * This implementation returns null; |
| 1117 | * returning a non-null result will terminate the switch. |
| 1118 | * <!-- end-user-doc --> |
| 1119 | * @param object the target of the switch. |
| 1120 | * @return the result of interpreting the object as an instance of '<em>Ordered Data Type Degree</em>'. |
| 1121 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1122 | * @generated |
| 1123 | */ |
| 1124 | public T caseOrderedDataTypeDegree(OrderedDataTypeDegree object) { |
| 1125 | return null; |
| 1126 | } |
| 1127 | |
| 1128 | /** |
| 1129 | * Returns the result of interpreting the object as an instance of '<em>Ordered Integer Degree</em>'. |
| 1130 | * <!-- begin-user-doc --> |
| 1131 | * This implementation returns null; |
| 1132 | * returning a non-null result will terminate the switch. |
| 1133 | * <!-- end-user-doc --> |
| 1134 | * @param object the target of the switch. |
| 1135 | * @return the result of interpreting the object as an instance of '<em>Ordered Integer Degree</em>'. |
| 1136 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1137 | * @generated |
| 1138 | */ |
| 1139 | public T caseOrderedIntegerDegree(OrderedIntegerDegree object) { |
| 1140 | return null; |
| 1141 | } |
| 1142 | |
| 1143 | /** |
| 1144 | * Returns the result of interpreting the object as an instance of '<em>Number Of Cores As List Degree</em>'. |
| 1145 | * <!-- begin-user-doc --> |
| 1146 | * This implementation returns null; |
| 1147 | * returning a non-null result will terminate the switch. |
| 1148 | * <!-- end-user-doc --> |
| 1149 | * @param object the target of the switch. |
| 1150 | * @return the result of interpreting the object as an instance of '<em>Number Of Cores As List Degree</em>'. |
| 1151 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 1152 | * @generated |
| 1153 | */ |
| 1154 | public T caseNumberOfCoresAsListDegree(NumberOfCoresAsListDegree object) { |
| 1155 | return null; |
| 1156 | } |
| 1157 | |
| 1158 | /** |
| 1159 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
| 1160 | * <!-- begin-user-doc --> |
| 1161 | * This implementation returns null; |
| 1162 | * returning a non-null result will terminate the switch, but this is the last case anyway. |
| 1163 | * <!-- end-user-doc --> |
| 1164 | * @param object the target of the switch. |
| 1165 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. |
| 1166 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) |
| 1167 | * @generated |
| 1168 | */ |
| 1169 | public T defaultCase(EObject object) { |
| 1170 | return null; |
| 1171 | } |
| 1172 | |
| 1173 | } //designdecisionSwitch |