diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration')
81 files changed, 8293 insertions, 98 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPatternEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPatternEntry.java new file mode 100644 index 00000000..bd7aef5c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPatternEntry.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>All Pattern Entry</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry#getExclusuion <em>Exclusuion</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getAllPatternEntry() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface AllPatternEntry extends PatternEntry | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Exclusuion</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Exclusuion</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Exclusuion</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getAllPatternEntry_Exclusuion() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<PatternElement> getExclusuion(); | ||
41 | |||
42 | } // AllPatternEntry | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java index 782b5890..2a23a843 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java | |||
@@ -1178,58 +1178,49 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1178 | int TYPE_SCOPE = 37; | 1178 | int TYPE_SCOPE = 37; |
1179 | 1179 | ||
1180 | /** | 1180 | /** |
1181 | * The feature id for the '<em><b>Min</b></em>' attribute. | 1181 | * The feature id for the '<em><b>Type</b></em>' containment reference. |
1182 | * <!-- begin-user-doc --> | ||
1183 | * <!-- end-user-doc --> | ||
1184 | * @generated | ||
1185 | * @ordered | ||
1186 | */ | ||
1187 | int TYPE_SCOPE__MIN = 0; | ||
1188 | |||
1189 | /** | ||
1190 | * The feature id for the '<em><b>Greather</b></em>' attribute. | ||
1191 | * <!-- begin-user-doc --> | 1182 | * <!-- begin-user-doc --> |
1192 | * <!-- end-user-doc --> | 1183 | * <!-- end-user-doc --> |
1193 | * @generated | 1184 | * @generated |
1194 | * @ordered | 1185 | * @ordered |
1195 | */ | 1186 | */ |
1196 | int TYPE_SCOPE__GREATHER = 1; | 1187 | int TYPE_SCOPE__TYPE = 0; |
1197 | 1188 | ||
1198 | /** | 1189 | /** |
1199 | * The feature id for the '<em><b>Greater Or Equal</b></em>' attribute. | 1190 | * The feature id for the '<em><b>Sets New</b></em>' attribute. |
1200 | * <!-- begin-user-doc --> | 1191 | * <!-- begin-user-doc --> |
1201 | * <!-- end-user-doc --> | 1192 | * <!-- end-user-doc --> |
1202 | * @generated | 1193 | * @generated |
1203 | * @ordered | 1194 | * @ordered |
1204 | */ | 1195 | */ |
1205 | int TYPE_SCOPE__GREATER_OR_EQUAL = 2; | 1196 | int TYPE_SCOPE__SETS_NEW = 1; |
1206 | 1197 | ||
1207 | /** | 1198 | /** |
1208 | * The feature id for the '<em><b>Type</b></em>' containment reference. | 1199 | * The feature id for the '<em><b>Sets Sum</b></em>' attribute. |
1209 | * <!-- begin-user-doc --> | 1200 | * <!-- begin-user-doc --> |
1210 | * <!-- end-user-doc --> | 1201 | * <!-- end-user-doc --> |
1211 | * @generated | 1202 | * @generated |
1212 | * @ordered | 1203 | * @ordered |
1213 | */ | 1204 | */ |
1214 | int TYPE_SCOPE__TYPE = 3; | 1205 | int TYPE_SCOPE__SETS_SUM = 2; |
1215 | 1206 | ||
1216 | /** | 1207 | /** |
1217 | * The feature id for the '<em><b>Less</b></em>' attribute. | 1208 | * The feature id for the '<em><b>Min</b></em>' attribute. |
1218 | * <!-- begin-user-doc --> | 1209 | * <!-- begin-user-doc --> |
1219 | * <!-- end-user-doc --> | 1210 | * <!-- end-user-doc --> |
1220 | * @generated | 1211 | * @generated |
1221 | * @ordered | 1212 | * @ordered |
1222 | */ | 1213 | */ |
1223 | int TYPE_SCOPE__LESS = 4; | 1214 | int TYPE_SCOPE__MIN = 3; |
1224 | 1215 | ||
1225 | /** | 1216 | /** |
1226 | * The feature id for the '<em><b>Less Or Equal</b></em>' attribute. | 1217 | * The feature id for the '<em><b>Max Unlimited</b></em>' attribute. |
1227 | * <!-- begin-user-doc --> | 1218 | * <!-- begin-user-doc --> |
1228 | * <!-- end-user-doc --> | 1219 | * <!-- end-user-doc --> |
1229 | * @generated | 1220 | * @generated |
1230 | * @ordered | 1221 | * @ordered |
1231 | */ | 1222 | */ |
1232 | int TYPE_SCOPE__LESS_OR_EQUAL = 5; | 1223 | int TYPE_SCOPE__MAX_UNLIMITED = 4; |
1233 | 1224 | ||
1234 | /** | 1225 | /** |
1235 | * The feature id for the '<em><b>Max</b></em>' attribute. | 1226 | * The feature id for the '<em><b>Max</b></em>' attribute. |
@@ -1238,7 +1229,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1238 | * @generated | 1229 | * @generated |
1239 | * @ordered | 1230 | * @ordered |
1240 | */ | 1231 | */ |
1241 | int TYPE_SCOPE__MAX = 6; | 1232 | int TYPE_SCOPE__MAX = 5; |
1242 | 1233 | ||
1243 | /** | 1234 | /** |
1244 | * The number of structural features of the '<em>Type Scope</em>' class. | 1235 | * The number of structural features of the '<em>Type Scope</em>' class. |
@@ -1247,7 +1238,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1247 | * @generated | 1238 | * @generated |
1248 | * @ordered | 1239 | * @ordered |
1249 | */ | 1240 | */ |
1250 | int TYPE_SCOPE_FEATURE_COUNT = 7; | 1241 | int TYPE_SCOPE_FEATURE_COUNT = 6; |
1251 | 1242 | ||
1252 | /** | 1243 | /** |
1253 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl <em>Type Reference</em>}' class. | 1244 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl <em>Type Reference</em>}' class. |
@@ -2384,70 +2375,59 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2384 | EClass getTypeScope(); | 2375 | EClass getTypeScope(); |
2385 | 2376 | ||
2386 | /** | 2377 | /** |
2387 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin <em>Min</em>}'. | 2378 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType <em>Type</em>}'. |
2388 | * <!-- begin-user-doc --> | ||
2389 | * <!-- end-user-doc --> | ||
2390 | * @return the meta object for the attribute '<em>Min</em>'. | ||
2391 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin() | ||
2392 | * @see #getTypeScope() | ||
2393 | * @generated | ||
2394 | */ | ||
2395 | EAttribute getTypeScope_Min(); | ||
2396 | |||
2397 | /** | ||
2398 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreather <em>Greather</em>}'. | ||
2399 | * <!-- begin-user-doc --> | 2379 | * <!-- begin-user-doc --> |
2400 | * <!-- end-user-doc --> | 2380 | * <!-- end-user-doc --> |
2401 | * @return the meta object for the attribute '<em>Greather</em>'. | 2381 | * @return the meta object for the containment reference '<em>Type</em>'. |
2402 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreather() | 2382 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType() |
2403 | * @see #getTypeScope() | 2383 | * @see #getTypeScope() |
2404 | * @generated | 2384 | * @generated |
2405 | */ | 2385 | */ |
2406 | EAttribute getTypeScope_Greather(); | 2386 | EReference getTypeScope_Type(); |
2407 | 2387 | ||
2408 | /** | 2388 | /** |
2409 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreaterOrEqual <em>Greater Or Equal</em>}'. | 2389 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew <em>Sets New</em>}'. |
2410 | * <!-- begin-user-doc --> | 2390 | * <!-- begin-user-doc --> |
2411 | * <!-- end-user-doc --> | 2391 | * <!-- end-user-doc --> |
2412 | * @return the meta object for the attribute '<em>Greater Or Equal</em>'. | 2392 | * @return the meta object for the attribute '<em>Sets New</em>'. |
2413 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreaterOrEqual() | 2393 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew() |
2414 | * @see #getTypeScope() | 2394 | * @see #getTypeScope() |
2415 | * @generated | 2395 | * @generated |
2416 | */ | 2396 | */ |
2417 | EAttribute getTypeScope_GreaterOrEqual(); | 2397 | EAttribute getTypeScope_SetsNew(); |
2418 | 2398 | ||
2419 | /** | 2399 | /** |
2420 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType <em>Type</em>}'. | 2400 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum <em>Sets Sum</em>}'. |
2421 | * <!-- begin-user-doc --> | 2401 | * <!-- begin-user-doc --> |
2422 | * <!-- end-user-doc --> | 2402 | * <!-- end-user-doc --> |
2423 | * @return the meta object for the containment reference '<em>Type</em>'. | 2403 | * @return the meta object for the attribute '<em>Sets Sum</em>'. |
2424 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType() | 2404 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum() |
2425 | * @see #getTypeScope() | 2405 | * @see #getTypeScope() |
2426 | * @generated | 2406 | * @generated |
2427 | */ | 2407 | */ |
2428 | EReference getTypeScope_Type(); | 2408 | EAttribute getTypeScope_SetsSum(); |
2429 | 2409 | ||
2430 | /** | 2410 | /** |
2431 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLess <em>Less</em>}'. | 2411 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin <em>Min</em>}'. |
2432 | * <!-- begin-user-doc --> | 2412 | * <!-- begin-user-doc --> |
2433 | * <!-- end-user-doc --> | 2413 | * <!-- end-user-doc --> |
2434 | * @return the meta object for the attribute '<em>Less</em>'. | 2414 | * @return the meta object for the attribute '<em>Min</em>'. |
2435 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLess() | 2415 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin() |
2436 | * @see #getTypeScope() | 2416 | * @see #getTypeScope() |
2437 | * @generated | 2417 | * @generated |
2438 | */ | 2418 | */ |
2439 | EAttribute getTypeScope_Less(); | 2419 | EAttribute getTypeScope_Min(); |
2440 | 2420 | ||
2441 | /** | 2421 | /** |
2442 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLessOrEqual <em>Less Or Equal</em>}'. | 2422 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isMaxUnlimited <em>Max Unlimited</em>}'. |
2443 | * <!-- begin-user-doc --> | 2423 | * <!-- begin-user-doc --> |
2444 | * <!-- end-user-doc --> | 2424 | * <!-- end-user-doc --> |
2445 | * @return the meta object for the attribute '<em>Less Or Equal</em>'. | 2425 | * @return the meta object for the attribute '<em>Max Unlimited</em>'. |
2446 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLessOrEqual() | 2426 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isMaxUnlimited() |
2447 | * @see #getTypeScope() | 2427 | * @see #getTypeScope() |
2448 | * @generated | 2428 | * @generated |
2449 | */ | 2429 | */ |
2450 | EAttribute getTypeScope_LessOrEqual(); | 2430 | EAttribute getTypeScope_MaxUnlimited(); |
2451 | 2431 | ||
2452 | /** | 2432 | /** |
2453 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMax <em>Max</em>}'. | 2433 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMax <em>Max</em>}'. |
@@ -3435,52 +3415,44 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
3435 | EClass TYPE_SCOPE = eINSTANCE.getTypeScope(); | 3415 | EClass TYPE_SCOPE = eINSTANCE.getTypeScope(); |
3436 | 3416 | ||
3437 | /** | 3417 | /** |
3438 | * The meta object literal for the '<em><b>Min</b></em>' attribute feature. | 3418 | * The meta object literal for the '<em><b>Type</b></em>' containment reference feature. |
3439 | * <!-- begin-user-doc --> | ||
3440 | * <!-- end-user-doc --> | ||
3441 | * @generated | ||
3442 | */ | ||
3443 | EAttribute TYPE_SCOPE__MIN = eINSTANCE.getTypeScope_Min(); | ||
3444 | |||
3445 | /** | ||
3446 | * The meta object literal for the '<em><b>Greather</b></em>' attribute feature. | ||
3447 | * <!-- begin-user-doc --> | 3419 | * <!-- begin-user-doc --> |
3448 | * <!-- end-user-doc --> | 3420 | * <!-- end-user-doc --> |
3449 | * @generated | 3421 | * @generated |
3450 | */ | 3422 | */ |
3451 | EAttribute TYPE_SCOPE__GREATHER = eINSTANCE.getTypeScope_Greather(); | 3423 | EReference TYPE_SCOPE__TYPE = eINSTANCE.getTypeScope_Type(); |
3452 | 3424 | ||
3453 | /** | 3425 | /** |
3454 | * The meta object literal for the '<em><b>Greater Or Equal</b></em>' attribute feature. | 3426 | * The meta object literal for the '<em><b>Sets New</b></em>' attribute feature. |
3455 | * <!-- begin-user-doc --> | 3427 | * <!-- begin-user-doc --> |
3456 | * <!-- end-user-doc --> | 3428 | * <!-- end-user-doc --> |
3457 | * @generated | 3429 | * @generated |
3458 | */ | 3430 | */ |
3459 | EAttribute TYPE_SCOPE__GREATER_OR_EQUAL = eINSTANCE.getTypeScope_GreaterOrEqual(); | 3431 | EAttribute TYPE_SCOPE__SETS_NEW = eINSTANCE.getTypeScope_SetsNew(); |
3460 | 3432 | ||
3461 | /** | 3433 | /** |
3462 | * The meta object literal for the '<em><b>Type</b></em>' containment reference feature. | 3434 | * The meta object literal for the '<em><b>Sets Sum</b></em>' attribute feature. |
3463 | * <!-- begin-user-doc --> | 3435 | * <!-- begin-user-doc --> |
3464 | * <!-- end-user-doc --> | 3436 | * <!-- end-user-doc --> |
3465 | * @generated | 3437 | * @generated |
3466 | */ | 3438 | */ |
3467 | EReference TYPE_SCOPE__TYPE = eINSTANCE.getTypeScope_Type(); | 3439 | EAttribute TYPE_SCOPE__SETS_SUM = eINSTANCE.getTypeScope_SetsSum(); |
3468 | 3440 | ||
3469 | /** | 3441 | /** |
3470 | * The meta object literal for the '<em><b>Less</b></em>' attribute feature. | 3442 | * The meta object literal for the '<em><b>Min</b></em>' attribute feature. |
3471 | * <!-- begin-user-doc --> | 3443 | * <!-- begin-user-doc --> |
3472 | * <!-- end-user-doc --> | 3444 | * <!-- end-user-doc --> |
3473 | * @generated | 3445 | * @generated |
3474 | */ | 3446 | */ |
3475 | EAttribute TYPE_SCOPE__LESS = eINSTANCE.getTypeScope_Less(); | 3447 | EAttribute TYPE_SCOPE__MIN = eINSTANCE.getTypeScope_Min(); |
3476 | 3448 | ||
3477 | /** | 3449 | /** |
3478 | * The meta object literal for the '<em><b>Less Or Equal</b></em>' attribute feature. | 3450 | * The meta object literal for the '<em><b>Max Unlimited</b></em>' attribute feature. |
3479 | * <!-- begin-user-doc --> | 3451 | * <!-- begin-user-doc --> |
3480 | * <!-- end-user-doc --> | 3452 | * <!-- end-user-doc --> |
3481 | * @generated | 3453 | * @generated |
3482 | */ | 3454 | */ |
3483 | EAttribute TYPE_SCOPE__LESS_OR_EQUAL = eINSTANCE.getTypeScope_LessOrEqual(); | 3455 | EAttribute TYPE_SCOPE__MAX_UNLIMITED = eINSTANCE.getTypeScope_MaxUnlimited(); |
3484 | 3456 | ||
3485 | /** | 3457 | /** |
3486 | * The meta object literal for the '<em><b>Max</b></em>' attribute feature. | 3458 | * The meta object literal for the '<em><b>Max</b></em>' attribute feature. |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassReference.java new file mode 100644 index 00000000..dc7d9227 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassReference.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Class Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement <em>Element</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getClassReference() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ClassReference extends TypeReference | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Element</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Element</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Element</em>' containment reference. | ||
34 | * @see #setElement(MetamodelElement) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getClassReference_Element() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | MetamodelElement getElement(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement <em>Element</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Element</em>' containment reference. | ||
46 | * @see #getElement() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setElement(MetamodelElement value); | ||
50 | |||
51 | } // ClassReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Config.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Config.java new file mode 100644 index 00000000..f0bf5d0d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Config.java | |||
@@ -0,0 +1,20 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Config</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfig() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface Config extends EObject | ||
19 | { | ||
20 | } // Config | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigDeclaration.java new file mode 100644 index 00000000..6b5cd411 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigDeclaration.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Config Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification <em>Specification</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigDeclaration() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ConfigDeclaration extends Declaration | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Specification</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Specification</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Specification</em>' containment reference. | ||
34 | * @see #setSpecification(ConfigSpecification) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigDeclaration_Specification() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ConfigSpecification getSpecification(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification <em>Specification</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Specification</em>' containment reference. | ||
46 | * @see #getSpecification() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setSpecification(ConfigSpecification value); | ||
50 | |||
51 | } // ConfigDeclaration | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java new file mode 100644 index 00000000..7c0e90e2 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java | |||
@@ -0,0 +1,79 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Config Entry</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getKey <em>Key</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getValue <em>Value</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface ConfigEntry extends EObject | ||
26 | { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Key</b></em>' attribute. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Key</em>' attribute isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Key</em>' attribute. | ||
36 | * @see #setKey(String) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry_Key() | ||
38 | * @model | ||
39 | * @generated | ||
40 | */ | ||
41 | String getKey(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getKey <em>Key</em>}' attribute. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Key</em>' attribute. | ||
48 | * @see #getKey() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setKey(String value); | ||
52 | |||
53 | /** | ||
54 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <p> | ||
57 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
58 | * there really should be more of a description here... | ||
59 | * </p> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @return the value of the '<em>Value</em>' attribute. | ||
62 | * @see #setValue(String) | ||
63 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry_Value() | ||
64 | * @model | ||
65 | * @generated | ||
66 | */ | ||
67 | String getValue(); | ||
68 | |||
69 | /** | ||
70 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getValue <em>Value</em>}' attribute. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @param value the new value of the '<em>Value</em>' attribute. | ||
74 | * @see #getValue() | ||
75 | * @generated | ||
76 | */ | ||
77 | void setValue(String value); | ||
78 | |||
79 | } // ConfigEntry | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigReference.java new file mode 100644 index 00000000..b86f3e6b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigReference.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Config Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig <em>Config</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigReference() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ConfigReference extends Config | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Config</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Config</em>' reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Config</em>' reference. | ||
34 | * @see #setConfig(ConfigDeclaration) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigReference_Config() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | ConfigDeclaration getConfig(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig <em>Config</em>}' reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Config</em>' reference. | ||
46 | * @see #getConfig() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setConfig(ConfigDeclaration value); | ||
50 | |||
51 | } // ConfigReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigSpecification.java new file mode 100644 index 00000000..1d016927 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigSpecification.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Config Specification</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification#getEntries <em>Entries</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigSpecification() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface ConfigSpecification extends Config | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Entries</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Entries</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Entries</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigSpecification_Entries() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<ConfigEntry> getEntries(); | ||
41 | |||
42 | } // ConfigSpecification | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/File.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/File.java new file mode 100644 index 00000000..e4c2a024 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/File.java | |||
@@ -0,0 +1,20 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>File</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFile() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface File extends EObject | ||
19 | { | ||
20 | } // File | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileDeclaration.java new file mode 100644 index 00000000..d5b9b335 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileDeclaration.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>File Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification <em>Specification</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileDeclaration() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface FileDeclaration extends Declaration | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Specification</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Specification</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Specification</em>' containment reference. | ||
34 | * @see #setSpecification(FileSpecification) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileDeclaration_Specification() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | FileSpecification getSpecification(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification <em>Specification</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Specification</em>' containment reference. | ||
46 | * @see #getSpecification() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setSpecification(FileSpecification value); | ||
50 | |||
51 | } // FileDeclaration | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileReference.java new file mode 100644 index 00000000..bc4e09bb --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileReference.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>File Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred <em>Referred</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileReference() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface FileReference extends File | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Referred</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Referred</em>' reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Referred</em>' reference. | ||
34 | * @see #setReferred(FileDeclaration) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileReference_Referred() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | FileDeclaration getReferred(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred <em>Referred</em>}' reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Referred</em>' reference. | ||
46 | * @see #getReferred() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setReferred(FileDeclaration value); | ||
50 | |||
51 | } // FileReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileSpecification.java new file mode 100644 index 00000000..921a248b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileSpecification.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>File Specification</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath <em>Path</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileSpecification() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface FileSpecification extends File | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Path</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Path</em>' attribute isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Path</em>' attribute. | ||
34 | * @see #setPath(String) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileSpecification_Path() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | String getPath(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath <em>Path</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Path</em>' attribute. | ||
46 | * @see #getPath() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setPath(String value); | ||
50 | |||
51 | } // FileSpecification | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FolderEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FolderEntry.java new file mode 100644 index 00000000..9b119649 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FolderEntry.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Folder Entry</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry#getExclusion <em>Exclusion</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFolderEntry() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface FolderEntry extends PartialModelEntry | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Exclusion</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Exclusion</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Exclusion</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFolderEntry_Exclusion() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<ModelEntry> getExclusion(); | ||
41 | |||
42 | } // FolderEntry | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GenerationTask.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GenerationTask.java new file mode 100644 index 00000000..7d62d979 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GenerationTask.java | |||
@@ -0,0 +1,351 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Generation Task</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel <em>Metamodel</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel <em>Partial Model</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns <em>Patterns</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope <em>Scope</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber <em>Number</em>}</li> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns <em>Runs</em>}</li> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver <em>Solver</em>}</li> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig <em>Config</em>}</li> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder <em>Taget Folder</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder <em>Debug Folder</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile <em>Target Log File</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile <em>Target Statistics File</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | public interface GenerationTask extends Task | ||
35 | { | ||
36 | /** | ||
37 | * Returns the value of the '<em><b>Metamodel</b></em>' containment reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <p> | ||
40 | * If the meaning of the '<em>Metamodel</em>' containment reference isn't clear, | ||
41 | * there really should be more of a description here... | ||
42 | * </p> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @return the value of the '<em>Metamodel</em>' containment reference. | ||
45 | * @see #setMetamodel(Metamodel) | ||
46 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Metamodel() | ||
47 | * @model containment="true" | ||
48 | * @generated | ||
49 | */ | ||
50 | Metamodel getMetamodel(); | ||
51 | |||
52 | /** | ||
53 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel <em>Metamodel</em>}' containment reference. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @param value the new value of the '<em>Metamodel</em>' containment reference. | ||
57 | * @see #getMetamodel() | ||
58 | * @generated | ||
59 | */ | ||
60 | void setMetamodel(Metamodel value); | ||
61 | |||
62 | /** | ||
63 | * Returns the value of the '<em><b>Partial Model</b></em>' containment reference. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <p> | ||
66 | * If the meaning of the '<em>Partial Model</em>' containment reference isn't clear, | ||
67 | * there really should be more of a description here... | ||
68 | * </p> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @return the value of the '<em>Partial Model</em>' containment reference. | ||
71 | * @see #setPartialModel(PartialModel) | ||
72 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_PartialModel() | ||
73 | * @model containment="true" | ||
74 | * @generated | ||
75 | */ | ||
76 | PartialModel getPartialModel(); | ||
77 | |||
78 | /** | ||
79 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel <em>Partial Model</em>}' containment reference. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @param value the new value of the '<em>Partial Model</em>' containment reference. | ||
83 | * @see #getPartialModel() | ||
84 | * @generated | ||
85 | */ | ||
86 | void setPartialModel(PartialModel value); | ||
87 | |||
88 | /** | ||
89 | * Returns the value of the '<em><b>Patterns</b></em>' containment reference. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <p> | ||
92 | * If the meaning of the '<em>Patterns</em>' containment reference isn't clear, | ||
93 | * there really should be more of a description here... | ||
94 | * </p> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @return the value of the '<em>Patterns</em>' containment reference. | ||
97 | * @see #setPatterns(GraphPattern) | ||
98 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Patterns() | ||
99 | * @model containment="true" | ||
100 | * @generated | ||
101 | */ | ||
102 | GraphPattern getPatterns(); | ||
103 | |||
104 | /** | ||
105 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns <em>Patterns</em>}' containment reference. | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @param value the new value of the '<em>Patterns</em>' containment reference. | ||
109 | * @see #getPatterns() | ||
110 | * @generated | ||
111 | */ | ||
112 | void setPatterns(GraphPattern value); | ||
113 | |||
114 | /** | ||
115 | * Returns the value of the '<em><b>Scope</b></em>' containment reference. | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <p> | ||
118 | * If the meaning of the '<em>Scope</em>' containment reference isn't clear, | ||
119 | * there really should be more of a description here... | ||
120 | * </p> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @return the value of the '<em>Scope</em>' containment reference. | ||
123 | * @see #setScope(Scope) | ||
124 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Scope() | ||
125 | * @model containment="true" | ||
126 | * @generated | ||
127 | */ | ||
128 | Scope getScope(); | ||
129 | |||
130 | /** | ||
131 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope <em>Scope</em>}' containment reference. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @param value the new value of the '<em>Scope</em>' containment reference. | ||
135 | * @see #getScope() | ||
136 | * @generated | ||
137 | */ | ||
138 | void setScope(Scope value); | ||
139 | |||
140 | /** | ||
141 | * Returns the value of the '<em><b>Number</b></em>' attribute. | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <p> | ||
144 | * If the meaning of the '<em>Number</em>' attribute isn't clear, | ||
145 | * there really should be more of a description here... | ||
146 | * </p> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @return the value of the '<em>Number</em>' attribute. | ||
149 | * @see #setNumber(int) | ||
150 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Number() | ||
151 | * @model | ||
152 | * @generated | ||
153 | */ | ||
154 | int getNumber(); | ||
155 | |||
156 | /** | ||
157 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber <em>Number</em>}' attribute. | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @param value the new value of the '<em>Number</em>' attribute. | ||
161 | * @see #getNumber() | ||
162 | * @generated | ||
163 | */ | ||
164 | void setNumber(int value); | ||
165 | |||
166 | /** | ||
167 | * Returns the value of the '<em><b>Runs</b></em>' attribute. | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <p> | ||
170 | * If the meaning of the '<em>Runs</em>' attribute isn't clear, | ||
171 | * there really should be more of a description here... | ||
172 | * </p> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @return the value of the '<em>Runs</em>' attribute. | ||
175 | * @see #setRuns(int) | ||
176 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Runs() | ||
177 | * @model | ||
178 | * @generated | ||
179 | */ | ||
180 | int getRuns(); | ||
181 | |||
182 | /** | ||
183 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns <em>Runs</em>}' attribute. | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @param value the new value of the '<em>Runs</em>' attribute. | ||
187 | * @see #getRuns() | ||
188 | * @generated | ||
189 | */ | ||
190 | void setRuns(int value); | ||
191 | |||
192 | /** | ||
193 | * Returns the value of the '<em><b>Solver</b></em>' attribute. | ||
194 | * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver}. | ||
195 | * <!-- begin-user-doc --> | ||
196 | * <p> | ||
197 | * If the meaning of the '<em>Solver</em>' attribute isn't clear, | ||
198 | * there really should be more of a description here... | ||
199 | * </p> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @return the value of the '<em>Solver</em>' attribute. | ||
202 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver | ||
203 | * @see #setSolver(Solver) | ||
204 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Solver() | ||
205 | * @model | ||
206 | * @generated | ||
207 | */ | ||
208 | Solver getSolver(); | ||
209 | |||
210 | /** | ||
211 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver <em>Solver</em>}' attribute. | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @param value the new value of the '<em>Solver</em>' attribute. | ||
215 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver | ||
216 | * @see #getSolver() | ||
217 | * @generated | ||
218 | */ | ||
219 | void setSolver(Solver value); | ||
220 | |||
221 | /** | ||
222 | * Returns the value of the '<em><b>Config</b></em>' containment reference. | ||
223 | * <!-- begin-user-doc --> | ||
224 | * <p> | ||
225 | * If the meaning of the '<em>Config</em>' containment reference isn't clear, | ||
226 | * there really should be more of a description here... | ||
227 | * </p> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @return the value of the '<em>Config</em>' containment reference. | ||
230 | * @see #setConfig(Config) | ||
231 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Config() | ||
232 | * @model containment="true" | ||
233 | * @generated | ||
234 | */ | ||
235 | Config getConfig(); | ||
236 | |||
237 | /** | ||
238 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig <em>Config</em>}' containment reference. | ||
239 | * <!-- begin-user-doc --> | ||
240 | * <!-- end-user-doc --> | ||
241 | * @param value the new value of the '<em>Config</em>' containment reference. | ||
242 | * @see #getConfig() | ||
243 | * @generated | ||
244 | */ | ||
245 | void setConfig(Config value); | ||
246 | |||
247 | /** | ||
248 | * Returns the value of the '<em><b>Taget Folder</b></em>' containment reference. | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <p> | ||
251 | * If the meaning of the '<em>Taget Folder</em>' containment reference isn't clear, | ||
252 | * there really should be more of a description here... | ||
253 | * </p> | ||
254 | * <!-- end-user-doc --> | ||
255 | * @return the value of the '<em>Taget Folder</em>' containment reference. | ||
256 | * @see #setTagetFolder(File) | ||
257 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_TagetFolder() | ||
258 | * @model containment="true" | ||
259 | * @generated | ||
260 | */ | ||
261 | File getTagetFolder(); | ||
262 | |||
263 | /** | ||
264 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder <em>Taget Folder</em>}' containment reference. | ||
265 | * <!-- begin-user-doc --> | ||
266 | * <!-- end-user-doc --> | ||
267 | * @param value the new value of the '<em>Taget Folder</em>' containment reference. | ||
268 | * @see #getTagetFolder() | ||
269 | * @generated | ||
270 | */ | ||
271 | void setTagetFolder(File value); | ||
272 | |||
273 | /** | ||
274 | * Returns the value of the '<em><b>Debug Folder</b></em>' containment reference. | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <p> | ||
277 | * If the meaning of the '<em>Debug Folder</em>' containment reference isn't clear, | ||
278 | * there really should be more of a description here... | ||
279 | * </p> | ||
280 | * <!-- end-user-doc --> | ||
281 | * @return the value of the '<em>Debug Folder</em>' containment reference. | ||
282 | * @see #setDebugFolder(File) | ||
283 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_DebugFolder() | ||
284 | * @model containment="true" | ||
285 | * @generated | ||
286 | */ | ||
287 | File getDebugFolder(); | ||
288 | |||
289 | /** | ||
290 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder <em>Debug Folder</em>}' containment reference. | ||
291 | * <!-- begin-user-doc --> | ||
292 | * <!-- end-user-doc --> | ||
293 | * @param value the new value of the '<em>Debug Folder</em>' containment reference. | ||
294 | * @see #getDebugFolder() | ||
295 | * @generated | ||
296 | */ | ||
297 | void setDebugFolder(File value); | ||
298 | |||
299 | /** | ||
300 | * Returns the value of the '<em><b>Target Log File</b></em>' containment reference. | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <p> | ||
303 | * If the meaning of the '<em>Target Log File</em>' containment reference isn't clear, | ||
304 | * there really should be more of a description here... | ||
305 | * </p> | ||
306 | * <!-- end-user-doc --> | ||
307 | * @return the value of the '<em>Target Log File</em>' containment reference. | ||
308 | * @see #setTargetLogFile(File) | ||
309 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_TargetLogFile() | ||
310 | * @model containment="true" | ||
311 | * @generated | ||
312 | */ | ||
313 | File getTargetLogFile(); | ||
314 | |||
315 | /** | ||
316 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile <em>Target Log File</em>}' containment reference. | ||
317 | * <!-- begin-user-doc --> | ||
318 | * <!-- end-user-doc --> | ||
319 | * @param value the new value of the '<em>Target Log File</em>' containment reference. | ||
320 | * @see #getTargetLogFile() | ||
321 | * @generated | ||
322 | */ | ||
323 | void setTargetLogFile(File value); | ||
324 | |||
325 | /** | ||
326 | * Returns the value of the '<em><b>Target Statistics File</b></em>' containment reference. | ||
327 | * <!-- begin-user-doc --> | ||
328 | * <p> | ||
329 | * If the meaning of the '<em>Target Statistics File</em>' containment reference isn't clear, | ||
330 | * there really should be more of a description here... | ||
331 | * </p> | ||
332 | * <!-- end-user-doc --> | ||
333 | * @return the value of the '<em>Target Statistics File</em>' containment reference. | ||
334 | * @see #setTargetStatisticsFile(File) | ||
335 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_TargetStatisticsFile() | ||
336 | * @model containment="true" | ||
337 | * @generated | ||
338 | */ | ||
339 | File getTargetStatisticsFile(); | ||
340 | |||
341 | /** | ||
342 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile <em>Target Statistics File</em>}' containment reference. | ||
343 | * <!-- begin-user-doc --> | ||
344 | * <!-- end-user-doc --> | ||
345 | * @param value the new value of the '<em>Target Statistics File</em>' containment reference. | ||
346 | * @see #getTargetStatisticsFile() | ||
347 | * @generated | ||
348 | */ | ||
349 | void setTargetStatisticsFile(File value); | ||
350 | |||
351 | } // GenerationTask | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPattern.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPattern.java new file mode 100644 index 00000000..e7013474 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPattern.java | |||
@@ -0,0 +1,20 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Graph Pattern</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPattern() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface GraphPattern extends EObject | ||
19 | { | ||
20 | } // GraphPattern | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternDeclaration.java new file mode 100644 index 00000000..3983631b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternDeclaration.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Graph Pattern Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification <em>Specification</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPatternDeclaration() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface GraphPatternDeclaration extends Declaration | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Specification</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Specification</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Specification</em>' containment reference. | ||
34 | * @see #setSpecification(PatternSpecification) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPatternDeclaration_Specification() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | PatternSpecification getSpecification(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification <em>Specification</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Specification</em>' containment reference. | ||
46 | * @see #getSpecification() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setSpecification(PatternSpecification value); | ||
50 | |||
51 | } // GraphPatternDeclaration | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternReference.java new file mode 100644 index 00000000..7d4a9a25 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternReference.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Graph Pattern Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred <em>Referred</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPatternReference() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface GraphPatternReference extends GraphPattern | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Referred</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Referred</em>' reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Referred</em>' reference. | ||
34 | * @see #setReferred(GraphPatternDeclaration) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPatternReference_Referred() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | GraphPatternDeclaration getReferred(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred <em>Referred</em>}' reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Referred</em>' reference. | ||
46 | * @see #getReferred() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setReferred(GraphPatternDeclaration value); | ||
50 | |||
51 | } // GraphPatternReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerReference.java new file mode 100644 index 00000000..7a84c623 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerReference.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Integer Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntegerReference() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface IntegerReference extends TypeReference | ||
18 | { | ||
19 | } // IntegerReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerScope.java new file mode 100644 index 00000000..4df80f00 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerScope.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Integer Scope</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntegerScope() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface IntegerScope extends IntegerReference | ||
18 | { | ||
19 | } // IntegerScope | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ModelEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ModelEntry.java new file mode 100644 index 00000000..c52a9248 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ModelEntry.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Model Entry</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getModelEntry() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface ModelEntry extends PartialModelEntry | ||
18 | { | ||
19 | } // ModelEntry | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectReference.java new file mode 100644 index 00000000..66f1ce18 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectReference.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Object Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectReference() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface ObjectReference extends TypeReference | ||
18 | { | ||
19 | } // ObjectReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModel.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModel.java new file mode 100644 index 00000000..8b96b07a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModel.java | |||
@@ -0,0 +1,20 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Partial Model</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModel() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface PartialModel extends EObject | ||
19 | { | ||
20 | } // PartialModel | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelDeclaration.java new file mode 100644 index 00000000..e54206a5 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelDeclaration.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Partial Model Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification <em>Specification</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelDeclaration() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface PartialModelDeclaration extends Declaration | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Specification</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Specification</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Specification</em>' containment reference. | ||
34 | * @see #setSpecification(PartialModelSpecification) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelDeclaration_Specification() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | PartialModelSpecification getSpecification(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification <em>Specification</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Specification</em>' containment reference. | ||
46 | * @see #getSpecification() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setSpecification(PartialModelSpecification value); | ||
50 | |||
51 | } // PartialModelDeclaration | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelEntry.java new file mode 100644 index 00000000..69c9bd03 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelEntry.java | |||
@@ -0,0 +1,52 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Partial Model Entry</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath <em>Path</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelEntry() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface PartialModelEntry extends EObject | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Path</b></em>' containment reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Path</em>' containment reference isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Path</em>' containment reference. | ||
35 | * @see #setPath(File) | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelEntry_Path() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | File getPath(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath <em>Path</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Path</em>' containment reference. | ||
47 | * @see #getPath() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setPath(File value); | ||
51 | |||
52 | } // PartialModelEntry | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelReference.java new file mode 100644 index 00000000..04c29865 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelReference.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Partial Model Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred <em>Referred</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelReference() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface PartialModelReference extends PartialModel | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Referred</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Referred</em>' reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Referred</em>' reference. | ||
34 | * @see #setReferred(PartialModelDeclaration) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelReference_Referred() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | PartialModelDeclaration getReferred(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred <em>Referred</em>}' reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Referred</em>' reference. | ||
46 | * @see #getReferred() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setReferred(PartialModelDeclaration value); | ||
50 | |||
51 | } // PartialModelReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelSpecification.java new file mode 100644 index 00000000..ca459b09 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelSpecification.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Partial Model Specification</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification#getEntry <em>Entry</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelSpecification() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface PartialModelSpecification extends PartialModel | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Entry</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Entry</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Entry</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelSpecification_Entry() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<PartialModelEntry> getEntry(); | ||
41 | |||
42 | } // PartialModelSpecification | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternElement.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternElement.java new file mode 100644 index 00000000..d9a2793d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternElement.java | |||
@@ -0,0 +1,52 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.viatra.query.patternlanguage.patternLanguage.Pattern; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Pattern Element</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern <em>Pattern</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternElement() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface PatternElement extends PatternEntry | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Pattern</b></em>' reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Pattern</em>' reference isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Pattern</em>' reference. | ||
35 | * @see #setPattern(Pattern) | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternElement_Pattern() | ||
37 | * @model | ||
38 | * @generated | ||
39 | */ | ||
40 | Pattern getPattern(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern <em>Pattern</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Pattern</em>' reference. | ||
47 | * @see #getPattern() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setPattern(Pattern value); | ||
51 | |||
52 | } // PatternElement | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternEntry.java new file mode 100644 index 00000000..f7e6a959 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternEntry.java | |||
@@ -0,0 +1,54 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | import org.eclipse.viatra.query.patternlanguage.patternLanguage.PatternModel; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * A representation of the model object '<em><b>Pattern Entry</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * <p> | ||
16 | * The following features are supported: | ||
17 | * </p> | ||
18 | * <ul> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage <em>Package</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternEntry() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface PatternEntry extends EObject | ||
27 | { | ||
28 | /** | ||
29 | * Returns the value of the '<em><b>Package</b></em>' reference. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <p> | ||
32 | * If the meaning of the '<em>Package</em>' reference isn't clear, | ||
33 | * there really should be more of a description here... | ||
34 | * </p> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @return the value of the '<em>Package</em>' reference. | ||
37 | * @see #setPackage(PatternModel) | ||
38 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternEntry_Package() | ||
39 | * @model | ||
40 | * @generated | ||
41 | */ | ||
42 | PatternModel getPackage(); | ||
43 | |||
44 | /** | ||
45 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage <em>Package</em>}' reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @param value the new value of the '<em>Package</em>' reference. | ||
49 | * @see #getPackage() | ||
50 | * @generated | ||
51 | */ | ||
52 | void setPackage(PatternModel value); | ||
53 | |||
54 | } // PatternEntry | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternSpecification.java new file mode 100644 index 00000000..1f90e1c1 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternSpecification.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Pattern Specification</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification#getEntries <em>Entries</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternSpecification() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface PatternSpecification extends GraphPattern | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Entries</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Entries</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Entries</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternSpecification_Entries() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<PatternEntry> getEntries(); | ||
41 | |||
42 | } // PatternSpecification | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealReference.java new file mode 100644 index 00000000..1151e43a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealReference.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Real Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealReference() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface RealReference extends TypeReference | ||
18 | { | ||
19 | } // RealReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealScope.java new file mode 100644 index 00000000..dd542267 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealScope.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Real Scope</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealScope() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface RealScope extends RealReference | ||
18 | { | ||
19 | } // RealScope | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Scope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Scope.java new file mode 100644 index 00000000..88caa59c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Scope.java | |||
@@ -0,0 +1,20 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Scope</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScope() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface Scope extends EObject | ||
19 | { | ||
20 | } // Scope | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeDeclaration.java new file mode 100644 index 00000000..aec71eab --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeDeclaration.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Scope Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification <em>Specification</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeDeclaration() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ScopeDeclaration extends Declaration | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Specification</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Specification</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Specification</em>' containment reference. | ||
34 | * @see #setSpecification(ScopeSpecification) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeDeclaration_Specification() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ScopeSpecification getSpecification(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification <em>Specification</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Specification</em>' containment reference. | ||
46 | * @see #getSpecification() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setSpecification(ScopeSpecification value); | ||
50 | |||
51 | } // ScopeDeclaration | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeReference.java new file mode 100644 index 00000000..a2481d61 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeReference.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Scope Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred <em>Referred</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeReference() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ScopeReference extends Scope | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Referred</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Referred</em>' reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Referred</em>' reference. | ||
34 | * @see #setReferred(ScopeDeclaration) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeReference_Referred() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | ScopeDeclaration getReferred(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred <em>Referred</em>}' reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Referred</em>' reference. | ||
46 | * @see #getReferred() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setReferred(ScopeDeclaration value); | ||
50 | |||
51 | } // ScopeReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeSpecification.java new file mode 100644 index 00000000..5e4dbdd9 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeSpecification.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Scope Specification</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification#getScopes <em>Scopes</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeSpecification() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface ScopeSpecification extends Scope | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Scopes</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Scopes</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Scopes</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeSpecification_Scopes() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<TypeScope> getScopes(); | ||
41 | |||
42 | } // ScopeSpecification | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Solver.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Solver.java new file mode 100644 index 00000000..50ffd4e1 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Solver.java | |||
@@ -0,0 +1,257 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import java.util.Arrays; | ||
7 | import java.util.Collections; | ||
8 | import java.util.List; | ||
9 | |||
10 | import org.eclipse.emf.common.util.Enumerator; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * A representation of the literals of the enumeration '<em><b>Solver</b></em>', | ||
15 | * and utility methods for working with them. | ||
16 | * <!-- end-user-doc --> | ||
17 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getSolver() | ||
18 | * @model | ||
19 | * @generated | ||
20 | */ | ||
21 | public enum Solver implements Enumerator | ||
22 | { | ||
23 | /** | ||
24 | * The '<em><b>SMT Solver</b></em>' literal object. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @see #SMT_SOLVER_VALUE | ||
28 | * @generated | ||
29 | * @ordered | ||
30 | */ | ||
31 | SMT_SOLVER(0, "SMTSolver", "SMTSolver"), | ||
32 | |||
33 | /** | ||
34 | * The '<em><b>Alloy Solver</b></em>' literal object. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #ALLOY_SOLVER_VALUE | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | ALLOY_SOLVER(1, "AlloySolver", "AlloySolver"), | ||
42 | |||
43 | /** | ||
44 | * The '<em><b>Viatra Solver</b></em>' literal object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #VIATRA_SOLVER_VALUE | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | VIATRA_SOLVER(2, "ViatraSolver", "ViatraSolver"); | ||
52 | |||
53 | /** | ||
54 | * The '<em><b>SMT Solver</b></em>' literal value. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <p> | ||
57 | * If the meaning of '<em><b>SMT Solver</b></em>' literal object isn't clear, | ||
58 | * there really should be more of a description here... | ||
59 | * </p> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @see #SMT_SOLVER | ||
62 | * @model name="SMTSolver" | ||
63 | * @generated | ||
64 | * @ordered | ||
65 | */ | ||
66 | public static final int SMT_SOLVER_VALUE = 0; | ||
67 | |||
68 | /** | ||
69 | * The '<em><b>Alloy Solver</b></em>' literal value. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <p> | ||
72 | * If the meaning of '<em><b>Alloy Solver</b></em>' literal object isn't clear, | ||
73 | * there really should be more of a description here... | ||
74 | * </p> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @see #ALLOY_SOLVER | ||
77 | * @model name="AlloySolver" | ||
78 | * @generated | ||
79 | * @ordered | ||
80 | */ | ||
81 | public static final int ALLOY_SOLVER_VALUE = 1; | ||
82 | |||
83 | /** | ||
84 | * The '<em><b>Viatra Solver</b></em>' literal value. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <p> | ||
87 | * If the meaning of '<em><b>Viatra Solver</b></em>' literal object isn't clear, | ||
88 | * there really should be more of a description here... | ||
89 | * </p> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @see #VIATRA_SOLVER | ||
92 | * @model name="ViatraSolver" | ||
93 | * @generated | ||
94 | * @ordered | ||
95 | */ | ||
96 | public static final int VIATRA_SOLVER_VALUE = 2; | ||
97 | |||
98 | /** | ||
99 | * An array of all the '<em><b>Solver</b></em>' enumerators. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | private static final Solver[] VALUES_ARRAY = | ||
105 | new Solver[] | ||
106 | { | ||
107 | SMT_SOLVER, | ||
108 | ALLOY_SOLVER, | ||
109 | VIATRA_SOLVER, | ||
110 | }; | ||
111 | |||
112 | /** | ||
113 | * A public read-only list of all the '<em><b>Solver</b></em>' enumerators. | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | public static final List<Solver> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
119 | |||
120 | /** | ||
121 | * Returns the '<em><b>Solver</b></em>' literal with the specified literal value. | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @param literal the literal. | ||
125 | * @return the matching enumerator or <code>null</code>. | ||
126 | * @generated | ||
127 | */ | ||
128 | public static Solver get(String literal) | ||
129 | { | ||
130 | for (int i = 0; i < VALUES_ARRAY.length; ++i) | ||
131 | { | ||
132 | Solver result = VALUES_ARRAY[i]; | ||
133 | if (result.toString().equals(literal)) | ||
134 | { | ||
135 | return result; | ||
136 | } | ||
137 | } | ||
138 | return null; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * Returns the '<em><b>Solver</b></em>' literal with the specified name. | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @param name the name. | ||
146 | * @return the matching enumerator or <code>null</code>. | ||
147 | * @generated | ||
148 | */ | ||
149 | public static Solver getByName(String name) | ||
150 | { | ||
151 | for (int i = 0; i < VALUES_ARRAY.length; ++i) | ||
152 | { | ||
153 | Solver result = VALUES_ARRAY[i]; | ||
154 | if (result.getName().equals(name)) | ||
155 | { | ||
156 | return result; | ||
157 | } | ||
158 | } | ||
159 | return null; | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * Returns the '<em><b>Solver</b></em>' literal with the specified integer value. | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @param value the integer value. | ||
167 | * @return the matching enumerator or <code>null</code>. | ||
168 | * @generated | ||
169 | */ | ||
170 | public static Solver get(int value) | ||
171 | { | ||
172 | switch (value) | ||
173 | { | ||
174 | case SMT_SOLVER_VALUE: return SMT_SOLVER; | ||
175 | case ALLOY_SOLVER_VALUE: return ALLOY_SOLVER; | ||
176 | case VIATRA_SOLVER_VALUE: return VIATRA_SOLVER; | ||
177 | } | ||
178 | return null; | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | private final int value; | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | private final String name; | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | private final String literal; | ||
201 | |||
202 | /** | ||
203 | * Only this class can construct instances. | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | private Solver(int value, String name, String literal) | ||
209 | { | ||
210 | this.value = value; | ||
211 | this.name = name; | ||
212 | this.literal = literal; | ||
213 | } | ||
214 | |||
215 | /** | ||
216 | * <!-- begin-user-doc --> | ||
217 | * <!-- end-user-doc --> | ||
218 | * @generated | ||
219 | */ | ||
220 | public int getValue() | ||
221 | { | ||
222 | return value; | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | public String getName() | ||
231 | { | ||
232 | return name; | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | public String getLiteral() | ||
241 | { | ||
242 | return literal; | ||
243 | } | ||
244 | |||
245 | /** | ||
246 | * Returns the literal value of the enumerator, which is its string representation. | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public String toString() | ||
253 | { | ||
254 | return literal; | ||
255 | } | ||
256 | |||
257 | } //Solver | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringReference.java new file mode 100644 index 00000000..a50faa30 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringReference.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>String Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringReference() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface StringReference extends TypeReference | ||
18 | { | ||
19 | } // StringReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringScope.java new file mode 100644 index 00000000..eddbed5a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringScope.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>String Scope</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringScope() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface StringScope extends StringReference | ||
18 | { | ||
19 | } // StringScope | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Task.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Task.java new file mode 100644 index 00000000..b78c662c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Task.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Task</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTask() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface Task extends Command | ||
18 | { | ||
19 | } // Task | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeReference.java new file mode 100644 index 00000000..952972ed --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeReference.java | |||
@@ -0,0 +1,20 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Type Reference</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeReference() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface TypeReference extends EObject | ||
19 | { | ||
20 | } // TypeReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeScope.java new file mode 100644 index 00000000..f1b65662 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeScope.java | |||
@@ -0,0 +1,187 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Type Scope</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType <em>Type</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew <em>Sets New</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum <em>Sets Sum</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin <em>Min</em>}</li> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isMaxUnlimited <em>Max Unlimited</em>}</li> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMax <em>Max</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope() | ||
26 | * @model | ||
27 | * @generated | ||
28 | */ | ||
29 | public interface TypeScope extends EObject | ||
30 | { | ||
31 | /** | ||
32 | * Returns the value of the '<em><b>Type</b></em>' containment reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <p> | ||
35 | * If the meaning of the '<em>Type</em>' containment reference isn't clear, | ||
36 | * there really should be more of a description here... | ||
37 | * </p> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @return the value of the '<em>Type</em>' containment reference. | ||
40 | * @see #setType(TypeReference) | ||
41 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_Type() | ||
42 | * @model containment="true" | ||
43 | * @generated | ||
44 | */ | ||
45 | TypeReference getType(); | ||
46 | |||
47 | /** | ||
48 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType <em>Type</em>}' containment reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @param value the new value of the '<em>Type</em>' containment reference. | ||
52 | * @see #getType() | ||
53 | * @generated | ||
54 | */ | ||
55 | void setType(TypeReference value); | ||
56 | |||
57 | /** | ||
58 | * Returns the value of the '<em><b>Sets New</b></em>' attribute. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <p> | ||
61 | * If the meaning of the '<em>Sets New</em>' attribute isn't clear, | ||
62 | * there really should be more of a description here... | ||
63 | * </p> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @return the value of the '<em>Sets New</em>' attribute. | ||
66 | * @see #setSetsNew(boolean) | ||
67 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_SetsNew() | ||
68 | * @model | ||
69 | * @generated | ||
70 | */ | ||
71 | boolean isSetsNew(); | ||
72 | |||
73 | /** | ||
74 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew <em>Sets New</em>}' attribute. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @param value the new value of the '<em>Sets New</em>' attribute. | ||
78 | * @see #isSetsNew() | ||
79 | * @generated | ||
80 | */ | ||
81 | void setSetsNew(boolean value); | ||
82 | |||
83 | /** | ||
84 | * Returns the value of the '<em><b>Sets Sum</b></em>' attribute. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <p> | ||
87 | * If the meaning of the '<em>Sets Sum</em>' attribute isn't clear, | ||
88 | * there really should be more of a description here... | ||
89 | * </p> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return the value of the '<em>Sets Sum</em>' attribute. | ||
92 | * @see #setSetsSum(boolean) | ||
93 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_SetsSum() | ||
94 | * @model | ||
95 | * @generated | ||
96 | */ | ||
97 | boolean isSetsSum(); | ||
98 | |||
99 | /** | ||
100 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum <em>Sets Sum</em>}' attribute. | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @param value the new value of the '<em>Sets Sum</em>' attribute. | ||
104 | * @see #isSetsSum() | ||
105 | * @generated | ||
106 | */ | ||
107 | void setSetsSum(boolean value); | ||
108 | |||
109 | /** | ||
110 | * Returns the value of the '<em><b>Min</b></em>' attribute. | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <p> | ||
113 | * If the meaning of the '<em>Min</em>' attribute isn't clear, | ||
114 | * there really should be more of a description here... | ||
115 | * </p> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @return the value of the '<em>Min</em>' attribute. | ||
118 | * @see #setMin(int) | ||
119 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_Min() | ||
120 | * @model | ||
121 | * @generated | ||
122 | */ | ||
123 | int getMin(); | ||
124 | |||
125 | /** | ||
126 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin <em>Min</em>}' attribute. | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @param value the new value of the '<em>Min</em>' attribute. | ||
130 | * @see #getMin() | ||
131 | * @generated | ||
132 | */ | ||
133 | void setMin(int value); | ||
134 | |||
135 | /** | ||
136 | * Returns the value of the '<em><b>Max Unlimited</b></em>' attribute. | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <p> | ||
139 | * If the meaning of the '<em>Max Unlimited</em>' attribute isn't clear, | ||
140 | * there really should be more of a description here... | ||
141 | * </p> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @return the value of the '<em>Max Unlimited</em>' attribute. | ||
144 | * @see #setMaxUnlimited(boolean) | ||
145 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_MaxUnlimited() | ||
146 | * @model | ||
147 | * @generated | ||
148 | */ | ||
149 | boolean isMaxUnlimited(); | ||
150 | |||
151 | /** | ||
152 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isMaxUnlimited <em>Max Unlimited</em>}' attribute. | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @param value the new value of the '<em>Max Unlimited</em>' attribute. | ||
156 | * @see #isMaxUnlimited() | ||
157 | * @generated | ||
158 | */ | ||
159 | void setMaxUnlimited(boolean value); | ||
160 | |||
161 | /** | ||
162 | * Returns the value of the '<em><b>Max</b></em>' attribute. | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <p> | ||
165 | * If the meaning of the '<em>Max</em>' attribute isn't clear, | ||
166 | * there really should be more of a description here... | ||
167 | * </p> | ||
168 | * <!-- end-user-doc --> | ||
169 | * @return the value of the '<em>Max</em>' attribute. | ||
170 | * @see #setMax(int) | ||
171 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_Max() | ||
172 | * @model | ||
173 | * @generated | ||
174 | */ | ||
175 | int getMax(); | ||
176 | |||
177 | /** | ||
178 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMax <em>Max</em>}' attribute. | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @param value the new value of the '<em>Max</em>' attribute. | ||
182 | * @see #getMax() | ||
183 | * @generated | ||
184 | */ | ||
185 | void setMax(int value); | ||
186 | |||
187 | } // TypeScope | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java new file mode 100644 index 00000000..8838fe85 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java | |||
@@ -0,0 +1,166 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>All Pattern Entry</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl#getExclusuion <em>Exclusuion</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class AllPatternEntryImpl extends PatternEntryImpl implements AllPatternEntry | ||
36 | { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getExclusuion() <em>Exclusuion</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getExclusuion() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<PatternElement> exclusuion; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected AllPatternEntryImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() | ||
64 | { | ||
65 | return ApplicationConfigurationPackage.Literals.ALL_PATTERN_ENTRY; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | public EList<PatternElement> getExclusuion() | ||
74 | { | ||
75 | if (exclusuion == null) | ||
76 | { | ||
77 | exclusuion = new EObjectContainmentEList<PatternElement>(PatternElement.class, this, ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION); | ||
78 | } | ||
79 | return exclusuion; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
89 | { | ||
90 | switch (featureID) | ||
91 | { | ||
92 | case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: | ||
93 | return ((InternalEList<?>)getExclusuion()).basicRemove(otherEnd, msgs); | ||
94 | } | ||
95 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
105 | { | ||
106 | switch (featureID) | ||
107 | { | ||
108 | case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: | ||
109 | return getExclusuion(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @SuppressWarnings("unchecked") | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) | ||
122 | { | ||
123 | switch (featureID) | ||
124 | { | ||
125 | case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: | ||
126 | getExclusuion().clear(); | ||
127 | getExclusuion().addAll((Collection<? extends PatternElement>)newValue); | ||
128 | return; | ||
129 | } | ||
130 | super.eSet(featureID, newValue); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eUnset(int featureID) | ||
140 | { | ||
141 | switch (featureID) | ||
142 | { | ||
143 | case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: | ||
144 | getExclusuion().clear(); | ||
145 | return; | ||
146 | } | ||
147 | super.eUnset(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public boolean eIsSet(int featureID) | ||
157 | { | ||
158 | switch (featureID) | ||
159 | { | ||
160 | case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: | ||
161 | return exclusuion != null && !exclusuion.isEmpty(); | ||
162 | } | ||
163 | return super.eIsSet(featureID); | ||
164 | } | ||
165 | |||
166 | } //AllPatternEntryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java index a623702e..ece5be15 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java | |||
@@ -1221,9 +1221,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1221 | * <!-- end-user-doc --> | 1221 | * <!-- end-user-doc --> |
1222 | * @generated | 1222 | * @generated |
1223 | */ | 1223 | */ |
1224 | public EAttribute getTypeScope_Min() | 1224 | public EReference getTypeScope_Type() |
1225 | { | 1225 | { |
1226 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(0); | 1226 | return (EReference)typeScopeEClass.getEStructuralFeatures().get(0); |
1227 | } | 1227 | } |
1228 | 1228 | ||
1229 | /** | 1229 | /** |
@@ -1231,7 +1231,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1231 | * <!-- end-user-doc --> | 1231 | * <!-- end-user-doc --> |
1232 | * @generated | 1232 | * @generated |
1233 | */ | 1233 | */ |
1234 | public EAttribute getTypeScope_Greather() | 1234 | public EAttribute getTypeScope_SetsNew() |
1235 | { | 1235 | { |
1236 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(1); | 1236 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(1); |
1237 | } | 1237 | } |
@@ -1241,7 +1241,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1241 | * <!-- end-user-doc --> | 1241 | * <!-- end-user-doc --> |
1242 | * @generated | 1242 | * @generated |
1243 | */ | 1243 | */ |
1244 | public EAttribute getTypeScope_GreaterOrEqual() | 1244 | public EAttribute getTypeScope_SetsSum() |
1245 | { | 1245 | { |
1246 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(2); | 1246 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(2); |
1247 | } | 1247 | } |
@@ -1251,9 +1251,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1251 | * <!-- end-user-doc --> | 1251 | * <!-- end-user-doc --> |
1252 | * @generated | 1252 | * @generated |
1253 | */ | 1253 | */ |
1254 | public EReference getTypeScope_Type() | 1254 | public EAttribute getTypeScope_Min() |
1255 | { | 1255 | { |
1256 | return (EReference)typeScopeEClass.getEStructuralFeatures().get(3); | 1256 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(3); |
1257 | } | 1257 | } |
1258 | 1258 | ||
1259 | /** | 1259 | /** |
@@ -1261,7 +1261,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1261 | * <!-- end-user-doc --> | 1261 | * <!-- end-user-doc --> |
1262 | * @generated | 1262 | * @generated |
1263 | */ | 1263 | */ |
1264 | public EAttribute getTypeScope_Less() | 1264 | public EAttribute getTypeScope_MaxUnlimited() |
1265 | { | 1265 | { |
1266 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(4); | 1266 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(4); |
1267 | } | 1267 | } |
@@ -1271,19 +1271,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1271 | * <!-- end-user-doc --> | 1271 | * <!-- end-user-doc --> |
1272 | * @generated | 1272 | * @generated |
1273 | */ | 1273 | */ |
1274 | public EAttribute getTypeScope_LessOrEqual() | ||
1275 | { | ||
1276 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(5); | ||
1277 | } | ||
1278 | |||
1279 | /** | ||
1280 | * <!-- begin-user-doc --> | ||
1281 | * <!-- end-user-doc --> | ||
1282 | * @generated | ||
1283 | */ | ||
1284 | public EAttribute getTypeScope_Max() | 1274 | public EAttribute getTypeScope_Max() |
1285 | { | 1275 | { |
1286 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(6); | 1276 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(5); |
1287 | } | 1277 | } |
1288 | 1278 | ||
1289 | /** | 1279 | /** |
@@ -1723,12 +1713,11 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1723 | createEReference(scopeSpecificationEClass, SCOPE_SPECIFICATION__SCOPES); | 1713 | createEReference(scopeSpecificationEClass, SCOPE_SPECIFICATION__SCOPES); |
1724 | 1714 | ||
1725 | typeScopeEClass = createEClass(TYPE_SCOPE); | 1715 | typeScopeEClass = createEClass(TYPE_SCOPE); |
1726 | createEAttribute(typeScopeEClass, TYPE_SCOPE__MIN); | ||
1727 | createEAttribute(typeScopeEClass, TYPE_SCOPE__GREATHER); | ||
1728 | createEAttribute(typeScopeEClass, TYPE_SCOPE__GREATER_OR_EQUAL); | ||
1729 | createEReference(typeScopeEClass, TYPE_SCOPE__TYPE); | 1716 | createEReference(typeScopeEClass, TYPE_SCOPE__TYPE); |
1730 | createEAttribute(typeScopeEClass, TYPE_SCOPE__LESS); | 1717 | createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_NEW); |
1731 | createEAttribute(typeScopeEClass, TYPE_SCOPE__LESS_OR_EQUAL); | 1718 | createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_SUM); |
1719 | createEAttribute(typeScopeEClass, TYPE_SCOPE__MIN); | ||
1720 | createEAttribute(typeScopeEClass, TYPE_SCOPE__MAX_UNLIMITED); | ||
1732 | createEAttribute(typeScopeEClass, TYPE_SCOPE__MAX); | 1721 | createEAttribute(typeScopeEClass, TYPE_SCOPE__MAX); |
1733 | 1722 | ||
1734 | typeReferenceEClass = createEClass(TYPE_REFERENCE); | 1723 | typeReferenceEClass = createEClass(TYPE_REFERENCE); |
@@ -1957,12 +1946,11 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1957 | initEReference(getScopeSpecification_Scopes(), this.getTypeScope(), null, "scopes", null, 0, -1, ScopeSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1946 | initEReference(getScopeSpecification_Scopes(), this.getTypeScope(), null, "scopes", null, 0, -1, ScopeSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1958 | 1947 | ||
1959 | initEClass(typeScopeEClass, TypeScope.class, "TypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1948 | initEClass(typeScopeEClass, TypeScope.class, "TypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1960 | initEAttribute(getTypeScope_Min(), theEcorePackage.getEInt(), "min", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1961 | initEAttribute(getTypeScope_Greather(), theEcorePackage.getEBoolean(), "greather", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1962 | initEAttribute(getTypeScope_GreaterOrEqual(), theEcorePackage.getEBoolean(), "greaterOrEqual", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1963 | initEReference(getTypeScope_Type(), this.getTypeReference(), null, "type", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1949 | initEReference(getTypeScope_Type(), this.getTypeReference(), null, "type", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1964 | initEAttribute(getTypeScope_Less(), theEcorePackage.getEBoolean(), "less", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1950 | initEAttribute(getTypeScope_SetsNew(), theEcorePackage.getEBoolean(), "setsNew", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1965 | initEAttribute(getTypeScope_LessOrEqual(), theEcorePackage.getEBoolean(), "lessOrEqual", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1951 | initEAttribute(getTypeScope_SetsSum(), theEcorePackage.getEBoolean(), "setsSum", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1952 | initEAttribute(getTypeScope_Min(), theEcorePackage.getEInt(), "min", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1953 | initEAttribute(getTypeScope_MaxUnlimited(), theEcorePackage.getEBoolean(), "maxUnlimited", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1966 | initEAttribute(getTypeScope_Max(), theEcorePackage.getEInt(), "max", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1954 | initEAttribute(getTypeScope_Max(), theEcorePackage.getEInt(), "max", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1967 | 1955 | ||
1968 | initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1956 | initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassReferenceImpl.java new file mode 100644 index 00000000..0cb8c9e0 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassReferenceImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Class Reference</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl#getElement <em>Element</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ClassReferenceImpl extends TypeReferenceImpl implements ClassReference | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getElement() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected MetamodelElement element; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected ClassReferenceImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.CLASS_REFERENCE; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public MetamodelElement getElement() | ||
70 | { | ||
71 | return element; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetElement(MetamodelElement newElement, NotificationChain msgs) | ||
80 | { | ||
81 | MetamodelElement oldElement = element; | ||
82 | element = newElement; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT, oldElement, newElement); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setElement(MetamodelElement newElement) | ||
97 | { | ||
98 | if (newElement != element) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (element != null) | ||
102 | msgs = ((InternalEObject)element).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT, null, msgs); | ||
103 | if (newElement != null) | ||
104 | msgs = ((InternalEObject)newElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT, null, msgs); | ||
105 | msgs = basicSetElement(newElement, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT, newElement, newElement)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: | ||
123 | return basicSetElement(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: | ||
139 | return getElement(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: | ||
155 | setElement((MetamodelElement)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: | ||
172 | setElement((MetamodelElement)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: | ||
189 | return element != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //ClassReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigDeclarationImpl.java new file mode 100644 index 00000000..48d6831a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigDeclarationImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Config Declaration</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl#getSpecification <em>Specification</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ConfigDeclarationImpl extends DeclarationImpl implements ConfigDeclaration | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getSpecification() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ConfigSpecification specification; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected ConfigDeclarationImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public ConfigSpecification getSpecification() | ||
70 | { | ||
71 | return specification; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetSpecification(ConfigSpecification newSpecification, NotificationChain msgs) | ||
80 | { | ||
81 | ConfigSpecification oldSpecification = specification; | ||
82 | specification = newSpecification; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setSpecification(ConfigSpecification newSpecification) | ||
97 | { | ||
98 | if (newSpecification != specification) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (specification != null) | ||
102 | msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION, null, msgs); | ||
103 | if (newSpecification != null) | ||
104 | msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION, null, msgs); | ||
105 | msgs = basicSetSpecification(newSpecification, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: | ||
123 | return basicSetSpecification(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: | ||
139 | return getSpecification(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: | ||
155 | setSpecification((ConfigSpecification)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: | ||
172 | setSpecification((ConfigSpecification)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: | ||
189 | return specification != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //ConfigDeclarationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java new file mode 100644 index 00000000..3ab3d587 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java | |||
@@ -0,0 +1,234 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>Config Entry</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * </p> | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl#getKey <em>Key</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl#getValue <em>Value</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ConfigEntryImpl extends MinimalEObjectImpl.Container implements ConfigEntry | ||
31 | { | ||
32 | /** | ||
33 | * The default value of the '{@link #getKey() <em>Key</em>}' attribute. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getKey() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected static final String KEY_EDEFAULT = null; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getKey() <em>Key</em>}' attribute. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getKey() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected String key = KEY_EDEFAULT; | ||
51 | |||
52 | /** | ||
53 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #getValue() | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | protected static final String VALUE_EDEFAULT = null; | ||
61 | |||
62 | /** | ||
63 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #getValue() | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | protected String value = VALUE_EDEFAULT; | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | protected ConfigEntryImpl() | ||
78 | { | ||
79 | super(); | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | protected EClass eStaticClass() | ||
89 | { | ||
90 | return ApplicationConfigurationPackage.Literals.CONFIG_ENTRY; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public String getKey() | ||
99 | { | ||
100 | return key; | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | public void setKey(String newKey) | ||
109 | { | ||
110 | String oldKey = key; | ||
111 | key = newKey; | ||
112 | if (eNotificationRequired()) | ||
113 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_ENTRY__KEY, oldKey, key)); | ||
114 | } | ||
115 | |||
116 | /** | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | */ | ||
121 | public String getValue() | ||
122 | { | ||
123 | return value; | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | public void setValue(String newValue) | ||
132 | { | ||
133 | String oldValue = value; | ||
134 | value = newValue; | ||
135 | if (eNotificationRequired()) | ||
136 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE, oldValue, value)); | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
146 | { | ||
147 | switch (featureID) | ||
148 | { | ||
149 | case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: | ||
150 | return getKey(); | ||
151 | case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: | ||
152 | return getValue(); | ||
153 | } | ||
154 | return super.eGet(featureID, resolve, coreType); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public void eSet(int featureID, Object newValue) | ||
164 | { | ||
165 | switch (featureID) | ||
166 | { | ||
167 | case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: | ||
168 | setKey((String)newValue); | ||
169 | return; | ||
170 | case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: | ||
171 | setValue((String)newValue); | ||
172 | return; | ||
173 | } | ||
174 | super.eSet(featureID, newValue); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public void eUnset(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: | ||
188 | setKey(KEY_EDEFAULT); | ||
189 | return; | ||
190 | case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: | ||
191 | setValue(VALUE_EDEFAULT); | ||
192 | return; | ||
193 | } | ||
194 | super.eUnset(featureID); | ||
195 | } | ||
196 | |||
197 | /** | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @generated | ||
201 | */ | ||
202 | @Override | ||
203 | public boolean eIsSet(int featureID) | ||
204 | { | ||
205 | switch (featureID) | ||
206 | { | ||
207 | case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: | ||
208 | return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); | ||
209 | case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: | ||
210 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); | ||
211 | } | ||
212 | return super.eIsSet(featureID); | ||
213 | } | ||
214 | |||
215 | /** | ||
216 | * <!-- begin-user-doc --> | ||
217 | * <!-- end-user-doc --> | ||
218 | * @generated | ||
219 | */ | ||
220 | @Override | ||
221 | public String toString() | ||
222 | { | ||
223 | if (eIsProxy()) return super.toString(); | ||
224 | |||
225 | StringBuffer result = new StringBuffer(super.toString()); | ||
226 | result.append(" (key: "); | ||
227 | result.append(key); | ||
228 | result.append(", value: "); | ||
229 | result.append(value); | ||
230 | result.append(')'); | ||
231 | return result.toString(); | ||
232 | } | ||
233 | |||
234 | } //ConfigEntryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigImpl.java new file mode 100644 index 00000000..d05e968b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Config</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class ConfigImpl extends MinimalEObjectImpl.Container implements Config | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected ConfigImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.CONFIG; | ||
41 | } | ||
42 | |||
43 | } //ConfigImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java new file mode 100644 index 00000000..5051ccd6 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java | |||
@@ -0,0 +1,173 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Config Reference</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl#getConfig <em>Config</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ConfigReferenceImpl extends ConfigImpl implements ConfigReference | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getConfig() <em>Config</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getConfig() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ConfigDeclaration config; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ConfigReferenceImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ConfigDeclaration getConfig() | ||
69 | { | ||
70 | if (config != null && config.eIsProxy()) | ||
71 | { | ||
72 | InternalEObject oldConfig = (InternalEObject)config; | ||
73 | config = (ConfigDeclaration)eResolveProxy(oldConfig); | ||
74 | if (config != oldConfig) | ||
75 | { | ||
76 | if (eNotificationRequired()) | ||
77 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG, oldConfig, config)); | ||
78 | } | ||
79 | } | ||
80 | return config; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public ConfigDeclaration basicGetConfig() | ||
89 | { | ||
90 | return config; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public void setConfig(ConfigDeclaration newConfig) | ||
99 | { | ||
100 | ConfigDeclaration oldConfig = config; | ||
101 | config = newConfig; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG, oldConfig, config)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
113 | { | ||
114 | switch (featureID) | ||
115 | { | ||
116 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: | ||
117 | if (resolve) return getConfig(); | ||
118 | return basicGetConfig(); | ||
119 | } | ||
120 | return super.eGet(featureID, resolve, coreType); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eSet(int featureID, Object newValue) | ||
130 | { | ||
131 | switch (featureID) | ||
132 | { | ||
133 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: | ||
134 | setConfig((ConfigDeclaration)newValue); | ||
135 | return; | ||
136 | } | ||
137 | super.eSet(featureID, newValue); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public void eUnset(int featureID) | ||
147 | { | ||
148 | switch (featureID) | ||
149 | { | ||
150 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: | ||
151 | setConfig((ConfigDeclaration)null); | ||
152 | return; | ||
153 | } | ||
154 | super.eUnset(featureID); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public boolean eIsSet(int featureID) | ||
164 | { | ||
165 | switch (featureID) | ||
166 | { | ||
167 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: | ||
168 | return config != null; | ||
169 | } | ||
170 | return super.eIsSet(featureID); | ||
171 | } | ||
172 | |||
173 | } //ConfigReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigSpecificationImpl.java new file mode 100644 index 00000000..6056d7a4 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigSpecificationImpl.java | |||
@@ -0,0 +1,166 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Config Specification</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl#getEntries <em>Entries</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class ConfigSpecificationImpl extends ConfigImpl implements ConfigSpecification | ||
36 | { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getEntries() <em>Entries</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getEntries() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<ConfigEntry> entries; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected ConfigSpecificationImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() | ||
64 | { | ||
65 | return ApplicationConfigurationPackage.Literals.CONFIG_SPECIFICATION; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | public EList<ConfigEntry> getEntries() | ||
74 | { | ||
75 | if (entries == null) | ||
76 | { | ||
77 | entries = new EObjectContainmentEList<ConfigEntry>(ConfigEntry.class, this, ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES); | ||
78 | } | ||
79 | return entries; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
89 | { | ||
90 | switch (featureID) | ||
91 | { | ||
92 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: | ||
93 | return ((InternalEList<?>)getEntries()).basicRemove(otherEnd, msgs); | ||
94 | } | ||
95 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
105 | { | ||
106 | switch (featureID) | ||
107 | { | ||
108 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: | ||
109 | return getEntries(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @SuppressWarnings("unchecked") | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) | ||
122 | { | ||
123 | switch (featureID) | ||
124 | { | ||
125 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: | ||
126 | getEntries().clear(); | ||
127 | getEntries().addAll((Collection<? extends ConfigEntry>)newValue); | ||
128 | return; | ||
129 | } | ||
130 | super.eSet(featureID, newValue); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eUnset(int featureID) | ||
140 | { | ||
141 | switch (featureID) | ||
142 | { | ||
143 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: | ||
144 | getEntries().clear(); | ||
145 | return; | ||
146 | } | ||
147 | super.eUnset(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public boolean eIsSet(int featureID) | ||
157 | { | ||
158 | switch (featureID) | ||
159 | { | ||
160 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: | ||
161 | return entries != null && !entries.isEmpty(); | ||
162 | } | ||
163 | return super.eIsSet(featureID); | ||
164 | } | ||
165 | |||
166 | } //ConfigSpecificationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileDeclarationImpl.java new file mode 100644 index 00000000..6ad7f209 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileDeclarationImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>File Declaration</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl#getSpecification <em>Specification</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class FileDeclarationImpl extends DeclarationImpl implements FileDeclaration | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getSpecification() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected FileSpecification specification; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected FileDeclarationImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.FILE_DECLARATION; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public FileSpecification getSpecification() | ||
70 | { | ||
71 | return specification; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetSpecification(FileSpecification newSpecification, NotificationChain msgs) | ||
80 | { | ||
81 | FileSpecification oldSpecification = specification; | ||
82 | specification = newSpecification; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setSpecification(FileSpecification newSpecification) | ||
97 | { | ||
98 | if (newSpecification != specification) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (specification != null) | ||
102 | msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION, null, msgs); | ||
103 | if (newSpecification != null) | ||
104 | msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION, null, msgs); | ||
105 | msgs = basicSetSpecification(newSpecification, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: | ||
123 | return basicSetSpecification(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: | ||
139 | return getSpecification(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: | ||
155 | setSpecification((FileSpecification)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: | ||
172 | setSpecification((FileSpecification)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: | ||
189 | return specification != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //FileDeclarationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileImpl.java new file mode 100644 index 00000000..c0972e97 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>File</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class FileImpl extends MinimalEObjectImpl.Container implements File | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected FileImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.FILE; | ||
41 | } | ||
42 | |||
43 | } //FileImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileReferenceImpl.java new file mode 100644 index 00000000..a8382432 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileReferenceImpl.java | |||
@@ -0,0 +1,173 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>File Reference</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl#getReferred <em>Referred</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class FileReferenceImpl extends FileImpl implements FileReference | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getReferred() <em>Referred</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getReferred() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected FileDeclaration referred; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected FileReferenceImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.FILE_REFERENCE; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public FileDeclaration getReferred() | ||
69 | { | ||
70 | if (referred != null && referred.eIsProxy()) | ||
71 | { | ||
72 | InternalEObject oldReferred = (InternalEObject)referred; | ||
73 | referred = (FileDeclaration)eResolveProxy(oldReferred); | ||
74 | if (referred != oldReferred) | ||
75 | { | ||
76 | if (eNotificationRequired()) | ||
77 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED, oldReferred, referred)); | ||
78 | } | ||
79 | } | ||
80 | return referred; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public FileDeclaration basicGetReferred() | ||
89 | { | ||
90 | return referred; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public void setReferred(FileDeclaration newReferred) | ||
99 | { | ||
100 | FileDeclaration oldReferred = referred; | ||
101 | referred = newReferred; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED, oldReferred, referred)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
113 | { | ||
114 | switch (featureID) | ||
115 | { | ||
116 | case ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED: | ||
117 | if (resolve) return getReferred(); | ||
118 | return basicGetReferred(); | ||
119 | } | ||
120 | return super.eGet(featureID, resolve, coreType); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eSet(int featureID, Object newValue) | ||
130 | { | ||
131 | switch (featureID) | ||
132 | { | ||
133 | case ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED: | ||
134 | setReferred((FileDeclaration)newValue); | ||
135 | return; | ||
136 | } | ||
137 | super.eSet(featureID, newValue); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public void eUnset(int featureID) | ||
147 | { | ||
148 | switch (featureID) | ||
149 | { | ||
150 | case ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED: | ||
151 | setReferred((FileDeclaration)null); | ||
152 | return; | ||
153 | } | ||
154 | super.eUnset(featureID); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public boolean eIsSet(int featureID) | ||
164 | { | ||
165 | switch (featureID) | ||
166 | { | ||
167 | case ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED: | ||
168 | return referred != null; | ||
169 | } | ||
170 | return super.eIsSet(featureID); | ||
171 | } | ||
172 | |||
173 | } //FileReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileSpecificationImpl.java new file mode 100644 index 00000000..25fb7994 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileSpecificationImpl.java | |||
@@ -0,0 +1,177 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>File Specification</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl#getPath <em>Path</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class FileSpecificationImpl extends FileImpl implements FileSpecification | ||
29 | { | ||
30 | /** | ||
31 | * The default value of the '{@link #getPath() <em>Path</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getPath() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final String PATH_EDEFAULT = null; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #getPath() <em>Path</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getPath() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected String path = PATH_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | protected FileSpecificationImpl() | ||
56 | { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() | ||
67 | { | ||
68 | return ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public String getPath() | ||
77 | { | ||
78 | return path; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public void setPath(String newPath) | ||
87 | { | ||
88 | String oldPath = path; | ||
89 | path = newPath; | ||
90 | if (eNotificationRequired()) | ||
91 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH, oldPath, path)); | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
101 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH: | ||
105 | return getPath(); | ||
106 | } | ||
107 | return super.eGet(featureID, resolve, coreType); | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public void eSet(int featureID, Object newValue) | ||
117 | { | ||
118 | switch (featureID) | ||
119 | { | ||
120 | case ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH: | ||
121 | setPath((String)newValue); | ||
122 | return; | ||
123 | } | ||
124 | super.eSet(featureID, newValue); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public void eUnset(int featureID) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH: | ||
138 | setPath(PATH_EDEFAULT); | ||
139 | return; | ||
140 | } | ||
141 | super.eUnset(featureID); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public boolean eIsSet(int featureID) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH: | ||
155 | return PATH_EDEFAULT == null ? path != null : !PATH_EDEFAULT.equals(path); | ||
156 | } | ||
157 | return super.eIsSet(featureID); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public String toString() | ||
167 | { | ||
168 | if (eIsProxy()) return super.toString(); | ||
169 | |||
170 | StringBuffer result = new StringBuffer(super.toString()); | ||
171 | result.append(" (path: "); | ||
172 | result.append(path); | ||
173 | result.append(')'); | ||
174 | return result.toString(); | ||
175 | } | ||
176 | |||
177 | } //FileSpecificationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java new file mode 100644 index 00000000..0d65b1b6 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java | |||
@@ -0,0 +1,166 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Folder Entry</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl#getExclusion <em>Exclusion</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class FolderEntryImpl extends PartialModelEntryImpl implements FolderEntry | ||
36 | { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getExclusion() <em>Exclusion</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getExclusion() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<ModelEntry> exclusion; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected FolderEntryImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() | ||
64 | { | ||
65 | return ApplicationConfigurationPackage.Literals.FOLDER_ENTRY; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | public EList<ModelEntry> getExclusion() | ||
74 | { | ||
75 | if (exclusion == null) | ||
76 | { | ||
77 | exclusion = new EObjectContainmentEList<ModelEntry>(ModelEntry.class, this, ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION); | ||
78 | } | ||
79 | return exclusion; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
89 | { | ||
90 | switch (featureID) | ||
91 | { | ||
92 | case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: | ||
93 | return ((InternalEList<?>)getExclusion()).basicRemove(otherEnd, msgs); | ||
94 | } | ||
95 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
105 | { | ||
106 | switch (featureID) | ||
107 | { | ||
108 | case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: | ||
109 | return getExclusion(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @SuppressWarnings("unchecked") | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) | ||
122 | { | ||
123 | switch (featureID) | ||
124 | { | ||
125 | case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: | ||
126 | getExclusion().clear(); | ||
127 | getExclusion().addAll((Collection<? extends ModelEntry>)newValue); | ||
128 | return; | ||
129 | } | ||
130 | super.eSet(featureID, newValue); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eUnset(int featureID) | ||
140 | { | ||
141 | switch (featureID) | ||
142 | { | ||
143 | case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: | ||
144 | getExclusion().clear(); | ||
145 | return; | ||
146 | } | ||
147 | super.eUnset(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public boolean eIsSet(int featureID) | ||
157 | { | ||
158 | switch (featureID) | ||
159 | { | ||
160 | case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: | ||
161 | return exclusion != null && !exclusion.isEmpty(); | ||
162 | } | ||
163 | return super.eIsSet(featureID); | ||
164 | } | ||
165 | |||
166 | } //FolderEntryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java new file mode 100644 index 00000000..a4c27c8d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java | |||
@@ -0,0 +1,951 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; | ||
9 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; | ||
10 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern; | ||
11 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; | ||
12 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; | ||
13 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; | ||
14 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver; | ||
15 | |||
16 | import org.eclipse.emf.common.notify.Notification; | ||
17 | import org.eclipse.emf.common.notify.NotificationChain; | ||
18 | |||
19 | import org.eclipse.emf.ecore.EClass; | ||
20 | import org.eclipse.emf.ecore.InternalEObject; | ||
21 | |||
22 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
23 | |||
24 | /** | ||
25 | * <!-- begin-user-doc --> | ||
26 | * An implementation of the model object '<em><b>Generation Task</b></em>'. | ||
27 | * <!-- end-user-doc --> | ||
28 | * <p> | ||
29 | * The following features are implemented: | ||
30 | * </p> | ||
31 | * <ul> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getMetamodel <em>Metamodel</em>}</li> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPartialModel <em>Partial Model</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPatterns <em>Patterns</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getScope <em>Scope</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getNumber <em>Number</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getRuns <em>Runs</em>}</li> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getSolver <em>Solver</em>}</li> | ||
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getConfig <em>Config</em>}</li> | ||
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTagetFolder <em>Taget Folder</em>}</li> | ||
41 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getDebugFolder <em>Debug Folder</em>}</li> | ||
42 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetLogFile <em>Target Log File</em>}</li> | ||
43 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetStatisticsFile <em>Target Statistics File</em>}</li> | ||
44 | * </ul> | ||
45 | * | ||
46 | * @generated | ||
47 | */ | ||
48 | public class GenerationTaskImpl extends TaskImpl implements GenerationTask | ||
49 | { | ||
50 | /** | ||
51 | * The cached value of the '{@link #getMetamodel() <em>Metamodel</em>}' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getMetamodel() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected Metamodel metamodel; | ||
59 | |||
60 | /** | ||
61 | * The cached value of the '{@link #getPartialModel() <em>Partial Model</em>}' containment reference. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see #getPartialModel() | ||
65 | * @generated | ||
66 | * @ordered | ||
67 | */ | ||
68 | protected PartialModel partialModel; | ||
69 | |||
70 | /** | ||
71 | * The cached value of the '{@link #getPatterns() <em>Patterns</em>}' containment reference. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @see #getPatterns() | ||
75 | * @generated | ||
76 | * @ordered | ||
77 | */ | ||
78 | protected GraphPattern patterns; | ||
79 | |||
80 | /** | ||
81 | * The cached value of the '{@link #getScope() <em>Scope</em>}' containment reference. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @see #getScope() | ||
85 | * @generated | ||
86 | * @ordered | ||
87 | */ | ||
88 | protected Scope scope; | ||
89 | |||
90 | /** | ||
91 | * The default value of the '{@link #getNumber() <em>Number</em>}' attribute. | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @see #getNumber() | ||
95 | * @generated | ||
96 | * @ordered | ||
97 | */ | ||
98 | protected static final int NUMBER_EDEFAULT = 0; | ||
99 | |||
100 | /** | ||
101 | * The cached value of the '{@link #getNumber() <em>Number</em>}' attribute. | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @see #getNumber() | ||
105 | * @generated | ||
106 | * @ordered | ||
107 | */ | ||
108 | protected int number = NUMBER_EDEFAULT; | ||
109 | |||
110 | /** | ||
111 | * The default value of the '{@link #getRuns() <em>Runs</em>}' attribute. | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @see #getRuns() | ||
115 | * @generated | ||
116 | * @ordered | ||
117 | */ | ||
118 | protected static final int RUNS_EDEFAULT = 0; | ||
119 | |||
120 | /** | ||
121 | * The cached value of the '{@link #getRuns() <em>Runs</em>}' attribute. | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @see #getRuns() | ||
125 | * @generated | ||
126 | * @ordered | ||
127 | */ | ||
128 | protected int runs = RUNS_EDEFAULT; | ||
129 | |||
130 | /** | ||
131 | * The default value of the '{@link #getSolver() <em>Solver</em>}' attribute. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @see #getSolver() | ||
135 | * @generated | ||
136 | * @ordered | ||
137 | */ | ||
138 | protected static final Solver SOLVER_EDEFAULT = Solver.SMT_SOLVER; | ||
139 | |||
140 | /** | ||
141 | * The cached value of the '{@link #getSolver() <em>Solver</em>}' attribute. | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @see #getSolver() | ||
145 | * @generated | ||
146 | * @ordered | ||
147 | */ | ||
148 | protected Solver solver = SOLVER_EDEFAULT; | ||
149 | |||
150 | /** | ||
151 | * The cached value of the '{@link #getConfig() <em>Config</em>}' containment reference. | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @see #getConfig() | ||
155 | * @generated | ||
156 | * @ordered | ||
157 | */ | ||
158 | protected Config config; | ||
159 | |||
160 | /** | ||
161 | * The cached value of the '{@link #getTagetFolder() <em>Taget Folder</em>}' containment reference. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @see #getTagetFolder() | ||
165 | * @generated | ||
166 | * @ordered | ||
167 | */ | ||
168 | protected File tagetFolder; | ||
169 | |||
170 | /** | ||
171 | * The cached value of the '{@link #getDebugFolder() <em>Debug Folder</em>}' containment reference. | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @see #getDebugFolder() | ||
175 | * @generated | ||
176 | * @ordered | ||
177 | */ | ||
178 | protected File debugFolder; | ||
179 | |||
180 | /** | ||
181 | * The cached value of the '{@link #getTargetLogFile() <em>Target Log File</em>}' containment reference. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @see #getTargetLogFile() | ||
185 | * @generated | ||
186 | * @ordered | ||
187 | */ | ||
188 | protected File targetLogFile; | ||
189 | |||
190 | /** | ||
191 | * The cached value of the '{@link #getTargetStatisticsFile() <em>Target Statistics File</em>}' containment reference. | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @see #getTargetStatisticsFile() | ||
195 | * @generated | ||
196 | * @ordered | ||
197 | */ | ||
198 | protected File targetStatisticsFile; | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | protected GenerationTaskImpl() | ||
206 | { | ||
207 | super(); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | protected EClass eStaticClass() | ||
217 | { | ||
218 | return ApplicationConfigurationPackage.Literals.GENERATION_TASK; | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | public Metamodel getMetamodel() | ||
227 | { | ||
228 | return metamodel; | ||
229 | } | ||
230 | |||
231 | /** | ||
232 | * <!-- begin-user-doc --> | ||
233 | * <!-- end-user-doc --> | ||
234 | * @generated | ||
235 | */ | ||
236 | public NotificationChain basicSetMetamodel(Metamodel newMetamodel, NotificationChain msgs) | ||
237 | { | ||
238 | Metamodel oldMetamodel = metamodel; | ||
239 | metamodel = newMetamodel; | ||
240 | if (eNotificationRequired()) | ||
241 | { | ||
242 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, oldMetamodel, newMetamodel); | ||
243 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
244 | } | ||
245 | return msgs; | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | public void setMetamodel(Metamodel newMetamodel) | ||
254 | { | ||
255 | if (newMetamodel != metamodel) | ||
256 | { | ||
257 | NotificationChain msgs = null; | ||
258 | if (metamodel != null) | ||
259 | msgs = ((InternalEObject)metamodel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, null, msgs); | ||
260 | if (newMetamodel != null) | ||
261 | msgs = ((InternalEObject)newMetamodel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, null, msgs); | ||
262 | msgs = basicSetMetamodel(newMetamodel, msgs); | ||
263 | if (msgs != null) msgs.dispatch(); | ||
264 | } | ||
265 | else if (eNotificationRequired()) | ||
266 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, newMetamodel, newMetamodel)); | ||
267 | } | ||
268 | |||
269 | /** | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @generated | ||
273 | */ | ||
274 | public PartialModel getPartialModel() | ||
275 | { | ||
276 | return partialModel; | ||
277 | } | ||
278 | |||
279 | /** | ||
280 | * <!-- begin-user-doc --> | ||
281 | * <!-- end-user-doc --> | ||
282 | * @generated | ||
283 | */ | ||
284 | public NotificationChain basicSetPartialModel(PartialModel newPartialModel, NotificationChain msgs) | ||
285 | { | ||
286 | PartialModel oldPartialModel = partialModel; | ||
287 | partialModel = newPartialModel; | ||
288 | if (eNotificationRequired()) | ||
289 | { | ||
290 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, oldPartialModel, newPartialModel); | ||
291 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
292 | } | ||
293 | return msgs; | ||
294 | } | ||
295 | |||
296 | /** | ||
297 | * <!-- begin-user-doc --> | ||
298 | * <!-- end-user-doc --> | ||
299 | * @generated | ||
300 | */ | ||
301 | public void setPartialModel(PartialModel newPartialModel) | ||
302 | { | ||
303 | if (newPartialModel != partialModel) | ||
304 | { | ||
305 | NotificationChain msgs = null; | ||
306 | if (partialModel != null) | ||
307 | msgs = ((InternalEObject)partialModel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, null, msgs); | ||
308 | if (newPartialModel != null) | ||
309 | msgs = ((InternalEObject)newPartialModel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, null, msgs); | ||
310 | msgs = basicSetPartialModel(newPartialModel, msgs); | ||
311 | if (msgs != null) msgs.dispatch(); | ||
312 | } | ||
313 | else if (eNotificationRequired()) | ||
314 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, newPartialModel, newPartialModel)); | ||
315 | } | ||
316 | |||
317 | /** | ||
318 | * <!-- begin-user-doc --> | ||
319 | * <!-- end-user-doc --> | ||
320 | * @generated | ||
321 | */ | ||
322 | public GraphPattern getPatterns() | ||
323 | { | ||
324 | return patterns; | ||
325 | } | ||
326 | |||
327 | /** | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @generated | ||
331 | */ | ||
332 | public NotificationChain basicSetPatterns(GraphPattern newPatterns, NotificationChain msgs) | ||
333 | { | ||
334 | GraphPattern oldPatterns = patterns; | ||
335 | patterns = newPatterns; | ||
336 | if (eNotificationRequired()) | ||
337 | { | ||
338 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, oldPatterns, newPatterns); | ||
339 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
340 | } | ||
341 | return msgs; | ||
342 | } | ||
343 | |||
344 | /** | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | */ | ||
349 | public void setPatterns(GraphPattern newPatterns) | ||
350 | { | ||
351 | if (newPatterns != patterns) | ||
352 | { | ||
353 | NotificationChain msgs = null; | ||
354 | if (patterns != null) | ||
355 | msgs = ((InternalEObject)patterns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, null, msgs); | ||
356 | if (newPatterns != null) | ||
357 | msgs = ((InternalEObject)newPatterns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, null, msgs); | ||
358 | msgs = basicSetPatterns(newPatterns, msgs); | ||
359 | if (msgs != null) msgs.dispatch(); | ||
360 | } | ||
361 | else if (eNotificationRequired()) | ||
362 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, newPatterns, newPatterns)); | ||
363 | } | ||
364 | |||
365 | /** | ||
366 | * <!-- begin-user-doc --> | ||
367 | * <!-- end-user-doc --> | ||
368 | * @generated | ||
369 | */ | ||
370 | public Scope getScope() | ||
371 | { | ||
372 | return scope; | ||
373 | } | ||
374 | |||
375 | /** | ||
376 | * <!-- begin-user-doc --> | ||
377 | * <!-- end-user-doc --> | ||
378 | * @generated | ||
379 | */ | ||
380 | public NotificationChain basicSetScope(Scope newScope, NotificationChain msgs) | ||
381 | { | ||
382 | Scope oldScope = scope; | ||
383 | scope = newScope; | ||
384 | if (eNotificationRequired()) | ||
385 | { | ||
386 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, oldScope, newScope); | ||
387 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
388 | } | ||
389 | return msgs; | ||
390 | } | ||
391 | |||
392 | /** | ||
393 | * <!-- begin-user-doc --> | ||
394 | * <!-- end-user-doc --> | ||
395 | * @generated | ||
396 | */ | ||
397 | public void setScope(Scope newScope) | ||
398 | { | ||
399 | if (newScope != scope) | ||
400 | { | ||
401 | NotificationChain msgs = null; | ||
402 | if (scope != null) | ||
403 | msgs = ((InternalEObject)scope).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, null, msgs); | ||
404 | if (newScope != null) | ||
405 | msgs = ((InternalEObject)newScope).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, null, msgs); | ||
406 | msgs = basicSetScope(newScope, msgs); | ||
407 | if (msgs != null) msgs.dispatch(); | ||
408 | } | ||
409 | else if (eNotificationRequired()) | ||
410 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, newScope, newScope)); | ||
411 | } | ||
412 | |||
413 | /** | ||
414 | * <!-- begin-user-doc --> | ||
415 | * <!-- end-user-doc --> | ||
416 | * @generated | ||
417 | */ | ||
418 | public int getNumber() | ||
419 | { | ||
420 | return number; | ||
421 | } | ||
422 | |||
423 | /** | ||
424 | * <!-- begin-user-doc --> | ||
425 | * <!-- end-user-doc --> | ||
426 | * @generated | ||
427 | */ | ||
428 | public void setNumber(int newNumber) | ||
429 | { | ||
430 | int oldNumber = number; | ||
431 | number = newNumber; | ||
432 | if (eNotificationRequired()) | ||
433 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__NUMBER, oldNumber, number)); | ||
434 | } | ||
435 | |||
436 | /** | ||
437 | * <!-- begin-user-doc --> | ||
438 | * <!-- end-user-doc --> | ||
439 | * @generated | ||
440 | */ | ||
441 | public int getRuns() | ||
442 | { | ||
443 | return runs; | ||
444 | } | ||
445 | |||
446 | /** | ||
447 | * <!-- begin-user-doc --> | ||
448 | * <!-- end-user-doc --> | ||
449 | * @generated | ||
450 | */ | ||
451 | public void setRuns(int newRuns) | ||
452 | { | ||
453 | int oldRuns = runs; | ||
454 | runs = newRuns; | ||
455 | if (eNotificationRequired()) | ||
456 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__RUNS, oldRuns, runs)); | ||
457 | } | ||
458 | |||
459 | /** | ||
460 | * <!-- begin-user-doc --> | ||
461 | * <!-- end-user-doc --> | ||
462 | * @generated | ||
463 | */ | ||
464 | public Solver getSolver() | ||
465 | { | ||
466 | return solver; | ||
467 | } | ||
468 | |||
469 | /** | ||
470 | * <!-- begin-user-doc --> | ||
471 | * <!-- end-user-doc --> | ||
472 | * @generated | ||
473 | */ | ||
474 | public void setSolver(Solver newSolver) | ||
475 | { | ||
476 | Solver oldSolver = solver; | ||
477 | solver = newSolver == null ? SOLVER_EDEFAULT : newSolver; | ||
478 | if (eNotificationRequired()) | ||
479 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SOLVER, oldSolver, solver)); | ||
480 | } | ||
481 | |||
482 | /** | ||
483 | * <!-- begin-user-doc --> | ||
484 | * <!-- end-user-doc --> | ||
485 | * @generated | ||
486 | */ | ||
487 | public Config getConfig() | ||
488 | { | ||
489 | return config; | ||
490 | } | ||
491 | |||
492 | /** | ||
493 | * <!-- begin-user-doc --> | ||
494 | * <!-- end-user-doc --> | ||
495 | * @generated | ||
496 | */ | ||
497 | public NotificationChain basicSetConfig(Config newConfig, NotificationChain msgs) | ||
498 | { | ||
499 | Config oldConfig = config; | ||
500 | config = newConfig; | ||
501 | if (eNotificationRequired()) | ||
502 | { | ||
503 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, oldConfig, newConfig); | ||
504 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
505 | } | ||
506 | return msgs; | ||
507 | } | ||
508 | |||
509 | /** | ||
510 | * <!-- begin-user-doc --> | ||
511 | * <!-- end-user-doc --> | ||
512 | * @generated | ||
513 | */ | ||
514 | public void setConfig(Config newConfig) | ||
515 | { | ||
516 | if (newConfig != config) | ||
517 | { | ||
518 | NotificationChain msgs = null; | ||
519 | if (config != null) | ||
520 | msgs = ((InternalEObject)config).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, null, msgs); | ||
521 | if (newConfig != null) | ||
522 | msgs = ((InternalEObject)newConfig).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, null, msgs); | ||
523 | msgs = basicSetConfig(newConfig, msgs); | ||
524 | if (msgs != null) msgs.dispatch(); | ||
525 | } | ||
526 | else if (eNotificationRequired()) | ||
527 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, newConfig, newConfig)); | ||
528 | } | ||
529 | |||
530 | /** | ||
531 | * <!-- begin-user-doc --> | ||
532 | * <!-- end-user-doc --> | ||
533 | * @generated | ||
534 | */ | ||
535 | public File getTagetFolder() | ||
536 | { | ||
537 | return tagetFolder; | ||
538 | } | ||
539 | |||
540 | /** | ||
541 | * <!-- begin-user-doc --> | ||
542 | * <!-- end-user-doc --> | ||
543 | * @generated | ||
544 | */ | ||
545 | public NotificationChain basicSetTagetFolder(File newTagetFolder, NotificationChain msgs) | ||
546 | { | ||
547 | File oldTagetFolder = tagetFolder; | ||
548 | tagetFolder = newTagetFolder; | ||
549 | if (eNotificationRequired()) | ||
550 | { | ||
551 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, oldTagetFolder, newTagetFolder); | ||
552 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
553 | } | ||
554 | return msgs; | ||
555 | } | ||
556 | |||
557 | /** | ||
558 | * <!-- begin-user-doc --> | ||
559 | * <!-- end-user-doc --> | ||
560 | * @generated | ||
561 | */ | ||
562 | public void setTagetFolder(File newTagetFolder) | ||
563 | { | ||
564 | if (newTagetFolder != tagetFolder) | ||
565 | { | ||
566 | NotificationChain msgs = null; | ||
567 | if (tagetFolder != null) | ||
568 | msgs = ((InternalEObject)tagetFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); | ||
569 | if (newTagetFolder != null) | ||
570 | msgs = ((InternalEObject)newTagetFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); | ||
571 | msgs = basicSetTagetFolder(newTagetFolder, msgs); | ||
572 | if (msgs != null) msgs.dispatch(); | ||
573 | } | ||
574 | else if (eNotificationRequired()) | ||
575 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, newTagetFolder, newTagetFolder)); | ||
576 | } | ||
577 | |||
578 | /** | ||
579 | * <!-- begin-user-doc --> | ||
580 | * <!-- end-user-doc --> | ||
581 | * @generated | ||
582 | */ | ||
583 | public File getDebugFolder() | ||
584 | { | ||
585 | return debugFolder; | ||
586 | } | ||
587 | |||
588 | /** | ||
589 | * <!-- begin-user-doc --> | ||
590 | * <!-- end-user-doc --> | ||
591 | * @generated | ||
592 | */ | ||
593 | public NotificationChain basicSetDebugFolder(File newDebugFolder, NotificationChain msgs) | ||
594 | { | ||
595 | File oldDebugFolder = debugFolder; | ||
596 | debugFolder = newDebugFolder; | ||
597 | if (eNotificationRequired()) | ||
598 | { | ||
599 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, oldDebugFolder, newDebugFolder); | ||
600 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
601 | } | ||
602 | return msgs; | ||
603 | } | ||
604 | |||
605 | /** | ||
606 | * <!-- begin-user-doc --> | ||
607 | * <!-- end-user-doc --> | ||
608 | * @generated | ||
609 | */ | ||
610 | public void setDebugFolder(File newDebugFolder) | ||
611 | { | ||
612 | if (newDebugFolder != debugFolder) | ||
613 | { | ||
614 | NotificationChain msgs = null; | ||
615 | if (debugFolder != null) | ||
616 | msgs = ((InternalEObject)debugFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, null, msgs); | ||
617 | if (newDebugFolder != null) | ||
618 | msgs = ((InternalEObject)newDebugFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, null, msgs); | ||
619 | msgs = basicSetDebugFolder(newDebugFolder, msgs); | ||
620 | if (msgs != null) msgs.dispatch(); | ||
621 | } | ||
622 | else if (eNotificationRequired()) | ||
623 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, newDebugFolder, newDebugFolder)); | ||
624 | } | ||
625 | |||
626 | /** | ||
627 | * <!-- begin-user-doc --> | ||
628 | * <!-- end-user-doc --> | ||
629 | * @generated | ||
630 | */ | ||
631 | public File getTargetLogFile() | ||
632 | { | ||
633 | return targetLogFile; | ||
634 | } | ||
635 | |||
636 | /** | ||
637 | * <!-- begin-user-doc --> | ||
638 | * <!-- end-user-doc --> | ||
639 | * @generated | ||
640 | */ | ||
641 | public NotificationChain basicSetTargetLogFile(File newTargetLogFile, NotificationChain msgs) | ||
642 | { | ||
643 | File oldTargetLogFile = targetLogFile; | ||
644 | targetLogFile = newTargetLogFile; | ||
645 | if (eNotificationRequired()) | ||
646 | { | ||
647 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, oldTargetLogFile, newTargetLogFile); | ||
648 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
649 | } | ||
650 | return msgs; | ||
651 | } | ||
652 | |||
653 | /** | ||
654 | * <!-- begin-user-doc --> | ||
655 | * <!-- end-user-doc --> | ||
656 | * @generated | ||
657 | */ | ||
658 | public void setTargetLogFile(File newTargetLogFile) | ||
659 | { | ||
660 | if (newTargetLogFile != targetLogFile) | ||
661 | { | ||
662 | NotificationChain msgs = null; | ||
663 | if (targetLogFile != null) | ||
664 | msgs = ((InternalEObject)targetLogFile).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, null, msgs); | ||
665 | if (newTargetLogFile != null) | ||
666 | msgs = ((InternalEObject)newTargetLogFile).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, null, msgs); | ||
667 | msgs = basicSetTargetLogFile(newTargetLogFile, msgs); | ||
668 | if (msgs != null) msgs.dispatch(); | ||
669 | } | ||
670 | else if (eNotificationRequired()) | ||
671 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, newTargetLogFile, newTargetLogFile)); | ||
672 | } | ||
673 | |||
674 | /** | ||
675 | * <!-- begin-user-doc --> | ||
676 | * <!-- end-user-doc --> | ||
677 | * @generated | ||
678 | */ | ||
679 | public File getTargetStatisticsFile() | ||
680 | { | ||
681 | return targetStatisticsFile; | ||
682 | } | ||
683 | |||
684 | /** | ||
685 | * <!-- begin-user-doc --> | ||
686 | * <!-- end-user-doc --> | ||
687 | * @generated | ||
688 | */ | ||
689 | public NotificationChain basicSetTargetStatisticsFile(File newTargetStatisticsFile, NotificationChain msgs) | ||
690 | { | ||
691 | File oldTargetStatisticsFile = targetStatisticsFile; | ||
692 | targetStatisticsFile = newTargetStatisticsFile; | ||
693 | if (eNotificationRequired()) | ||
694 | { | ||
695 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, oldTargetStatisticsFile, newTargetStatisticsFile); | ||
696 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
697 | } | ||
698 | return msgs; | ||
699 | } | ||
700 | |||
701 | /** | ||
702 | * <!-- begin-user-doc --> | ||
703 | * <!-- end-user-doc --> | ||
704 | * @generated | ||
705 | */ | ||
706 | public void setTargetStatisticsFile(File newTargetStatisticsFile) | ||
707 | { | ||
708 | if (newTargetStatisticsFile != targetStatisticsFile) | ||
709 | { | ||
710 | NotificationChain msgs = null; | ||
711 | if (targetStatisticsFile != null) | ||
712 | msgs = ((InternalEObject)targetStatisticsFile).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, null, msgs); | ||
713 | if (newTargetStatisticsFile != null) | ||
714 | msgs = ((InternalEObject)newTargetStatisticsFile).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, null, msgs); | ||
715 | msgs = basicSetTargetStatisticsFile(newTargetStatisticsFile, msgs); | ||
716 | if (msgs != null) msgs.dispatch(); | ||
717 | } | ||
718 | else if (eNotificationRequired()) | ||
719 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, newTargetStatisticsFile, newTargetStatisticsFile)); | ||
720 | } | ||
721 | |||
722 | /** | ||
723 | * <!-- begin-user-doc --> | ||
724 | * <!-- end-user-doc --> | ||
725 | * @generated | ||
726 | */ | ||
727 | @Override | ||
728 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
729 | { | ||
730 | switch (featureID) | ||
731 | { | ||
732 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | ||
733 | return basicSetMetamodel(null, msgs); | ||
734 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | ||
735 | return basicSetPartialModel(null, msgs); | ||
736 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | ||
737 | return basicSetPatterns(null, msgs); | ||
738 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | ||
739 | return basicSetScope(null, msgs); | ||
740 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | ||
741 | return basicSetConfig(null, msgs); | ||
742 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
743 | return basicSetTagetFolder(null, msgs); | ||
744 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | ||
745 | return basicSetDebugFolder(null, msgs); | ||
746 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | ||
747 | return basicSetTargetLogFile(null, msgs); | ||
748 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | ||
749 | return basicSetTargetStatisticsFile(null, msgs); | ||
750 | } | ||
751 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
752 | } | ||
753 | |||
754 | /** | ||
755 | * <!-- begin-user-doc --> | ||
756 | * <!-- end-user-doc --> | ||
757 | * @generated | ||
758 | */ | ||
759 | @Override | ||
760 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
761 | { | ||
762 | switch (featureID) | ||
763 | { | ||
764 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | ||
765 | return getMetamodel(); | ||
766 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | ||
767 | return getPartialModel(); | ||
768 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | ||
769 | return getPatterns(); | ||
770 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | ||
771 | return getScope(); | ||
772 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | ||
773 | return getNumber(); | ||
774 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | ||
775 | return getRuns(); | ||
776 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | ||
777 | return getSolver(); | ||
778 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | ||
779 | return getConfig(); | ||
780 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
781 | return getTagetFolder(); | ||
782 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | ||
783 | return getDebugFolder(); | ||
784 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | ||
785 | return getTargetLogFile(); | ||
786 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | ||
787 | return getTargetStatisticsFile(); | ||
788 | } | ||
789 | return super.eGet(featureID, resolve, coreType); | ||
790 | } | ||
791 | |||
792 | /** | ||
793 | * <!-- begin-user-doc --> | ||
794 | * <!-- end-user-doc --> | ||
795 | * @generated | ||
796 | */ | ||
797 | @Override | ||
798 | public void eSet(int featureID, Object newValue) | ||
799 | { | ||
800 | switch (featureID) | ||
801 | { | ||
802 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | ||
803 | setMetamodel((Metamodel)newValue); | ||
804 | return; | ||
805 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | ||
806 | setPartialModel((PartialModel)newValue); | ||
807 | return; | ||
808 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | ||
809 | setPatterns((GraphPattern)newValue); | ||
810 | return; | ||
811 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | ||
812 | setScope((Scope)newValue); | ||
813 | return; | ||
814 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | ||
815 | setNumber((Integer)newValue); | ||
816 | return; | ||
817 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | ||
818 | setRuns((Integer)newValue); | ||
819 | return; | ||
820 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | ||
821 | setSolver((Solver)newValue); | ||
822 | return; | ||
823 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | ||
824 | setConfig((Config)newValue); | ||
825 | return; | ||
826 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
827 | setTagetFolder((File)newValue); | ||
828 | return; | ||
829 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | ||
830 | setDebugFolder((File)newValue); | ||
831 | return; | ||
832 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | ||
833 | setTargetLogFile((File)newValue); | ||
834 | return; | ||
835 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | ||
836 | setTargetStatisticsFile((File)newValue); | ||
837 | return; | ||
838 | } | ||
839 | super.eSet(featureID, newValue); | ||
840 | } | ||
841 | |||
842 | /** | ||
843 | * <!-- begin-user-doc --> | ||
844 | * <!-- end-user-doc --> | ||
845 | * @generated | ||
846 | */ | ||
847 | @Override | ||
848 | public void eUnset(int featureID) | ||
849 | { | ||
850 | switch (featureID) | ||
851 | { | ||
852 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | ||
853 | setMetamodel((Metamodel)null); | ||
854 | return; | ||
855 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | ||
856 | setPartialModel((PartialModel)null); | ||
857 | return; | ||
858 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | ||
859 | setPatterns((GraphPattern)null); | ||
860 | return; | ||
861 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | ||
862 | setScope((Scope)null); | ||
863 | return; | ||
864 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | ||
865 | setNumber(NUMBER_EDEFAULT); | ||
866 | return; | ||
867 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | ||
868 | setRuns(RUNS_EDEFAULT); | ||
869 | return; | ||
870 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | ||
871 | setSolver(SOLVER_EDEFAULT); | ||
872 | return; | ||
873 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | ||
874 | setConfig((Config)null); | ||
875 | return; | ||
876 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
877 | setTagetFolder((File)null); | ||
878 | return; | ||
879 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | ||
880 | setDebugFolder((File)null); | ||
881 | return; | ||
882 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | ||
883 | setTargetLogFile((File)null); | ||
884 | return; | ||
885 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | ||
886 | setTargetStatisticsFile((File)null); | ||
887 | return; | ||
888 | } | ||
889 | super.eUnset(featureID); | ||
890 | } | ||
891 | |||
892 | /** | ||
893 | * <!-- begin-user-doc --> | ||
894 | * <!-- end-user-doc --> | ||
895 | * @generated | ||
896 | */ | ||
897 | @Override | ||
898 | public boolean eIsSet(int featureID) | ||
899 | { | ||
900 | switch (featureID) | ||
901 | { | ||
902 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | ||
903 | return metamodel != null; | ||
904 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | ||
905 | return partialModel != null; | ||
906 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | ||
907 | return patterns != null; | ||
908 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | ||
909 | return scope != null; | ||
910 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | ||
911 | return number != NUMBER_EDEFAULT; | ||
912 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | ||
913 | return runs != RUNS_EDEFAULT; | ||
914 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | ||
915 | return solver != SOLVER_EDEFAULT; | ||
916 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | ||
917 | return config != null; | ||
918 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
919 | return tagetFolder != null; | ||
920 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | ||
921 | return debugFolder != null; | ||
922 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | ||
923 | return targetLogFile != null; | ||
924 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | ||
925 | return targetStatisticsFile != null; | ||
926 | } | ||
927 | return super.eIsSet(featureID); | ||
928 | } | ||
929 | |||
930 | /** | ||
931 | * <!-- begin-user-doc --> | ||
932 | * <!-- end-user-doc --> | ||
933 | * @generated | ||
934 | */ | ||
935 | @Override | ||
936 | public String toString() | ||
937 | { | ||
938 | if (eIsProxy()) return super.toString(); | ||
939 | |||
940 | StringBuffer result = new StringBuffer(super.toString()); | ||
941 | result.append(" (number: "); | ||
942 | result.append(number); | ||
943 | result.append(", runs: "); | ||
944 | result.append(runs); | ||
945 | result.append(", solver: "); | ||
946 | result.append(solver); | ||
947 | result.append(')'); | ||
948 | return result.toString(); | ||
949 | } | ||
950 | |||
951 | } //GenerationTaskImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java new file mode 100644 index 00000000..f9028b90 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Graph Pattern Declaration</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl#getSpecification <em>Specification</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class GraphPatternDeclarationImpl extends DeclarationImpl implements GraphPatternDeclaration | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getSpecification() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected PatternSpecification specification; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected GraphPatternDeclarationImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public PatternSpecification getSpecification() | ||
70 | { | ||
71 | return specification; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetSpecification(PatternSpecification newSpecification, NotificationChain msgs) | ||
80 | { | ||
81 | PatternSpecification oldSpecification = specification; | ||
82 | specification = newSpecification; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setSpecification(PatternSpecification newSpecification) | ||
97 | { | ||
98 | if (newSpecification != specification) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (specification != null) | ||
102 | msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, null, msgs); | ||
103 | if (newSpecification != null) | ||
104 | msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, null, msgs); | ||
105 | msgs = basicSetSpecification(newSpecification, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | ||
123 | return basicSetSpecification(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | ||
139 | return getSpecification(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | ||
155 | setSpecification((PatternSpecification)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | ||
172 | setSpecification((PatternSpecification)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: | ||
189 | return specification != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //GraphPatternDeclarationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternImpl.java new file mode 100644 index 00000000..c16c760e --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Graph Pattern</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class GraphPatternImpl extends MinimalEObjectImpl.Container implements GraphPattern | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected GraphPatternImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.GRAPH_PATTERN; | ||
41 | } | ||
42 | |||
43 | } //GraphPatternImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternReferenceImpl.java new file mode 100644 index 00000000..3f3e69d3 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternReferenceImpl.java | |||
@@ -0,0 +1,173 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Graph Pattern Reference</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl#getReferred <em>Referred</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class GraphPatternReferenceImpl extends GraphPatternImpl implements GraphPatternReference | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getReferred() <em>Referred</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getReferred() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected GraphPatternDeclaration referred; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected GraphPatternReferenceImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public GraphPatternDeclaration getReferred() | ||
69 | { | ||
70 | if (referred != null && referred.eIsProxy()) | ||
71 | { | ||
72 | InternalEObject oldReferred = (InternalEObject)referred; | ||
73 | referred = (GraphPatternDeclaration)eResolveProxy(oldReferred); | ||
74 | if (referred != oldReferred) | ||
75 | { | ||
76 | if (eNotificationRequired()) | ||
77 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED, oldReferred, referred)); | ||
78 | } | ||
79 | } | ||
80 | return referred; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public GraphPatternDeclaration basicGetReferred() | ||
89 | { | ||
90 | return referred; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public void setReferred(GraphPatternDeclaration newReferred) | ||
99 | { | ||
100 | GraphPatternDeclaration oldReferred = referred; | ||
101 | referred = newReferred; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED, oldReferred, referred)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
113 | { | ||
114 | switch (featureID) | ||
115 | { | ||
116 | case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED: | ||
117 | if (resolve) return getReferred(); | ||
118 | return basicGetReferred(); | ||
119 | } | ||
120 | return super.eGet(featureID, resolve, coreType); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eSet(int featureID, Object newValue) | ||
130 | { | ||
131 | switch (featureID) | ||
132 | { | ||
133 | case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED: | ||
134 | setReferred((GraphPatternDeclaration)newValue); | ||
135 | return; | ||
136 | } | ||
137 | super.eSet(featureID, newValue); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public void eUnset(int featureID) | ||
147 | { | ||
148 | switch (featureID) | ||
149 | { | ||
150 | case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED: | ||
151 | setReferred((GraphPatternDeclaration)null); | ||
152 | return; | ||
153 | } | ||
154 | super.eUnset(featureID); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public boolean eIsSet(int featureID) | ||
164 | { | ||
165 | switch (featureID) | ||
166 | { | ||
167 | case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED: | ||
168 | return referred != null; | ||
169 | } | ||
170 | return super.eIsSet(featureID); | ||
171 | } | ||
172 | |||
173 | } //GraphPatternReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerReferenceImpl.java new file mode 100644 index 00000000..679a427e --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerReferenceImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Integer Reference</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class IntegerReferenceImpl extends TypeReferenceImpl implements IntegerReference | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected IntegerReferenceImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.INTEGER_REFERENCE; | ||
39 | } | ||
40 | |||
41 | } //IntegerReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerScopeImpl.java new file mode 100644 index 00000000..18682765 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerScopeImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Integer Scope</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class IntegerScopeImpl extends IntegerReferenceImpl implements IntegerScope | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected IntegerScopeImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.INTEGER_SCOPE; | ||
39 | } | ||
40 | |||
41 | } //IntegerScopeImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ModelEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ModelEntryImpl.java new file mode 100644 index 00000000..4a513df4 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ModelEntryImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Model Entry</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class ModelEntryImpl extends PartialModelEntryImpl implements ModelEntry | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected ModelEntryImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.MODEL_ENTRY; | ||
39 | } | ||
40 | |||
41 | } //ModelEntryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectReferenceImpl.java new file mode 100644 index 00000000..f3c82772 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectReferenceImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Object Reference</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class ObjectReferenceImpl extends TypeReferenceImpl implements ObjectReference | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected ObjectReferenceImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.OBJECT_REFERENCE; | ||
39 | } | ||
40 | |||
41 | } //ObjectReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelDeclarationImpl.java new file mode 100644 index 00000000..237f3f5d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelDeclarationImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Partial Model Declaration</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl#getSpecification <em>Specification</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class PartialModelDeclarationImpl extends DeclarationImpl implements PartialModelDeclaration | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getSpecification() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected PartialModelSpecification specification; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected PartialModelDeclarationImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public PartialModelSpecification getSpecification() | ||
70 | { | ||
71 | return specification; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetSpecification(PartialModelSpecification newSpecification, NotificationChain msgs) | ||
80 | { | ||
81 | PartialModelSpecification oldSpecification = specification; | ||
82 | specification = newSpecification; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setSpecification(PartialModelSpecification newSpecification) | ||
97 | { | ||
98 | if (newSpecification != specification) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (specification != null) | ||
102 | msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION, null, msgs); | ||
103 | if (newSpecification != null) | ||
104 | msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION, null, msgs); | ||
105 | msgs = basicSetSpecification(newSpecification, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: | ||
123 | return basicSetSpecification(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: | ||
139 | return getSpecification(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: | ||
155 | setSpecification((PartialModelSpecification)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: | ||
172 | setSpecification((PartialModelSpecification)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: | ||
189 | return specification != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //PartialModelDeclarationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java new file mode 100644 index 00000000..c8932cf6 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java | |||
@@ -0,0 +1,195 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Partial Model Entry</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl#getPath <em>Path</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class PartialModelEntryImpl extends MinimalEObjectImpl.Container implements PartialModelEntry | ||
33 | { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getPath() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected File path; | ||
43 | |||
44 | /** | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | protected PartialModelEntryImpl() | ||
50 | { | ||
51 | super(); | ||
52 | } | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | @Override | ||
60 | protected EClass eStaticClass() | ||
61 | { | ||
62 | return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY; | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | public File getPath() | ||
71 | { | ||
72 | return path; | ||
73 | } | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | public NotificationChain basicSetPath(File newPath, NotificationChain msgs) | ||
81 | { | ||
82 | File oldPath = path; | ||
83 | path = newPath; | ||
84 | if (eNotificationRequired()) | ||
85 | { | ||
86 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, oldPath, newPath); | ||
87 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
88 | } | ||
89 | return msgs; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | public void setPath(File newPath) | ||
98 | { | ||
99 | if (newPath != path) | ||
100 | { | ||
101 | NotificationChain msgs = null; | ||
102 | if (path != null) | ||
103 | msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs); | ||
104 | if (newPath != null) | ||
105 | msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs); | ||
106 | msgs = basicSetPath(newPath, msgs); | ||
107 | if (msgs != null) msgs.dispatch(); | ||
108 | } | ||
109 | else if (eNotificationRequired()) | ||
110 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, newPath, newPath)); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @Override | ||
119 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
120 | { | ||
121 | switch (featureID) | ||
122 | { | ||
123 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | ||
124 | return basicSetPath(null, msgs); | ||
125 | } | ||
126 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
136 | { | ||
137 | switch (featureID) | ||
138 | { | ||
139 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | ||
140 | return getPath(); | ||
141 | } | ||
142 | return super.eGet(featureID, resolve, coreType); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public void eSet(int featureID, Object newValue) | ||
152 | { | ||
153 | switch (featureID) | ||
154 | { | ||
155 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | ||
156 | setPath((File)newValue); | ||
157 | return; | ||
158 | } | ||
159 | super.eSet(featureID, newValue); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public void eUnset(int featureID) | ||
169 | { | ||
170 | switch (featureID) | ||
171 | { | ||
172 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | ||
173 | setPath((File)null); | ||
174 | return; | ||
175 | } | ||
176 | super.eUnset(featureID); | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @Override | ||
185 | public boolean eIsSet(int featureID) | ||
186 | { | ||
187 | switch (featureID) | ||
188 | { | ||
189 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | ||
190 | return path != null; | ||
191 | } | ||
192 | return super.eIsSet(featureID); | ||
193 | } | ||
194 | |||
195 | } //PartialModelEntryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelImpl.java new file mode 100644 index 00000000..07fb5f92 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Partial Model</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class PartialModelImpl extends MinimalEObjectImpl.Container implements PartialModel | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected PartialModelImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL; | ||
41 | } | ||
42 | |||
43 | } //PartialModelImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelReferenceImpl.java new file mode 100644 index 00000000..36398a23 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelReferenceImpl.java | |||
@@ -0,0 +1,173 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Partial Model Reference</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl#getReferred <em>Referred</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class PartialModelReferenceImpl extends PartialModelImpl implements PartialModelReference | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getReferred() <em>Referred</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getReferred() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected PartialModelDeclaration referred; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected PartialModelReferenceImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public PartialModelDeclaration getReferred() | ||
69 | { | ||
70 | if (referred != null && referred.eIsProxy()) | ||
71 | { | ||
72 | InternalEObject oldReferred = (InternalEObject)referred; | ||
73 | referred = (PartialModelDeclaration)eResolveProxy(oldReferred); | ||
74 | if (referred != oldReferred) | ||
75 | { | ||
76 | if (eNotificationRequired()) | ||
77 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED, oldReferred, referred)); | ||
78 | } | ||
79 | } | ||
80 | return referred; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public PartialModelDeclaration basicGetReferred() | ||
89 | { | ||
90 | return referred; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public void setReferred(PartialModelDeclaration newReferred) | ||
99 | { | ||
100 | PartialModelDeclaration oldReferred = referred; | ||
101 | referred = newReferred; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED, oldReferred, referred)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
113 | { | ||
114 | switch (featureID) | ||
115 | { | ||
116 | case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED: | ||
117 | if (resolve) return getReferred(); | ||
118 | return basicGetReferred(); | ||
119 | } | ||
120 | return super.eGet(featureID, resolve, coreType); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eSet(int featureID, Object newValue) | ||
130 | { | ||
131 | switch (featureID) | ||
132 | { | ||
133 | case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED: | ||
134 | setReferred((PartialModelDeclaration)newValue); | ||
135 | return; | ||
136 | } | ||
137 | super.eSet(featureID, newValue); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public void eUnset(int featureID) | ||
147 | { | ||
148 | switch (featureID) | ||
149 | { | ||
150 | case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED: | ||
151 | setReferred((PartialModelDeclaration)null); | ||
152 | return; | ||
153 | } | ||
154 | super.eUnset(featureID); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public boolean eIsSet(int featureID) | ||
164 | { | ||
165 | switch (featureID) | ||
166 | { | ||
167 | case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED: | ||
168 | return referred != null; | ||
169 | } | ||
170 | return super.eIsSet(featureID); | ||
171 | } | ||
172 | |||
173 | } //PartialModelReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelSpecificationImpl.java new file mode 100644 index 00000000..adc3f715 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelSpecificationImpl.java | |||
@@ -0,0 +1,166 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Partial Model Specification</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl#getEntry <em>Entry</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class PartialModelSpecificationImpl extends PartialModelImpl implements PartialModelSpecification | ||
36 | { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getEntry() <em>Entry</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getEntry() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<PartialModelEntry> entry; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected PartialModelSpecificationImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() | ||
64 | { | ||
65 | return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_SPECIFICATION; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | public EList<PartialModelEntry> getEntry() | ||
74 | { | ||
75 | if (entry == null) | ||
76 | { | ||
77 | entry = new EObjectContainmentEList<PartialModelEntry>(PartialModelEntry.class, this, ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY); | ||
78 | } | ||
79 | return entry; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
89 | { | ||
90 | switch (featureID) | ||
91 | { | ||
92 | case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: | ||
93 | return ((InternalEList<?>)getEntry()).basicRemove(otherEnd, msgs); | ||
94 | } | ||
95 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
105 | { | ||
106 | switch (featureID) | ||
107 | { | ||
108 | case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: | ||
109 | return getEntry(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @SuppressWarnings("unchecked") | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) | ||
122 | { | ||
123 | switch (featureID) | ||
124 | { | ||
125 | case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: | ||
126 | getEntry().clear(); | ||
127 | getEntry().addAll((Collection<? extends PartialModelEntry>)newValue); | ||
128 | return; | ||
129 | } | ||
130 | super.eSet(featureID, newValue); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eUnset(int featureID) | ||
140 | { | ||
141 | switch (featureID) | ||
142 | { | ||
143 | case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: | ||
144 | getEntry().clear(); | ||
145 | return; | ||
146 | } | ||
147 | super.eUnset(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public boolean eIsSet(int featureID) | ||
157 | { | ||
158 | switch (featureID) | ||
159 | { | ||
160 | case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: | ||
161 | return entry != null && !entry.isEmpty(); | ||
162 | } | ||
163 | return super.eIsSet(featureID); | ||
164 | } | ||
165 | |||
166 | } //PartialModelSpecificationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java new file mode 100644 index 00000000..d2b9df58 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java | |||
@@ -0,0 +1,174 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.InternalEObject; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | |||
16 | import org.eclipse.viatra.query.patternlanguage.patternLanguage.Pattern; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Pattern Element</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl#getPattern <em>Pattern</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class PatternElementImpl extends PatternEntryImpl implements PatternElement | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getPattern() <em>Pattern</em>}' reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getPattern() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Pattern pattern; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected PatternElementImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.PATTERN_ELEMENT; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public Pattern getPattern() | ||
70 | { | ||
71 | if (pattern != null && pattern.eIsProxy()) | ||
72 | { | ||
73 | InternalEObject oldPattern = (InternalEObject)pattern; | ||
74 | pattern = (Pattern)eResolveProxy(oldPattern); | ||
75 | if (pattern != oldPattern) | ||
76 | { | ||
77 | if (eNotificationRequired()) | ||
78 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN, oldPattern, pattern)); | ||
79 | } | ||
80 | } | ||
81 | return pattern; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public Pattern basicGetPattern() | ||
90 | { | ||
91 | return pattern; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | public void setPattern(Pattern newPattern) | ||
100 | { | ||
101 | Pattern oldPattern = pattern; | ||
102 | pattern = newPattern; | ||
103 | if (eNotificationRequired()) | ||
104 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN, oldPattern, pattern)); | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | @Override | ||
113 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
114 | { | ||
115 | switch (featureID) | ||
116 | { | ||
117 | case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: | ||
118 | if (resolve) return getPattern(); | ||
119 | return basicGetPattern(); | ||
120 | } | ||
121 | return super.eGet(featureID, resolve, coreType); | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | @Override | ||
130 | public void eSet(int featureID, Object newValue) | ||
131 | { | ||
132 | switch (featureID) | ||
133 | { | ||
134 | case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: | ||
135 | setPattern((Pattern)newValue); | ||
136 | return; | ||
137 | } | ||
138 | super.eSet(featureID, newValue); | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | @Override | ||
147 | public void eUnset(int featureID) | ||
148 | { | ||
149 | switch (featureID) | ||
150 | { | ||
151 | case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: | ||
152 | setPattern((Pattern)null); | ||
153 | return; | ||
154 | } | ||
155 | super.eUnset(featureID); | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | @Override | ||
164 | public boolean eIsSet(int featureID) | ||
165 | { | ||
166 | switch (featureID) | ||
167 | { | ||
168 | case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: | ||
169 | return pattern != null; | ||
170 | } | ||
171 | return super.eIsSet(featureID); | ||
172 | } | ||
173 | |||
174 | } //PatternElementImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java new file mode 100644 index 00000000..27903c3b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java | |||
@@ -0,0 +1,175 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.InternalEObject; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
16 | |||
17 | import org.eclipse.viatra.query.patternlanguage.patternLanguage.PatternModel; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Pattern Entry</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl#getPackage <em>Package</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class PatternEntryImpl extends MinimalEObjectImpl.Container implements PatternEntry | ||
33 | { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getPackage() <em>Package</em>}' reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getPackage() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected PatternModel package_; | ||
43 | |||
44 | /** | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | protected PatternEntryImpl() | ||
50 | { | ||
51 | super(); | ||
52 | } | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | @Override | ||
60 | protected EClass eStaticClass() | ||
61 | { | ||
62 | return ApplicationConfigurationPackage.Literals.PATTERN_ENTRY; | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | public PatternModel getPackage() | ||
71 | { | ||
72 | if (package_ != null && package_.eIsProxy()) | ||
73 | { | ||
74 | InternalEObject oldPackage = (InternalEObject)package_; | ||
75 | package_ = (PatternModel)eResolveProxy(oldPackage); | ||
76 | if (package_ != oldPackage) | ||
77 | { | ||
78 | if (eNotificationRequired()) | ||
79 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); | ||
80 | } | ||
81 | } | ||
82 | return package_; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public PatternModel basicGetPackage() | ||
91 | { | ||
92 | return package_; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setPackage(PatternModel newPackage) | ||
101 | { | ||
102 | PatternModel oldPackage = package_; | ||
103 | package_ = newPackage; | ||
104 | if (eNotificationRequired()) | ||
105 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | @Override | ||
114 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
115 | { | ||
116 | switch (featureID) | ||
117 | { | ||
118 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | ||
119 | if (resolve) return getPackage(); | ||
120 | return basicGetPackage(); | ||
121 | } | ||
122 | return super.eGet(featureID, resolve, coreType); | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | @Override | ||
131 | public void eSet(int featureID, Object newValue) | ||
132 | { | ||
133 | switch (featureID) | ||
134 | { | ||
135 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | ||
136 | setPackage((PatternModel)newValue); | ||
137 | return; | ||
138 | } | ||
139 | super.eSet(featureID, newValue); | ||
140 | } | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | @Override | ||
148 | public void eUnset(int featureID) | ||
149 | { | ||
150 | switch (featureID) | ||
151 | { | ||
152 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | ||
153 | setPackage((PatternModel)null); | ||
154 | return; | ||
155 | } | ||
156 | super.eUnset(featureID); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public boolean eIsSet(int featureID) | ||
166 | { | ||
167 | switch (featureID) | ||
168 | { | ||
169 | case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: | ||
170 | return package_ != null; | ||
171 | } | ||
172 | return super.eIsSet(featureID); | ||
173 | } | ||
174 | |||
175 | } //PatternEntryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java new file mode 100644 index 00000000..055c9beb --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java | |||
@@ -0,0 +1,166 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Pattern Specification</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl#getEntries <em>Entries</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class PatternSpecificationImpl extends GraphPatternImpl implements PatternSpecification | ||
36 | { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getEntries() <em>Entries</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getEntries() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<PatternEntry> entries; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected PatternSpecificationImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() | ||
64 | { | ||
65 | return ApplicationConfigurationPackage.Literals.PATTERN_SPECIFICATION; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | public EList<PatternEntry> getEntries() | ||
74 | { | ||
75 | if (entries == null) | ||
76 | { | ||
77 | entries = new EObjectContainmentEList<PatternEntry>(PatternEntry.class, this, ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES); | ||
78 | } | ||
79 | return entries; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
89 | { | ||
90 | switch (featureID) | ||
91 | { | ||
92 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | ||
93 | return ((InternalEList<?>)getEntries()).basicRemove(otherEnd, msgs); | ||
94 | } | ||
95 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
105 | { | ||
106 | switch (featureID) | ||
107 | { | ||
108 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | ||
109 | return getEntries(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @SuppressWarnings("unchecked") | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) | ||
122 | { | ||
123 | switch (featureID) | ||
124 | { | ||
125 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | ||
126 | getEntries().clear(); | ||
127 | getEntries().addAll((Collection<? extends PatternEntry>)newValue); | ||
128 | return; | ||
129 | } | ||
130 | super.eSet(featureID, newValue); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eUnset(int featureID) | ||
140 | { | ||
141 | switch (featureID) | ||
142 | { | ||
143 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | ||
144 | getEntries().clear(); | ||
145 | return; | ||
146 | } | ||
147 | super.eUnset(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public boolean eIsSet(int featureID) | ||
157 | { | ||
158 | switch (featureID) | ||
159 | { | ||
160 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: | ||
161 | return entries != null && !entries.isEmpty(); | ||
162 | } | ||
163 | return super.eIsSet(featureID); | ||
164 | } | ||
165 | |||
166 | } //PatternSpecificationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealReferenceImpl.java new file mode 100644 index 00000000..13966640 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealReferenceImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Real Reference</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class RealReferenceImpl extends TypeReferenceImpl implements RealReference | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected RealReferenceImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.REAL_REFERENCE; | ||
39 | } | ||
40 | |||
41 | } //RealReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealScopeImpl.java new file mode 100644 index 00000000..c00b711a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealScopeImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Real Scope</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class RealScopeImpl extends RealReferenceImpl implements RealScope | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected RealScopeImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.REAL_SCOPE; | ||
39 | } | ||
40 | |||
41 | } //RealScopeImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeDeclarationImpl.java new file mode 100644 index 00000000..3ec2bf39 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeDeclarationImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Scope Declaration</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl#getSpecification <em>Specification</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ScopeDeclarationImpl extends DeclarationImpl implements ScopeDeclaration | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getSpecification() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ScopeSpecification specification; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected ScopeDeclarationImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public ScopeSpecification getSpecification() | ||
70 | { | ||
71 | return specification; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetSpecification(ScopeSpecification newSpecification, NotificationChain msgs) | ||
80 | { | ||
81 | ScopeSpecification oldSpecification = specification; | ||
82 | specification = newSpecification; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setSpecification(ScopeSpecification newSpecification) | ||
97 | { | ||
98 | if (newSpecification != specification) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (specification != null) | ||
102 | msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION, null, msgs); | ||
103 | if (newSpecification != null) | ||
104 | msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION, null, msgs); | ||
105 | msgs = basicSetSpecification(newSpecification, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: | ||
123 | return basicSetSpecification(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: | ||
139 | return getSpecification(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: | ||
155 | setSpecification((ScopeSpecification)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: | ||
172 | setSpecification((ScopeSpecification)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: | ||
189 | return specification != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //ScopeDeclarationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeImpl.java new file mode 100644 index 00000000..3187f7f0 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Scope</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected ScopeImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.SCOPE; | ||
41 | } | ||
42 | |||
43 | } //ScopeImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeReferenceImpl.java new file mode 100644 index 00000000..3f516183 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeReferenceImpl.java | |||
@@ -0,0 +1,173 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Scope Reference</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl#getReferred <em>Referred</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ScopeReferenceImpl extends ScopeImpl implements ScopeReference | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getReferred() <em>Referred</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getReferred() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ScopeDeclaration referred; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ScopeReferenceImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ScopeDeclaration getReferred() | ||
69 | { | ||
70 | if (referred != null && referred.eIsProxy()) | ||
71 | { | ||
72 | InternalEObject oldReferred = (InternalEObject)referred; | ||
73 | referred = (ScopeDeclaration)eResolveProxy(oldReferred); | ||
74 | if (referred != oldReferred) | ||
75 | { | ||
76 | if (eNotificationRequired()) | ||
77 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED, oldReferred, referred)); | ||
78 | } | ||
79 | } | ||
80 | return referred; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public ScopeDeclaration basicGetReferred() | ||
89 | { | ||
90 | return referred; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public void setReferred(ScopeDeclaration newReferred) | ||
99 | { | ||
100 | ScopeDeclaration oldReferred = referred; | ||
101 | referred = newReferred; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED, oldReferred, referred)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
113 | { | ||
114 | switch (featureID) | ||
115 | { | ||
116 | case ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED: | ||
117 | if (resolve) return getReferred(); | ||
118 | return basicGetReferred(); | ||
119 | } | ||
120 | return super.eGet(featureID, resolve, coreType); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eSet(int featureID, Object newValue) | ||
130 | { | ||
131 | switch (featureID) | ||
132 | { | ||
133 | case ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED: | ||
134 | setReferred((ScopeDeclaration)newValue); | ||
135 | return; | ||
136 | } | ||
137 | super.eSet(featureID, newValue); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public void eUnset(int featureID) | ||
147 | { | ||
148 | switch (featureID) | ||
149 | { | ||
150 | case ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED: | ||
151 | setReferred((ScopeDeclaration)null); | ||
152 | return; | ||
153 | } | ||
154 | super.eUnset(featureID); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public boolean eIsSet(int featureID) | ||
164 | { | ||
165 | switch (featureID) | ||
166 | { | ||
167 | case ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED: | ||
168 | return referred != null; | ||
169 | } | ||
170 | return super.eIsSet(featureID); | ||
171 | } | ||
172 | |||
173 | } //ScopeReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeSpecificationImpl.java new file mode 100644 index 00000000..a36883ad --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeSpecificationImpl.java | |||
@@ -0,0 +1,166 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Scope Specification</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl#getScopes <em>Scopes</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class ScopeSpecificationImpl extends ScopeImpl implements ScopeSpecification | ||
36 | { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getScopes() <em>Scopes</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getScopes() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<TypeScope> scopes; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected ScopeSpecificationImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() | ||
64 | { | ||
65 | return ApplicationConfigurationPackage.Literals.SCOPE_SPECIFICATION; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | public EList<TypeScope> getScopes() | ||
74 | { | ||
75 | if (scopes == null) | ||
76 | { | ||
77 | scopes = new EObjectContainmentEList<TypeScope>(TypeScope.class, this, ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES); | ||
78 | } | ||
79 | return scopes; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
89 | { | ||
90 | switch (featureID) | ||
91 | { | ||
92 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: | ||
93 | return ((InternalEList<?>)getScopes()).basicRemove(otherEnd, msgs); | ||
94 | } | ||
95 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
105 | { | ||
106 | switch (featureID) | ||
107 | { | ||
108 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: | ||
109 | return getScopes(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @SuppressWarnings("unchecked") | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) | ||
122 | { | ||
123 | switch (featureID) | ||
124 | { | ||
125 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: | ||
126 | getScopes().clear(); | ||
127 | getScopes().addAll((Collection<? extends TypeScope>)newValue); | ||
128 | return; | ||
129 | } | ||
130 | super.eSet(featureID, newValue); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eUnset(int featureID) | ||
140 | { | ||
141 | switch (featureID) | ||
142 | { | ||
143 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: | ||
144 | getScopes().clear(); | ||
145 | return; | ||
146 | } | ||
147 | super.eUnset(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public boolean eIsSet(int featureID) | ||
157 | { | ||
158 | switch (featureID) | ||
159 | { | ||
160 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: | ||
161 | return scopes != null && !scopes.isEmpty(); | ||
162 | } | ||
163 | return super.eIsSet(featureID); | ||
164 | } | ||
165 | |||
166 | } //ScopeSpecificationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringReferenceImpl.java new file mode 100644 index 00000000..a6206202 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringReferenceImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>String Reference</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class StringReferenceImpl extends TypeReferenceImpl implements StringReference | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected StringReferenceImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.STRING_REFERENCE; | ||
39 | } | ||
40 | |||
41 | } //StringReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringScopeImpl.java new file mode 100644 index 00000000..dd4e679c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringScopeImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>String Scope</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class StringScopeImpl extends StringReferenceImpl implements StringScope | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected StringScopeImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.STRING_SCOPE; | ||
39 | } | ||
40 | |||
41 | } //StringScopeImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TaskImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TaskImpl.java new file mode 100644 index 00000000..bef54421 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TaskImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Task</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class TaskImpl extends CommandImpl implements Task | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected TaskImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.TASK; | ||
39 | } | ||
40 | |||
41 | } //TaskImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeReferenceImpl.java new file mode 100644 index 00000000..f969a0a7 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeReferenceImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Type Reference</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class TypeReferenceImpl extends MinimalEObjectImpl.Container implements TypeReference | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected TypeReferenceImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.TYPE_REFERENCE; | ||
41 | } | ||
42 | |||
43 | } //TypeReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java new file mode 100644 index 00000000..0cc0e0bf --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java | |||
@@ -0,0 +1,490 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Type Scope</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getType <em>Type</em>}</li> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsNew <em>Sets New</em>}</li> | ||
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsSum <em>Sets Sum</em>}</li> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getMin <em>Min</em>}</li> | ||
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isMaxUnlimited <em>Max Unlimited</em>}</li> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getMax <em>Max</em>}</li> | ||
33 | * </ul> | ||
34 | * | ||
35 | * @generated | ||
36 | */ | ||
37 | public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeScope | ||
38 | { | ||
39 | /** | ||
40 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getType() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected TypeReference type; | ||
48 | |||
49 | /** | ||
50 | * The default value of the '{@link #isSetsNew() <em>Sets New</em>}' attribute. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @see #isSetsNew() | ||
54 | * @generated | ||
55 | * @ordered | ||
56 | */ | ||
57 | protected static final boolean SETS_NEW_EDEFAULT = false; | ||
58 | |||
59 | /** | ||
60 | * The cached value of the '{@link #isSetsNew() <em>Sets New</em>}' attribute. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see #isSetsNew() | ||
64 | * @generated | ||
65 | * @ordered | ||
66 | */ | ||
67 | protected boolean setsNew = SETS_NEW_EDEFAULT; | ||
68 | |||
69 | /** | ||
70 | * The default value of the '{@link #isSetsSum() <em>Sets Sum</em>}' attribute. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @see #isSetsSum() | ||
74 | * @generated | ||
75 | * @ordered | ||
76 | */ | ||
77 | protected static final boolean SETS_SUM_EDEFAULT = false; | ||
78 | |||
79 | /** | ||
80 | * The cached value of the '{@link #isSetsSum() <em>Sets Sum</em>}' attribute. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @see #isSetsSum() | ||
84 | * @generated | ||
85 | * @ordered | ||
86 | */ | ||
87 | protected boolean setsSum = SETS_SUM_EDEFAULT; | ||
88 | |||
89 | /** | ||
90 | * The default value of the '{@link #getMin() <em>Min</em>}' attribute. | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @see #getMin() | ||
94 | * @generated | ||
95 | * @ordered | ||
96 | */ | ||
97 | protected static final int MIN_EDEFAULT = 0; | ||
98 | |||
99 | /** | ||
100 | * The cached value of the '{@link #getMin() <em>Min</em>}' attribute. | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @see #getMin() | ||
104 | * @generated | ||
105 | * @ordered | ||
106 | */ | ||
107 | protected int min = MIN_EDEFAULT; | ||
108 | |||
109 | /** | ||
110 | * The default value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute. | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @see #isMaxUnlimited() | ||
114 | * @generated | ||
115 | * @ordered | ||
116 | */ | ||
117 | protected static final boolean MAX_UNLIMITED_EDEFAULT = false; | ||
118 | |||
119 | /** | ||
120 | * The cached value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute. | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @see #isMaxUnlimited() | ||
124 | * @generated | ||
125 | * @ordered | ||
126 | */ | ||
127 | protected boolean maxUnlimited = MAX_UNLIMITED_EDEFAULT; | ||
128 | |||
129 | /** | ||
130 | * The default value of the '{@link #getMax() <em>Max</em>}' attribute. | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @see #getMax() | ||
134 | * @generated | ||
135 | * @ordered | ||
136 | */ | ||
137 | protected static final int MAX_EDEFAULT = 0; | ||
138 | |||
139 | /** | ||
140 | * The cached value of the '{@link #getMax() <em>Max</em>}' attribute. | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @see #getMax() | ||
144 | * @generated | ||
145 | * @ordered | ||
146 | */ | ||
147 | protected int max = MAX_EDEFAULT; | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | protected TypeScopeImpl() | ||
155 | { | ||
156 | super(); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | protected EClass eStaticClass() | ||
166 | { | ||
167 | return ApplicationConfigurationPackage.Literals.TYPE_SCOPE; | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | public TypeReference getType() | ||
176 | { | ||
177 | return type; | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | public NotificationChain basicSetType(TypeReference newType, NotificationChain msgs) | ||
186 | { | ||
187 | TypeReference oldType = type; | ||
188 | type = newType; | ||
189 | if (eNotificationRequired()) | ||
190 | { | ||
191 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, oldType, newType); | ||
192 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
193 | } | ||
194 | return msgs; | ||
195 | } | ||
196 | |||
197 | /** | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @generated | ||
201 | */ | ||
202 | public void setType(TypeReference newType) | ||
203 | { | ||
204 | if (newType != type) | ||
205 | { | ||
206 | NotificationChain msgs = null; | ||
207 | if (type != null) | ||
208 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, null, msgs); | ||
209 | if (newType != null) | ||
210 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, null, msgs); | ||
211 | msgs = basicSetType(newType, msgs); | ||
212 | if (msgs != null) msgs.dispatch(); | ||
213 | } | ||
214 | else if (eNotificationRequired()) | ||
215 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, newType, newType)); | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | public boolean isSetsNew() | ||
224 | { | ||
225 | return setsNew; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | public void setSetsNew(boolean newSetsNew) | ||
234 | { | ||
235 | boolean oldSetsNew = setsNew; | ||
236 | setsNew = newSetsNew; | ||
237 | if (eNotificationRequired()) | ||
238 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW, oldSetsNew, setsNew)); | ||
239 | } | ||
240 | |||
241 | /** | ||
242 | * <!-- begin-user-doc --> | ||
243 | * <!-- end-user-doc --> | ||
244 | * @generated | ||
245 | */ | ||
246 | public boolean isSetsSum() | ||
247 | { | ||
248 | return setsSum; | ||
249 | } | ||
250 | |||
251 | /** | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @generated | ||
255 | */ | ||
256 | public void setSetsSum(boolean newSetsSum) | ||
257 | { | ||
258 | boolean oldSetsSum = setsSum; | ||
259 | setsSum = newSetsSum; | ||
260 | if (eNotificationRequired()) | ||
261 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM, oldSetsSum, setsSum)); | ||
262 | } | ||
263 | |||
264 | /** | ||
265 | * <!-- begin-user-doc --> | ||
266 | * <!-- end-user-doc --> | ||
267 | * @generated | ||
268 | */ | ||
269 | public int getMin() | ||
270 | { | ||
271 | return min; | ||
272 | } | ||
273 | |||
274 | /** | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @generated | ||
278 | */ | ||
279 | public void setMin(int newMin) | ||
280 | { | ||
281 | int oldMin = min; | ||
282 | min = newMin; | ||
283 | if (eNotificationRequired()) | ||
284 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__MIN, oldMin, min)); | ||
285 | } | ||
286 | |||
287 | /** | ||
288 | * <!-- begin-user-doc --> | ||
289 | * <!-- end-user-doc --> | ||
290 | * @generated | ||
291 | */ | ||
292 | public boolean isMaxUnlimited() | ||
293 | { | ||
294 | return maxUnlimited; | ||
295 | } | ||
296 | |||
297 | /** | ||
298 | * <!-- begin-user-doc --> | ||
299 | * <!-- end-user-doc --> | ||
300 | * @generated | ||
301 | */ | ||
302 | public void setMaxUnlimited(boolean newMaxUnlimited) | ||
303 | { | ||
304 | boolean oldMaxUnlimited = maxUnlimited; | ||
305 | maxUnlimited = newMaxUnlimited; | ||
306 | if (eNotificationRequired()) | ||
307 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED, oldMaxUnlimited, maxUnlimited)); | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * <!-- begin-user-doc --> | ||
312 | * <!-- end-user-doc --> | ||
313 | * @generated | ||
314 | */ | ||
315 | public int getMax() | ||
316 | { | ||
317 | return max; | ||
318 | } | ||
319 | |||
320 | /** | ||
321 | * <!-- begin-user-doc --> | ||
322 | * <!-- end-user-doc --> | ||
323 | * @generated | ||
324 | */ | ||
325 | public void setMax(int newMax) | ||
326 | { | ||
327 | int oldMax = max; | ||
328 | max = newMax; | ||
329 | if (eNotificationRequired()) | ||
330 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__MAX, oldMax, max)); | ||
331 | } | ||
332 | |||
333 | /** | ||
334 | * <!-- begin-user-doc --> | ||
335 | * <!-- end-user-doc --> | ||
336 | * @generated | ||
337 | */ | ||
338 | @Override | ||
339 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
340 | { | ||
341 | switch (featureID) | ||
342 | { | ||
343 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | ||
344 | return basicSetType(null, msgs); | ||
345 | } | ||
346 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
347 | } | ||
348 | |||
349 | /** | ||
350 | * <!-- begin-user-doc --> | ||
351 | * <!-- end-user-doc --> | ||
352 | * @generated | ||
353 | */ | ||
354 | @Override | ||
355 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
356 | { | ||
357 | switch (featureID) | ||
358 | { | ||
359 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | ||
360 | return getType(); | ||
361 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | ||
362 | return isSetsNew(); | ||
363 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | ||
364 | return isSetsSum(); | ||
365 | case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: | ||
366 | return getMin(); | ||
367 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: | ||
368 | return isMaxUnlimited(); | ||
369 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: | ||
370 | return getMax(); | ||
371 | } | ||
372 | return super.eGet(featureID, resolve, coreType); | ||
373 | } | ||
374 | |||
375 | /** | ||
376 | * <!-- begin-user-doc --> | ||
377 | * <!-- end-user-doc --> | ||
378 | * @generated | ||
379 | */ | ||
380 | @Override | ||
381 | public void eSet(int featureID, Object newValue) | ||
382 | { | ||
383 | switch (featureID) | ||
384 | { | ||
385 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | ||
386 | setType((TypeReference)newValue); | ||
387 | return; | ||
388 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | ||
389 | setSetsNew((Boolean)newValue); | ||
390 | return; | ||
391 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | ||
392 | setSetsSum((Boolean)newValue); | ||
393 | return; | ||
394 | case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: | ||
395 | setMin((Integer)newValue); | ||
396 | return; | ||
397 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: | ||
398 | setMaxUnlimited((Boolean)newValue); | ||
399 | return; | ||
400 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: | ||
401 | setMax((Integer)newValue); | ||
402 | return; | ||
403 | } | ||
404 | super.eSet(featureID, newValue); | ||
405 | } | ||
406 | |||
407 | /** | ||
408 | * <!-- begin-user-doc --> | ||
409 | * <!-- end-user-doc --> | ||
410 | * @generated | ||
411 | */ | ||
412 | @Override | ||
413 | public void eUnset(int featureID) | ||
414 | { | ||
415 | switch (featureID) | ||
416 | { | ||
417 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | ||
418 | setType((TypeReference)null); | ||
419 | return; | ||
420 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | ||
421 | setSetsNew(SETS_NEW_EDEFAULT); | ||
422 | return; | ||
423 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | ||
424 | setSetsSum(SETS_SUM_EDEFAULT); | ||
425 | return; | ||
426 | case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: | ||
427 | setMin(MIN_EDEFAULT); | ||
428 | return; | ||
429 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: | ||
430 | setMaxUnlimited(MAX_UNLIMITED_EDEFAULT); | ||
431 | return; | ||
432 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: | ||
433 | setMax(MAX_EDEFAULT); | ||
434 | return; | ||
435 | } | ||
436 | super.eUnset(featureID); | ||
437 | } | ||
438 | |||
439 | /** | ||
440 | * <!-- begin-user-doc --> | ||
441 | * <!-- end-user-doc --> | ||
442 | * @generated | ||
443 | */ | ||
444 | @Override | ||
445 | public boolean eIsSet(int featureID) | ||
446 | { | ||
447 | switch (featureID) | ||
448 | { | ||
449 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | ||
450 | return type != null; | ||
451 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | ||
452 | return setsNew != SETS_NEW_EDEFAULT; | ||
453 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | ||
454 | return setsSum != SETS_SUM_EDEFAULT; | ||
455 | case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: | ||
456 | return min != MIN_EDEFAULT; | ||
457 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: | ||
458 | return maxUnlimited != MAX_UNLIMITED_EDEFAULT; | ||
459 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: | ||
460 | return max != MAX_EDEFAULT; | ||
461 | } | ||
462 | return super.eIsSet(featureID); | ||
463 | } | ||
464 | |||
465 | /** | ||
466 | * <!-- begin-user-doc --> | ||
467 | * <!-- end-user-doc --> | ||
468 | * @generated | ||
469 | */ | ||
470 | @Override | ||
471 | public String toString() | ||
472 | { | ||
473 | if (eIsProxy()) return super.toString(); | ||
474 | |||
475 | StringBuffer result = new StringBuffer(super.toString()); | ||
476 | result.append(" (setsNew: "); | ||
477 | result.append(setsNew); | ||
478 | result.append(", setsSum: "); | ||
479 | result.append(setsSum); | ||
480 | result.append(", min: "); | ||
481 | result.append(min); | ||
482 | result.append(", maxUnlimited: "); | ||
483 | result.append(maxUnlimited); | ||
484 | result.append(", max: "); | ||
485 | result.append(max); | ||
486 | result.append(')'); | ||
487 | return result.toString(); | ||
488 | } | ||
489 | |||
490 | } //TypeScopeImpl | ||