diff options
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme')
164 files changed, 30364 insertions, 0 deletions
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/And.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/And.java new file mode 100644 index 00000000..638845a0 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/And.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>And</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.logic.model.logiclanguage.And#getOperands <em>Operands</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAnd() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface And extends BoolOperation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Operands</b></em>' containment reference list. | ||
26 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term}. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Operands</em>' containment reference list 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>Operands</em>' containment reference list. | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAnd_Operands() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | EList<Term> getOperands(); | ||
39 | |||
40 | } // And | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Assertion.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Assertion.java new file mode 100644 index 00000000..6ce3b516 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Assertion.java | |||
@@ -0,0 +1,99 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation; | ||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * A representation of the model object '<em><b>Assertion</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.logic.model.logiclanguage.Assertion#getValue <em>Value</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getName <em>Name</em>}</li> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getAnnotations <em>Annotations</em>}</li> | ||
22 | * </ul> | ||
23 | * | ||
24 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAssertion() | ||
25 | * @model | ||
26 | * @generated | ||
27 | */ | ||
28 | public interface Assertion extends EObject { | ||
29 | /** | ||
30 | * Returns the value of the '<em><b>Value</b></em>' containment reference. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <p> | ||
33 | * If the meaning of the '<em>Value</em>' containment reference isn't clear, | ||
34 | * there really should be more of a description here... | ||
35 | * </p> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return the value of the '<em>Value</em>' containment reference. | ||
38 | * @see #setValue(Term) | ||
39 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAssertion_Value() | ||
40 | * @model containment="true" required="true" | ||
41 | * @generated | ||
42 | */ | ||
43 | Term getValue(); | ||
44 | |||
45 | /** | ||
46 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getValue <em>Value</em>}' containment reference. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @param value the new value of the '<em>Value</em>' containment reference. | ||
50 | * @see #getValue() | ||
51 | * @generated | ||
52 | */ | ||
53 | void setValue(Term value); | ||
54 | |||
55 | /** | ||
56 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <p> | ||
59 | * If the meaning of the '<em>Name</em>' attribute list isn't clear, | ||
60 | * there really should be more of a description here... | ||
61 | * </p> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the value of the '<em>Name</em>' attribute. | ||
64 | * @see #setName(String) | ||
65 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAssertion_Name() | ||
66 | * @model required="true" | ||
67 | * @generated | ||
68 | */ | ||
69 | String getName(); | ||
70 | |||
71 | /** | ||
72 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getName <em>Name</em>}' attribute. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @param value the new value of the '<em>Name</em>' attribute. | ||
76 | * @see #getName() | ||
77 | * @generated | ||
78 | */ | ||
79 | void setName(String value); | ||
80 | |||
81 | /** | ||
82 | * Returns the value of the '<em><b>Annotations</b></em>' reference list. | ||
83 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation}. | ||
84 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget <em>Target</em>}'. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <p> | ||
87 | * If the meaning of the '<em>Annotations</em>' reference list 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>Annotations</em>' reference list. | ||
92 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAssertion_Annotations() | ||
93 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget | ||
94 | * @model opposite="target" | ||
95 | * @generated | ||
96 | */ | ||
97 | EList<AssertionAnnotation> getAnnotations(); | ||
98 | |||
99 | } // Assertion | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/AtomicTerm.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/AtomicTerm.java new file mode 100644 index 00000000..f5e91ce7 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/AtomicTerm.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Atomic Term</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAtomicTerm() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface AtomicTerm extends Term { | ||
17 | } // AtomicTerm | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolLiteral.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolLiteral.java new file mode 100644 index 00000000..c48665a9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolLiteral.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Bool Literal</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral#isValue <em>Value</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolLiteral() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface BoolLiteral extends AtomicTerm { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Value</em>' attribute. | ||
32 | * @see #setValue(boolean) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolLiteral_Value() | ||
34 | * @model | ||
35 | * @generated | ||
36 | */ | ||
37 | boolean isValue(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral#isValue <em>Value</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Value</em>' attribute. | ||
44 | * @see #isValue() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setValue(boolean value); | ||
48 | |||
49 | } // BoolLiteral | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolOperation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolOperation.java new file mode 100644 index 00000000..6e8d2c4f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolOperation.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Bool Operation</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolOperation() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface BoolOperation extends Term { | ||
17 | } // BoolOperation | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolTypeReference.java new file mode 100644 index 00000000..827d4df6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolTypeReference.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Bool Type Reference</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolTypeReference() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface BoolTypeReference extends PrimitiveTypeReference { | ||
17 | } // BoolTypeReference | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ComplexTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ComplexTypeReference.java new file mode 100644 index 00000000..0f19961a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ComplexTypeReference.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Complex Type Reference</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference#getReferred <em>Referred</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getComplexTypeReference() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ComplexTypeReference extends TypeReference { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Referred</b></em>' reference. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Referred</em>' reference isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Referred</em>' reference. | ||
32 | * @see #setReferred(Type) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getComplexTypeReference_Referred() | ||
34 | * @model | ||
35 | * @generated | ||
36 | */ | ||
37 | Type getReferred(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference#getReferred <em>Referred</em>}' reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Referred</em>' reference. | ||
44 | * @see #getReferred() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setReferred(Type value); | ||
48 | |||
49 | } // ComplexTypeReference | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Constant.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Constant.java new file mode 100644 index 00000000..68d3776b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Constant.java | |||
@@ -0,0 +1,71 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation; | ||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Constant</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getType <em>Type</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations <em>Annotations</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstant() | ||
23 | * @model abstract="true" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface Constant extends SymbolicDeclaration { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Type</b></em>' containment reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Type</em>' containment reference 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>Type</em>' containment reference. | ||
36 | * @see #setType(TypeReference) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstant_Type() | ||
38 | * @model containment="true" required="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | TypeReference getType(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getType <em>Type</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Type</em>' containment reference. | ||
48 | * @see #getType() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setType(TypeReference value); | ||
52 | |||
53 | /** | ||
54 | * Returns the value of the '<em><b>Annotations</b></em>' reference list. | ||
55 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation}. | ||
56 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget <em>Target</em>}'. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <p> | ||
59 | * If the meaning of the '<em>Annotations</em>' reference list isn't clear, | ||
60 | * there really should be more of a description here... | ||
61 | * </p> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the value of the '<em>Annotations</em>' reference list. | ||
64 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstant_Annotations() | ||
65 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget | ||
66 | * @model opposite="target" | ||
67 | * @generated | ||
68 | */ | ||
69 | EList<ConstantAnnotation> getAnnotations(); | ||
70 | |||
71 | } // Constant | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDeclaration.java new file mode 100644 index 00000000..b27837a8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDeclaration.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Constant Declaration</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstantDeclaration() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ConstantDeclaration extends Constant { | ||
17 | } // ConstantDeclaration | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDefinition.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDefinition.java new file mode 100644 index 00000000..3de18cf1 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDefinition.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Constant Definition</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getValue <em>Value</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getDefines <em>Defines</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstantDefinition() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ConstantDefinition extends Constant { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Value</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Value</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Value</em>' containment reference. | ||
33 | * @see #setValue(Term) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstantDefinition_Value() | ||
35 | * @model containment="true" required="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Term getValue(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getValue <em>Value</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Value</em>' containment reference. | ||
45 | * @see #getValue() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setValue(Term value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Defines</b></em>' reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Defines</em>' reference isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Defines</em>' reference. | ||
59 | * @see #setDefines(ConstantDeclaration) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstantDefinition_Defines() | ||
61 | * @model | ||
62 | * @generated | ||
63 | */ | ||
64 | ConstantDeclaration getDefines(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getDefines <em>Defines</em>}' reference. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Defines</em>' reference. | ||
71 | * @see #getDefines() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setDefines(ConstantDeclaration value); | ||
75 | |||
76 | } // ConstantDefinition | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/DefinedElement.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/DefinedElement.java new file mode 100644 index 00000000..d34436d8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/DefinedElement.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Defined 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.logic.model.logiclanguage.DefinedElement#getDefinedInType <em>Defined In Type</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDefinedElement() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface DefinedElement extends SymbolicDeclaration { | ||
25 | |||
26 | /** | ||
27 | * Returns the value of the '<em><b>Defined In Type</b></em>' reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition}. | ||
29 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getElements <em>Elements</em>}'. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <p> | ||
32 | * If the meaning of the '<em>Defined In Type</em>' reference list 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>Defined In Type</em>' reference list. | ||
37 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDefinedElement_DefinedInType() | ||
38 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getElements | ||
39 | * @model opposite="elements" required="true" | ||
40 | * @generated | ||
41 | */ | ||
42 | EList<TypeDefinition> getDefinedInType(); | ||
43 | } // DefinedElement | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Distinct.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Distinct.java new file mode 100644 index 00000000..20a1bce5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Distinct.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Distinct</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.logic.model.logiclanguage.Distinct#getOperands <em>Operands</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDistinct() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Distinct extends PrimitiveRelation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Operands</b></em>' containment reference list. | ||
26 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term}. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Operands</em>' containment reference list 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>Operands</em>' containment reference list. | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDistinct_Operands() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | EList<Term> getOperands(); | ||
39 | |||
40 | } // Distinct | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Divison.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Divison.java new file mode 100644 index 00000000..06c9dd33 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Divison.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Divison</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDivison() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface Divison extends IntOperation { | ||
17 | } // Divison | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Equals.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Equals.java new file mode 100644 index 00000000..420d4285 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Equals.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Equals</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getEquals() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Equals extends PrimitiveRelation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
33 | * @see #setLeftOperand(Term) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getEquals_LeftOperand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Term getLeftOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
45 | * @see #getLeftOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setLeftOperand(Term value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
59 | * @see #setRightOperand(Term) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getEquals_RightOperand() | ||
61 | * @model containment="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | Term getRightOperand(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getRightOperand <em>Right Operand</em>}' containment reference. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
71 | * @see #getRightOperand() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setRightOperand(Term value); | ||
75 | |||
76 | } // Equals | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Exists.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Exists.java new file mode 100644 index 00000000..4e2fe972 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Exists.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Exists</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getExists() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface Exists extends QuantifiedExpression { | ||
17 | } // Exists | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Forall.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Forall.java new file mode 100644 index 00000000..62f7e550 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Forall.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Forall</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getForall() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface Forall extends QuantifiedExpression { | ||
17 | } // Forall | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Function.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Function.java new file mode 100644 index 00000000..b3e2fa82 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Function.java | |||
@@ -0,0 +1,87 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation; | ||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Function</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.logic.model.logiclanguage.Function#getRange <em>Range</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getParameters <em>Parameters</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations <em>Annotations</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunction() | ||
23 | * @model abstract="true" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface Function extends SymbolicDeclaration { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Range</b></em>' containment reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Range</em>' containment reference 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>Range</em>' containment reference. | ||
36 | * @see #setRange(TypeReference) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunction_Range() | ||
38 | * @model containment="true" required="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | TypeReference getRange(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getRange <em>Range</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Range</em>' containment reference. | ||
48 | * @see #getRange() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setRange(TypeReference value); | ||
52 | |||
53 | /** | ||
54 | * Returns the value of the '<em><b>Parameters</b></em>' containment reference list. | ||
55 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference}. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <p> | ||
58 | * If the meaning of the '<em>Parameters</em>' containment reference list isn't clear, | ||
59 | * there really should be more of a description here... | ||
60 | * </p> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @return the value of the '<em>Parameters</em>' containment reference list. | ||
63 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunction_Parameters() | ||
64 | * @model containment="true" | ||
65 | * @generated | ||
66 | */ | ||
67 | EList<TypeReference> getParameters(); | ||
68 | |||
69 | /** | ||
70 | * Returns the value of the '<em><b>Annotations</b></em>' reference list. | ||
71 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation}. | ||
72 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget <em>Target</em>}'. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <p> | ||
75 | * If the meaning of the '<em>Annotations</em>' reference list isn't clear, | ||
76 | * there really should be more of a description here... | ||
77 | * </p> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @return the value of the '<em>Annotations</em>' reference list. | ||
80 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunction_Annotations() | ||
81 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget | ||
82 | * @model opposite="target" | ||
83 | * @generated | ||
84 | */ | ||
85 | EList<FunctionAnnotation> getAnnotations(); | ||
86 | |||
87 | } // Function | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDeclaration.java new file mode 100644 index 00000000..6e9a6469 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDeclaration.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Function Declaration</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDeclaration() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface FunctionDeclaration extends Function { | ||
17 | } // FunctionDeclaration | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDefinition.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDefinition.java new file mode 100644 index 00000000..1034cdc7 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDefinition.java | |||
@@ -0,0 +1,94 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Function Definition</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.logic.model.logiclanguage.FunctionDefinition#getVariable <em>Variable</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getDefines <em>Defines</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getValue <em>Value</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDefinition() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface FunctionDefinition extends Function { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Variable</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Variable</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>Variable</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDefinition_Variable() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<Variable> getVariable(); | ||
41 | |||
42 | /** | ||
43 | * Returns the value of the '<em><b>Defines</b></em>' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <p> | ||
46 | * If the meaning of the '<em>Defines</em>' reference isn't clear, | ||
47 | * there really should be more of a description here... | ||
48 | * </p> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @return the value of the '<em>Defines</em>' reference. | ||
51 | * @see #setDefines(FunctionDeclaration) | ||
52 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDefinition_Defines() | ||
53 | * @model | ||
54 | * @generated | ||
55 | */ | ||
56 | FunctionDeclaration getDefines(); | ||
57 | |||
58 | /** | ||
59 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getDefines <em>Defines</em>}' reference. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @param value the new value of the '<em>Defines</em>' reference. | ||
63 | * @see #getDefines() | ||
64 | * @generated | ||
65 | */ | ||
66 | void setDefines(FunctionDeclaration value); | ||
67 | |||
68 | /** | ||
69 | * Returns the value of the '<em><b>Value</b></em>' containment reference. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <p> | ||
72 | * If the meaning of the '<em>Value</em>' containment reference isn't clear, | ||
73 | * there really should be more of a description here... | ||
74 | * </p> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @return the value of the '<em>Value</em>' containment reference. | ||
77 | * @see #setValue(Term) | ||
78 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDefinition_Value() | ||
79 | * @model containment="true" required="true" | ||
80 | * @generated | ||
81 | */ | ||
82 | Term getValue(); | ||
83 | |||
84 | /** | ||
85 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getValue <em>Value</em>}' containment reference. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @param value the new value of the '<em>Value</em>' containment reference. | ||
89 | * @see #getValue() | ||
90 | * @generated | ||
91 | */ | ||
92 | void setValue(Term value); | ||
93 | |||
94 | } // FunctionDefinition | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IfThenElse.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IfThenElse.java new file mode 100644 index 00000000..aefecd1a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IfThenElse.java | |||
@@ -0,0 +1,103 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>If Then Else</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getCondition <em>Condition</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfTrue <em>If True</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfFalse <em>If False</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIfThenElse() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface IfThenElse extends Term { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Condition</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Condition</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>Condition</em>' containment reference. | ||
34 | * @see #setCondition(Term) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIfThenElse_Condition() | ||
36 | * @model containment="true" required="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | Term getCondition(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getCondition <em>Condition</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Condition</em>' containment reference. | ||
46 | * @see #getCondition() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setCondition(Term value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>If True</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>If True</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>If True</em>' containment reference. | ||
60 | * @see #setIfTrue(Term) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIfThenElse_IfTrue() | ||
62 | * @model containment="true" required="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | Term getIfTrue(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfTrue <em>If True</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>If True</em>' containment reference. | ||
72 | * @see #getIfTrue() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setIfTrue(Term value); | ||
76 | |||
77 | /** | ||
78 | * Returns the value of the '<em><b>If False</b></em>' containment reference. | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <p> | ||
81 | * If the meaning of the '<em>If False</em>' containment reference isn't clear, | ||
82 | * there really should be more of a description here... | ||
83 | * </p> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @return the value of the '<em>If False</em>' containment reference. | ||
86 | * @see #setIfFalse(Term) | ||
87 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIfThenElse_IfFalse() | ||
88 | * @model containment="true" required="true" | ||
89 | * @generated | ||
90 | */ | ||
91 | Term getIfFalse(); | ||
92 | |||
93 | /** | ||
94 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfFalse <em>If False</em>}' containment reference. | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @param value the new value of the '<em>If False</em>' containment reference. | ||
98 | * @see #getIfFalse() | ||
99 | * @generated | ||
100 | */ | ||
101 | void setIfFalse(Term value); | ||
102 | |||
103 | } // IfThenElse | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Iff.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Iff.java new file mode 100644 index 00000000..9fc20f1e --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Iff.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Iff</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIff() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Iff extends BoolOperation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
33 | * @see #setLeftOperand(Term) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIff_LeftOperand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Term getLeftOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
45 | * @see #getLeftOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setLeftOperand(Term value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
59 | * @see #setRightOperand(Term) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIff_RightOperand() | ||
61 | * @model containment="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | Term getRightOperand(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getRightOperand <em>Right Operand</em>}' containment reference. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
71 | * @see #getRightOperand() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setRightOperand(Term value); | ||
75 | |||
76 | } // Iff | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Impl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Impl.java new file mode 100644 index 00000000..89ec3274 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Impl.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Impl</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getImpl() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Impl extends BoolOperation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
33 | * @see #setLeftOperand(Term) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getImpl_LeftOperand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Term getLeftOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
45 | * @see #getLeftOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setLeftOperand(Term value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
59 | * @see #setRightOperand(Term) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getImpl_RightOperand() | ||
61 | * @model containment="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | Term getRightOperand(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getRightOperand <em>Right Operand</em>}' containment reference. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
71 | * @see #getRightOperand() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setRightOperand(Term value); | ||
75 | |||
76 | } // Impl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/InstanceOf.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/InstanceOf.java new file mode 100644 index 00000000..2b4f0329 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/InstanceOf.java | |||
@@ -0,0 +1,75 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Instance Of</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * <p> | ||
11 | * The following features are supported: | ||
12 | * </p> | ||
13 | * <ul> | ||
14 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getValue <em>Value</em>}</li> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getRange <em>Range</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getInstanceOf() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface InstanceOf extends Term { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Value</b></em>' containment reference. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Value</em>' containment reference isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Value</em>' containment reference. | ||
32 | * @see #setValue(Term) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getInstanceOf_Value() | ||
34 | * @model containment="true" required="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | Term getValue(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getValue <em>Value</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Value</em>' containment reference. | ||
44 | * @see #getValue() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setValue(Term value); | ||
48 | |||
49 | /** | ||
50 | * Returns the value of the '<em><b>Range</b></em>' containment reference. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <p> | ||
53 | * If the meaning of the '<em>Range</em>' containment reference isn't clear, | ||
54 | * there really should be more of a description here... | ||
55 | * </p> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @return the value of the '<em>Range</em>' containment reference. | ||
58 | * @see #setRange(TypeReference) | ||
59 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getInstanceOf_Range() | ||
60 | * @model containment="true" required="true" | ||
61 | * @generated | ||
62 | */ | ||
63 | TypeReference getRange(); | ||
64 | |||
65 | /** | ||
66 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getRange <em>Range</em>}' containment reference. | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @param value the new value of the '<em>Range</em>' containment reference. | ||
70 | * @see #getRange() | ||
71 | * @generated | ||
72 | */ | ||
73 | void setRange(TypeReference value); | ||
74 | |||
75 | } // InstanceOf | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntLiteral.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntLiteral.java new file mode 100644 index 00000000..87eb946d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntLiteral.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Int Literal</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral#getValue <em>Value</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntLiteral() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface IntLiteral extends AtomicTerm { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Value</em>' attribute. | ||
32 | * @see #setValue(int) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntLiteral_Value() | ||
34 | * @model | ||
35 | * @generated | ||
36 | */ | ||
37 | int getValue(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral#getValue <em>Value</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Value</em>' attribute. | ||
44 | * @see #getValue() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setValue(int value); | ||
48 | |||
49 | } // IntLiteral | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntOperation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntOperation.java new file mode 100644 index 00000000..d9be99e9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntOperation.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Int Operation</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntOperation() | ||
20 | * @model abstract="true" | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface IntOperation extends Term { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
33 | * @see #setLeftOperand(Term) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntOperation_LeftOperand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Term getLeftOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
45 | * @see #getLeftOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setLeftOperand(Term value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
59 | * @see #setRightOperand(Term) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntOperation_RightOperand() | ||
61 | * @model containment="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | Term getRightOperand(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getRightOperand <em>Right Operand</em>}' containment reference. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
71 | * @see #getRightOperand() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setRightOperand(Term value); | ||
75 | |||
76 | } // IntOperation | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntTypeReference.java new file mode 100644 index 00000000..d68b350c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntTypeReference.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Int Type Reference</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntTypeReference() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface IntTypeReference extends PrimitiveTypeReference { | ||
17 | } // IntTypeReference | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessOrEqualThan.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessOrEqualThan.java new file mode 100644 index 00000000..7fc8a0d6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessOrEqualThan.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Less Or Equal Than</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessOrEqualThan() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface LessOrEqualThan extends PrimitiveRelation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
33 | * @see #setLeftOperand(Term) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessOrEqualThan_LeftOperand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Term getLeftOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
45 | * @see #getLeftOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setLeftOperand(Term value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
59 | * @see #setRightOperand(Term) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessOrEqualThan_RightOperand() | ||
61 | * @model containment="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | Term getRightOperand(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getRightOperand <em>Right Operand</em>}' containment reference. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
71 | * @see #getRightOperand() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setRightOperand(Term value); | ||
75 | |||
76 | } // LessOrEqualThan | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessThan.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessThan.java new file mode 100644 index 00000000..e198d637 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessThan.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Less Than</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessThan() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface LessThan extends PrimitiveRelation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
33 | * @see #setLeftOperand(Term) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessThan_LeftOperand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Term getLeftOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
45 | * @see #getLeftOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setLeftOperand(Term value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
59 | * @see #setRightOperand(Term) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessThan_RightOperand() | ||
61 | * @model containment="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | Term getRightOperand(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getRightOperand <em>Right Operand</em>}' containment reference. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
71 | * @see #getRightOperand() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setRightOperand(Term value); | ||
75 | |||
76 | } // LessThan | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguageFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguageFactory.java new file mode 100644 index 00000000..0d438a05 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguageFactory.java | |||
@@ -0,0 +1,393 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EFactory; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * The <b>Factory</b> for the model. | ||
10 | * It provides a create method for each non-abstract class of the model. | ||
11 | * <!-- end-user-doc --> | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface LogiclanguageFactory extends EFactory { | ||
16 | /** | ||
17 | * The singleton instance of the factory. | ||
18 | * <!-- begin-user-doc --> | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | LogiclanguageFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguageFactoryImpl.init(); | ||
23 | |||
24 | /** | ||
25 | * Returns a new object of class '<em>Defined Element</em>'. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return a new object of class '<em>Defined Element</em>'. | ||
29 | * @generated | ||
30 | */ | ||
31 | DefinedElement createDefinedElement(); | ||
32 | |||
33 | /** | ||
34 | * Returns a new object of class '<em>Type Definition</em>'. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return a new object of class '<em>Type Definition</em>'. | ||
38 | * @generated | ||
39 | */ | ||
40 | TypeDefinition createTypeDefinition(); | ||
41 | |||
42 | /** | ||
43 | * Returns a new object of class '<em>Complex Type Reference</em>'. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @return a new object of class '<em>Complex Type Reference</em>'. | ||
47 | * @generated | ||
48 | */ | ||
49 | ComplexTypeReference createComplexTypeReference(); | ||
50 | |||
51 | /** | ||
52 | * Returns a new object of class '<em>Int Type Reference</em>'. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return a new object of class '<em>Int Type Reference</em>'. | ||
56 | * @generated | ||
57 | */ | ||
58 | IntTypeReference createIntTypeReference(); | ||
59 | |||
60 | /** | ||
61 | * Returns a new object of class '<em>Bool Type Reference</em>'. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return a new object of class '<em>Bool Type Reference</em>'. | ||
65 | * @generated | ||
66 | */ | ||
67 | BoolTypeReference createBoolTypeReference(); | ||
68 | |||
69 | /** | ||
70 | * Returns a new object of class '<em>Real Type Reference</em>'. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return a new object of class '<em>Real Type Reference</em>'. | ||
74 | * @generated | ||
75 | */ | ||
76 | RealTypeReference createRealTypeReference(); | ||
77 | |||
78 | /** | ||
79 | * Returns a new object of class '<em>Symbolic Value</em>'. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return a new object of class '<em>Symbolic Value</em>'. | ||
83 | * @generated | ||
84 | */ | ||
85 | SymbolicValue createSymbolicValue(); | ||
86 | |||
87 | /** | ||
88 | * Returns a new object of class '<em>Int Literal</em>'. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return a new object of class '<em>Int Literal</em>'. | ||
92 | * @generated | ||
93 | */ | ||
94 | IntLiteral createIntLiteral(); | ||
95 | |||
96 | /** | ||
97 | * Returns a new object of class '<em>Bool Literal</em>'. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @return a new object of class '<em>Bool Literal</em>'. | ||
101 | * @generated | ||
102 | */ | ||
103 | BoolLiteral createBoolLiteral(); | ||
104 | |||
105 | /** | ||
106 | * Returns a new object of class '<em>Real Literal</em>'. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @return a new object of class '<em>Real Literal</em>'. | ||
110 | * @generated | ||
111 | */ | ||
112 | RealLiteral createRealLiteral(); | ||
113 | |||
114 | /** | ||
115 | * Returns a new object of class '<em>Variable</em>'. | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @return a new object of class '<em>Variable</em>'. | ||
119 | * @generated | ||
120 | */ | ||
121 | Variable createVariable(); | ||
122 | |||
123 | /** | ||
124 | * Returns a new object of class '<em>Exists</em>'. | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @return a new object of class '<em>Exists</em>'. | ||
128 | * @generated | ||
129 | */ | ||
130 | Exists createExists(); | ||
131 | |||
132 | /** | ||
133 | * Returns a new object of class '<em>Forall</em>'. | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @return a new object of class '<em>Forall</em>'. | ||
137 | * @generated | ||
138 | */ | ||
139 | Forall createForall(); | ||
140 | |||
141 | /** | ||
142 | * Returns a new object of class '<em>And</em>'. | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @return a new object of class '<em>And</em>'. | ||
146 | * @generated | ||
147 | */ | ||
148 | And createAnd(); | ||
149 | |||
150 | /** | ||
151 | * Returns a new object of class '<em>Or</em>'. | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @return a new object of class '<em>Or</em>'. | ||
155 | * @generated | ||
156 | */ | ||
157 | Or createOr(); | ||
158 | |||
159 | /** | ||
160 | * Returns a new object of class '<em>Impl</em>'. | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @return a new object of class '<em>Impl</em>'. | ||
164 | * @generated | ||
165 | */ | ||
166 | Impl createImpl(); | ||
167 | |||
168 | /** | ||
169 | * Returns a new object of class '<em>Not</em>'. | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @return a new object of class '<em>Not</em>'. | ||
173 | * @generated | ||
174 | */ | ||
175 | Not createNot(); | ||
176 | |||
177 | /** | ||
178 | * Returns a new object of class '<em>Iff</em>'. | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @return a new object of class '<em>Iff</em>'. | ||
182 | * @generated | ||
183 | */ | ||
184 | Iff createIff(); | ||
185 | |||
186 | /** | ||
187 | * Returns a new object of class '<em>Equals</em>'. | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @return a new object of class '<em>Equals</em>'. | ||
191 | * @generated | ||
192 | */ | ||
193 | Equals createEquals(); | ||
194 | |||
195 | /** | ||
196 | * Returns a new object of class '<em>Distinct</em>'. | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @return a new object of class '<em>Distinct</em>'. | ||
200 | * @generated | ||
201 | */ | ||
202 | Distinct createDistinct(); | ||
203 | |||
204 | /** | ||
205 | * Returns a new object of class '<em>Less Than</em>'. | ||
206 | * <!-- begin-user-doc --> | ||
207 | * <!-- end-user-doc --> | ||
208 | * @return a new object of class '<em>Less Than</em>'. | ||
209 | * @generated | ||
210 | */ | ||
211 | LessThan createLessThan(); | ||
212 | |||
213 | /** | ||
214 | * Returns a new object of class '<em>More Than</em>'. | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @return a new object of class '<em>More Than</em>'. | ||
218 | * @generated | ||
219 | */ | ||
220 | MoreThan createMoreThan(); | ||
221 | |||
222 | /** | ||
223 | * Returns a new object of class '<em>Less Or Equal Than</em>'. | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @return a new object of class '<em>Less Or Equal Than</em>'. | ||
227 | * @generated | ||
228 | */ | ||
229 | LessOrEqualThan createLessOrEqualThan(); | ||
230 | |||
231 | /** | ||
232 | * Returns a new object of class '<em>More Or Equal Than</em>'. | ||
233 | * <!-- begin-user-doc --> | ||
234 | * <!-- end-user-doc --> | ||
235 | * @return a new object of class '<em>More Or Equal Than</em>'. | ||
236 | * @generated | ||
237 | */ | ||
238 | MoreOrEqualThan createMoreOrEqualThan(); | ||
239 | |||
240 | /** | ||
241 | * Returns a new object of class '<em>Plus</em>'. | ||
242 | * <!-- begin-user-doc --> | ||
243 | * <!-- end-user-doc --> | ||
244 | * @return a new object of class '<em>Plus</em>'. | ||
245 | * @generated | ||
246 | */ | ||
247 | Plus createPlus(); | ||
248 | |||
249 | /** | ||
250 | * Returns a new object of class '<em>Minus</em>'. | ||
251 | * <!-- begin-user-doc --> | ||
252 | * <!-- end-user-doc --> | ||
253 | * @return a new object of class '<em>Minus</em>'. | ||
254 | * @generated | ||
255 | */ | ||
256 | Minus createMinus(); | ||
257 | |||
258 | /** | ||
259 | * Returns a new object of class '<em>Multiply</em>'. | ||
260 | * <!-- begin-user-doc --> | ||
261 | * <!-- end-user-doc --> | ||
262 | * @return a new object of class '<em>Multiply</em>'. | ||
263 | * @generated | ||
264 | */ | ||
265 | Multiply createMultiply(); | ||
266 | |||
267 | /** | ||
268 | * Returns a new object of class '<em>Divison</em>'. | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @return a new object of class '<em>Divison</em>'. | ||
272 | * @generated | ||
273 | */ | ||
274 | Divison createDivison(); | ||
275 | |||
276 | /** | ||
277 | * Returns a new object of class '<em>Mod</em>'. | ||
278 | * <!-- begin-user-doc --> | ||
279 | * <!-- end-user-doc --> | ||
280 | * @return a new object of class '<em>Mod</em>'. | ||
281 | * @generated | ||
282 | */ | ||
283 | Mod createMod(); | ||
284 | |||
285 | /** | ||
286 | * Returns a new object of class '<em>Assertion</em>'. | ||
287 | * <!-- begin-user-doc --> | ||
288 | * <!-- end-user-doc --> | ||
289 | * @return a new object of class '<em>Assertion</em>'. | ||
290 | * @generated | ||
291 | */ | ||
292 | Assertion createAssertion(); | ||
293 | |||
294 | /** | ||
295 | * Returns a new object of class '<em>Constant Definition</em>'. | ||
296 | * <!-- begin-user-doc --> | ||
297 | * <!-- end-user-doc --> | ||
298 | * @return a new object of class '<em>Constant Definition</em>'. | ||
299 | * @generated | ||
300 | */ | ||
301 | ConstantDefinition createConstantDefinition(); | ||
302 | |||
303 | /** | ||
304 | * Returns a new object of class '<em>Relation Definition</em>'. | ||
305 | * <!-- begin-user-doc --> | ||
306 | * <!-- end-user-doc --> | ||
307 | * @return a new object of class '<em>Relation Definition</em>'. | ||
308 | * @generated | ||
309 | */ | ||
310 | RelationDefinition createRelationDefinition(); | ||
311 | |||
312 | /** | ||
313 | * Returns a new object of class '<em>Function Definition</em>'. | ||
314 | * <!-- begin-user-doc --> | ||
315 | * <!-- end-user-doc --> | ||
316 | * @return a new object of class '<em>Function Definition</em>'. | ||
317 | * @generated | ||
318 | */ | ||
319 | FunctionDefinition createFunctionDefinition(); | ||
320 | |||
321 | /** | ||
322 | * Returns a new object of class '<em>If Then Else</em>'. | ||
323 | * <!-- begin-user-doc --> | ||
324 | * <!-- end-user-doc --> | ||
325 | * @return a new object of class '<em>If Then Else</em>'. | ||
326 | * @generated | ||
327 | */ | ||
328 | IfThenElse createIfThenElse(); | ||
329 | |||
330 | /** | ||
331 | * Returns a new object of class '<em>Constant Declaration</em>'. | ||
332 | * <!-- begin-user-doc --> | ||
333 | * <!-- end-user-doc --> | ||
334 | * @return a new object of class '<em>Constant Declaration</em>'. | ||
335 | * @generated | ||
336 | */ | ||
337 | ConstantDeclaration createConstantDeclaration(); | ||
338 | |||
339 | /** | ||
340 | * Returns a new object of class '<em>Relation Declaration</em>'. | ||
341 | * <!-- begin-user-doc --> | ||
342 | * <!-- end-user-doc --> | ||
343 | * @return a new object of class '<em>Relation Declaration</em>'. | ||
344 | * @generated | ||
345 | */ | ||
346 | RelationDeclaration createRelationDeclaration(); | ||
347 | |||
348 | /** | ||
349 | * Returns a new object of class '<em>Function Declaration</em>'. | ||
350 | * <!-- begin-user-doc --> | ||
351 | * <!-- end-user-doc --> | ||
352 | * @return a new object of class '<em>Function Declaration</em>'. | ||
353 | * @generated | ||
354 | */ | ||
355 | FunctionDeclaration createFunctionDeclaration(); | ||
356 | |||
357 | /** | ||
358 | * Returns a new object of class '<em>Type Declaration</em>'. | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @return a new object of class '<em>Type Declaration</em>'. | ||
362 | * @generated | ||
363 | */ | ||
364 | TypeDeclaration createTypeDeclaration(); | ||
365 | |||
366 | /** | ||
367 | * Returns a new object of class '<em>Unknown Because Uninterpreted</em>'. | ||
368 | * <!-- begin-user-doc --> | ||
369 | * <!-- end-user-doc --> | ||
370 | * @return a new object of class '<em>Unknown Because Uninterpreted</em>'. | ||
371 | * @generated | ||
372 | */ | ||
373 | UnknownBecauseUninterpreted createUnknownBecauseUninterpreted(); | ||
374 | |||
375 | /** | ||
376 | * Returns a new object of class '<em>Instance Of</em>'. | ||
377 | * <!-- begin-user-doc --> | ||
378 | * <!-- end-user-doc --> | ||
379 | * @return a new object of class '<em>Instance Of</em>'. | ||
380 | * @generated | ||
381 | */ | ||
382 | InstanceOf createInstanceOf(); | ||
383 | |||
384 | /** | ||
385 | * Returns the package supported by this factory. | ||
386 | * <!-- begin-user-doc --> | ||
387 | * <!-- end-user-doc --> | ||
388 | * @return the package supported by this factory. | ||
389 | * @generated | ||
390 | */ | ||
391 | LogiclanguagePackage getLogiclanguagePackage(); | ||
392 | |||
393 | } //LogiclanguageFactory | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguagePackage.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguagePackage.java new file mode 100644 index 00000000..6965428b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguagePackage.java | |||
@@ -0,0 +1,4830 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | import org.eclipse.emf.ecore.EReference; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * The <b>Package</b> for the model. | ||
13 | * It contains accessors for the meta objects to represent | ||
14 | * <ul> | ||
15 | * <li>each class,</li> | ||
16 | * <li>each feature of each class,</li> | ||
17 | * <li>each operation of each class,</li> | ||
18 | * <li>each enum,</li> | ||
19 | * <li>and each data type</li> | ||
20 | * </ul> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory | ||
23 | * @model kind="package" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface LogiclanguagePackage extends EPackage { | ||
27 | /** | ||
28 | * The package name. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | String eNAME = "logiclanguage"; | ||
34 | |||
35 | /** | ||
36 | * The package namespace URI. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/logic/model/language"; | ||
42 | |||
43 | /** | ||
44 | * The package namespace name. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | String eNS_PREFIX = "language"; | ||
50 | |||
51 | /** | ||
52 | * The singleton instance of the package. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | LogiclanguagePackage eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl.init(); | ||
58 | |||
59 | /** | ||
60 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor <em>Type Descriptor</em>}' class. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor | ||
64 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDescriptor() | ||
65 | * @generated | ||
66 | */ | ||
67 | int TYPE_DESCRIPTOR = 40; | ||
68 | |||
69 | /** | ||
70 | * The number of structural features of the '<em>Type Descriptor</em>' class. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | int TYPE_DESCRIPTOR_FEATURE_COUNT = 0; | ||
77 | |||
78 | /** | ||
79 | * The number of operations of the '<em>Type Descriptor</em>' class. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | * @ordered | ||
84 | */ | ||
85 | int TYPE_DESCRIPTOR_OPERATION_COUNT = 0; | ||
86 | |||
87 | /** | ||
88 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl <em>Type</em>}' class. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl | ||
92 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getType() | ||
93 | * @generated | ||
94 | */ | ||
95 | int TYPE = 0; | ||
96 | |||
97 | /** | ||
98 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | * @ordered | ||
103 | */ | ||
104 | int TYPE__NAME = TYPE_DESCRIPTOR_FEATURE_COUNT + 0; | ||
105 | |||
106 | /** | ||
107 | * The feature id for the '<em><b>Subtypes</b></em>' reference list. | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | * @ordered | ||
112 | */ | ||
113 | int TYPE__SUBTYPES = TYPE_DESCRIPTOR_FEATURE_COUNT + 1; | ||
114 | |||
115 | /** | ||
116 | * The feature id for the '<em><b>Supertypes</b></em>' reference list. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | * @ordered | ||
121 | */ | ||
122 | int TYPE__SUPERTYPES = TYPE_DESCRIPTOR_FEATURE_COUNT + 2; | ||
123 | |||
124 | /** | ||
125 | * The feature id for the '<em><b>Is Abstract</b></em>' attribute. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | * @ordered | ||
130 | */ | ||
131 | int TYPE__IS_ABSTRACT = TYPE_DESCRIPTOR_FEATURE_COUNT + 3; | ||
132 | |||
133 | /** | ||
134 | * The number of structural features of the '<em>Type</em>' class. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | * @ordered | ||
139 | */ | ||
140 | int TYPE_FEATURE_COUNT = TYPE_DESCRIPTOR_FEATURE_COUNT + 4; | ||
141 | |||
142 | /** | ||
143 | * The number of operations of the '<em>Type</em>' class. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | * @ordered | ||
148 | */ | ||
149 | int TYPE_OPERATION_COUNT = TYPE_DESCRIPTOR_OPERATION_COUNT + 0; | ||
150 | |||
151 | /** | ||
152 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription <em>Term Description</em>}' class. | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription | ||
156 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTermDescription() | ||
157 | * @generated | ||
158 | */ | ||
159 | int TERM_DESCRIPTION = 41; | ||
160 | |||
161 | /** | ||
162 | * The number of structural features of the '<em>Term Description</em>' class. | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | * @ordered | ||
167 | */ | ||
168 | int TERM_DESCRIPTION_FEATURE_COUNT = 0; | ||
169 | |||
170 | /** | ||
171 | * The number of operations of the '<em>Term Description</em>' class. | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | * @ordered | ||
176 | */ | ||
177 | int TERM_DESCRIPTION_OPERATION_COUNT = 0; | ||
178 | |||
179 | /** | ||
180 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl <em>Symbolic Declaration</em>}' class. | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl | ||
184 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getSymbolicDeclaration() | ||
185 | * @generated | ||
186 | */ | ||
187 | int SYMBOLIC_DECLARATION = 11; | ||
188 | |||
189 | /** | ||
190 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | * @ordered | ||
195 | */ | ||
196 | int SYMBOLIC_DECLARATION__NAME = TERM_DESCRIPTION_FEATURE_COUNT + 0; | ||
197 | |||
198 | /** | ||
199 | * The number of structural features of the '<em>Symbolic Declaration</em>' class. | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | * @ordered | ||
204 | */ | ||
205 | int SYMBOLIC_DECLARATION_FEATURE_COUNT = TERM_DESCRIPTION_FEATURE_COUNT + 1; | ||
206 | |||
207 | /** | ||
208 | * The number of operations of the '<em>Symbolic Declaration</em>' class. | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | * @ordered | ||
213 | */ | ||
214 | int SYMBOLIC_DECLARATION_OPERATION_COUNT = TERM_DESCRIPTION_OPERATION_COUNT + 0; | ||
215 | |||
216 | /** | ||
217 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DefinedElementImpl <em>Defined Element</em>}' class. | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DefinedElementImpl | ||
221 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDefinedElement() | ||
222 | * @generated | ||
223 | */ | ||
224 | int DEFINED_ELEMENT = 1; | ||
225 | |||
226 | /** | ||
227 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | * @ordered | ||
232 | */ | ||
233 | int DEFINED_ELEMENT__NAME = SYMBOLIC_DECLARATION__NAME; | ||
234 | |||
235 | /** | ||
236 | * The feature id for the '<em><b>Defined In Type</b></em>' reference list. | ||
237 | * <!-- begin-user-doc --> | ||
238 | * <!-- end-user-doc --> | ||
239 | * @generated | ||
240 | * @ordered | ||
241 | */ | ||
242 | int DEFINED_ELEMENT__DEFINED_IN_TYPE = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; | ||
243 | |||
244 | /** | ||
245 | * The number of structural features of the '<em>Defined Element</em>' class. | ||
246 | * <!-- begin-user-doc --> | ||
247 | * <!-- end-user-doc --> | ||
248 | * @generated | ||
249 | * @ordered | ||
250 | */ | ||
251 | int DEFINED_ELEMENT_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; | ||
252 | |||
253 | /** | ||
254 | * The number of operations of the '<em>Defined Element</em>' class. | ||
255 | * <!-- begin-user-doc --> | ||
256 | * <!-- end-user-doc --> | ||
257 | * @generated | ||
258 | * @ordered | ||
259 | */ | ||
260 | int DEFINED_ELEMENT_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; | ||
261 | |||
262 | /** | ||
263 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl <em>Type Definition</em>}' class. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl | ||
267 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDefinition() | ||
268 | * @generated | ||
269 | */ | ||
270 | int TYPE_DEFINITION = 2; | ||
271 | |||
272 | /** | ||
273 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | * @ordered | ||
278 | */ | ||
279 | int TYPE_DEFINITION__NAME = TYPE__NAME; | ||
280 | |||
281 | /** | ||
282 | * The feature id for the '<em><b>Subtypes</b></em>' reference list. | ||
283 | * <!-- begin-user-doc --> | ||
284 | * <!-- end-user-doc --> | ||
285 | * @generated | ||
286 | * @ordered | ||
287 | */ | ||
288 | int TYPE_DEFINITION__SUBTYPES = TYPE__SUBTYPES; | ||
289 | |||
290 | /** | ||
291 | * The feature id for the '<em><b>Supertypes</b></em>' reference list. | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | * @ordered | ||
296 | */ | ||
297 | int TYPE_DEFINITION__SUPERTYPES = TYPE__SUPERTYPES; | ||
298 | |||
299 | /** | ||
300 | * The feature id for the '<em><b>Is Abstract</b></em>' attribute. | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @generated | ||
304 | * @ordered | ||
305 | */ | ||
306 | int TYPE_DEFINITION__IS_ABSTRACT = TYPE__IS_ABSTRACT; | ||
307 | |||
308 | /** | ||
309 | * The feature id for the '<em><b>Elements</b></em>' reference list. | ||
310 | * <!-- begin-user-doc --> | ||
311 | * <!-- end-user-doc --> | ||
312 | * @generated | ||
313 | * @ordered | ||
314 | */ | ||
315 | int TYPE_DEFINITION__ELEMENTS = TYPE_FEATURE_COUNT + 0; | ||
316 | |||
317 | /** | ||
318 | * The feature id for the '<em><b>Defines</b></em>' reference. | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | * @ordered | ||
323 | */ | ||
324 | int TYPE_DEFINITION__DEFINES = TYPE_FEATURE_COUNT + 1; | ||
325 | |||
326 | /** | ||
327 | * The number of structural features of the '<em>Type Definition</em>' class. | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @generated | ||
331 | * @ordered | ||
332 | */ | ||
333 | int TYPE_DEFINITION_FEATURE_COUNT = TYPE_FEATURE_COUNT + 2; | ||
334 | |||
335 | /** | ||
336 | * The number of operations of the '<em>Type Definition</em>' class. | ||
337 | * <!-- begin-user-doc --> | ||
338 | * <!-- end-user-doc --> | ||
339 | * @generated | ||
340 | * @ordered | ||
341 | */ | ||
342 | int TYPE_DEFINITION_OPERATION_COUNT = TYPE_OPERATION_COUNT + 0; | ||
343 | |||
344 | /** | ||
345 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeReferenceImpl <em>Type Reference</em>}' class. | ||
346 | * <!-- begin-user-doc --> | ||
347 | * <!-- end-user-doc --> | ||
348 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeReferenceImpl | ||
349 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeReference() | ||
350 | * @generated | ||
351 | */ | ||
352 | int TYPE_REFERENCE = 3; | ||
353 | |||
354 | /** | ||
355 | * The number of structural features of the '<em>Type Reference</em>' class. | ||
356 | * <!-- begin-user-doc --> | ||
357 | * <!-- end-user-doc --> | ||
358 | * @generated | ||
359 | * @ordered | ||
360 | */ | ||
361 | int TYPE_REFERENCE_FEATURE_COUNT = TYPE_DESCRIPTOR_FEATURE_COUNT + 0; | ||
362 | |||
363 | /** | ||
364 | * The number of operations of the '<em>Type Reference</em>' class. | ||
365 | * <!-- begin-user-doc --> | ||
366 | * <!-- end-user-doc --> | ||
367 | * @generated | ||
368 | * @ordered | ||
369 | */ | ||
370 | int TYPE_REFERENCE_OPERATION_COUNT = TYPE_DESCRIPTOR_OPERATION_COUNT + 0; | ||
371 | |||
372 | /** | ||
373 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl <em>Complex Type Reference</em>}' class. | ||
374 | * <!-- begin-user-doc --> | ||
375 | * <!-- end-user-doc --> | ||
376 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl | ||
377 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getComplexTypeReference() | ||
378 | * @generated | ||
379 | */ | ||
380 | int COMPLEX_TYPE_REFERENCE = 4; | ||
381 | |||
382 | /** | ||
383 | * The feature id for the '<em><b>Referred</b></em>' reference. | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | * @ordered | ||
388 | */ | ||
389 | int COMPLEX_TYPE_REFERENCE__REFERRED = TYPE_REFERENCE_FEATURE_COUNT + 0; | ||
390 | |||
391 | /** | ||
392 | * The number of structural features of the '<em>Complex Type Reference</em>' class. | ||
393 | * <!-- begin-user-doc --> | ||
394 | * <!-- end-user-doc --> | ||
395 | * @generated | ||
396 | * @ordered | ||
397 | */ | ||
398 | int COMPLEX_TYPE_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 1; | ||
399 | |||
400 | /** | ||
401 | * The number of operations of the '<em>Complex Type Reference</em>' class. | ||
402 | * <!-- begin-user-doc --> | ||
403 | * <!-- end-user-doc --> | ||
404 | * @generated | ||
405 | * @ordered | ||
406 | */ | ||
407 | int COMPLEX_TYPE_REFERENCE_OPERATION_COUNT = TYPE_REFERENCE_OPERATION_COUNT + 0; | ||
408 | |||
409 | /** | ||
410 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveTypeReferenceImpl <em>Primitive Type Reference</em>}' class. | ||
411 | * <!-- begin-user-doc --> | ||
412 | * <!-- end-user-doc --> | ||
413 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveTypeReferenceImpl | ||
414 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPrimitiveTypeReference() | ||
415 | * @generated | ||
416 | */ | ||
417 | int PRIMITIVE_TYPE_REFERENCE = 5; | ||
418 | |||
419 | /** | ||
420 | * The number of structural features of the '<em>Primitive Type Reference</em>' class. | ||
421 | * <!-- begin-user-doc --> | ||
422 | * <!-- end-user-doc --> | ||
423 | * @generated | ||
424 | * @ordered | ||
425 | */ | ||
426 | int PRIMITIVE_TYPE_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; | ||
427 | |||
428 | /** | ||
429 | * The number of operations of the '<em>Primitive Type Reference</em>' class. | ||
430 | * <!-- begin-user-doc --> | ||
431 | * <!-- end-user-doc --> | ||
432 | * @generated | ||
433 | * @ordered | ||
434 | */ | ||
435 | int PRIMITIVE_TYPE_REFERENCE_OPERATION_COUNT = TYPE_REFERENCE_OPERATION_COUNT + 0; | ||
436 | |||
437 | /** | ||
438 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntTypeReferenceImpl <em>Int Type Reference</em>}' class. | ||
439 | * <!-- begin-user-doc --> | ||
440 | * <!-- end-user-doc --> | ||
441 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntTypeReferenceImpl | ||
442 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntTypeReference() | ||
443 | * @generated | ||
444 | */ | ||
445 | int INT_TYPE_REFERENCE = 6; | ||
446 | |||
447 | /** | ||
448 | * The number of structural features of the '<em>Int Type Reference</em>' class. | ||
449 | * <!-- begin-user-doc --> | ||
450 | * <!-- end-user-doc --> | ||
451 | * @generated | ||
452 | * @ordered | ||
453 | */ | ||
454 | int INT_TYPE_REFERENCE_FEATURE_COUNT = PRIMITIVE_TYPE_REFERENCE_FEATURE_COUNT + 0; | ||
455 | |||
456 | /** | ||
457 | * The number of operations of the '<em>Int Type Reference</em>' class. | ||
458 | * <!-- begin-user-doc --> | ||
459 | * <!-- end-user-doc --> | ||
460 | * @generated | ||
461 | * @ordered | ||
462 | */ | ||
463 | int INT_TYPE_REFERENCE_OPERATION_COUNT = PRIMITIVE_TYPE_REFERENCE_OPERATION_COUNT + 0; | ||
464 | |||
465 | /** | ||
466 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolTypeReferenceImpl <em>Bool Type Reference</em>}' class. | ||
467 | * <!-- begin-user-doc --> | ||
468 | * <!-- end-user-doc --> | ||
469 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolTypeReferenceImpl | ||
470 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolTypeReference() | ||
471 | * @generated | ||
472 | */ | ||
473 | int BOOL_TYPE_REFERENCE = 7; | ||
474 | |||
475 | /** | ||
476 | * The number of structural features of the '<em>Bool Type Reference</em>' class. | ||
477 | * <!-- begin-user-doc --> | ||
478 | * <!-- end-user-doc --> | ||
479 | * @generated | ||
480 | * @ordered | ||
481 | */ | ||
482 | int BOOL_TYPE_REFERENCE_FEATURE_COUNT = PRIMITIVE_TYPE_REFERENCE_FEATURE_COUNT + 0; | ||
483 | |||
484 | /** | ||
485 | * The number of operations of the '<em>Bool Type Reference</em>' class. | ||
486 | * <!-- begin-user-doc --> | ||
487 | * <!-- end-user-doc --> | ||
488 | * @generated | ||
489 | * @ordered | ||
490 | */ | ||
491 | int BOOL_TYPE_REFERENCE_OPERATION_COUNT = PRIMITIVE_TYPE_REFERENCE_OPERATION_COUNT + 0; | ||
492 | |||
493 | /** | ||
494 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealTypeReferenceImpl <em>Real Type Reference</em>}' class. | ||
495 | * <!-- begin-user-doc --> | ||
496 | * <!-- end-user-doc --> | ||
497 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealTypeReferenceImpl | ||
498 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRealTypeReference() | ||
499 | * @generated | ||
500 | */ | ||
501 | int REAL_TYPE_REFERENCE = 8; | ||
502 | |||
503 | /** | ||
504 | * The number of structural features of the '<em>Real Type Reference</em>' class. | ||
505 | * <!-- begin-user-doc --> | ||
506 | * <!-- end-user-doc --> | ||
507 | * @generated | ||
508 | * @ordered | ||
509 | */ | ||
510 | int REAL_TYPE_REFERENCE_FEATURE_COUNT = PRIMITIVE_TYPE_REFERENCE_FEATURE_COUNT + 0; | ||
511 | |||
512 | /** | ||
513 | * The number of operations of the '<em>Real Type Reference</em>' class. | ||
514 | * <!-- begin-user-doc --> | ||
515 | * <!-- end-user-doc --> | ||
516 | * @generated | ||
517 | * @ordered | ||
518 | */ | ||
519 | int REAL_TYPE_REFERENCE_OPERATION_COUNT = PRIMITIVE_TYPE_REFERENCE_OPERATION_COUNT + 0; | ||
520 | |||
521 | /** | ||
522 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl <em>Function</em>}' class. | ||
523 | * <!-- begin-user-doc --> | ||
524 | * <!-- end-user-doc --> | ||
525 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl | ||
526 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunction() | ||
527 | * @generated | ||
528 | */ | ||
529 | int FUNCTION = 9; | ||
530 | |||
531 | /** | ||
532 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
533 | * <!-- begin-user-doc --> | ||
534 | * <!-- end-user-doc --> | ||
535 | * @generated | ||
536 | * @ordered | ||
537 | */ | ||
538 | int FUNCTION__NAME = SYMBOLIC_DECLARATION__NAME; | ||
539 | |||
540 | /** | ||
541 | * The feature id for the '<em><b>Range</b></em>' containment reference. | ||
542 | * <!-- begin-user-doc --> | ||
543 | * <!-- end-user-doc --> | ||
544 | * @generated | ||
545 | * @ordered | ||
546 | */ | ||
547 | int FUNCTION__RANGE = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; | ||
548 | |||
549 | /** | ||
550 | * The feature id for the '<em><b>Parameters</b></em>' containment reference list. | ||
551 | * <!-- begin-user-doc --> | ||
552 | * <!-- end-user-doc --> | ||
553 | * @generated | ||
554 | * @ordered | ||
555 | */ | ||
556 | int FUNCTION__PARAMETERS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; | ||
557 | |||
558 | /** | ||
559 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
560 | * <!-- begin-user-doc --> | ||
561 | * <!-- end-user-doc --> | ||
562 | * @generated | ||
563 | * @ordered | ||
564 | */ | ||
565 | int FUNCTION__ANNOTATIONS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 2; | ||
566 | |||
567 | /** | ||
568 | * The number of structural features of the '<em>Function</em>' class. | ||
569 | * <!-- begin-user-doc --> | ||
570 | * <!-- end-user-doc --> | ||
571 | * @generated | ||
572 | * @ordered | ||
573 | */ | ||
574 | int FUNCTION_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 3; | ||
575 | |||
576 | /** | ||
577 | * The number of operations of the '<em>Function</em>' class. | ||
578 | * <!-- begin-user-doc --> | ||
579 | * <!-- end-user-doc --> | ||
580 | * @generated | ||
581 | * @ordered | ||
582 | */ | ||
583 | int FUNCTION_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; | ||
584 | |||
585 | /** | ||
586 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TermImpl <em>Term</em>}' class. | ||
587 | * <!-- begin-user-doc --> | ||
588 | * <!-- end-user-doc --> | ||
589 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TermImpl | ||
590 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTerm() | ||
591 | * @generated | ||
592 | */ | ||
593 | int TERM = 10; | ||
594 | |||
595 | /** | ||
596 | * The number of structural features of the '<em>Term</em>' class. | ||
597 | * <!-- begin-user-doc --> | ||
598 | * <!-- end-user-doc --> | ||
599 | * @generated | ||
600 | * @ordered | ||
601 | */ | ||
602 | int TERM_FEATURE_COUNT = TERM_DESCRIPTION_FEATURE_COUNT + 0; | ||
603 | |||
604 | /** | ||
605 | * The number of operations of the '<em>Term</em>' class. | ||
606 | * <!-- begin-user-doc --> | ||
607 | * <!-- end-user-doc --> | ||
608 | * @generated | ||
609 | * @ordered | ||
610 | */ | ||
611 | int TERM_OPERATION_COUNT = TERM_DESCRIPTION_OPERATION_COUNT + 0; | ||
612 | |||
613 | /** | ||
614 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl <em>Symbolic Value</em>}' class. | ||
615 | * <!-- begin-user-doc --> | ||
616 | * <!-- end-user-doc --> | ||
617 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl | ||
618 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getSymbolicValue() | ||
619 | * @generated | ||
620 | */ | ||
621 | int SYMBOLIC_VALUE = 12; | ||
622 | |||
623 | /** | ||
624 | * The feature id for the '<em><b>Symbolic Reference</b></em>' reference. | ||
625 | * <!-- begin-user-doc --> | ||
626 | * <!-- end-user-doc --> | ||
627 | * @generated | ||
628 | * @ordered | ||
629 | */ | ||
630 | int SYMBOLIC_VALUE__SYMBOLIC_REFERENCE = TERM_FEATURE_COUNT + 0; | ||
631 | |||
632 | /** | ||
633 | * The feature id for the '<em><b>Parameter Substitutions</b></em>' containment reference list. | ||
634 | * <!-- begin-user-doc --> | ||
635 | * <!-- end-user-doc --> | ||
636 | * @generated | ||
637 | * @ordered | ||
638 | */ | ||
639 | int SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS = TERM_FEATURE_COUNT + 1; | ||
640 | |||
641 | /** | ||
642 | * The number of structural features of the '<em>Symbolic Value</em>' class. | ||
643 | * <!-- begin-user-doc --> | ||
644 | * <!-- end-user-doc --> | ||
645 | * @generated | ||
646 | * @ordered | ||
647 | */ | ||
648 | int SYMBOLIC_VALUE_FEATURE_COUNT = TERM_FEATURE_COUNT + 2; | ||
649 | |||
650 | /** | ||
651 | * The number of operations of the '<em>Symbolic Value</em>' class. | ||
652 | * <!-- begin-user-doc --> | ||
653 | * <!-- end-user-doc --> | ||
654 | * @generated | ||
655 | * @ordered | ||
656 | */ | ||
657 | int SYMBOLIC_VALUE_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; | ||
658 | |||
659 | /** | ||
660 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AtomicTermImpl <em>Atomic Term</em>}' class. | ||
661 | * <!-- begin-user-doc --> | ||
662 | * <!-- end-user-doc --> | ||
663 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AtomicTermImpl | ||
664 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAtomicTerm() | ||
665 | * @generated | ||
666 | */ | ||
667 | int ATOMIC_TERM = 13; | ||
668 | |||
669 | /** | ||
670 | * The number of structural features of the '<em>Atomic Term</em>' class. | ||
671 | * <!-- begin-user-doc --> | ||
672 | * <!-- end-user-doc --> | ||
673 | * @generated | ||
674 | * @ordered | ||
675 | */ | ||
676 | int ATOMIC_TERM_FEATURE_COUNT = TERM_FEATURE_COUNT + 0; | ||
677 | |||
678 | /** | ||
679 | * The number of operations of the '<em>Atomic Term</em>' class. | ||
680 | * <!-- begin-user-doc --> | ||
681 | * <!-- end-user-doc --> | ||
682 | * @generated | ||
683 | * @ordered | ||
684 | */ | ||
685 | int ATOMIC_TERM_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; | ||
686 | |||
687 | /** | ||
688 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl <em>Int Literal</em>}' class. | ||
689 | * <!-- begin-user-doc --> | ||
690 | * <!-- end-user-doc --> | ||
691 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl | ||
692 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntLiteral() | ||
693 | * @generated | ||
694 | */ | ||
695 | int INT_LITERAL = 14; | ||
696 | |||
697 | /** | ||
698 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
699 | * <!-- begin-user-doc --> | ||
700 | * <!-- end-user-doc --> | ||
701 | * @generated | ||
702 | * @ordered | ||
703 | */ | ||
704 | int INT_LITERAL__VALUE = ATOMIC_TERM_FEATURE_COUNT + 0; | ||
705 | |||
706 | /** | ||
707 | * The number of structural features of the '<em>Int Literal</em>' class. | ||
708 | * <!-- begin-user-doc --> | ||
709 | * <!-- end-user-doc --> | ||
710 | * @generated | ||
711 | * @ordered | ||
712 | */ | ||
713 | int INT_LITERAL_FEATURE_COUNT = ATOMIC_TERM_FEATURE_COUNT + 1; | ||
714 | |||
715 | /** | ||
716 | * The number of operations of the '<em>Int Literal</em>' class. | ||
717 | * <!-- begin-user-doc --> | ||
718 | * <!-- end-user-doc --> | ||
719 | * @generated | ||
720 | * @ordered | ||
721 | */ | ||
722 | int INT_LITERAL_OPERATION_COUNT = ATOMIC_TERM_OPERATION_COUNT + 0; | ||
723 | |||
724 | /** | ||
725 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl <em>Bool Literal</em>}' class. | ||
726 | * <!-- begin-user-doc --> | ||
727 | * <!-- end-user-doc --> | ||
728 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl | ||
729 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolLiteral() | ||
730 | * @generated | ||
731 | */ | ||
732 | int BOOL_LITERAL = 15; | ||
733 | |||
734 | /** | ||
735 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
736 | * <!-- begin-user-doc --> | ||
737 | * <!-- end-user-doc --> | ||
738 | * @generated | ||
739 | * @ordered | ||
740 | */ | ||
741 | int BOOL_LITERAL__VALUE = ATOMIC_TERM_FEATURE_COUNT + 0; | ||
742 | |||
743 | /** | ||
744 | * The number of structural features of the '<em>Bool Literal</em>' class. | ||
745 | * <!-- begin-user-doc --> | ||
746 | * <!-- end-user-doc --> | ||
747 | * @generated | ||
748 | * @ordered | ||
749 | */ | ||
750 | int BOOL_LITERAL_FEATURE_COUNT = ATOMIC_TERM_FEATURE_COUNT + 1; | ||
751 | |||
752 | /** | ||
753 | * The number of operations of the '<em>Bool Literal</em>' class. | ||
754 | * <!-- begin-user-doc --> | ||
755 | * <!-- end-user-doc --> | ||
756 | * @generated | ||
757 | * @ordered | ||
758 | */ | ||
759 | int BOOL_LITERAL_OPERATION_COUNT = ATOMIC_TERM_OPERATION_COUNT + 0; | ||
760 | |||
761 | /** | ||
762 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealLiteralImpl <em>Real Literal</em>}' class. | ||
763 | * <!-- begin-user-doc --> | ||
764 | * <!-- end-user-doc --> | ||
765 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealLiteralImpl | ||
766 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRealLiteral() | ||
767 | * @generated | ||
768 | */ | ||
769 | int REAL_LITERAL = 16; | ||
770 | |||
771 | /** | ||
772 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
773 | * <!-- begin-user-doc --> | ||
774 | * <!-- end-user-doc --> | ||
775 | * @generated | ||
776 | * @ordered | ||
777 | */ | ||
778 | int REAL_LITERAL__VALUE = ATOMIC_TERM_FEATURE_COUNT + 0; | ||
779 | |||
780 | /** | ||
781 | * The number of structural features of the '<em>Real Literal</em>' class. | ||
782 | * <!-- begin-user-doc --> | ||
783 | * <!-- end-user-doc --> | ||
784 | * @generated | ||
785 | * @ordered | ||
786 | */ | ||
787 | int REAL_LITERAL_FEATURE_COUNT = ATOMIC_TERM_FEATURE_COUNT + 1; | ||
788 | |||
789 | /** | ||
790 | * The number of operations of the '<em>Real Literal</em>' class. | ||
791 | * <!-- begin-user-doc --> | ||
792 | * <!-- end-user-doc --> | ||
793 | * @generated | ||
794 | * @ordered | ||
795 | */ | ||
796 | int REAL_LITERAL_OPERATION_COUNT = ATOMIC_TERM_OPERATION_COUNT + 0; | ||
797 | |||
798 | /** | ||
799 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.VariableImpl <em>Variable</em>}' class. | ||
800 | * <!-- begin-user-doc --> | ||
801 | * <!-- end-user-doc --> | ||
802 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.VariableImpl | ||
803 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getVariable() | ||
804 | * @generated | ||
805 | */ | ||
806 | int VARIABLE = 17; | ||
807 | |||
808 | /** | ||
809 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
810 | * <!-- begin-user-doc --> | ||
811 | * <!-- end-user-doc --> | ||
812 | * @generated | ||
813 | * @ordered | ||
814 | */ | ||
815 | int VARIABLE__NAME = SYMBOLIC_DECLARATION__NAME; | ||
816 | |||
817 | /** | ||
818 | * The feature id for the '<em><b>Range</b></em>' containment reference. | ||
819 | * <!-- begin-user-doc --> | ||
820 | * <!-- end-user-doc --> | ||
821 | * @generated | ||
822 | * @ordered | ||
823 | */ | ||
824 | int VARIABLE__RANGE = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; | ||
825 | |||
826 | /** | ||
827 | * The number of structural features of the '<em>Variable</em>' class. | ||
828 | * <!-- begin-user-doc --> | ||
829 | * <!-- end-user-doc --> | ||
830 | * @generated | ||
831 | * @ordered | ||
832 | */ | ||
833 | int VARIABLE_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; | ||
834 | |||
835 | /** | ||
836 | * The number of operations of the '<em>Variable</em>' class. | ||
837 | * <!-- begin-user-doc --> | ||
838 | * <!-- end-user-doc --> | ||
839 | * @generated | ||
840 | * @ordered | ||
841 | */ | ||
842 | int VARIABLE_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; | ||
843 | |||
844 | /** | ||
845 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl <em>Quantified Expression</em>}' class. | ||
846 | * <!-- begin-user-doc --> | ||
847 | * <!-- end-user-doc --> | ||
848 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl | ||
849 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getQuantifiedExpression() | ||
850 | * @generated | ||
851 | */ | ||
852 | int QUANTIFIED_EXPRESSION = 18; | ||
853 | |||
854 | /** | ||
855 | * The feature id for the '<em><b>Quantified Variables</b></em>' containment reference list. | ||
856 | * <!-- begin-user-doc --> | ||
857 | * <!-- end-user-doc --> | ||
858 | * @generated | ||
859 | * @ordered | ||
860 | */ | ||
861 | int QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES = TERM_FEATURE_COUNT + 0; | ||
862 | |||
863 | /** | ||
864 | * The feature id for the '<em><b>Expression</b></em>' containment reference. | ||
865 | * <!-- begin-user-doc --> | ||
866 | * <!-- end-user-doc --> | ||
867 | * @generated | ||
868 | * @ordered | ||
869 | */ | ||
870 | int QUANTIFIED_EXPRESSION__EXPRESSION = TERM_FEATURE_COUNT + 1; | ||
871 | |||
872 | /** | ||
873 | * The number of structural features of the '<em>Quantified Expression</em>' class. | ||
874 | * <!-- begin-user-doc --> | ||
875 | * <!-- end-user-doc --> | ||
876 | * @generated | ||
877 | * @ordered | ||
878 | */ | ||
879 | int QUANTIFIED_EXPRESSION_FEATURE_COUNT = TERM_FEATURE_COUNT + 2; | ||
880 | |||
881 | /** | ||
882 | * The number of operations of the '<em>Quantified Expression</em>' class. | ||
883 | * <!-- begin-user-doc --> | ||
884 | * <!-- end-user-doc --> | ||
885 | * @generated | ||
886 | * @ordered | ||
887 | */ | ||
888 | int QUANTIFIED_EXPRESSION_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; | ||
889 | |||
890 | /** | ||
891 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ExistsImpl <em>Exists</em>}' class. | ||
892 | * <!-- begin-user-doc --> | ||
893 | * <!-- end-user-doc --> | ||
894 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ExistsImpl | ||
895 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getExists() | ||
896 | * @generated | ||
897 | */ | ||
898 | int EXISTS = 19; | ||
899 | |||
900 | /** | ||
901 | * The feature id for the '<em><b>Quantified Variables</b></em>' containment reference list. | ||
902 | * <!-- begin-user-doc --> | ||
903 | * <!-- end-user-doc --> | ||
904 | * @generated | ||
905 | * @ordered | ||
906 | */ | ||
907 | int EXISTS__QUANTIFIED_VARIABLES = QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES; | ||
908 | |||
909 | /** | ||
910 | * The feature id for the '<em><b>Expression</b></em>' containment reference. | ||
911 | * <!-- begin-user-doc --> | ||
912 | * <!-- end-user-doc --> | ||
913 | * @generated | ||
914 | * @ordered | ||
915 | */ | ||
916 | int EXISTS__EXPRESSION = QUANTIFIED_EXPRESSION__EXPRESSION; | ||
917 | |||
918 | /** | ||
919 | * The number of structural features of the '<em>Exists</em>' class. | ||
920 | * <!-- begin-user-doc --> | ||
921 | * <!-- end-user-doc --> | ||
922 | * @generated | ||
923 | * @ordered | ||
924 | */ | ||
925 | int EXISTS_FEATURE_COUNT = QUANTIFIED_EXPRESSION_FEATURE_COUNT + 0; | ||
926 | |||
927 | /** | ||
928 | * The number of operations of the '<em>Exists</em>' class. | ||
929 | * <!-- begin-user-doc --> | ||
930 | * <!-- end-user-doc --> | ||
931 | * @generated | ||
932 | * @ordered | ||
933 | */ | ||
934 | int EXISTS_OPERATION_COUNT = QUANTIFIED_EXPRESSION_OPERATION_COUNT + 0; | ||
935 | |||
936 | /** | ||
937 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ForallImpl <em>Forall</em>}' class. | ||
938 | * <!-- begin-user-doc --> | ||
939 | * <!-- end-user-doc --> | ||
940 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ForallImpl | ||
941 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getForall() | ||
942 | * @generated | ||
943 | */ | ||
944 | int FORALL = 20; | ||
945 | |||
946 | /** | ||
947 | * The feature id for the '<em><b>Quantified Variables</b></em>' containment reference list. | ||
948 | * <!-- begin-user-doc --> | ||
949 | * <!-- end-user-doc --> | ||
950 | * @generated | ||
951 | * @ordered | ||
952 | */ | ||
953 | int FORALL__QUANTIFIED_VARIABLES = QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES; | ||
954 | |||
955 | /** | ||
956 | * The feature id for the '<em><b>Expression</b></em>' containment reference. | ||
957 | * <!-- begin-user-doc --> | ||
958 | * <!-- end-user-doc --> | ||
959 | * @generated | ||
960 | * @ordered | ||
961 | */ | ||
962 | int FORALL__EXPRESSION = QUANTIFIED_EXPRESSION__EXPRESSION; | ||
963 | |||
964 | /** | ||
965 | * The number of structural features of the '<em>Forall</em>' class. | ||
966 | * <!-- begin-user-doc --> | ||
967 | * <!-- end-user-doc --> | ||
968 | * @generated | ||
969 | * @ordered | ||
970 | */ | ||
971 | int FORALL_FEATURE_COUNT = QUANTIFIED_EXPRESSION_FEATURE_COUNT + 0; | ||
972 | |||
973 | /** | ||
974 | * The number of operations of the '<em>Forall</em>' class. | ||
975 | * <!-- begin-user-doc --> | ||
976 | * <!-- end-user-doc --> | ||
977 | * @generated | ||
978 | * @ordered | ||
979 | */ | ||
980 | int FORALL_OPERATION_COUNT = QUANTIFIED_EXPRESSION_OPERATION_COUNT + 0; | ||
981 | |||
982 | /** | ||
983 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolOperationImpl <em>Bool Operation</em>}' class. | ||
984 | * <!-- begin-user-doc --> | ||
985 | * <!-- end-user-doc --> | ||
986 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolOperationImpl | ||
987 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolOperation() | ||
988 | * @generated | ||
989 | */ | ||
990 | int BOOL_OPERATION = 21; | ||
991 | |||
992 | /** | ||
993 | * The number of structural features of the '<em>Bool Operation</em>' class. | ||
994 | * <!-- begin-user-doc --> | ||
995 | * <!-- end-user-doc --> | ||
996 | * @generated | ||
997 | * @ordered | ||
998 | */ | ||
999 | int BOOL_OPERATION_FEATURE_COUNT = TERM_FEATURE_COUNT + 0; | ||
1000 | |||
1001 | /** | ||
1002 | * The number of operations of the '<em>Bool Operation</em>' class. | ||
1003 | * <!-- begin-user-doc --> | ||
1004 | * <!-- end-user-doc --> | ||
1005 | * @generated | ||
1006 | * @ordered | ||
1007 | */ | ||
1008 | int BOOL_OPERATION_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; | ||
1009 | |||
1010 | /** | ||
1011 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl <em>And</em>}' class. | ||
1012 | * <!-- begin-user-doc --> | ||
1013 | * <!-- end-user-doc --> | ||
1014 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl | ||
1015 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAnd() | ||
1016 | * @generated | ||
1017 | */ | ||
1018 | int AND = 22; | ||
1019 | |||
1020 | /** | ||
1021 | * The feature id for the '<em><b>Operands</b></em>' containment reference list. | ||
1022 | * <!-- begin-user-doc --> | ||
1023 | * <!-- end-user-doc --> | ||
1024 | * @generated | ||
1025 | * @ordered | ||
1026 | */ | ||
1027 | int AND__OPERANDS = BOOL_OPERATION_FEATURE_COUNT + 0; | ||
1028 | |||
1029 | /** | ||
1030 | * The number of structural features of the '<em>And</em>' class. | ||
1031 | * <!-- begin-user-doc --> | ||
1032 | * <!-- end-user-doc --> | ||
1033 | * @generated | ||
1034 | * @ordered | ||
1035 | */ | ||
1036 | int AND_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 1; | ||
1037 | |||
1038 | /** | ||
1039 | * The number of operations of the '<em>And</em>' class. | ||
1040 | * <!-- begin-user-doc --> | ||
1041 | * <!-- end-user-doc --> | ||
1042 | * @generated | ||
1043 | * @ordered | ||
1044 | */ | ||
1045 | int AND_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; | ||
1046 | |||
1047 | /** | ||
1048 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl <em>Or</em>}' class. | ||
1049 | * <!-- begin-user-doc --> | ||
1050 | * <!-- end-user-doc --> | ||
1051 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl | ||
1052 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getOr() | ||
1053 | * @generated | ||
1054 | */ | ||
1055 | int OR = 23; | ||
1056 | |||
1057 | /** | ||
1058 | * The feature id for the '<em><b>Operands</b></em>' containment reference list. | ||
1059 | * <!-- begin-user-doc --> | ||
1060 | * <!-- end-user-doc --> | ||
1061 | * @generated | ||
1062 | * @ordered | ||
1063 | */ | ||
1064 | int OR__OPERANDS = BOOL_OPERATION_FEATURE_COUNT + 0; | ||
1065 | |||
1066 | /** | ||
1067 | * The number of structural features of the '<em>Or</em>' class. | ||
1068 | * <!-- begin-user-doc --> | ||
1069 | * <!-- end-user-doc --> | ||
1070 | * @generated | ||
1071 | * @ordered | ||
1072 | */ | ||
1073 | int OR_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 1; | ||
1074 | |||
1075 | /** | ||
1076 | * The number of operations of the '<em>Or</em>' class. | ||
1077 | * <!-- begin-user-doc --> | ||
1078 | * <!-- end-user-doc --> | ||
1079 | * @generated | ||
1080 | * @ordered | ||
1081 | */ | ||
1082 | int OR_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; | ||
1083 | |||
1084 | /** | ||
1085 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl <em>Impl</em>}' class. | ||
1086 | * <!-- begin-user-doc --> | ||
1087 | * <!-- end-user-doc --> | ||
1088 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl | ||
1089 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getImpl() | ||
1090 | * @generated | ||
1091 | */ | ||
1092 | int IMPL = 24; | ||
1093 | |||
1094 | /** | ||
1095 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1096 | * <!-- begin-user-doc --> | ||
1097 | * <!-- end-user-doc --> | ||
1098 | * @generated | ||
1099 | * @ordered | ||
1100 | */ | ||
1101 | int IMPL__LEFT_OPERAND = BOOL_OPERATION_FEATURE_COUNT + 0; | ||
1102 | |||
1103 | /** | ||
1104 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1105 | * <!-- begin-user-doc --> | ||
1106 | * <!-- end-user-doc --> | ||
1107 | * @generated | ||
1108 | * @ordered | ||
1109 | */ | ||
1110 | int IMPL__RIGHT_OPERAND = BOOL_OPERATION_FEATURE_COUNT + 1; | ||
1111 | |||
1112 | /** | ||
1113 | * The number of structural features of the '<em>Impl</em>' class. | ||
1114 | * <!-- begin-user-doc --> | ||
1115 | * <!-- end-user-doc --> | ||
1116 | * @generated | ||
1117 | * @ordered | ||
1118 | */ | ||
1119 | int IMPL_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 2; | ||
1120 | |||
1121 | /** | ||
1122 | * The number of operations of the '<em>Impl</em>' class. | ||
1123 | * <!-- begin-user-doc --> | ||
1124 | * <!-- end-user-doc --> | ||
1125 | * @generated | ||
1126 | * @ordered | ||
1127 | */ | ||
1128 | int IMPL_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; | ||
1129 | |||
1130 | /** | ||
1131 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.NotImpl <em>Not</em>}' class. | ||
1132 | * <!-- begin-user-doc --> | ||
1133 | * <!-- end-user-doc --> | ||
1134 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.NotImpl | ||
1135 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getNot() | ||
1136 | * @generated | ||
1137 | */ | ||
1138 | int NOT = 25; | ||
1139 | |||
1140 | /** | ||
1141 | * The feature id for the '<em><b>Operand</b></em>' containment reference. | ||
1142 | * <!-- begin-user-doc --> | ||
1143 | * <!-- end-user-doc --> | ||
1144 | * @generated | ||
1145 | * @ordered | ||
1146 | */ | ||
1147 | int NOT__OPERAND = BOOL_OPERATION_FEATURE_COUNT + 0; | ||
1148 | |||
1149 | /** | ||
1150 | * The number of structural features of the '<em>Not</em>' class. | ||
1151 | * <!-- begin-user-doc --> | ||
1152 | * <!-- end-user-doc --> | ||
1153 | * @generated | ||
1154 | * @ordered | ||
1155 | */ | ||
1156 | int NOT_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 1; | ||
1157 | |||
1158 | /** | ||
1159 | * The number of operations of the '<em>Not</em>' class. | ||
1160 | * <!-- begin-user-doc --> | ||
1161 | * <!-- end-user-doc --> | ||
1162 | * @generated | ||
1163 | * @ordered | ||
1164 | */ | ||
1165 | int NOT_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; | ||
1166 | |||
1167 | /** | ||
1168 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl <em>Iff</em>}' class. | ||
1169 | * <!-- begin-user-doc --> | ||
1170 | * <!-- end-user-doc --> | ||
1171 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl | ||
1172 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIff() | ||
1173 | * @generated | ||
1174 | */ | ||
1175 | int IFF = 26; | ||
1176 | |||
1177 | /** | ||
1178 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1179 | * <!-- begin-user-doc --> | ||
1180 | * <!-- end-user-doc --> | ||
1181 | * @generated | ||
1182 | * @ordered | ||
1183 | */ | ||
1184 | int IFF__LEFT_OPERAND = BOOL_OPERATION_FEATURE_COUNT + 0; | ||
1185 | |||
1186 | /** | ||
1187 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1188 | * <!-- begin-user-doc --> | ||
1189 | * <!-- end-user-doc --> | ||
1190 | * @generated | ||
1191 | * @ordered | ||
1192 | */ | ||
1193 | int IFF__RIGHT_OPERAND = BOOL_OPERATION_FEATURE_COUNT + 1; | ||
1194 | |||
1195 | /** | ||
1196 | * The number of structural features of the '<em>Iff</em>' class. | ||
1197 | * <!-- begin-user-doc --> | ||
1198 | * <!-- end-user-doc --> | ||
1199 | * @generated | ||
1200 | * @ordered | ||
1201 | */ | ||
1202 | int IFF_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 2; | ||
1203 | |||
1204 | /** | ||
1205 | * The number of operations of the '<em>Iff</em>' class. | ||
1206 | * <!-- begin-user-doc --> | ||
1207 | * <!-- end-user-doc --> | ||
1208 | * @generated | ||
1209 | * @ordered | ||
1210 | */ | ||
1211 | int IFF_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; | ||
1212 | |||
1213 | /** | ||
1214 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveRelationImpl <em>Primitive Relation</em>}' class. | ||
1215 | * <!-- begin-user-doc --> | ||
1216 | * <!-- end-user-doc --> | ||
1217 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveRelationImpl | ||
1218 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPrimitiveRelation() | ||
1219 | * @generated | ||
1220 | */ | ||
1221 | int PRIMITIVE_RELATION = 27; | ||
1222 | |||
1223 | /** | ||
1224 | * The number of structural features of the '<em>Primitive Relation</em>' class. | ||
1225 | * <!-- begin-user-doc --> | ||
1226 | * <!-- end-user-doc --> | ||
1227 | * @generated | ||
1228 | * @ordered | ||
1229 | */ | ||
1230 | int PRIMITIVE_RELATION_FEATURE_COUNT = TERM_FEATURE_COUNT + 0; | ||
1231 | |||
1232 | /** | ||
1233 | * The number of operations of the '<em>Primitive Relation</em>' class. | ||
1234 | * <!-- begin-user-doc --> | ||
1235 | * <!-- end-user-doc --> | ||
1236 | * @generated | ||
1237 | * @ordered | ||
1238 | */ | ||
1239 | int PRIMITIVE_RELATION_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; | ||
1240 | |||
1241 | /** | ||
1242 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl <em>Equals</em>}' class. | ||
1243 | * <!-- begin-user-doc --> | ||
1244 | * <!-- end-user-doc --> | ||
1245 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl | ||
1246 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getEquals() | ||
1247 | * @generated | ||
1248 | */ | ||
1249 | int EQUALS = 28; | ||
1250 | |||
1251 | /** | ||
1252 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1253 | * <!-- begin-user-doc --> | ||
1254 | * <!-- end-user-doc --> | ||
1255 | * @generated | ||
1256 | * @ordered | ||
1257 | */ | ||
1258 | int EQUALS__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; | ||
1259 | |||
1260 | /** | ||
1261 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1262 | * <!-- begin-user-doc --> | ||
1263 | * <!-- end-user-doc --> | ||
1264 | * @generated | ||
1265 | * @ordered | ||
1266 | */ | ||
1267 | int EQUALS__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; | ||
1268 | |||
1269 | /** | ||
1270 | * The number of structural features of the '<em>Equals</em>' class. | ||
1271 | * <!-- begin-user-doc --> | ||
1272 | * <!-- end-user-doc --> | ||
1273 | * @generated | ||
1274 | * @ordered | ||
1275 | */ | ||
1276 | int EQUALS_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; | ||
1277 | |||
1278 | /** | ||
1279 | * The number of operations of the '<em>Equals</em>' class. | ||
1280 | * <!-- begin-user-doc --> | ||
1281 | * <!-- end-user-doc --> | ||
1282 | * @generated | ||
1283 | * @ordered | ||
1284 | */ | ||
1285 | int EQUALS_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; | ||
1286 | |||
1287 | /** | ||
1288 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl <em>Distinct</em>}' class. | ||
1289 | * <!-- begin-user-doc --> | ||
1290 | * <!-- end-user-doc --> | ||
1291 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl | ||
1292 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDistinct() | ||
1293 | * @generated | ||
1294 | */ | ||
1295 | int DISTINCT = 29; | ||
1296 | |||
1297 | /** | ||
1298 | * The feature id for the '<em><b>Operands</b></em>' containment reference list. | ||
1299 | * <!-- begin-user-doc --> | ||
1300 | * <!-- end-user-doc --> | ||
1301 | * @generated | ||
1302 | * @ordered | ||
1303 | */ | ||
1304 | int DISTINCT__OPERANDS = PRIMITIVE_RELATION_FEATURE_COUNT + 0; | ||
1305 | |||
1306 | /** | ||
1307 | * The number of structural features of the '<em>Distinct</em>' class. | ||
1308 | * <!-- begin-user-doc --> | ||
1309 | * <!-- end-user-doc --> | ||
1310 | * @generated | ||
1311 | * @ordered | ||
1312 | */ | ||
1313 | int DISTINCT_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 1; | ||
1314 | |||
1315 | /** | ||
1316 | * The number of operations of the '<em>Distinct</em>' class. | ||
1317 | * <!-- begin-user-doc --> | ||
1318 | * <!-- end-user-doc --> | ||
1319 | * @generated | ||
1320 | * @ordered | ||
1321 | */ | ||
1322 | int DISTINCT_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; | ||
1323 | |||
1324 | /** | ||
1325 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl <em>Less Than</em>}' class. | ||
1326 | * <!-- begin-user-doc --> | ||
1327 | * <!-- end-user-doc --> | ||
1328 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl | ||
1329 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getLessThan() | ||
1330 | * @generated | ||
1331 | */ | ||
1332 | int LESS_THAN = 30; | ||
1333 | |||
1334 | /** | ||
1335 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1336 | * <!-- begin-user-doc --> | ||
1337 | * <!-- end-user-doc --> | ||
1338 | * @generated | ||
1339 | * @ordered | ||
1340 | */ | ||
1341 | int LESS_THAN__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; | ||
1342 | |||
1343 | /** | ||
1344 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1345 | * <!-- begin-user-doc --> | ||
1346 | * <!-- end-user-doc --> | ||
1347 | * @generated | ||
1348 | * @ordered | ||
1349 | */ | ||
1350 | int LESS_THAN__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; | ||
1351 | |||
1352 | /** | ||
1353 | * The number of structural features of the '<em>Less Than</em>' class. | ||
1354 | * <!-- begin-user-doc --> | ||
1355 | * <!-- end-user-doc --> | ||
1356 | * @generated | ||
1357 | * @ordered | ||
1358 | */ | ||
1359 | int LESS_THAN_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; | ||
1360 | |||
1361 | /** | ||
1362 | * The number of operations of the '<em>Less Than</em>' class. | ||
1363 | * <!-- begin-user-doc --> | ||
1364 | * <!-- end-user-doc --> | ||
1365 | * @generated | ||
1366 | * @ordered | ||
1367 | */ | ||
1368 | int LESS_THAN_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; | ||
1369 | |||
1370 | /** | ||
1371 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl <em>More Than</em>}' class. | ||
1372 | * <!-- begin-user-doc --> | ||
1373 | * <!-- end-user-doc --> | ||
1374 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl | ||
1375 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMoreThan() | ||
1376 | * @generated | ||
1377 | */ | ||
1378 | int MORE_THAN = 31; | ||
1379 | |||
1380 | /** | ||
1381 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1382 | * <!-- begin-user-doc --> | ||
1383 | * <!-- end-user-doc --> | ||
1384 | * @generated | ||
1385 | * @ordered | ||
1386 | */ | ||
1387 | int MORE_THAN__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; | ||
1388 | |||
1389 | /** | ||
1390 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1391 | * <!-- begin-user-doc --> | ||
1392 | * <!-- end-user-doc --> | ||
1393 | * @generated | ||
1394 | * @ordered | ||
1395 | */ | ||
1396 | int MORE_THAN__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; | ||
1397 | |||
1398 | /** | ||
1399 | * The number of structural features of the '<em>More Than</em>' class. | ||
1400 | * <!-- begin-user-doc --> | ||
1401 | * <!-- end-user-doc --> | ||
1402 | * @generated | ||
1403 | * @ordered | ||
1404 | */ | ||
1405 | int MORE_THAN_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; | ||
1406 | |||
1407 | /** | ||
1408 | * The number of operations of the '<em>More Than</em>' class. | ||
1409 | * <!-- begin-user-doc --> | ||
1410 | * <!-- end-user-doc --> | ||
1411 | * @generated | ||
1412 | * @ordered | ||
1413 | */ | ||
1414 | int MORE_THAN_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; | ||
1415 | |||
1416 | /** | ||
1417 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl <em>Less Or Equal Than</em>}' class. | ||
1418 | * <!-- begin-user-doc --> | ||
1419 | * <!-- end-user-doc --> | ||
1420 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl | ||
1421 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getLessOrEqualThan() | ||
1422 | * @generated | ||
1423 | */ | ||
1424 | int LESS_OR_EQUAL_THAN = 32; | ||
1425 | |||
1426 | /** | ||
1427 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1428 | * <!-- begin-user-doc --> | ||
1429 | * <!-- end-user-doc --> | ||
1430 | * @generated | ||
1431 | * @ordered | ||
1432 | */ | ||
1433 | int LESS_OR_EQUAL_THAN__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; | ||
1434 | |||
1435 | /** | ||
1436 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1437 | * <!-- begin-user-doc --> | ||
1438 | * <!-- end-user-doc --> | ||
1439 | * @generated | ||
1440 | * @ordered | ||
1441 | */ | ||
1442 | int LESS_OR_EQUAL_THAN__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; | ||
1443 | |||
1444 | /** | ||
1445 | * The number of structural features of the '<em>Less Or Equal Than</em>' class. | ||
1446 | * <!-- begin-user-doc --> | ||
1447 | * <!-- end-user-doc --> | ||
1448 | * @generated | ||
1449 | * @ordered | ||
1450 | */ | ||
1451 | int LESS_OR_EQUAL_THAN_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; | ||
1452 | |||
1453 | /** | ||
1454 | * The number of operations of the '<em>Less Or Equal Than</em>' class. | ||
1455 | * <!-- begin-user-doc --> | ||
1456 | * <!-- end-user-doc --> | ||
1457 | * @generated | ||
1458 | * @ordered | ||
1459 | */ | ||
1460 | int LESS_OR_EQUAL_THAN_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; | ||
1461 | |||
1462 | /** | ||
1463 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl <em>More Or Equal Than</em>}' class. | ||
1464 | * <!-- begin-user-doc --> | ||
1465 | * <!-- end-user-doc --> | ||
1466 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl | ||
1467 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMoreOrEqualThan() | ||
1468 | * @generated | ||
1469 | */ | ||
1470 | int MORE_OR_EQUAL_THAN = 33; | ||
1471 | |||
1472 | /** | ||
1473 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1474 | * <!-- begin-user-doc --> | ||
1475 | * <!-- end-user-doc --> | ||
1476 | * @generated | ||
1477 | * @ordered | ||
1478 | */ | ||
1479 | int MORE_OR_EQUAL_THAN__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; | ||
1480 | |||
1481 | /** | ||
1482 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1483 | * <!-- begin-user-doc --> | ||
1484 | * <!-- end-user-doc --> | ||
1485 | * @generated | ||
1486 | * @ordered | ||
1487 | */ | ||
1488 | int MORE_OR_EQUAL_THAN__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; | ||
1489 | |||
1490 | /** | ||
1491 | * The number of structural features of the '<em>More Or Equal Than</em>' class. | ||
1492 | * <!-- begin-user-doc --> | ||
1493 | * <!-- end-user-doc --> | ||
1494 | * @generated | ||
1495 | * @ordered | ||
1496 | */ | ||
1497 | int MORE_OR_EQUAL_THAN_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; | ||
1498 | |||
1499 | /** | ||
1500 | * The number of operations of the '<em>More Or Equal Than</em>' class. | ||
1501 | * <!-- begin-user-doc --> | ||
1502 | * <!-- end-user-doc --> | ||
1503 | * @generated | ||
1504 | * @ordered | ||
1505 | */ | ||
1506 | int MORE_OR_EQUAL_THAN_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; | ||
1507 | |||
1508 | /** | ||
1509 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl <em>Int Operation</em>}' class. | ||
1510 | * <!-- begin-user-doc --> | ||
1511 | * <!-- end-user-doc --> | ||
1512 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl | ||
1513 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntOperation() | ||
1514 | * @generated | ||
1515 | */ | ||
1516 | int INT_OPERATION = 34; | ||
1517 | |||
1518 | /** | ||
1519 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1520 | * <!-- begin-user-doc --> | ||
1521 | * <!-- end-user-doc --> | ||
1522 | * @generated | ||
1523 | * @ordered | ||
1524 | */ | ||
1525 | int INT_OPERATION__LEFT_OPERAND = TERM_FEATURE_COUNT + 0; | ||
1526 | |||
1527 | /** | ||
1528 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1529 | * <!-- begin-user-doc --> | ||
1530 | * <!-- end-user-doc --> | ||
1531 | * @generated | ||
1532 | * @ordered | ||
1533 | */ | ||
1534 | int INT_OPERATION__RIGHT_OPERAND = TERM_FEATURE_COUNT + 1; | ||
1535 | |||
1536 | /** | ||
1537 | * The number of structural features of the '<em>Int Operation</em>' class. | ||
1538 | * <!-- begin-user-doc --> | ||
1539 | * <!-- end-user-doc --> | ||
1540 | * @generated | ||
1541 | * @ordered | ||
1542 | */ | ||
1543 | int INT_OPERATION_FEATURE_COUNT = TERM_FEATURE_COUNT + 2; | ||
1544 | |||
1545 | /** | ||
1546 | * The number of operations of the '<em>Int Operation</em>' class. | ||
1547 | * <!-- begin-user-doc --> | ||
1548 | * <!-- end-user-doc --> | ||
1549 | * @generated | ||
1550 | * @ordered | ||
1551 | */ | ||
1552 | int INT_OPERATION_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; | ||
1553 | |||
1554 | /** | ||
1555 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PlusImpl <em>Plus</em>}' class. | ||
1556 | * <!-- begin-user-doc --> | ||
1557 | * <!-- end-user-doc --> | ||
1558 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PlusImpl | ||
1559 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPlus() | ||
1560 | * @generated | ||
1561 | */ | ||
1562 | int PLUS = 35; | ||
1563 | |||
1564 | /** | ||
1565 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1566 | * <!-- begin-user-doc --> | ||
1567 | * <!-- end-user-doc --> | ||
1568 | * @generated | ||
1569 | * @ordered | ||
1570 | */ | ||
1571 | int PLUS__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; | ||
1572 | |||
1573 | /** | ||
1574 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1575 | * <!-- begin-user-doc --> | ||
1576 | * <!-- end-user-doc --> | ||
1577 | * @generated | ||
1578 | * @ordered | ||
1579 | */ | ||
1580 | int PLUS__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; | ||
1581 | |||
1582 | /** | ||
1583 | * The number of structural features of the '<em>Plus</em>' class. | ||
1584 | * <!-- begin-user-doc --> | ||
1585 | * <!-- end-user-doc --> | ||
1586 | * @generated | ||
1587 | * @ordered | ||
1588 | */ | ||
1589 | int PLUS_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; | ||
1590 | |||
1591 | /** | ||
1592 | * The number of operations of the '<em>Plus</em>' class. | ||
1593 | * <!-- begin-user-doc --> | ||
1594 | * <!-- end-user-doc --> | ||
1595 | * @generated | ||
1596 | * @ordered | ||
1597 | */ | ||
1598 | int PLUS_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; | ||
1599 | |||
1600 | /** | ||
1601 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MinusImpl <em>Minus</em>}' class. | ||
1602 | * <!-- begin-user-doc --> | ||
1603 | * <!-- end-user-doc --> | ||
1604 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MinusImpl | ||
1605 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMinus() | ||
1606 | * @generated | ||
1607 | */ | ||
1608 | int MINUS = 36; | ||
1609 | |||
1610 | /** | ||
1611 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1612 | * <!-- begin-user-doc --> | ||
1613 | * <!-- end-user-doc --> | ||
1614 | * @generated | ||
1615 | * @ordered | ||
1616 | */ | ||
1617 | int MINUS__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; | ||
1618 | |||
1619 | /** | ||
1620 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1621 | * <!-- begin-user-doc --> | ||
1622 | * <!-- end-user-doc --> | ||
1623 | * @generated | ||
1624 | * @ordered | ||
1625 | */ | ||
1626 | int MINUS__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; | ||
1627 | |||
1628 | /** | ||
1629 | * The number of structural features of the '<em>Minus</em>' class. | ||
1630 | * <!-- begin-user-doc --> | ||
1631 | * <!-- end-user-doc --> | ||
1632 | * @generated | ||
1633 | * @ordered | ||
1634 | */ | ||
1635 | int MINUS_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; | ||
1636 | |||
1637 | /** | ||
1638 | * The number of operations of the '<em>Minus</em>' class. | ||
1639 | * <!-- begin-user-doc --> | ||
1640 | * <!-- end-user-doc --> | ||
1641 | * @generated | ||
1642 | * @ordered | ||
1643 | */ | ||
1644 | int MINUS_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; | ||
1645 | |||
1646 | /** | ||
1647 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MultiplyImpl <em>Multiply</em>}' class. | ||
1648 | * <!-- begin-user-doc --> | ||
1649 | * <!-- end-user-doc --> | ||
1650 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MultiplyImpl | ||
1651 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMultiply() | ||
1652 | * @generated | ||
1653 | */ | ||
1654 | int MULTIPLY = 37; | ||
1655 | |||
1656 | /** | ||
1657 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1658 | * <!-- begin-user-doc --> | ||
1659 | * <!-- end-user-doc --> | ||
1660 | * @generated | ||
1661 | * @ordered | ||
1662 | */ | ||
1663 | int MULTIPLY__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; | ||
1664 | |||
1665 | /** | ||
1666 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1667 | * <!-- begin-user-doc --> | ||
1668 | * <!-- end-user-doc --> | ||
1669 | * @generated | ||
1670 | * @ordered | ||
1671 | */ | ||
1672 | int MULTIPLY__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; | ||
1673 | |||
1674 | /** | ||
1675 | * The number of structural features of the '<em>Multiply</em>' class. | ||
1676 | * <!-- begin-user-doc --> | ||
1677 | * <!-- end-user-doc --> | ||
1678 | * @generated | ||
1679 | * @ordered | ||
1680 | */ | ||
1681 | int MULTIPLY_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; | ||
1682 | |||
1683 | /** | ||
1684 | * The number of operations of the '<em>Multiply</em>' class. | ||
1685 | * <!-- begin-user-doc --> | ||
1686 | * <!-- end-user-doc --> | ||
1687 | * @generated | ||
1688 | * @ordered | ||
1689 | */ | ||
1690 | int MULTIPLY_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; | ||
1691 | |||
1692 | /** | ||
1693 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DivisonImpl <em>Divison</em>}' class. | ||
1694 | * <!-- begin-user-doc --> | ||
1695 | * <!-- end-user-doc --> | ||
1696 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DivisonImpl | ||
1697 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDivison() | ||
1698 | * @generated | ||
1699 | */ | ||
1700 | int DIVISON = 38; | ||
1701 | |||
1702 | /** | ||
1703 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1704 | * <!-- begin-user-doc --> | ||
1705 | * <!-- end-user-doc --> | ||
1706 | * @generated | ||
1707 | * @ordered | ||
1708 | */ | ||
1709 | int DIVISON__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; | ||
1710 | |||
1711 | /** | ||
1712 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1713 | * <!-- begin-user-doc --> | ||
1714 | * <!-- end-user-doc --> | ||
1715 | * @generated | ||
1716 | * @ordered | ||
1717 | */ | ||
1718 | int DIVISON__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; | ||
1719 | |||
1720 | /** | ||
1721 | * The number of structural features of the '<em>Divison</em>' class. | ||
1722 | * <!-- begin-user-doc --> | ||
1723 | * <!-- end-user-doc --> | ||
1724 | * @generated | ||
1725 | * @ordered | ||
1726 | */ | ||
1727 | int DIVISON_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; | ||
1728 | |||
1729 | /** | ||
1730 | * The number of operations of the '<em>Divison</em>' class. | ||
1731 | * <!-- begin-user-doc --> | ||
1732 | * <!-- end-user-doc --> | ||
1733 | * @generated | ||
1734 | * @ordered | ||
1735 | */ | ||
1736 | int DIVISON_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; | ||
1737 | |||
1738 | /** | ||
1739 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ModImpl <em>Mod</em>}' class. | ||
1740 | * <!-- begin-user-doc --> | ||
1741 | * <!-- end-user-doc --> | ||
1742 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ModImpl | ||
1743 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMod() | ||
1744 | * @generated | ||
1745 | */ | ||
1746 | int MOD = 39; | ||
1747 | |||
1748 | /** | ||
1749 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1750 | * <!-- begin-user-doc --> | ||
1751 | * <!-- end-user-doc --> | ||
1752 | * @generated | ||
1753 | * @ordered | ||
1754 | */ | ||
1755 | int MOD__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; | ||
1756 | |||
1757 | /** | ||
1758 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1759 | * <!-- begin-user-doc --> | ||
1760 | * <!-- end-user-doc --> | ||
1761 | * @generated | ||
1762 | * @ordered | ||
1763 | */ | ||
1764 | int MOD__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; | ||
1765 | |||
1766 | /** | ||
1767 | * The number of structural features of the '<em>Mod</em>' class. | ||
1768 | * <!-- begin-user-doc --> | ||
1769 | * <!-- end-user-doc --> | ||
1770 | * @generated | ||
1771 | * @ordered | ||
1772 | */ | ||
1773 | int MOD_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; | ||
1774 | |||
1775 | /** | ||
1776 | * The number of operations of the '<em>Mod</em>' class. | ||
1777 | * <!-- begin-user-doc --> | ||
1778 | * <!-- end-user-doc --> | ||
1779 | * @generated | ||
1780 | * @ordered | ||
1781 | */ | ||
1782 | int MOD_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; | ||
1783 | |||
1784 | /** | ||
1785 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl <em>Assertion</em>}' class. | ||
1786 | * <!-- begin-user-doc --> | ||
1787 | * <!-- end-user-doc --> | ||
1788 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl | ||
1789 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAssertion() | ||
1790 | * @generated | ||
1791 | */ | ||
1792 | int ASSERTION = 42; | ||
1793 | |||
1794 | /** | ||
1795 | * The feature id for the '<em><b>Value</b></em>' containment reference. | ||
1796 | * <!-- begin-user-doc --> | ||
1797 | * <!-- end-user-doc --> | ||
1798 | * @generated | ||
1799 | * @ordered | ||
1800 | */ | ||
1801 | int ASSERTION__VALUE = 0; | ||
1802 | |||
1803 | /** | ||
1804 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
1805 | * <!-- begin-user-doc --> | ||
1806 | * <!-- end-user-doc --> | ||
1807 | * @generated | ||
1808 | * @ordered | ||
1809 | */ | ||
1810 | int ASSERTION__NAME = 1; | ||
1811 | |||
1812 | /** | ||
1813 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
1814 | * <!-- begin-user-doc --> | ||
1815 | * <!-- end-user-doc --> | ||
1816 | * @generated | ||
1817 | * @ordered | ||
1818 | */ | ||
1819 | int ASSERTION__ANNOTATIONS = 2; | ||
1820 | |||
1821 | /** | ||
1822 | * The number of structural features of the '<em>Assertion</em>' class. | ||
1823 | * <!-- begin-user-doc --> | ||
1824 | * <!-- end-user-doc --> | ||
1825 | * @generated | ||
1826 | * @ordered | ||
1827 | */ | ||
1828 | int ASSERTION_FEATURE_COUNT = 3; | ||
1829 | |||
1830 | /** | ||
1831 | * The number of operations of the '<em>Assertion</em>' class. | ||
1832 | * <!-- begin-user-doc --> | ||
1833 | * <!-- end-user-doc --> | ||
1834 | * @generated | ||
1835 | * @ordered | ||
1836 | */ | ||
1837 | int ASSERTION_OPERATION_COUNT = 0; | ||
1838 | |||
1839 | /** | ||
1840 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl <em>Relation</em>}' class. | ||
1841 | * <!-- begin-user-doc --> | ||
1842 | * <!-- end-user-doc --> | ||
1843 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl | ||
1844 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelation() | ||
1845 | * @generated | ||
1846 | */ | ||
1847 | int RELATION = 43; | ||
1848 | |||
1849 | /** | ||
1850 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
1851 | * <!-- begin-user-doc --> | ||
1852 | * <!-- end-user-doc --> | ||
1853 | * @generated | ||
1854 | * @ordered | ||
1855 | */ | ||
1856 | int RELATION__NAME = SYMBOLIC_DECLARATION__NAME; | ||
1857 | |||
1858 | /** | ||
1859 | * The feature id for the '<em><b>Parameters</b></em>' containment reference list. | ||
1860 | * <!-- begin-user-doc --> | ||
1861 | * <!-- end-user-doc --> | ||
1862 | * @generated | ||
1863 | * @ordered | ||
1864 | */ | ||
1865 | int RELATION__PARAMETERS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; | ||
1866 | |||
1867 | /** | ||
1868 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
1869 | * <!-- begin-user-doc --> | ||
1870 | * <!-- end-user-doc --> | ||
1871 | * @generated | ||
1872 | * @ordered | ||
1873 | */ | ||
1874 | int RELATION__ANNOTATIONS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; | ||
1875 | |||
1876 | /** | ||
1877 | * The number of structural features of the '<em>Relation</em>' class. | ||
1878 | * <!-- begin-user-doc --> | ||
1879 | * <!-- end-user-doc --> | ||
1880 | * @generated | ||
1881 | * @ordered | ||
1882 | */ | ||
1883 | int RELATION_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 2; | ||
1884 | |||
1885 | /** | ||
1886 | * The number of operations of the '<em>Relation</em>' class. | ||
1887 | * <!-- begin-user-doc --> | ||
1888 | * <!-- end-user-doc --> | ||
1889 | * @generated | ||
1890 | * @ordered | ||
1891 | */ | ||
1892 | int RELATION_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; | ||
1893 | |||
1894 | /** | ||
1895 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl <em>Constant</em>}' class. | ||
1896 | * <!-- begin-user-doc --> | ||
1897 | * <!-- end-user-doc --> | ||
1898 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl | ||
1899 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstant() | ||
1900 | * @generated | ||
1901 | */ | ||
1902 | int CONSTANT = 44; | ||
1903 | |||
1904 | /** | ||
1905 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
1906 | * <!-- begin-user-doc --> | ||
1907 | * <!-- end-user-doc --> | ||
1908 | * @generated | ||
1909 | * @ordered | ||
1910 | */ | ||
1911 | int CONSTANT__NAME = SYMBOLIC_DECLARATION__NAME; | ||
1912 | |||
1913 | /** | ||
1914 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1915 | * <!-- begin-user-doc --> | ||
1916 | * <!-- end-user-doc --> | ||
1917 | * @generated | ||
1918 | * @ordered | ||
1919 | */ | ||
1920 | int CONSTANT__TYPE = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; | ||
1921 | |||
1922 | /** | ||
1923 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
1924 | * <!-- begin-user-doc --> | ||
1925 | * <!-- end-user-doc --> | ||
1926 | * @generated | ||
1927 | * @ordered | ||
1928 | */ | ||
1929 | int CONSTANT__ANNOTATIONS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; | ||
1930 | |||
1931 | /** | ||
1932 | * The number of structural features of the '<em>Constant</em>' class. | ||
1933 | * <!-- begin-user-doc --> | ||
1934 | * <!-- end-user-doc --> | ||
1935 | * @generated | ||
1936 | * @ordered | ||
1937 | */ | ||
1938 | int CONSTANT_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 2; | ||
1939 | |||
1940 | /** | ||
1941 | * The number of operations of the '<em>Constant</em>' class. | ||
1942 | * <!-- begin-user-doc --> | ||
1943 | * <!-- end-user-doc --> | ||
1944 | * @generated | ||
1945 | * @ordered | ||
1946 | */ | ||
1947 | int CONSTANT_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; | ||
1948 | |||
1949 | /** | ||
1950 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl <em>Constant Definition</em>}' class. | ||
1951 | * <!-- begin-user-doc --> | ||
1952 | * <!-- end-user-doc --> | ||
1953 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl | ||
1954 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstantDefinition() | ||
1955 | * @generated | ||
1956 | */ | ||
1957 | int CONSTANT_DEFINITION = 45; | ||
1958 | |||
1959 | /** | ||
1960 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
1961 | * <!-- begin-user-doc --> | ||
1962 | * <!-- end-user-doc --> | ||
1963 | * @generated | ||
1964 | * @ordered | ||
1965 | */ | ||
1966 | int CONSTANT_DEFINITION__NAME = CONSTANT__NAME; | ||
1967 | |||
1968 | /** | ||
1969 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1970 | * <!-- begin-user-doc --> | ||
1971 | * <!-- end-user-doc --> | ||
1972 | * @generated | ||
1973 | * @ordered | ||
1974 | */ | ||
1975 | int CONSTANT_DEFINITION__TYPE = CONSTANT__TYPE; | ||
1976 | |||
1977 | /** | ||
1978 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
1979 | * <!-- begin-user-doc --> | ||
1980 | * <!-- end-user-doc --> | ||
1981 | * @generated | ||
1982 | * @ordered | ||
1983 | */ | ||
1984 | int CONSTANT_DEFINITION__ANNOTATIONS = CONSTANT__ANNOTATIONS; | ||
1985 | |||
1986 | /** | ||
1987 | * The feature id for the '<em><b>Value</b></em>' containment reference. | ||
1988 | * <!-- begin-user-doc --> | ||
1989 | * <!-- end-user-doc --> | ||
1990 | * @generated | ||
1991 | * @ordered | ||
1992 | */ | ||
1993 | int CONSTANT_DEFINITION__VALUE = CONSTANT_FEATURE_COUNT + 0; | ||
1994 | |||
1995 | /** | ||
1996 | * The feature id for the '<em><b>Defines</b></em>' reference. | ||
1997 | * <!-- begin-user-doc --> | ||
1998 | * <!-- end-user-doc --> | ||
1999 | * @generated | ||
2000 | * @ordered | ||
2001 | */ | ||
2002 | int CONSTANT_DEFINITION__DEFINES = CONSTANT_FEATURE_COUNT + 1; | ||
2003 | |||
2004 | /** | ||
2005 | * The number of structural features of the '<em>Constant Definition</em>' class. | ||
2006 | * <!-- begin-user-doc --> | ||
2007 | * <!-- end-user-doc --> | ||
2008 | * @generated | ||
2009 | * @ordered | ||
2010 | */ | ||
2011 | int CONSTANT_DEFINITION_FEATURE_COUNT = CONSTANT_FEATURE_COUNT + 2; | ||
2012 | |||
2013 | /** | ||
2014 | * The number of operations of the '<em>Constant Definition</em>' class. | ||
2015 | * <!-- begin-user-doc --> | ||
2016 | * <!-- end-user-doc --> | ||
2017 | * @generated | ||
2018 | * @ordered | ||
2019 | */ | ||
2020 | int CONSTANT_DEFINITION_OPERATION_COUNT = CONSTANT_OPERATION_COUNT + 0; | ||
2021 | |||
2022 | /** | ||
2023 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl <em>Relation Definition</em>}' class. | ||
2024 | * <!-- begin-user-doc --> | ||
2025 | * <!-- end-user-doc --> | ||
2026 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl | ||
2027 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelationDefinition() | ||
2028 | * @generated | ||
2029 | */ | ||
2030 | int RELATION_DEFINITION = 46; | ||
2031 | |||
2032 | /** | ||
2033 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
2034 | * <!-- begin-user-doc --> | ||
2035 | * <!-- end-user-doc --> | ||
2036 | * @generated | ||
2037 | * @ordered | ||
2038 | */ | ||
2039 | int RELATION_DEFINITION__NAME = RELATION__NAME; | ||
2040 | |||
2041 | /** | ||
2042 | * The feature id for the '<em><b>Parameters</b></em>' containment reference list. | ||
2043 | * <!-- begin-user-doc --> | ||
2044 | * <!-- end-user-doc --> | ||
2045 | * @generated | ||
2046 | * @ordered | ||
2047 | */ | ||
2048 | int RELATION_DEFINITION__PARAMETERS = RELATION__PARAMETERS; | ||
2049 | |||
2050 | /** | ||
2051 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
2052 | * <!-- begin-user-doc --> | ||
2053 | * <!-- end-user-doc --> | ||
2054 | * @generated | ||
2055 | * @ordered | ||
2056 | */ | ||
2057 | int RELATION_DEFINITION__ANNOTATIONS = RELATION__ANNOTATIONS; | ||
2058 | |||
2059 | /** | ||
2060 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. | ||
2061 | * <!-- begin-user-doc --> | ||
2062 | * <!-- end-user-doc --> | ||
2063 | * @generated | ||
2064 | * @ordered | ||
2065 | */ | ||
2066 | int RELATION_DEFINITION__VARIABLES = RELATION_FEATURE_COUNT + 0; | ||
2067 | |||
2068 | /** | ||
2069 | * The feature id for the '<em><b>Value</b></em>' containment reference. | ||
2070 | * <!-- begin-user-doc --> | ||
2071 | * <!-- end-user-doc --> | ||
2072 | * @generated | ||
2073 | * @ordered | ||
2074 | */ | ||
2075 | int RELATION_DEFINITION__VALUE = RELATION_FEATURE_COUNT + 1; | ||
2076 | |||
2077 | /** | ||
2078 | * The feature id for the '<em><b>Defines</b></em>' reference. | ||
2079 | * <!-- begin-user-doc --> | ||
2080 | * <!-- end-user-doc --> | ||
2081 | * @generated | ||
2082 | * @ordered | ||
2083 | */ | ||
2084 | int RELATION_DEFINITION__DEFINES = RELATION_FEATURE_COUNT + 2; | ||
2085 | |||
2086 | /** | ||
2087 | * The number of structural features of the '<em>Relation Definition</em>' class. | ||
2088 | * <!-- begin-user-doc --> | ||
2089 | * <!-- end-user-doc --> | ||
2090 | * @generated | ||
2091 | * @ordered | ||
2092 | */ | ||
2093 | int RELATION_DEFINITION_FEATURE_COUNT = RELATION_FEATURE_COUNT + 3; | ||
2094 | |||
2095 | /** | ||
2096 | * The number of operations of the '<em>Relation Definition</em>' class. | ||
2097 | * <!-- begin-user-doc --> | ||
2098 | * <!-- end-user-doc --> | ||
2099 | * @generated | ||
2100 | * @ordered | ||
2101 | */ | ||
2102 | int RELATION_DEFINITION_OPERATION_COUNT = RELATION_OPERATION_COUNT + 0; | ||
2103 | |||
2104 | /** | ||
2105 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl <em>Function Definition</em>}' class. | ||
2106 | * <!-- begin-user-doc --> | ||
2107 | * <!-- end-user-doc --> | ||
2108 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl | ||
2109 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunctionDefinition() | ||
2110 | * @generated | ||
2111 | */ | ||
2112 | int FUNCTION_DEFINITION = 47; | ||
2113 | |||
2114 | /** | ||
2115 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
2116 | * <!-- begin-user-doc --> | ||
2117 | * <!-- end-user-doc --> | ||
2118 | * @generated | ||
2119 | * @ordered | ||
2120 | */ | ||
2121 | int FUNCTION_DEFINITION__NAME = FUNCTION__NAME; | ||
2122 | |||
2123 | /** | ||
2124 | * The feature id for the '<em><b>Range</b></em>' containment reference. | ||
2125 | * <!-- begin-user-doc --> | ||
2126 | * <!-- end-user-doc --> | ||
2127 | * @generated | ||
2128 | * @ordered | ||
2129 | */ | ||
2130 | int FUNCTION_DEFINITION__RANGE = FUNCTION__RANGE; | ||
2131 | |||
2132 | /** | ||
2133 | * The feature id for the '<em><b>Parameters</b></em>' containment reference list. | ||
2134 | * <!-- begin-user-doc --> | ||
2135 | * <!-- end-user-doc --> | ||
2136 | * @generated | ||
2137 | * @ordered | ||
2138 | */ | ||
2139 | int FUNCTION_DEFINITION__PARAMETERS = FUNCTION__PARAMETERS; | ||
2140 | |||
2141 | /** | ||
2142 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
2143 | * <!-- begin-user-doc --> | ||
2144 | * <!-- end-user-doc --> | ||
2145 | * @generated | ||
2146 | * @ordered | ||
2147 | */ | ||
2148 | int FUNCTION_DEFINITION__ANNOTATIONS = FUNCTION__ANNOTATIONS; | ||
2149 | |||
2150 | /** | ||
2151 | * The feature id for the '<em><b>Variable</b></em>' containment reference list. | ||
2152 | * <!-- begin-user-doc --> | ||
2153 | * <!-- end-user-doc --> | ||
2154 | * @generated | ||
2155 | * @ordered | ||
2156 | */ | ||
2157 | int FUNCTION_DEFINITION__VARIABLE = FUNCTION_FEATURE_COUNT + 0; | ||
2158 | |||
2159 | /** | ||
2160 | * The feature id for the '<em><b>Defines</b></em>' reference. | ||
2161 | * <!-- begin-user-doc --> | ||
2162 | * <!-- end-user-doc --> | ||
2163 | * @generated | ||
2164 | * @ordered | ||
2165 | */ | ||
2166 | int FUNCTION_DEFINITION__DEFINES = FUNCTION_FEATURE_COUNT + 1; | ||
2167 | |||
2168 | /** | ||
2169 | * The feature id for the '<em><b>Value</b></em>' containment reference. | ||
2170 | * <!-- begin-user-doc --> | ||
2171 | * <!-- end-user-doc --> | ||
2172 | * @generated | ||
2173 | * @ordered | ||
2174 | */ | ||
2175 | int FUNCTION_DEFINITION__VALUE = FUNCTION_FEATURE_COUNT + 2; | ||
2176 | |||
2177 | /** | ||
2178 | * The number of structural features of the '<em>Function Definition</em>' class. | ||
2179 | * <!-- begin-user-doc --> | ||
2180 | * <!-- end-user-doc --> | ||
2181 | * @generated | ||
2182 | * @ordered | ||
2183 | */ | ||
2184 | int FUNCTION_DEFINITION_FEATURE_COUNT = FUNCTION_FEATURE_COUNT + 3; | ||
2185 | |||
2186 | /** | ||
2187 | * The number of operations of the '<em>Function Definition</em>' class. | ||
2188 | * <!-- begin-user-doc --> | ||
2189 | * <!-- end-user-doc --> | ||
2190 | * @generated | ||
2191 | * @ordered | ||
2192 | */ | ||
2193 | int FUNCTION_DEFINITION_OPERATION_COUNT = FUNCTION_OPERATION_COUNT + 0; | ||
2194 | |||
2195 | /** | ||
2196 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl <em>If Then Else</em>}' class. | ||
2197 | * <!-- begin-user-doc --> | ||
2198 | * <!-- end-user-doc --> | ||
2199 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl | ||
2200 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIfThenElse() | ||
2201 | * @generated | ||
2202 | */ | ||
2203 | int IF_THEN_ELSE = 48; | ||
2204 | |||
2205 | /** | ||
2206 | * The feature id for the '<em><b>Condition</b></em>' containment reference. | ||
2207 | * <!-- begin-user-doc --> | ||
2208 | * <!-- end-user-doc --> | ||
2209 | * @generated | ||
2210 | * @ordered | ||
2211 | */ | ||
2212 | int IF_THEN_ELSE__CONDITION = TERM_FEATURE_COUNT + 0; | ||
2213 | |||
2214 | /** | ||
2215 | * The feature id for the '<em><b>If True</b></em>' containment reference. | ||
2216 | * <!-- begin-user-doc --> | ||
2217 | * <!-- end-user-doc --> | ||
2218 | * @generated | ||
2219 | * @ordered | ||
2220 | */ | ||
2221 | int IF_THEN_ELSE__IF_TRUE = TERM_FEATURE_COUNT + 1; | ||
2222 | |||
2223 | /** | ||
2224 | * The feature id for the '<em><b>If False</b></em>' containment reference. | ||
2225 | * <!-- begin-user-doc --> | ||
2226 | * <!-- end-user-doc --> | ||
2227 | * @generated | ||
2228 | * @ordered | ||
2229 | */ | ||
2230 | int IF_THEN_ELSE__IF_FALSE = TERM_FEATURE_COUNT + 2; | ||
2231 | |||
2232 | /** | ||
2233 | * The number of structural features of the '<em>If Then Else</em>' class. | ||
2234 | * <!-- begin-user-doc --> | ||
2235 | * <!-- end-user-doc --> | ||
2236 | * @generated | ||
2237 | * @ordered | ||
2238 | */ | ||
2239 | int IF_THEN_ELSE_FEATURE_COUNT = TERM_FEATURE_COUNT + 3; | ||
2240 | |||
2241 | /** | ||
2242 | * The number of operations of the '<em>If Then Else</em>' class. | ||
2243 | * <!-- begin-user-doc --> | ||
2244 | * <!-- end-user-doc --> | ||
2245 | * @generated | ||
2246 | * @ordered | ||
2247 | */ | ||
2248 | int IF_THEN_ELSE_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; | ||
2249 | |||
2250 | /** | ||
2251 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDeclarationImpl <em>Constant Declaration</em>}' class. | ||
2252 | * <!-- begin-user-doc --> | ||
2253 | * <!-- end-user-doc --> | ||
2254 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDeclarationImpl | ||
2255 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstantDeclaration() | ||
2256 | * @generated | ||
2257 | */ | ||
2258 | int CONSTANT_DECLARATION = 49; | ||
2259 | |||
2260 | /** | ||
2261 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
2262 | * <!-- begin-user-doc --> | ||
2263 | * <!-- end-user-doc --> | ||
2264 | * @generated | ||
2265 | * @ordered | ||
2266 | */ | ||
2267 | int CONSTANT_DECLARATION__NAME = CONSTANT__NAME; | ||
2268 | |||
2269 | /** | ||
2270 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
2271 | * <!-- begin-user-doc --> | ||
2272 | * <!-- end-user-doc --> | ||
2273 | * @generated | ||
2274 | * @ordered | ||
2275 | */ | ||
2276 | int CONSTANT_DECLARATION__TYPE = CONSTANT__TYPE; | ||
2277 | |||
2278 | /** | ||
2279 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
2280 | * <!-- begin-user-doc --> | ||
2281 | * <!-- end-user-doc --> | ||
2282 | * @generated | ||
2283 | * @ordered | ||
2284 | */ | ||
2285 | int CONSTANT_DECLARATION__ANNOTATIONS = CONSTANT__ANNOTATIONS; | ||
2286 | |||
2287 | /** | ||
2288 | * The number of structural features of the '<em>Constant Declaration</em>' class. | ||
2289 | * <!-- begin-user-doc --> | ||
2290 | * <!-- end-user-doc --> | ||
2291 | * @generated | ||
2292 | * @ordered | ||
2293 | */ | ||
2294 | int CONSTANT_DECLARATION_FEATURE_COUNT = CONSTANT_FEATURE_COUNT + 0; | ||
2295 | |||
2296 | /** | ||
2297 | * The number of operations of the '<em>Constant Declaration</em>' class. | ||
2298 | * <!-- begin-user-doc --> | ||
2299 | * <!-- end-user-doc --> | ||
2300 | * @generated | ||
2301 | * @ordered | ||
2302 | */ | ||
2303 | int CONSTANT_DECLARATION_OPERATION_COUNT = CONSTANT_OPERATION_COUNT + 0; | ||
2304 | |||
2305 | /** | ||
2306 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDeclarationImpl <em>Relation Declaration</em>}' class. | ||
2307 | * <!-- begin-user-doc --> | ||
2308 | * <!-- end-user-doc --> | ||
2309 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDeclarationImpl | ||
2310 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelationDeclaration() | ||
2311 | * @generated | ||
2312 | */ | ||
2313 | int RELATION_DECLARATION = 50; | ||
2314 | |||
2315 | /** | ||
2316 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
2317 | * <!-- begin-user-doc --> | ||
2318 | * <!-- end-user-doc --> | ||
2319 | * @generated | ||
2320 | * @ordered | ||
2321 | */ | ||
2322 | int RELATION_DECLARATION__NAME = RELATION__NAME; | ||
2323 | |||
2324 | /** | ||
2325 | * The feature id for the '<em><b>Parameters</b></em>' containment reference list. | ||
2326 | * <!-- begin-user-doc --> | ||
2327 | * <!-- end-user-doc --> | ||
2328 | * @generated | ||
2329 | * @ordered | ||
2330 | */ | ||
2331 | int RELATION_DECLARATION__PARAMETERS = RELATION__PARAMETERS; | ||
2332 | |||
2333 | /** | ||
2334 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
2335 | * <!-- begin-user-doc --> | ||
2336 | * <!-- end-user-doc --> | ||
2337 | * @generated | ||
2338 | * @ordered | ||
2339 | */ | ||
2340 | int RELATION_DECLARATION__ANNOTATIONS = RELATION__ANNOTATIONS; | ||
2341 | |||
2342 | /** | ||
2343 | * The number of structural features of the '<em>Relation Declaration</em>' class. | ||
2344 | * <!-- begin-user-doc --> | ||
2345 | * <!-- end-user-doc --> | ||
2346 | * @generated | ||
2347 | * @ordered | ||
2348 | */ | ||
2349 | int RELATION_DECLARATION_FEATURE_COUNT = RELATION_FEATURE_COUNT + 0; | ||
2350 | |||
2351 | /** | ||
2352 | * The number of operations of the '<em>Relation Declaration</em>' class. | ||
2353 | * <!-- begin-user-doc --> | ||
2354 | * <!-- end-user-doc --> | ||
2355 | * @generated | ||
2356 | * @ordered | ||
2357 | */ | ||
2358 | int RELATION_DECLARATION_OPERATION_COUNT = RELATION_OPERATION_COUNT + 0; | ||
2359 | |||
2360 | /** | ||
2361 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDeclarationImpl <em>Function Declaration</em>}' class. | ||
2362 | * <!-- begin-user-doc --> | ||
2363 | * <!-- end-user-doc --> | ||
2364 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDeclarationImpl | ||
2365 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunctionDeclaration() | ||
2366 | * @generated | ||
2367 | */ | ||
2368 | int FUNCTION_DECLARATION = 51; | ||
2369 | |||
2370 | /** | ||
2371 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
2372 | * <!-- begin-user-doc --> | ||
2373 | * <!-- end-user-doc --> | ||
2374 | * @generated | ||
2375 | * @ordered | ||
2376 | */ | ||
2377 | int FUNCTION_DECLARATION__NAME = FUNCTION__NAME; | ||
2378 | |||
2379 | /** | ||
2380 | * The feature id for the '<em><b>Range</b></em>' containment reference. | ||
2381 | * <!-- begin-user-doc --> | ||
2382 | * <!-- end-user-doc --> | ||
2383 | * @generated | ||
2384 | * @ordered | ||
2385 | */ | ||
2386 | int FUNCTION_DECLARATION__RANGE = FUNCTION__RANGE; | ||
2387 | |||
2388 | /** | ||
2389 | * The feature id for the '<em><b>Parameters</b></em>' containment reference list. | ||
2390 | * <!-- begin-user-doc --> | ||
2391 | * <!-- end-user-doc --> | ||
2392 | * @generated | ||
2393 | * @ordered | ||
2394 | */ | ||
2395 | int FUNCTION_DECLARATION__PARAMETERS = FUNCTION__PARAMETERS; | ||
2396 | |||
2397 | /** | ||
2398 | * The feature id for the '<em><b>Annotations</b></em>' reference list. | ||
2399 | * <!-- begin-user-doc --> | ||
2400 | * <!-- end-user-doc --> | ||
2401 | * @generated | ||
2402 | * @ordered | ||
2403 | */ | ||
2404 | int FUNCTION_DECLARATION__ANNOTATIONS = FUNCTION__ANNOTATIONS; | ||
2405 | |||
2406 | /** | ||
2407 | * The number of structural features of the '<em>Function Declaration</em>' class. | ||
2408 | * <!-- begin-user-doc --> | ||
2409 | * <!-- end-user-doc --> | ||
2410 | * @generated | ||
2411 | * @ordered | ||
2412 | */ | ||
2413 | int FUNCTION_DECLARATION_FEATURE_COUNT = FUNCTION_FEATURE_COUNT + 0; | ||
2414 | |||
2415 | /** | ||
2416 | * The number of operations of the '<em>Function Declaration</em>' class. | ||
2417 | * <!-- begin-user-doc --> | ||
2418 | * <!-- end-user-doc --> | ||
2419 | * @generated | ||
2420 | * @ordered | ||
2421 | */ | ||
2422 | int FUNCTION_DECLARATION_OPERATION_COUNT = FUNCTION_OPERATION_COUNT + 0; | ||
2423 | |||
2424 | /** | ||
2425 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDeclarationImpl <em>Type Declaration</em>}' class. | ||
2426 | * <!-- begin-user-doc --> | ||
2427 | * <!-- end-user-doc --> | ||
2428 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDeclarationImpl | ||
2429 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDeclaration() | ||
2430 | * @generated | ||
2431 | */ | ||
2432 | int TYPE_DECLARATION = 52; | ||
2433 | |||
2434 | /** | ||
2435 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
2436 | * <!-- begin-user-doc --> | ||
2437 | * <!-- end-user-doc --> | ||
2438 | * @generated | ||
2439 | * @ordered | ||
2440 | */ | ||
2441 | int TYPE_DECLARATION__NAME = TYPE__NAME; | ||
2442 | |||
2443 | /** | ||
2444 | * The feature id for the '<em><b>Subtypes</b></em>' reference list. | ||
2445 | * <!-- begin-user-doc --> | ||
2446 | * <!-- end-user-doc --> | ||
2447 | * @generated | ||
2448 | * @ordered | ||
2449 | */ | ||
2450 | int TYPE_DECLARATION__SUBTYPES = TYPE__SUBTYPES; | ||
2451 | |||
2452 | /** | ||
2453 | * The feature id for the '<em><b>Supertypes</b></em>' reference list. | ||
2454 | * <!-- begin-user-doc --> | ||
2455 | * <!-- end-user-doc --> | ||
2456 | * @generated | ||
2457 | * @ordered | ||
2458 | */ | ||
2459 | int TYPE_DECLARATION__SUPERTYPES = TYPE__SUPERTYPES; | ||
2460 | |||
2461 | /** | ||
2462 | * The feature id for the '<em><b>Is Abstract</b></em>' attribute. | ||
2463 | * <!-- begin-user-doc --> | ||
2464 | * <!-- end-user-doc --> | ||
2465 | * @generated | ||
2466 | * @ordered | ||
2467 | */ | ||
2468 | int TYPE_DECLARATION__IS_ABSTRACT = TYPE__IS_ABSTRACT; | ||
2469 | |||
2470 | /** | ||
2471 | * The number of structural features of the '<em>Type Declaration</em>' class. | ||
2472 | * <!-- begin-user-doc --> | ||
2473 | * <!-- end-user-doc --> | ||
2474 | * @generated | ||
2475 | * @ordered | ||
2476 | */ | ||
2477 | int TYPE_DECLARATION_FEATURE_COUNT = TYPE_FEATURE_COUNT + 0; | ||
2478 | |||
2479 | /** | ||
2480 | * The number of operations of the '<em>Type Declaration</em>' class. | ||
2481 | * <!-- begin-user-doc --> | ||
2482 | * <!-- end-user-doc --> | ||
2483 | * @generated | ||
2484 | * @ordered | ||
2485 | */ | ||
2486 | int TYPE_DECLARATION_OPERATION_COUNT = TYPE_OPERATION_COUNT + 0; | ||
2487 | |||
2488 | |||
2489 | /** | ||
2490 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.UnknownBecauseUninterpretedImpl <em>Unknown Because Uninterpreted</em>}' class. | ||
2491 | * <!-- begin-user-doc --> | ||
2492 | * <!-- end-user-doc --> | ||
2493 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.UnknownBecauseUninterpretedImpl | ||
2494 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getUnknownBecauseUninterpreted() | ||
2495 | * @generated | ||
2496 | */ | ||
2497 | int UNKNOWN_BECAUSE_UNINTERPRETED = 53; | ||
2498 | |||
2499 | /** | ||
2500 | * The number of structural features of the '<em>Unknown Because Uninterpreted</em>' class. | ||
2501 | * <!-- begin-user-doc --> | ||
2502 | * <!-- end-user-doc --> | ||
2503 | * @generated | ||
2504 | * @ordered | ||
2505 | */ | ||
2506 | int UNKNOWN_BECAUSE_UNINTERPRETED_FEATURE_COUNT = TERM_FEATURE_COUNT + 0; | ||
2507 | |||
2508 | /** | ||
2509 | * The number of operations of the '<em>Unknown Because Uninterpreted</em>' class. | ||
2510 | * <!-- begin-user-doc --> | ||
2511 | * <!-- end-user-doc --> | ||
2512 | * @generated | ||
2513 | * @ordered | ||
2514 | */ | ||
2515 | int UNKNOWN_BECAUSE_UNINTERPRETED_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; | ||
2516 | |||
2517 | |||
2518 | /** | ||
2519 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl <em>Instance Of</em>}' class. | ||
2520 | * <!-- begin-user-doc --> | ||
2521 | * <!-- end-user-doc --> | ||
2522 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl | ||
2523 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getInstanceOf() | ||
2524 | * @generated | ||
2525 | */ | ||
2526 | int INSTANCE_OF = 54; | ||
2527 | |||
2528 | /** | ||
2529 | * The feature id for the '<em><b>Value</b></em>' containment reference. | ||
2530 | * <!-- begin-user-doc --> | ||
2531 | * <!-- end-user-doc --> | ||
2532 | * @generated | ||
2533 | * @ordered | ||
2534 | */ | ||
2535 | int INSTANCE_OF__VALUE = TERM_FEATURE_COUNT + 0; | ||
2536 | |||
2537 | /** | ||
2538 | * The feature id for the '<em><b>Range</b></em>' containment reference. | ||
2539 | * <!-- begin-user-doc --> | ||
2540 | * <!-- end-user-doc --> | ||
2541 | * @generated | ||
2542 | * @ordered | ||
2543 | */ | ||
2544 | int INSTANCE_OF__RANGE = TERM_FEATURE_COUNT + 1; | ||
2545 | |||
2546 | /** | ||
2547 | * The number of structural features of the '<em>Instance Of</em>' class. | ||
2548 | * <!-- begin-user-doc --> | ||
2549 | * <!-- end-user-doc --> | ||
2550 | * @generated | ||
2551 | * @ordered | ||
2552 | */ | ||
2553 | int INSTANCE_OF_FEATURE_COUNT = TERM_FEATURE_COUNT + 2; | ||
2554 | |||
2555 | /** | ||
2556 | * The number of operations of the '<em>Instance Of</em>' class. | ||
2557 | * <!-- begin-user-doc --> | ||
2558 | * <!-- end-user-doc --> | ||
2559 | * @generated | ||
2560 | * @ordered | ||
2561 | */ | ||
2562 | int INSTANCE_OF_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; | ||
2563 | |||
2564 | |||
2565 | /** | ||
2566 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type <em>Type</em>}'. | ||
2567 | * <!-- begin-user-doc --> | ||
2568 | * <!-- end-user-doc --> | ||
2569 | * @return the meta object for class '<em>Type</em>'. | ||
2570 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type | ||
2571 | * @generated | ||
2572 | */ | ||
2573 | EClass getType(); | ||
2574 | |||
2575 | /** | ||
2576 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getName <em>Name</em>}'. | ||
2577 | * <!-- begin-user-doc --> | ||
2578 | * <!-- end-user-doc --> | ||
2579 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2580 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getName() | ||
2581 | * @see #getType() | ||
2582 | * @generated | ||
2583 | */ | ||
2584 | EAttribute getType_Name(); | ||
2585 | |||
2586 | /** | ||
2587 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes <em>Subtypes</em>}'. | ||
2588 | * <!-- begin-user-doc --> | ||
2589 | * <!-- end-user-doc --> | ||
2590 | * @return the meta object for the reference list '<em>Subtypes</em>'. | ||
2591 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes() | ||
2592 | * @see #getType() | ||
2593 | * @generated | ||
2594 | */ | ||
2595 | EReference getType_Subtypes(); | ||
2596 | |||
2597 | /** | ||
2598 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes <em>Supertypes</em>}'. | ||
2599 | * <!-- begin-user-doc --> | ||
2600 | * <!-- end-user-doc --> | ||
2601 | * @return the meta object for the reference list '<em>Supertypes</em>'. | ||
2602 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes() | ||
2603 | * @see #getType() | ||
2604 | * @generated | ||
2605 | */ | ||
2606 | EReference getType_Supertypes(); | ||
2607 | |||
2608 | /** | ||
2609 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#isIsAbstract <em>Is Abstract</em>}'. | ||
2610 | * <!-- begin-user-doc --> | ||
2611 | * <!-- end-user-doc --> | ||
2612 | * @return the meta object for the attribute '<em>Is Abstract</em>'. | ||
2613 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#isIsAbstract() | ||
2614 | * @see #getType() | ||
2615 | * @generated | ||
2616 | */ | ||
2617 | EAttribute getType_IsAbstract(); | ||
2618 | |||
2619 | /** | ||
2620 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement <em>Defined Element</em>}'. | ||
2621 | * <!-- begin-user-doc --> | ||
2622 | * <!-- end-user-doc --> | ||
2623 | * @return the meta object for class '<em>Defined Element</em>'. | ||
2624 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement | ||
2625 | * @generated | ||
2626 | */ | ||
2627 | EClass getDefinedElement(); | ||
2628 | |||
2629 | /** | ||
2630 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement#getDefinedInType <em>Defined In Type</em>}'. | ||
2631 | * <!-- begin-user-doc --> | ||
2632 | * <!-- end-user-doc --> | ||
2633 | * @return the meta object for the reference list '<em>Defined In Type</em>'. | ||
2634 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement#getDefinedInType() | ||
2635 | * @see #getDefinedElement() | ||
2636 | * @generated | ||
2637 | */ | ||
2638 | EReference getDefinedElement_DefinedInType(); | ||
2639 | |||
2640 | /** | ||
2641 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition <em>Type Definition</em>}'. | ||
2642 | * <!-- begin-user-doc --> | ||
2643 | * <!-- end-user-doc --> | ||
2644 | * @return the meta object for class '<em>Type Definition</em>'. | ||
2645 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition | ||
2646 | * @generated | ||
2647 | */ | ||
2648 | EClass getTypeDefinition(); | ||
2649 | |||
2650 | /** | ||
2651 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getElements <em>Elements</em>}'. | ||
2652 | * <!-- begin-user-doc --> | ||
2653 | * <!-- end-user-doc --> | ||
2654 | * @return the meta object for the reference list '<em>Elements</em>'. | ||
2655 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getElements() | ||
2656 | * @see #getTypeDefinition() | ||
2657 | * @generated | ||
2658 | */ | ||
2659 | EReference getTypeDefinition_Elements(); | ||
2660 | |||
2661 | /** | ||
2662 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getDefines <em>Defines</em>}'. | ||
2663 | * <!-- begin-user-doc --> | ||
2664 | * <!-- end-user-doc --> | ||
2665 | * @return the meta object for the reference '<em>Defines</em>'. | ||
2666 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getDefines() | ||
2667 | * @see #getTypeDefinition() | ||
2668 | * @generated | ||
2669 | */ | ||
2670 | EReference getTypeDefinition_Defines(); | ||
2671 | |||
2672 | /** | ||
2673 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference <em>Type Reference</em>}'. | ||
2674 | * <!-- begin-user-doc --> | ||
2675 | * <!-- end-user-doc --> | ||
2676 | * @return the meta object for class '<em>Type Reference</em>'. | ||
2677 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference | ||
2678 | * @generated | ||
2679 | */ | ||
2680 | EClass getTypeReference(); | ||
2681 | |||
2682 | /** | ||
2683 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference <em>Complex Type Reference</em>}'. | ||
2684 | * <!-- begin-user-doc --> | ||
2685 | * <!-- end-user-doc --> | ||
2686 | * @return the meta object for class '<em>Complex Type Reference</em>'. | ||
2687 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference | ||
2688 | * @generated | ||
2689 | */ | ||
2690 | EClass getComplexTypeReference(); | ||
2691 | |||
2692 | /** | ||
2693 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference#getReferred <em>Referred</em>}'. | ||
2694 | * <!-- begin-user-doc --> | ||
2695 | * <!-- end-user-doc --> | ||
2696 | * @return the meta object for the reference '<em>Referred</em>'. | ||
2697 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference#getReferred() | ||
2698 | * @see #getComplexTypeReference() | ||
2699 | * @generated | ||
2700 | */ | ||
2701 | EReference getComplexTypeReference_Referred(); | ||
2702 | |||
2703 | /** | ||
2704 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference <em>Primitive Type Reference</em>}'. | ||
2705 | * <!-- begin-user-doc --> | ||
2706 | * <!-- end-user-doc --> | ||
2707 | * @return the meta object for class '<em>Primitive Type Reference</em>'. | ||
2708 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference | ||
2709 | * @generated | ||
2710 | */ | ||
2711 | EClass getPrimitiveTypeReference(); | ||
2712 | |||
2713 | /** | ||
2714 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference <em>Int Type Reference</em>}'. | ||
2715 | * <!-- begin-user-doc --> | ||
2716 | * <!-- end-user-doc --> | ||
2717 | * @return the meta object for class '<em>Int Type Reference</em>'. | ||
2718 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference | ||
2719 | * @generated | ||
2720 | */ | ||
2721 | EClass getIntTypeReference(); | ||
2722 | |||
2723 | /** | ||
2724 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference <em>Bool Type Reference</em>}'. | ||
2725 | * <!-- begin-user-doc --> | ||
2726 | * <!-- end-user-doc --> | ||
2727 | * @return the meta object for class '<em>Bool Type Reference</em>'. | ||
2728 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference | ||
2729 | * @generated | ||
2730 | */ | ||
2731 | EClass getBoolTypeReference(); | ||
2732 | |||
2733 | /** | ||
2734 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference <em>Real Type Reference</em>}'. | ||
2735 | * <!-- begin-user-doc --> | ||
2736 | * <!-- end-user-doc --> | ||
2737 | * @return the meta object for class '<em>Real Type Reference</em>'. | ||
2738 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference | ||
2739 | * @generated | ||
2740 | */ | ||
2741 | EClass getRealTypeReference(); | ||
2742 | |||
2743 | /** | ||
2744 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function <em>Function</em>}'. | ||
2745 | * <!-- begin-user-doc --> | ||
2746 | * <!-- end-user-doc --> | ||
2747 | * @return the meta object for class '<em>Function</em>'. | ||
2748 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function | ||
2749 | * @generated | ||
2750 | */ | ||
2751 | EClass getFunction(); | ||
2752 | |||
2753 | /** | ||
2754 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getRange <em>Range</em>}'. | ||
2755 | * <!-- begin-user-doc --> | ||
2756 | * <!-- end-user-doc --> | ||
2757 | * @return the meta object for the containment reference '<em>Range</em>'. | ||
2758 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getRange() | ||
2759 | * @see #getFunction() | ||
2760 | * @generated | ||
2761 | */ | ||
2762 | EReference getFunction_Range(); | ||
2763 | |||
2764 | /** | ||
2765 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getParameters <em>Parameters</em>}'. | ||
2766 | * <!-- begin-user-doc --> | ||
2767 | * <!-- end-user-doc --> | ||
2768 | * @return the meta object for the containment reference list '<em>Parameters</em>'. | ||
2769 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getParameters() | ||
2770 | * @see #getFunction() | ||
2771 | * @generated | ||
2772 | */ | ||
2773 | EReference getFunction_Parameters(); | ||
2774 | |||
2775 | /** | ||
2776 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations <em>Annotations</em>}'. | ||
2777 | * <!-- begin-user-doc --> | ||
2778 | * <!-- end-user-doc --> | ||
2779 | * @return the meta object for the reference list '<em>Annotations</em>'. | ||
2780 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations() | ||
2781 | * @see #getFunction() | ||
2782 | * @generated | ||
2783 | */ | ||
2784 | EReference getFunction_Annotations(); | ||
2785 | |||
2786 | /** | ||
2787 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term <em>Term</em>}'. | ||
2788 | * <!-- begin-user-doc --> | ||
2789 | * <!-- end-user-doc --> | ||
2790 | * @return the meta object for class '<em>Term</em>'. | ||
2791 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term | ||
2792 | * @generated | ||
2793 | */ | ||
2794 | EClass getTerm(); | ||
2795 | |||
2796 | /** | ||
2797 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration <em>Symbolic Declaration</em>}'. | ||
2798 | * <!-- begin-user-doc --> | ||
2799 | * <!-- end-user-doc --> | ||
2800 | * @return the meta object for class '<em>Symbolic Declaration</em>'. | ||
2801 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration | ||
2802 | * @generated | ||
2803 | */ | ||
2804 | EClass getSymbolicDeclaration(); | ||
2805 | |||
2806 | /** | ||
2807 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration#getName <em>Name</em>}'. | ||
2808 | * <!-- begin-user-doc --> | ||
2809 | * <!-- end-user-doc --> | ||
2810 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2811 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration#getName() | ||
2812 | * @see #getSymbolicDeclaration() | ||
2813 | * @generated | ||
2814 | */ | ||
2815 | EAttribute getSymbolicDeclaration_Name(); | ||
2816 | |||
2817 | /** | ||
2818 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue <em>Symbolic Value</em>}'. | ||
2819 | * <!-- begin-user-doc --> | ||
2820 | * <!-- end-user-doc --> | ||
2821 | * @return the meta object for class '<em>Symbolic Value</em>'. | ||
2822 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue | ||
2823 | * @generated | ||
2824 | */ | ||
2825 | EClass getSymbolicValue(); | ||
2826 | |||
2827 | /** | ||
2828 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getSymbolicReference <em>Symbolic Reference</em>}'. | ||
2829 | * <!-- begin-user-doc --> | ||
2830 | * <!-- end-user-doc --> | ||
2831 | * @return the meta object for the reference '<em>Symbolic Reference</em>'. | ||
2832 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getSymbolicReference() | ||
2833 | * @see #getSymbolicValue() | ||
2834 | * @generated | ||
2835 | */ | ||
2836 | EReference getSymbolicValue_SymbolicReference(); | ||
2837 | |||
2838 | /** | ||
2839 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getParameterSubstitutions <em>Parameter Substitutions</em>}'. | ||
2840 | * <!-- begin-user-doc --> | ||
2841 | * <!-- end-user-doc --> | ||
2842 | * @return the meta object for the containment reference list '<em>Parameter Substitutions</em>'. | ||
2843 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getParameterSubstitutions() | ||
2844 | * @see #getSymbolicValue() | ||
2845 | * @generated | ||
2846 | */ | ||
2847 | EReference getSymbolicValue_ParameterSubstitutions(); | ||
2848 | |||
2849 | /** | ||
2850 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm <em>Atomic Term</em>}'. | ||
2851 | * <!-- begin-user-doc --> | ||
2852 | * <!-- end-user-doc --> | ||
2853 | * @return the meta object for class '<em>Atomic Term</em>'. | ||
2854 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm | ||
2855 | * @generated | ||
2856 | */ | ||
2857 | EClass getAtomicTerm(); | ||
2858 | |||
2859 | /** | ||
2860 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral <em>Int Literal</em>}'. | ||
2861 | * <!-- begin-user-doc --> | ||
2862 | * <!-- end-user-doc --> | ||
2863 | * @return the meta object for class '<em>Int Literal</em>'. | ||
2864 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral | ||
2865 | * @generated | ||
2866 | */ | ||
2867 | EClass getIntLiteral(); | ||
2868 | |||
2869 | /** | ||
2870 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral#getValue <em>Value</em>}'. | ||
2871 | * <!-- begin-user-doc --> | ||
2872 | * <!-- end-user-doc --> | ||
2873 | * @return the meta object for the attribute '<em>Value</em>'. | ||
2874 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral#getValue() | ||
2875 | * @see #getIntLiteral() | ||
2876 | * @generated | ||
2877 | */ | ||
2878 | EAttribute getIntLiteral_Value(); | ||
2879 | |||
2880 | /** | ||
2881 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral <em>Bool Literal</em>}'. | ||
2882 | * <!-- begin-user-doc --> | ||
2883 | * <!-- end-user-doc --> | ||
2884 | * @return the meta object for class '<em>Bool Literal</em>'. | ||
2885 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral | ||
2886 | * @generated | ||
2887 | */ | ||
2888 | EClass getBoolLiteral(); | ||
2889 | |||
2890 | /** | ||
2891 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral#isValue <em>Value</em>}'. | ||
2892 | * <!-- begin-user-doc --> | ||
2893 | * <!-- end-user-doc --> | ||
2894 | * @return the meta object for the attribute '<em>Value</em>'. | ||
2895 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral#isValue() | ||
2896 | * @see #getBoolLiteral() | ||
2897 | * @generated | ||
2898 | */ | ||
2899 | EAttribute getBoolLiteral_Value(); | ||
2900 | |||
2901 | /** | ||
2902 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral <em>Real Literal</em>}'. | ||
2903 | * <!-- begin-user-doc --> | ||
2904 | * <!-- end-user-doc --> | ||
2905 | * @return the meta object for class '<em>Real Literal</em>'. | ||
2906 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral | ||
2907 | * @generated | ||
2908 | */ | ||
2909 | EClass getRealLiteral(); | ||
2910 | |||
2911 | /** | ||
2912 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral#getValue <em>Value</em>}'. | ||
2913 | * <!-- begin-user-doc --> | ||
2914 | * <!-- end-user-doc --> | ||
2915 | * @return the meta object for the attribute '<em>Value</em>'. | ||
2916 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral#getValue() | ||
2917 | * @see #getRealLiteral() | ||
2918 | * @generated | ||
2919 | */ | ||
2920 | EAttribute getRealLiteral_Value(); | ||
2921 | |||
2922 | /** | ||
2923 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable <em>Variable</em>}'. | ||
2924 | * <!-- begin-user-doc --> | ||
2925 | * <!-- end-user-doc --> | ||
2926 | * @return the meta object for class '<em>Variable</em>'. | ||
2927 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable | ||
2928 | * @generated | ||
2929 | */ | ||
2930 | EClass getVariable(); | ||
2931 | |||
2932 | /** | ||
2933 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable#getRange <em>Range</em>}'. | ||
2934 | * <!-- begin-user-doc --> | ||
2935 | * <!-- end-user-doc --> | ||
2936 | * @return the meta object for the containment reference '<em>Range</em>'. | ||
2937 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable#getRange() | ||
2938 | * @see #getVariable() | ||
2939 | * @generated | ||
2940 | */ | ||
2941 | EReference getVariable_Range(); | ||
2942 | |||
2943 | /** | ||
2944 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression <em>Quantified Expression</em>}'. | ||
2945 | * <!-- begin-user-doc --> | ||
2946 | * <!-- end-user-doc --> | ||
2947 | * @return the meta object for class '<em>Quantified Expression</em>'. | ||
2948 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression | ||
2949 | * @generated | ||
2950 | */ | ||
2951 | EClass getQuantifiedExpression(); | ||
2952 | |||
2953 | /** | ||
2954 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getQuantifiedVariables <em>Quantified Variables</em>}'. | ||
2955 | * <!-- begin-user-doc --> | ||
2956 | * <!-- end-user-doc --> | ||
2957 | * @return the meta object for the containment reference list '<em>Quantified Variables</em>'. | ||
2958 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getQuantifiedVariables() | ||
2959 | * @see #getQuantifiedExpression() | ||
2960 | * @generated | ||
2961 | */ | ||
2962 | EReference getQuantifiedExpression_QuantifiedVariables(); | ||
2963 | |||
2964 | /** | ||
2965 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getExpression <em>Expression</em>}'. | ||
2966 | * <!-- begin-user-doc --> | ||
2967 | * <!-- end-user-doc --> | ||
2968 | * @return the meta object for the containment reference '<em>Expression</em>'. | ||
2969 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getExpression() | ||
2970 | * @see #getQuantifiedExpression() | ||
2971 | * @generated | ||
2972 | */ | ||
2973 | EReference getQuantifiedExpression_Expression(); | ||
2974 | |||
2975 | /** | ||
2976 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists <em>Exists</em>}'. | ||
2977 | * <!-- begin-user-doc --> | ||
2978 | * <!-- end-user-doc --> | ||
2979 | * @return the meta object for class '<em>Exists</em>'. | ||
2980 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists | ||
2981 | * @generated | ||
2982 | */ | ||
2983 | EClass getExists(); | ||
2984 | |||
2985 | /** | ||
2986 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall <em>Forall</em>}'. | ||
2987 | * <!-- begin-user-doc --> | ||
2988 | * <!-- end-user-doc --> | ||
2989 | * @return the meta object for class '<em>Forall</em>'. | ||
2990 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall | ||
2991 | * @generated | ||
2992 | */ | ||
2993 | EClass getForall(); | ||
2994 | |||
2995 | /** | ||
2996 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation <em>Bool Operation</em>}'. | ||
2997 | * <!-- begin-user-doc --> | ||
2998 | * <!-- end-user-doc --> | ||
2999 | * @return the meta object for class '<em>Bool Operation</em>'. | ||
3000 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation | ||
3001 | * @generated | ||
3002 | */ | ||
3003 | EClass getBoolOperation(); | ||
3004 | |||
3005 | /** | ||
3006 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And <em>And</em>}'. | ||
3007 | * <!-- begin-user-doc --> | ||
3008 | * <!-- end-user-doc --> | ||
3009 | * @return the meta object for class '<em>And</em>'. | ||
3010 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And | ||
3011 | * @generated | ||
3012 | */ | ||
3013 | EClass getAnd(); | ||
3014 | |||
3015 | /** | ||
3016 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And#getOperands <em>Operands</em>}'. | ||
3017 | * <!-- begin-user-doc --> | ||
3018 | * <!-- end-user-doc --> | ||
3019 | * @return the meta object for the containment reference list '<em>Operands</em>'. | ||
3020 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And#getOperands() | ||
3021 | * @see #getAnd() | ||
3022 | * @generated | ||
3023 | */ | ||
3024 | EReference getAnd_Operands(); | ||
3025 | |||
3026 | /** | ||
3027 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or <em>Or</em>}'. | ||
3028 | * <!-- begin-user-doc --> | ||
3029 | * <!-- end-user-doc --> | ||
3030 | * @return the meta object for class '<em>Or</em>'. | ||
3031 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or | ||
3032 | * @generated | ||
3033 | */ | ||
3034 | EClass getOr(); | ||
3035 | |||
3036 | /** | ||
3037 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or#getOperands <em>Operands</em>}'. | ||
3038 | * <!-- begin-user-doc --> | ||
3039 | * <!-- end-user-doc --> | ||
3040 | * @return the meta object for the containment reference list '<em>Operands</em>'. | ||
3041 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or#getOperands() | ||
3042 | * @see #getOr() | ||
3043 | * @generated | ||
3044 | */ | ||
3045 | EReference getOr_Operands(); | ||
3046 | |||
3047 | /** | ||
3048 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl <em>Impl</em>}'. | ||
3049 | * <!-- begin-user-doc --> | ||
3050 | * <!-- end-user-doc --> | ||
3051 | * @return the meta object for class '<em>Impl</em>'. | ||
3052 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl | ||
3053 | * @generated | ||
3054 | */ | ||
3055 | EClass getImpl(); | ||
3056 | |||
3057 | /** | ||
3058 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getLeftOperand <em>Left Operand</em>}'. | ||
3059 | * <!-- begin-user-doc --> | ||
3060 | * <!-- end-user-doc --> | ||
3061 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3062 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getLeftOperand() | ||
3063 | * @see #getImpl() | ||
3064 | * @generated | ||
3065 | */ | ||
3066 | EReference getImpl_LeftOperand(); | ||
3067 | |||
3068 | /** | ||
3069 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getRightOperand <em>Right Operand</em>}'. | ||
3070 | * <!-- begin-user-doc --> | ||
3071 | * <!-- end-user-doc --> | ||
3072 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3073 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getRightOperand() | ||
3074 | * @see #getImpl() | ||
3075 | * @generated | ||
3076 | */ | ||
3077 | EReference getImpl_RightOperand(); | ||
3078 | |||
3079 | /** | ||
3080 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not <em>Not</em>}'. | ||
3081 | * <!-- begin-user-doc --> | ||
3082 | * <!-- end-user-doc --> | ||
3083 | * @return the meta object for class '<em>Not</em>'. | ||
3084 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not | ||
3085 | * @generated | ||
3086 | */ | ||
3087 | EClass getNot(); | ||
3088 | |||
3089 | /** | ||
3090 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not#getOperand <em>Operand</em>}'. | ||
3091 | * <!-- begin-user-doc --> | ||
3092 | * <!-- end-user-doc --> | ||
3093 | * @return the meta object for the containment reference '<em>Operand</em>'. | ||
3094 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not#getOperand() | ||
3095 | * @see #getNot() | ||
3096 | * @generated | ||
3097 | */ | ||
3098 | EReference getNot_Operand(); | ||
3099 | |||
3100 | /** | ||
3101 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff <em>Iff</em>}'. | ||
3102 | * <!-- begin-user-doc --> | ||
3103 | * <!-- end-user-doc --> | ||
3104 | * @return the meta object for class '<em>Iff</em>'. | ||
3105 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff | ||
3106 | * @generated | ||
3107 | */ | ||
3108 | EClass getIff(); | ||
3109 | |||
3110 | /** | ||
3111 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getLeftOperand <em>Left Operand</em>}'. | ||
3112 | * <!-- begin-user-doc --> | ||
3113 | * <!-- end-user-doc --> | ||
3114 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3115 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getLeftOperand() | ||
3116 | * @see #getIff() | ||
3117 | * @generated | ||
3118 | */ | ||
3119 | EReference getIff_LeftOperand(); | ||
3120 | |||
3121 | /** | ||
3122 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getRightOperand <em>Right Operand</em>}'. | ||
3123 | * <!-- begin-user-doc --> | ||
3124 | * <!-- end-user-doc --> | ||
3125 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3126 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getRightOperand() | ||
3127 | * @see #getIff() | ||
3128 | * @generated | ||
3129 | */ | ||
3130 | EReference getIff_RightOperand(); | ||
3131 | |||
3132 | /** | ||
3133 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation <em>Primitive Relation</em>}'. | ||
3134 | * <!-- begin-user-doc --> | ||
3135 | * <!-- end-user-doc --> | ||
3136 | * @return the meta object for class '<em>Primitive Relation</em>'. | ||
3137 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation | ||
3138 | * @generated | ||
3139 | */ | ||
3140 | EClass getPrimitiveRelation(); | ||
3141 | |||
3142 | /** | ||
3143 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals <em>Equals</em>}'. | ||
3144 | * <!-- begin-user-doc --> | ||
3145 | * <!-- end-user-doc --> | ||
3146 | * @return the meta object for class '<em>Equals</em>'. | ||
3147 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals | ||
3148 | * @generated | ||
3149 | */ | ||
3150 | EClass getEquals(); | ||
3151 | |||
3152 | /** | ||
3153 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getLeftOperand <em>Left Operand</em>}'. | ||
3154 | * <!-- begin-user-doc --> | ||
3155 | * <!-- end-user-doc --> | ||
3156 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3157 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getLeftOperand() | ||
3158 | * @see #getEquals() | ||
3159 | * @generated | ||
3160 | */ | ||
3161 | EReference getEquals_LeftOperand(); | ||
3162 | |||
3163 | /** | ||
3164 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getRightOperand <em>Right Operand</em>}'. | ||
3165 | * <!-- begin-user-doc --> | ||
3166 | * <!-- end-user-doc --> | ||
3167 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3168 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getRightOperand() | ||
3169 | * @see #getEquals() | ||
3170 | * @generated | ||
3171 | */ | ||
3172 | EReference getEquals_RightOperand(); | ||
3173 | |||
3174 | /** | ||
3175 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct <em>Distinct</em>}'. | ||
3176 | * <!-- begin-user-doc --> | ||
3177 | * <!-- end-user-doc --> | ||
3178 | * @return the meta object for class '<em>Distinct</em>'. | ||
3179 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct | ||
3180 | * @generated | ||
3181 | */ | ||
3182 | EClass getDistinct(); | ||
3183 | |||
3184 | /** | ||
3185 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct#getOperands <em>Operands</em>}'. | ||
3186 | * <!-- begin-user-doc --> | ||
3187 | * <!-- end-user-doc --> | ||
3188 | * @return the meta object for the containment reference list '<em>Operands</em>'. | ||
3189 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct#getOperands() | ||
3190 | * @see #getDistinct() | ||
3191 | * @generated | ||
3192 | */ | ||
3193 | EReference getDistinct_Operands(); | ||
3194 | |||
3195 | /** | ||
3196 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan <em>Less Than</em>}'. | ||
3197 | * <!-- begin-user-doc --> | ||
3198 | * <!-- end-user-doc --> | ||
3199 | * @return the meta object for class '<em>Less Than</em>'. | ||
3200 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan | ||
3201 | * @generated | ||
3202 | */ | ||
3203 | EClass getLessThan(); | ||
3204 | |||
3205 | /** | ||
3206 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getLeftOperand <em>Left Operand</em>}'. | ||
3207 | * <!-- begin-user-doc --> | ||
3208 | * <!-- end-user-doc --> | ||
3209 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3210 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getLeftOperand() | ||
3211 | * @see #getLessThan() | ||
3212 | * @generated | ||
3213 | */ | ||
3214 | EReference getLessThan_LeftOperand(); | ||
3215 | |||
3216 | /** | ||
3217 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getRightOperand <em>Right Operand</em>}'. | ||
3218 | * <!-- begin-user-doc --> | ||
3219 | * <!-- end-user-doc --> | ||
3220 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3221 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getRightOperand() | ||
3222 | * @see #getLessThan() | ||
3223 | * @generated | ||
3224 | */ | ||
3225 | EReference getLessThan_RightOperand(); | ||
3226 | |||
3227 | /** | ||
3228 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan <em>More Than</em>}'. | ||
3229 | * <!-- begin-user-doc --> | ||
3230 | * <!-- end-user-doc --> | ||
3231 | * @return the meta object for class '<em>More Than</em>'. | ||
3232 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan | ||
3233 | * @generated | ||
3234 | */ | ||
3235 | EClass getMoreThan(); | ||
3236 | |||
3237 | /** | ||
3238 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getLeftOperand <em>Left Operand</em>}'. | ||
3239 | * <!-- begin-user-doc --> | ||
3240 | * <!-- end-user-doc --> | ||
3241 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3242 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getLeftOperand() | ||
3243 | * @see #getMoreThan() | ||
3244 | * @generated | ||
3245 | */ | ||
3246 | EReference getMoreThan_LeftOperand(); | ||
3247 | |||
3248 | /** | ||
3249 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getRightOperand <em>Right Operand</em>}'. | ||
3250 | * <!-- begin-user-doc --> | ||
3251 | * <!-- end-user-doc --> | ||
3252 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3253 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getRightOperand() | ||
3254 | * @see #getMoreThan() | ||
3255 | * @generated | ||
3256 | */ | ||
3257 | EReference getMoreThan_RightOperand(); | ||
3258 | |||
3259 | /** | ||
3260 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan <em>Less Or Equal Than</em>}'. | ||
3261 | * <!-- begin-user-doc --> | ||
3262 | * <!-- end-user-doc --> | ||
3263 | * @return the meta object for class '<em>Less Or Equal Than</em>'. | ||
3264 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan | ||
3265 | * @generated | ||
3266 | */ | ||
3267 | EClass getLessOrEqualThan(); | ||
3268 | |||
3269 | /** | ||
3270 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getLeftOperand <em>Left Operand</em>}'. | ||
3271 | * <!-- begin-user-doc --> | ||
3272 | * <!-- end-user-doc --> | ||
3273 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3274 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getLeftOperand() | ||
3275 | * @see #getLessOrEqualThan() | ||
3276 | * @generated | ||
3277 | */ | ||
3278 | EReference getLessOrEqualThan_LeftOperand(); | ||
3279 | |||
3280 | /** | ||
3281 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getRightOperand <em>Right Operand</em>}'. | ||
3282 | * <!-- begin-user-doc --> | ||
3283 | * <!-- end-user-doc --> | ||
3284 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3285 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getRightOperand() | ||
3286 | * @see #getLessOrEqualThan() | ||
3287 | * @generated | ||
3288 | */ | ||
3289 | EReference getLessOrEqualThan_RightOperand(); | ||
3290 | |||
3291 | /** | ||
3292 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan <em>More Or Equal Than</em>}'. | ||
3293 | * <!-- begin-user-doc --> | ||
3294 | * <!-- end-user-doc --> | ||
3295 | * @return the meta object for class '<em>More Or Equal Than</em>'. | ||
3296 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan | ||
3297 | * @generated | ||
3298 | */ | ||
3299 | EClass getMoreOrEqualThan(); | ||
3300 | |||
3301 | /** | ||
3302 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getLeftOperand <em>Left Operand</em>}'. | ||
3303 | * <!-- begin-user-doc --> | ||
3304 | * <!-- end-user-doc --> | ||
3305 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3306 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getLeftOperand() | ||
3307 | * @see #getMoreOrEqualThan() | ||
3308 | * @generated | ||
3309 | */ | ||
3310 | EReference getMoreOrEqualThan_LeftOperand(); | ||
3311 | |||
3312 | /** | ||
3313 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getRightOperand <em>Right Operand</em>}'. | ||
3314 | * <!-- begin-user-doc --> | ||
3315 | * <!-- end-user-doc --> | ||
3316 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3317 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getRightOperand() | ||
3318 | * @see #getMoreOrEqualThan() | ||
3319 | * @generated | ||
3320 | */ | ||
3321 | EReference getMoreOrEqualThan_RightOperand(); | ||
3322 | |||
3323 | /** | ||
3324 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation <em>Int Operation</em>}'. | ||
3325 | * <!-- begin-user-doc --> | ||
3326 | * <!-- end-user-doc --> | ||
3327 | * @return the meta object for class '<em>Int Operation</em>'. | ||
3328 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation | ||
3329 | * @generated | ||
3330 | */ | ||
3331 | EClass getIntOperation(); | ||
3332 | |||
3333 | /** | ||
3334 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getLeftOperand <em>Left Operand</em>}'. | ||
3335 | * <!-- begin-user-doc --> | ||
3336 | * <!-- end-user-doc --> | ||
3337 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3338 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getLeftOperand() | ||
3339 | * @see #getIntOperation() | ||
3340 | * @generated | ||
3341 | */ | ||
3342 | EReference getIntOperation_LeftOperand(); | ||
3343 | |||
3344 | /** | ||
3345 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getRightOperand <em>Right Operand</em>}'. | ||
3346 | * <!-- begin-user-doc --> | ||
3347 | * <!-- end-user-doc --> | ||
3348 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3349 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getRightOperand() | ||
3350 | * @see #getIntOperation() | ||
3351 | * @generated | ||
3352 | */ | ||
3353 | EReference getIntOperation_RightOperand(); | ||
3354 | |||
3355 | /** | ||
3356 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus <em>Plus</em>}'. | ||
3357 | * <!-- begin-user-doc --> | ||
3358 | * <!-- end-user-doc --> | ||
3359 | * @return the meta object for class '<em>Plus</em>'. | ||
3360 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus | ||
3361 | * @generated | ||
3362 | */ | ||
3363 | EClass getPlus(); | ||
3364 | |||
3365 | /** | ||
3366 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus <em>Minus</em>}'. | ||
3367 | * <!-- begin-user-doc --> | ||
3368 | * <!-- end-user-doc --> | ||
3369 | * @return the meta object for class '<em>Minus</em>'. | ||
3370 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus | ||
3371 | * @generated | ||
3372 | */ | ||
3373 | EClass getMinus(); | ||
3374 | |||
3375 | /** | ||
3376 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply <em>Multiply</em>}'. | ||
3377 | * <!-- begin-user-doc --> | ||
3378 | * <!-- end-user-doc --> | ||
3379 | * @return the meta object for class '<em>Multiply</em>'. | ||
3380 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply | ||
3381 | * @generated | ||
3382 | */ | ||
3383 | EClass getMultiply(); | ||
3384 | |||
3385 | /** | ||
3386 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison <em>Divison</em>}'. | ||
3387 | * <!-- begin-user-doc --> | ||
3388 | * <!-- end-user-doc --> | ||
3389 | * @return the meta object for class '<em>Divison</em>'. | ||
3390 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison | ||
3391 | * @generated | ||
3392 | */ | ||
3393 | EClass getDivison(); | ||
3394 | |||
3395 | /** | ||
3396 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod <em>Mod</em>}'. | ||
3397 | * <!-- begin-user-doc --> | ||
3398 | * <!-- end-user-doc --> | ||
3399 | * @return the meta object for class '<em>Mod</em>'. | ||
3400 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod | ||
3401 | * @generated | ||
3402 | */ | ||
3403 | EClass getMod(); | ||
3404 | |||
3405 | /** | ||
3406 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor <em>Type Descriptor</em>}'. | ||
3407 | * <!-- begin-user-doc --> | ||
3408 | * <!-- end-user-doc --> | ||
3409 | * @return the meta object for class '<em>Type Descriptor</em>'. | ||
3410 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor | ||
3411 | * @generated | ||
3412 | */ | ||
3413 | EClass getTypeDescriptor(); | ||
3414 | |||
3415 | /** | ||
3416 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription <em>Term Description</em>}'. | ||
3417 | * <!-- begin-user-doc --> | ||
3418 | * <!-- end-user-doc --> | ||
3419 | * @return the meta object for class '<em>Term Description</em>'. | ||
3420 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription | ||
3421 | * @generated | ||
3422 | */ | ||
3423 | EClass getTermDescription(); | ||
3424 | |||
3425 | /** | ||
3426 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion <em>Assertion</em>}'. | ||
3427 | * <!-- begin-user-doc --> | ||
3428 | * <!-- end-user-doc --> | ||
3429 | * @return the meta object for class '<em>Assertion</em>'. | ||
3430 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion | ||
3431 | * @generated | ||
3432 | */ | ||
3433 | EClass getAssertion(); | ||
3434 | |||
3435 | /** | ||
3436 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getValue <em>Value</em>}'. | ||
3437 | * <!-- begin-user-doc --> | ||
3438 | * <!-- end-user-doc --> | ||
3439 | * @return the meta object for the containment reference '<em>Value</em>'. | ||
3440 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getValue() | ||
3441 | * @see #getAssertion() | ||
3442 | * @generated | ||
3443 | */ | ||
3444 | EReference getAssertion_Value(); | ||
3445 | |||
3446 | /** | ||
3447 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getName <em>Name</em>}'. | ||
3448 | * <!-- begin-user-doc --> | ||
3449 | * <!-- end-user-doc --> | ||
3450 | * @return the meta object for the attribute '<em>Name</em>'. | ||
3451 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getName() | ||
3452 | * @see #getAssertion() | ||
3453 | * @generated | ||
3454 | */ | ||
3455 | EAttribute getAssertion_Name(); | ||
3456 | |||
3457 | /** | ||
3458 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getAnnotations <em>Annotations</em>}'. | ||
3459 | * <!-- begin-user-doc --> | ||
3460 | * <!-- end-user-doc --> | ||
3461 | * @return the meta object for the reference list '<em>Annotations</em>'. | ||
3462 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getAnnotations() | ||
3463 | * @see #getAssertion() | ||
3464 | * @generated | ||
3465 | */ | ||
3466 | EReference getAssertion_Annotations(); | ||
3467 | |||
3468 | /** | ||
3469 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation <em>Relation</em>}'. | ||
3470 | * <!-- begin-user-doc --> | ||
3471 | * <!-- end-user-doc --> | ||
3472 | * @return the meta object for class '<em>Relation</em>'. | ||
3473 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation | ||
3474 | * @generated | ||
3475 | */ | ||
3476 | EClass getRelation(); | ||
3477 | |||
3478 | /** | ||
3479 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getParameters <em>Parameters</em>}'. | ||
3480 | * <!-- begin-user-doc --> | ||
3481 | * <!-- end-user-doc --> | ||
3482 | * @return the meta object for the containment reference list '<em>Parameters</em>'. | ||
3483 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getParameters() | ||
3484 | * @see #getRelation() | ||
3485 | * @generated | ||
3486 | */ | ||
3487 | EReference getRelation_Parameters(); | ||
3488 | |||
3489 | /** | ||
3490 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations <em>Annotations</em>}'. | ||
3491 | * <!-- begin-user-doc --> | ||
3492 | * <!-- end-user-doc --> | ||
3493 | * @return the meta object for the reference list '<em>Annotations</em>'. | ||
3494 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations() | ||
3495 | * @see #getRelation() | ||
3496 | * @generated | ||
3497 | */ | ||
3498 | EReference getRelation_Annotations(); | ||
3499 | |||
3500 | /** | ||
3501 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant <em>Constant</em>}'. | ||
3502 | * <!-- begin-user-doc --> | ||
3503 | * <!-- end-user-doc --> | ||
3504 | * @return the meta object for class '<em>Constant</em>'. | ||
3505 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant | ||
3506 | * @generated | ||
3507 | */ | ||
3508 | EClass getConstant(); | ||
3509 | |||
3510 | /** | ||
3511 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getType <em>Type</em>}'. | ||
3512 | * <!-- begin-user-doc --> | ||
3513 | * <!-- end-user-doc --> | ||
3514 | * @return the meta object for the containment reference '<em>Type</em>'. | ||
3515 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getType() | ||
3516 | * @see #getConstant() | ||
3517 | * @generated | ||
3518 | */ | ||
3519 | EReference getConstant_Type(); | ||
3520 | |||
3521 | /** | ||
3522 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations <em>Annotations</em>}'. | ||
3523 | * <!-- begin-user-doc --> | ||
3524 | * <!-- end-user-doc --> | ||
3525 | * @return the meta object for the reference list '<em>Annotations</em>'. | ||
3526 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations() | ||
3527 | * @see #getConstant() | ||
3528 | * @generated | ||
3529 | */ | ||
3530 | EReference getConstant_Annotations(); | ||
3531 | |||
3532 | /** | ||
3533 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition <em>Constant Definition</em>}'. | ||
3534 | * <!-- begin-user-doc --> | ||
3535 | * <!-- end-user-doc --> | ||
3536 | * @return the meta object for class '<em>Constant Definition</em>'. | ||
3537 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition | ||
3538 | * @generated | ||
3539 | */ | ||
3540 | EClass getConstantDefinition(); | ||
3541 | |||
3542 | /** | ||
3543 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getValue <em>Value</em>}'. | ||
3544 | * <!-- begin-user-doc --> | ||
3545 | * <!-- end-user-doc --> | ||
3546 | * @return the meta object for the containment reference '<em>Value</em>'. | ||
3547 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getValue() | ||
3548 | * @see #getConstantDefinition() | ||
3549 | * @generated | ||
3550 | */ | ||
3551 | EReference getConstantDefinition_Value(); | ||
3552 | |||
3553 | /** | ||
3554 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getDefines <em>Defines</em>}'. | ||
3555 | * <!-- begin-user-doc --> | ||
3556 | * <!-- end-user-doc --> | ||
3557 | * @return the meta object for the reference '<em>Defines</em>'. | ||
3558 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getDefines() | ||
3559 | * @see #getConstantDefinition() | ||
3560 | * @generated | ||
3561 | */ | ||
3562 | EReference getConstantDefinition_Defines(); | ||
3563 | |||
3564 | /** | ||
3565 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition <em>Relation Definition</em>}'. | ||
3566 | * <!-- begin-user-doc --> | ||
3567 | * <!-- end-user-doc --> | ||
3568 | * @return the meta object for class '<em>Relation Definition</em>'. | ||
3569 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition | ||
3570 | * @generated | ||
3571 | */ | ||
3572 | EClass getRelationDefinition(); | ||
3573 | |||
3574 | /** | ||
3575 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getVariables <em>Variables</em>}'. | ||
3576 | * <!-- begin-user-doc --> | ||
3577 | * <!-- end-user-doc --> | ||
3578 | * @return the meta object for the containment reference list '<em>Variables</em>'. | ||
3579 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getVariables() | ||
3580 | * @see #getRelationDefinition() | ||
3581 | * @generated | ||
3582 | */ | ||
3583 | EReference getRelationDefinition_Variables(); | ||
3584 | |||
3585 | /** | ||
3586 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getValue <em>Value</em>}'. | ||
3587 | * <!-- begin-user-doc --> | ||
3588 | * <!-- end-user-doc --> | ||
3589 | * @return the meta object for the containment reference '<em>Value</em>'. | ||
3590 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getValue() | ||
3591 | * @see #getRelationDefinition() | ||
3592 | * @generated | ||
3593 | */ | ||
3594 | EReference getRelationDefinition_Value(); | ||
3595 | |||
3596 | /** | ||
3597 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getDefines <em>Defines</em>}'. | ||
3598 | * <!-- begin-user-doc --> | ||
3599 | * <!-- end-user-doc --> | ||
3600 | * @return the meta object for the reference '<em>Defines</em>'. | ||
3601 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getDefines() | ||
3602 | * @see #getRelationDefinition() | ||
3603 | * @generated | ||
3604 | */ | ||
3605 | EReference getRelationDefinition_Defines(); | ||
3606 | |||
3607 | /** | ||
3608 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition <em>Function Definition</em>}'. | ||
3609 | * <!-- begin-user-doc --> | ||
3610 | * <!-- end-user-doc --> | ||
3611 | * @return the meta object for class '<em>Function Definition</em>'. | ||
3612 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition | ||
3613 | * @generated | ||
3614 | */ | ||
3615 | EClass getFunctionDefinition(); | ||
3616 | |||
3617 | /** | ||
3618 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getVariable <em>Variable</em>}'. | ||
3619 | * <!-- begin-user-doc --> | ||
3620 | * <!-- end-user-doc --> | ||
3621 | * @return the meta object for the containment reference list '<em>Variable</em>'. | ||
3622 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getVariable() | ||
3623 | * @see #getFunctionDefinition() | ||
3624 | * @generated | ||
3625 | */ | ||
3626 | EReference getFunctionDefinition_Variable(); | ||
3627 | |||
3628 | /** | ||
3629 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getDefines <em>Defines</em>}'. | ||
3630 | * <!-- begin-user-doc --> | ||
3631 | * <!-- end-user-doc --> | ||
3632 | * @return the meta object for the reference '<em>Defines</em>'. | ||
3633 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getDefines() | ||
3634 | * @see #getFunctionDefinition() | ||
3635 | * @generated | ||
3636 | */ | ||
3637 | EReference getFunctionDefinition_Defines(); | ||
3638 | |||
3639 | /** | ||
3640 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getValue <em>Value</em>}'. | ||
3641 | * <!-- begin-user-doc --> | ||
3642 | * <!-- end-user-doc --> | ||
3643 | * @return the meta object for the containment reference '<em>Value</em>'. | ||
3644 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getValue() | ||
3645 | * @see #getFunctionDefinition() | ||
3646 | * @generated | ||
3647 | */ | ||
3648 | EReference getFunctionDefinition_Value(); | ||
3649 | |||
3650 | /** | ||
3651 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse <em>If Then Else</em>}'. | ||
3652 | * <!-- begin-user-doc --> | ||
3653 | * <!-- end-user-doc --> | ||
3654 | * @return the meta object for class '<em>If Then Else</em>'. | ||
3655 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse | ||
3656 | * @generated | ||
3657 | */ | ||
3658 | EClass getIfThenElse(); | ||
3659 | |||
3660 | /** | ||
3661 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getCondition <em>Condition</em>}'. | ||
3662 | * <!-- begin-user-doc --> | ||
3663 | * <!-- end-user-doc --> | ||
3664 | * @return the meta object for the containment reference '<em>Condition</em>'. | ||
3665 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getCondition() | ||
3666 | * @see #getIfThenElse() | ||
3667 | * @generated | ||
3668 | */ | ||
3669 | EReference getIfThenElse_Condition(); | ||
3670 | |||
3671 | /** | ||
3672 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfTrue <em>If True</em>}'. | ||
3673 | * <!-- begin-user-doc --> | ||
3674 | * <!-- end-user-doc --> | ||
3675 | * @return the meta object for the containment reference '<em>If True</em>'. | ||
3676 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfTrue() | ||
3677 | * @see #getIfThenElse() | ||
3678 | * @generated | ||
3679 | */ | ||
3680 | EReference getIfThenElse_IfTrue(); | ||
3681 | |||
3682 | /** | ||
3683 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfFalse <em>If False</em>}'. | ||
3684 | * <!-- begin-user-doc --> | ||
3685 | * <!-- end-user-doc --> | ||
3686 | * @return the meta object for the containment reference '<em>If False</em>'. | ||
3687 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfFalse() | ||
3688 | * @see #getIfThenElse() | ||
3689 | * @generated | ||
3690 | */ | ||
3691 | EReference getIfThenElse_IfFalse(); | ||
3692 | |||
3693 | /** | ||
3694 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration <em>Constant Declaration</em>}'. | ||
3695 | * <!-- begin-user-doc --> | ||
3696 | * <!-- end-user-doc --> | ||
3697 | * @return the meta object for class '<em>Constant Declaration</em>'. | ||
3698 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration | ||
3699 | * @generated | ||
3700 | */ | ||
3701 | EClass getConstantDeclaration(); | ||
3702 | |||
3703 | /** | ||
3704 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration <em>Relation Declaration</em>}'. | ||
3705 | * <!-- begin-user-doc --> | ||
3706 | * <!-- end-user-doc --> | ||
3707 | * @return the meta object for class '<em>Relation Declaration</em>'. | ||
3708 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration | ||
3709 | * @generated | ||
3710 | */ | ||
3711 | EClass getRelationDeclaration(); | ||
3712 | |||
3713 | /** | ||
3714 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration <em>Function Declaration</em>}'. | ||
3715 | * <!-- begin-user-doc --> | ||
3716 | * <!-- end-user-doc --> | ||
3717 | * @return the meta object for class '<em>Function Declaration</em>'. | ||
3718 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration | ||
3719 | * @generated | ||
3720 | */ | ||
3721 | EClass getFunctionDeclaration(); | ||
3722 | |||
3723 | /** | ||
3724 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration <em>Type Declaration</em>}'. | ||
3725 | * <!-- begin-user-doc --> | ||
3726 | * <!-- end-user-doc --> | ||
3727 | * @return the meta object for class '<em>Type Declaration</em>'. | ||
3728 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration | ||
3729 | * @generated | ||
3730 | */ | ||
3731 | EClass getTypeDeclaration(); | ||
3732 | |||
3733 | /** | ||
3734 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted <em>Unknown Because Uninterpreted</em>}'. | ||
3735 | * <!-- begin-user-doc --> | ||
3736 | * <!-- end-user-doc --> | ||
3737 | * @return the meta object for class '<em>Unknown Because Uninterpreted</em>'. | ||
3738 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted | ||
3739 | * @generated | ||
3740 | */ | ||
3741 | EClass getUnknownBecauseUninterpreted(); | ||
3742 | |||
3743 | /** | ||
3744 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf <em>Instance Of</em>}'. | ||
3745 | * <!-- begin-user-doc --> | ||
3746 | * <!-- end-user-doc --> | ||
3747 | * @return the meta object for class '<em>Instance Of</em>'. | ||
3748 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf | ||
3749 | * @generated | ||
3750 | */ | ||
3751 | EClass getInstanceOf(); | ||
3752 | |||
3753 | /** | ||
3754 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getValue <em>Value</em>}'. | ||
3755 | * <!-- begin-user-doc --> | ||
3756 | * <!-- end-user-doc --> | ||
3757 | * @return the meta object for the containment reference '<em>Value</em>'. | ||
3758 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getValue() | ||
3759 | * @see #getInstanceOf() | ||
3760 | * @generated | ||
3761 | */ | ||
3762 | EReference getInstanceOf_Value(); | ||
3763 | |||
3764 | /** | ||
3765 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getRange <em>Range</em>}'. | ||
3766 | * <!-- begin-user-doc --> | ||
3767 | * <!-- end-user-doc --> | ||
3768 | * @return the meta object for the containment reference '<em>Range</em>'. | ||
3769 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getRange() | ||
3770 | * @see #getInstanceOf() | ||
3771 | * @generated | ||
3772 | */ | ||
3773 | EReference getInstanceOf_Range(); | ||
3774 | |||
3775 | /** | ||
3776 | * Returns the factory that creates the instances of the model. | ||
3777 | * <!-- begin-user-doc --> | ||
3778 | * <!-- end-user-doc --> | ||
3779 | * @return the factory that creates the instances of the model. | ||
3780 | * @generated | ||
3781 | */ | ||
3782 | LogiclanguageFactory getLogiclanguageFactory(); | ||
3783 | |||
3784 | /** | ||
3785 | * <!-- begin-user-doc --> | ||
3786 | * Defines literals for the meta objects that represent | ||
3787 | * <ul> | ||
3788 | * <li>each class,</li> | ||
3789 | * <li>each feature of each class,</li> | ||
3790 | * <li>each operation of each class,</li> | ||
3791 | * <li>each enum,</li> | ||
3792 | * <li>and each data type</li> | ||
3793 | * </ul> | ||
3794 | * <!-- end-user-doc --> | ||
3795 | * @generated | ||
3796 | */ | ||
3797 | interface Literals { | ||
3798 | /** | ||
3799 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl <em>Type</em>}' class. | ||
3800 | * <!-- begin-user-doc --> | ||
3801 | * <!-- end-user-doc --> | ||
3802 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl | ||
3803 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getType() | ||
3804 | * @generated | ||
3805 | */ | ||
3806 | EClass TYPE = eINSTANCE.getType(); | ||
3807 | |||
3808 | /** | ||
3809 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
3810 | * <!-- begin-user-doc --> | ||
3811 | * <!-- end-user-doc --> | ||
3812 | * @generated | ||
3813 | */ | ||
3814 | EAttribute TYPE__NAME = eINSTANCE.getType_Name(); | ||
3815 | |||
3816 | /** | ||
3817 | * The meta object literal for the '<em><b>Subtypes</b></em>' reference list feature. | ||
3818 | * <!-- begin-user-doc --> | ||
3819 | * <!-- end-user-doc --> | ||
3820 | * @generated | ||
3821 | */ | ||
3822 | EReference TYPE__SUBTYPES = eINSTANCE.getType_Subtypes(); | ||
3823 | |||
3824 | /** | ||
3825 | * The meta object literal for the '<em><b>Supertypes</b></em>' reference list feature. | ||
3826 | * <!-- begin-user-doc --> | ||
3827 | * <!-- end-user-doc --> | ||
3828 | * @generated | ||
3829 | */ | ||
3830 | EReference TYPE__SUPERTYPES = eINSTANCE.getType_Supertypes(); | ||
3831 | |||
3832 | /** | ||
3833 | * The meta object literal for the '<em><b>Is Abstract</b></em>' attribute feature. | ||
3834 | * <!-- begin-user-doc --> | ||
3835 | * <!-- end-user-doc --> | ||
3836 | * @generated | ||
3837 | */ | ||
3838 | EAttribute TYPE__IS_ABSTRACT = eINSTANCE.getType_IsAbstract(); | ||
3839 | |||
3840 | /** | ||
3841 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DefinedElementImpl <em>Defined Element</em>}' class. | ||
3842 | * <!-- begin-user-doc --> | ||
3843 | * <!-- end-user-doc --> | ||
3844 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DefinedElementImpl | ||
3845 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDefinedElement() | ||
3846 | * @generated | ||
3847 | */ | ||
3848 | EClass DEFINED_ELEMENT = eINSTANCE.getDefinedElement(); | ||
3849 | |||
3850 | /** | ||
3851 | * The meta object literal for the '<em><b>Defined In Type</b></em>' reference list feature. | ||
3852 | * <!-- begin-user-doc --> | ||
3853 | * <!-- end-user-doc --> | ||
3854 | * @generated | ||
3855 | */ | ||
3856 | EReference DEFINED_ELEMENT__DEFINED_IN_TYPE = eINSTANCE.getDefinedElement_DefinedInType(); | ||
3857 | |||
3858 | /** | ||
3859 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl <em>Type Definition</em>}' class. | ||
3860 | * <!-- begin-user-doc --> | ||
3861 | * <!-- end-user-doc --> | ||
3862 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl | ||
3863 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDefinition() | ||
3864 | * @generated | ||
3865 | */ | ||
3866 | EClass TYPE_DEFINITION = eINSTANCE.getTypeDefinition(); | ||
3867 | |||
3868 | /** | ||
3869 | * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. | ||
3870 | * <!-- begin-user-doc --> | ||
3871 | * <!-- end-user-doc --> | ||
3872 | * @generated | ||
3873 | */ | ||
3874 | EReference TYPE_DEFINITION__ELEMENTS = eINSTANCE.getTypeDefinition_Elements(); | ||
3875 | |||
3876 | /** | ||
3877 | * The meta object literal for the '<em><b>Defines</b></em>' reference feature. | ||
3878 | * <!-- begin-user-doc --> | ||
3879 | * <!-- end-user-doc --> | ||
3880 | * @generated | ||
3881 | */ | ||
3882 | EReference TYPE_DEFINITION__DEFINES = eINSTANCE.getTypeDefinition_Defines(); | ||
3883 | |||
3884 | /** | ||
3885 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeReferenceImpl <em>Type Reference</em>}' class. | ||
3886 | * <!-- begin-user-doc --> | ||
3887 | * <!-- end-user-doc --> | ||
3888 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeReferenceImpl | ||
3889 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeReference() | ||
3890 | * @generated | ||
3891 | */ | ||
3892 | EClass TYPE_REFERENCE = eINSTANCE.getTypeReference(); | ||
3893 | |||
3894 | /** | ||
3895 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl <em>Complex Type Reference</em>}' class. | ||
3896 | * <!-- begin-user-doc --> | ||
3897 | * <!-- end-user-doc --> | ||
3898 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl | ||
3899 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getComplexTypeReference() | ||
3900 | * @generated | ||
3901 | */ | ||
3902 | EClass COMPLEX_TYPE_REFERENCE = eINSTANCE.getComplexTypeReference(); | ||
3903 | |||
3904 | /** | ||
3905 | * The meta object literal for the '<em><b>Referred</b></em>' reference feature. | ||
3906 | * <!-- begin-user-doc --> | ||
3907 | * <!-- end-user-doc --> | ||
3908 | * @generated | ||
3909 | */ | ||
3910 | EReference COMPLEX_TYPE_REFERENCE__REFERRED = eINSTANCE.getComplexTypeReference_Referred(); | ||
3911 | |||
3912 | /** | ||
3913 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveTypeReferenceImpl <em>Primitive Type Reference</em>}' class. | ||
3914 | * <!-- begin-user-doc --> | ||
3915 | * <!-- end-user-doc --> | ||
3916 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveTypeReferenceImpl | ||
3917 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPrimitiveTypeReference() | ||
3918 | * @generated | ||
3919 | */ | ||
3920 | EClass PRIMITIVE_TYPE_REFERENCE = eINSTANCE.getPrimitiveTypeReference(); | ||
3921 | |||
3922 | /** | ||
3923 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntTypeReferenceImpl <em>Int Type Reference</em>}' class. | ||
3924 | * <!-- begin-user-doc --> | ||
3925 | * <!-- end-user-doc --> | ||
3926 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntTypeReferenceImpl | ||
3927 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntTypeReference() | ||
3928 | * @generated | ||
3929 | */ | ||
3930 | EClass INT_TYPE_REFERENCE = eINSTANCE.getIntTypeReference(); | ||
3931 | |||
3932 | /** | ||
3933 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolTypeReferenceImpl <em>Bool Type Reference</em>}' class. | ||
3934 | * <!-- begin-user-doc --> | ||
3935 | * <!-- end-user-doc --> | ||
3936 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolTypeReferenceImpl | ||
3937 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolTypeReference() | ||
3938 | * @generated | ||
3939 | */ | ||
3940 | EClass BOOL_TYPE_REFERENCE = eINSTANCE.getBoolTypeReference(); | ||
3941 | |||
3942 | /** | ||
3943 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealTypeReferenceImpl <em>Real Type Reference</em>}' class. | ||
3944 | * <!-- begin-user-doc --> | ||
3945 | * <!-- end-user-doc --> | ||
3946 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealTypeReferenceImpl | ||
3947 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRealTypeReference() | ||
3948 | * @generated | ||
3949 | */ | ||
3950 | EClass REAL_TYPE_REFERENCE = eINSTANCE.getRealTypeReference(); | ||
3951 | |||
3952 | /** | ||
3953 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl <em>Function</em>}' class. | ||
3954 | * <!-- begin-user-doc --> | ||
3955 | * <!-- end-user-doc --> | ||
3956 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl | ||
3957 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunction() | ||
3958 | * @generated | ||
3959 | */ | ||
3960 | EClass FUNCTION = eINSTANCE.getFunction(); | ||
3961 | |||
3962 | /** | ||
3963 | * The meta object literal for the '<em><b>Range</b></em>' containment reference feature. | ||
3964 | * <!-- begin-user-doc --> | ||
3965 | * <!-- end-user-doc --> | ||
3966 | * @generated | ||
3967 | */ | ||
3968 | EReference FUNCTION__RANGE = eINSTANCE.getFunction_Range(); | ||
3969 | |||
3970 | /** | ||
3971 | * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature. | ||
3972 | * <!-- begin-user-doc --> | ||
3973 | * <!-- end-user-doc --> | ||
3974 | * @generated | ||
3975 | */ | ||
3976 | EReference FUNCTION__PARAMETERS = eINSTANCE.getFunction_Parameters(); | ||
3977 | |||
3978 | /** | ||
3979 | * The meta object literal for the '<em><b>Annotations</b></em>' reference list feature. | ||
3980 | * <!-- begin-user-doc --> | ||
3981 | * <!-- end-user-doc --> | ||
3982 | * @generated | ||
3983 | */ | ||
3984 | EReference FUNCTION__ANNOTATIONS = eINSTANCE.getFunction_Annotations(); | ||
3985 | |||
3986 | /** | ||
3987 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TermImpl <em>Term</em>}' class. | ||
3988 | * <!-- begin-user-doc --> | ||
3989 | * <!-- end-user-doc --> | ||
3990 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TermImpl | ||
3991 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTerm() | ||
3992 | * @generated | ||
3993 | */ | ||
3994 | EClass TERM = eINSTANCE.getTerm(); | ||
3995 | |||
3996 | /** | ||
3997 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl <em>Symbolic Declaration</em>}' class. | ||
3998 | * <!-- begin-user-doc --> | ||
3999 | * <!-- end-user-doc --> | ||
4000 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl | ||
4001 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getSymbolicDeclaration() | ||
4002 | * @generated | ||
4003 | */ | ||
4004 | EClass SYMBOLIC_DECLARATION = eINSTANCE.getSymbolicDeclaration(); | ||
4005 | |||
4006 | /** | ||
4007 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
4008 | * <!-- begin-user-doc --> | ||
4009 | * <!-- end-user-doc --> | ||
4010 | * @generated | ||
4011 | */ | ||
4012 | EAttribute SYMBOLIC_DECLARATION__NAME = eINSTANCE.getSymbolicDeclaration_Name(); | ||
4013 | |||
4014 | /** | ||
4015 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl <em>Symbolic Value</em>}' class. | ||
4016 | * <!-- begin-user-doc --> | ||
4017 | * <!-- end-user-doc --> | ||
4018 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl | ||
4019 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getSymbolicValue() | ||
4020 | * @generated | ||
4021 | */ | ||
4022 | EClass SYMBOLIC_VALUE = eINSTANCE.getSymbolicValue(); | ||
4023 | |||
4024 | /** | ||
4025 | * The meta object literal for the '<em><b>Symbolic Reference</b></em>' reference feature. | ||
4026 | * <!-- begin-user-doc --> | ||
4027 | * <!-- end-user-doc --> | ||
4028 | * @generated | ||
4029 | */ | ||
4030 | EReference SYMBOLIC_VALUE__SYMBOLIC_REFERENCE = eINSTANCE.getSymbolicValue_SymbolicReference(); | ||
4031 | |||
4032 | /** | ||
4033 | * The meta object literal for the '<em><b>Parameter Substitutions</b></em>' containment reference list feature. | ||
4034 | * <!-- begin-user-doc --> | ||
4035 | * <!-- end-user-doc --> | ||
4036 | * @generated | ||
4037 | */ | ||
4038 | EReference SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS = eINSTANCE.getSymbolicValue_ParameterSubstitutions(); | ||
4039 | |||
4040 | /** | ||
4041 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AtomicTermImpl <em>Atomic Term</em>}' class. | ||
4042 | * <!-- begin-user-doc --> | ||
4043 | * <!-- end-user-doc --> | ||
4044 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AtomicTermImpl | ||
4045 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAtomicTerm() | ||
4046 | * @generated | ||
4047 | */ | ||
4048 | EClass ATOMIC_TERM = eINSTANCE.getAtomicTerm(); | ||
4049 | |||
4050 | /** | ||
4051 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl <em>Int Literal</em>}' class. | ||
4052 | * <!-- begin-user-doc --> | ||
4053 | * <!-- end-user-doc --> | ||
4054 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl | ||
4055 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntLiteral() | ||
4056 | * @generated | ||
4057 | */ | ||
4058 | EClass INT_LITERAL = eINSTANCE.getIntLiteral(); | ||
4059 | |||
4060 | /** | ||
4061 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
4062 | * <!-- begin-user-doc --> | ||
4063 | * <!-- end-user-doc --> | ||
4064 | * @generated | ||
4065 | */ | ||
4066 | EAttribute INT_LITERAL__VALUE = eINSTANCE.getIntLiteral_Value(); | ||
4067 | |||
4068 | /** | ||
4069 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl <em>Bool Literal</em>}' class. | ||
4070 | * <!-- begin-user-doc --> | ||
4071 | * <!-- end-user-doc --> | ||
4072 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl | ||
4073 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolLiteral() | ||
4074 | * @generated | ||
4075 | */ | ||
4076 | EClass BOOL_LITERAL = eINSTANCE.getBoolLiteral(); | ||
4077 | |||
4078 | /** | ||
4079 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
4080 | * <!-- begin-user-doc --> | ||
4081 | * <!-- end-user-doc --> | ||
4082 | * @generated | ||
4083 | */ | ||
4084 | EAttribute BOOL_LITERAL__VALUE = eINSTANCE.getBoolLiteral_Value(); | ||
4085 | |||
4086 | /** | ||
4087 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealLiteralImpl <em>Real Literal</em>}' class. | ||
4088 | * <!-- begin-user-doc --> | ||
4089 | * <!-- end-user-doc --> | ||
4090 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealLiteralImpl | ||
4091 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRealLiteral() | ||
4092 | * @generated | ||
4093 | */ | ||
4094 | EClass REAL_LITERAL = eINSTANCE.getRealLiteral(); | ||
4095 | |||
4096 | /** | ||
4097 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
4098 | * <!-- begin-user-doc --> | ||
4099 | * <!-- end-user-doc --> | ||
4100 | * @generated | ||
4101 | */ | ||
4102 | EAttribute REAL_LITERAL__VALUE = eINSTANCE.getRealLiteral_Value(); | ||
4103 | |||
4104 | /** | ||
4105 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.VariableImpl <em>Variable</em>}' class. | ||
4106 | * <!-- begin-user-doc --> | ||
4107 | * <!-- end-user-doc --> | ||
4108 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.VariableImpl | ||
4109 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getVariable() | ||
4110 | * @generated | ||
4111 | */ | ||
4112 | EClass VARIABLE = eINSTANCE.getVariable(); | ||
4113 | |||
4114 | /** | ||
4115 | * The meta object literal for the '<em><b>Range</b></em>' containment reference feature. | ||
4116 | * <!-- begin-user-doc --> | ||
4117 | * <!-- end-user-doc --> | ||
4118 | * @generated | ||
4119 | */ | ||
4120 | EReference VARIABLE__RANGE = eINSTANCE.getVariable_Range(); | ||
4121 | |||
4122 | /** | ||
4123 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl <em>Quantified Expression</em>}' class. | ||
4124 | * <!-- begin-user-doc --> | ||
4125 | * <!-- end-user-doc --> | ||
4126 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl | ||
4127 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getQuantifiedExpression() | ||
4128 | * @generated | ||
4129 | */ | ||
4130 | EClass QUANTIFIED_EXPRESSION = eINSTANCE.getQuantifiedExpression(); | ||
4131 | |||
4132 | /** | ||
4133 | * The meta object literal for the '<em><b>Quantified Variables</b></em>' containment reference list feature. | ||
4134 | * <!-- begin-user-doc --> | ||
4135 | * <!-- end-user-doc --> | ||
4136 | * @generated | ||
4137 | */ | ||
4138 | EReference QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES = eINSTANCE.getQuantifiedExpression_QuantifiedVariables(); | ||
4139 | |||
4140 | /** | ||
4141 | * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature. | ||
4142 | * <!-- begin-user-doc --> | ||
4143 | * <!-- end-user-doc --> | ||
4144 | * @generated | ||
4145 | */ | ||
4146 | EReference QUANTIFIED_EXPRESSION__EXPRESSION = eINSTANCE.getQuantifiedExpression_Expression(); | ||
4147 | |||
4148 | /** | ||
4149 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ExistsImpl <em>Exists</em>}' class. | ||
4150 | * <!-- begin-user-doc --> | ||
4151 | * <!-- end-user-doc --> | ||
4152 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ExistsImpl | ||
4153 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getExists() | ||
4154 | * @generated | ||
4155 | */ | ||
4156 | EClass EXISTS = eINSTANCE.getExists(); | ||
4157 | |||
4158 | /** | ||
4159 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ForallImpl <em>Forall</em>}' class. | ||
4160 | * <!-- begin-user-doc --> | ||
4161 | * <!-- end-user-doc --> | ||
4162 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ForallImpl | ||
4163 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getForall() | ||
4164 | * @generated | ||
4165 | */ | ||
4166 | EClass FORALL = eINSTANCE.getForall(); | ||
4167 | |||
4168 | /** | ||
4169 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolOperationImpl <em>Bool Operation</em>}' class. | ||
4170 | * <!-- begin-user-doc --> | ||
4171 | * <!-- end-user-doc --> | ||
4172 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolOperationImpl | ||
4173 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolOperation() | ||
4174 | * @generated | ||
4175 | */ | ||
4176 | EClass BOOL_OPERATION = eINSTANCE.getBoolOperation(); | ||
4177 | |||
4178 | /** | ||
4179 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl <em>And</em>}' class. | ||
4180 | * <!-- begin-user-doc --> | ||
4181 | * <!-- end-user-doc --> | ||
4182 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl | ||
4183 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAnd() | ||
4184 | * @generated | ||
4185 | */ | ||
4186 | EClass AND = eINSTANCE.getAnd(); | ||
4187 | |||
4188 | /** | ||
4189 | * The meta object literal for the '<em><b>Operands</b></em>' containment reference list feature. | ||
4190 | * <!-- begin-user-doc --> | ||
4191 | * <!-- end-user-doc --> | ||
4192 | * @generated | ||
4193 | */ | ||
4194 | EReference AND__OPERANDS = eINSTANCE.getAnd_Operands(); | ||
4195 | |||
4196 | /** | ||
4197 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl <em>Or</em>}' class. | ||
4198 | * <!-- begin-user-doc --> | ||
4199 | * <!-- end-user-doc --> | ||
4200 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl | ||
4201 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getOr() | ||
4202 | * @generated | ||
4203 | */ | ||
4204 | EClass OR = eINSTANCE.getOr(); | ||
4205 | |||
4206 | /** | ||
4207 | * The meta object literal for the '<em><b>Operands</b></em>' containment reference list feature. | ||
4208 | * <!-- begin-user-doc --> | ||
4209 | * <!-- end-user-doc --> | ||
4210 | * @generated | ||
4211 | */ | ||
4212 | EReference OR__OPERANDS = eINSTANCE.getOr_Operands(); | ||
4213 | |||
4214 | /** | ||
4215 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl <em>Impl</em>}' class. | ||
4216 | * <!-- begin-user-doc --> | ||
4217 | * <!-- end-user-doc --> | ||
4218 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl | ||
4219 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getImpl() | ||
4220 | * @generated | ||
4221 | */ | ||
4222 | EClass IMPL = eINSTANCE.getImpl(); | ||
4223 | |||
4224 | /** | ||
4225 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4226 | * <!-- begin-user-doc --> | ||
4227 | * <!-- end-user-doc --> | ||
4228 | * @generated | ||
4229 | */ | ||
4230 | EReference IMPL__LEFT_OPERAND = eINSTANCE.getImpl_LeftOperand(); | ||
4231 | |||
4232 | /** | ||
4233 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4234 | * <!-- begin-user-doc --> | ||
4235 | * <!-- end-user-doc --> | ||
4236 | * @generated | ||
4237 | */ | ||
4238 | EReference IMPL__RIGHT_OPERAND = eINSTANCE.getImpl_RightOperand(); | ||
4239 | |||
4240 | /** | ||
4241 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.NotImpl <em>Not</em>}' class. | ||
4242 | * <!-- begin-user-doc --> | ||
4243 | * <!-- end-user-doc --> | ||
4244 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.NotImpl | ||
4245 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getNot() | ||
4246 | * @generated | ||
4247 | */ | ||
4248 | EClass NOT = eINSTANCE.getNot(); | ||
4249 | |||
4250 | /** | ||
4251 | * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature. | ||
4252 | * <!-- begin-user-doc --> | ||
4253 | * <!-- end-user-doc --> | ||
4254 | * @generated | ||
4255 | */ | ||
4256 | EReference NOT__OPERAND = eINSTANCE.getNot_Operand(); | ||
4257 | |||
4258 | /** | ||
4259 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl <em>Iff</em>}' class. | ||
4260 | * <!-- begin-user-doc --> | ||
4261 | * <!-- end-user-doc --> | ||
4262 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl | ||
4263 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIff() | ||
4264 | * @generated | ||
4265 | */ | ||
4266 | EClass IFF = eINSTANCE.getIff(); | ||
4267 | |||
4268 | /** | ||
4269 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4270 | * <!-- begin-user-doc --> | ||
4271 | * <!-- end-user-doc --> | ||
4272 | * @generated | ||
4273 | */ | ||
4274 | EReference IFF__LEFT_OPERAND = eINSTANCE.getIff_LeftOperand(); | ||
4275 | |||
4276 | /** | ||
4277 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4278 | * <!-- begin-user-doc --> | ||
4279 | * <!-- end-user-doc --> | ||
4280 | * @generated | ||
4281 | */ | ||
4282 | EReference IFF__RIGHT_OPERAND = eINSTANCE.getIff_RightOperand(); | ||
4283 | |||
4284 | /** | ||
4285 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveRelationImpl <em>Primitive Relation</em>}' class. | ||
4286 | * <!-- begin-user-doc --> | ||
4287 | * <!-- end-user-doc --> | ||
4288 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveRelationImpl | ||
4289 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPrimitiveRelation() | ||
4290 | * @generated | ||
4291 | */ | ||
4292 | EClass PRIMITIVE_RELATION = eINSTANCE.getPrimitiveRelation(); | ||
4293 | |||
4294 | /** | ||
4295 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl <em>Equals</em>}' class. | ||
4296 | * <!-- begin-user-doc --> | ||
4297 | * <!-- end-user-doc --> | ||
4298 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl | ||
4299 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getEquals() | ||
4300 | * @generated | ||
4301 | */ | ||
4302 | EClass EQUALS = eINSTANCE.getEquals(); | ||
4303 | |||
4304 | /** | ||
4305 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4306 | * <!-- begin-user-doc --> | ||
4307 | * <!-- end-user-doc --> | ||
4308 | * @generated | ||
4309 | */ | ||
4310 | EReference EQUALS__LEFT_OPERAND = eINSTANCE.getEquals_LeftOperand(); | ||
4311 | |||
4312 | /** | ||
4313 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4314 | * <!-- begin-user-doc --> | ||
4315 | * <!-- end-user-doc --> | ||
4316 | * @generated | ||
4317 | */ | ||
4318 | EReference EQUALS__RIGHT_OPERAND = eINSTANCE.getEquals_RightOperand(); | ||
4319 | |||
4320 | /** | ||
4321 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl <em>Distinct</em>}' class. | ||
4322 | * <!-- begin-user-doc --> | ||
4323 | * <!-- end-user-doc --> | ||
4324 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl | ||
4325 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDistinct() | ||
4326 | * @generated | ||
4327 | */ | ||
4328 | EClass DISTINCT = eINSTANCE.getDistinct(); | ||
4329 | |||
4330 | /** | ||
4331 | * The meta object literal for the '<em><b>Operands</b></em>' containment reference list feature. | ||
4332 | * <!-- begin-user-doc --> | ||
4333 | * <!-- end-user-doc --> | ||
4334 | * @generated | ||
4335 | */ | ||
4336 | EReference DISTINCT__OPERANDS = eINSTANCE.getDistinct_Operands(); | ||
4337 | |||
4338 | /** | ||
4339 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl <em>Less Than</em>}' class. | ||
4340 | * <!-- begin-user-doc --> | ||
4341 | * <!-- end-user-doc --> | ||
4342 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl | ||
4343 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getLessThan() | ||
4344 | * @generated | ||
4345 | */ | ||
4346 | EClass LESS_THAN = eINSTANCE.getLessThan(); | ||
4347 | |||
4348 | /** | ||
4349 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4350 | * <!-- begin-user-doc --> | ||
4351 | * <!-- end-user-doc --> | ||
4352 | * @generated | ||
4353 | */ | ||
4354 | EReference LESS_THAN__LEFT_OPERAND = eINSTANCE.getLessThan_LeftOperand(); | ||
4355 | |||
4356 | /** | ||
4357 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4358 | * <!-- begin-user-doc --> | ||
4359 | * <!-- end-user-doc --> | ||
4360 | * @generated | ||
4361 | */ | ||
4362 | EReference LESS_THAN__RIGHT_OPERAND = eINSTANCE.getLessThan_RightOperand(); | ||
4363 | |||
4364 | /** | ||
4365 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl <em>More Than</em>}' class. | ||
4366 | * <!-- begin-user-doc --> | ||
4367 | * <!-- end-user-doc --> | ||
4368 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl | ||
4369 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMoreThan() | ||
4370 | * @generated | ||
4371 | */ | ||
4372 | EClass MORE_THAN = eINSTANCE.getMoreThan(); | ||
4373 | |||
4374 | /** | ||
4375 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4376 | * <!-- begin-user-doc --> | ||
4377 | * <!-- end-user-doc --> | ||
4378 | * @generated | ||
4379 | */ | ||
4380 | EReference MORE_THAN__LEFT_OPERAND = eINSTANCE.getMoreThan_LeftOperand(); | ||
4381 | |||
4382 | /** | ||
4383 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4384 | * <!-- begin-user-doc --> | ||
4385 | * <!-- end-user-doc --> | ||
4386 | * @generated | ||
4387 | */ | ||
4388 | EReference MORE_THAN__RIGHT_OPERAND = eINSTANCE.getMoreThan_RightOperand(); | ||
4389 | |||
4390 | /** | ||
4391 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl <em>Less Or Equal Than</em>}' class. | ||
4392 | * <!-- begin-user-doc --> | ||
4393 | * <!-- end-user-doc --> | ||
4394 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl | ||
4395 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getLessOrEqualThan() | ||
4396 | * @generated | ||
4397 | */ | ||
4398 | EClass LESS_OR_EQUAL_THAN = eINSTANCE.getLessOrEqualThan(); | ||
4399 | |||
4400 | /** | ||
4401 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4402 | * <!-- begin-user-doc --> | ||
4403 | * <!-- end-user-doc --> | ||
4404 | * @generated | ||
4405 | */ | ||
4406 | EReference LESS_OR_EQUAL_THAN__LEFT_OPERAND = eINSTANCE.getLessOrEqualThan_LeftOperand(); | ||
4407 | |||
4408 | /** | ||
4409 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4410 | * <!-- begin-user-doc --> | ||
4411 | * <!-- end-user-doc --> | ||
4412 | * @generated | ||
4413 | */ | ||
4414 | EReference LESS_OR_EQUAL_THAN__RIGHT_OPERAND = eINSTANCE.getLessOrEqualThan_RightOperand(); | ||
4415 | |||
4416 | /** | ||
4417 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl <em>More Or Equal Than</em>}' class. | ||
4418 | * <!-- begin-user-doc --> | ||
4419 | * <!-- end-user-doc --> | ||
4420 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl | ||
4421 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMoreOrEqualThan() | ||
4422 | * @generated | ||
4423 | */ | ||
4424 | EClass MORE_OR_EQUAL_THAN = eINSTANCE.getMoreOrEqualThan(); | ||
4425 | |||
4426 | /** | ||
4427 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4428 | * <!-- begin-user-doc --> | ||
4429 | * <!-- end-user-doc --> | ||
4430 | * @generated | ||
4431 | */ | ||
4432 | EReference MORE_OR_EQUAL_THAN__LEFT_OPERAND = eINSTANCE.getMoreOrEqualThan_LeftOperand(); | ||
4433 | |||
4434 | /** | ||
4435 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4436 | * <!-- begin-user-doc --> | ||
4437 | * <!-- end-user-doc --> | ||
4438 | * @generated | ||
4439 | */ | ||
4440 | EReference MORE_OR_EQUAL_THAN__RIGHT_OPERAND = eINSTANCE.getMoreOrEqualThan_RightOperand(); | ||
4441 | |||
4442 | /** | ||
4443 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl <em>Int Operation</em>}' class. | ||
4444 | * <!-- begin-user-doc --> | ||
4445 | * <!-- end-user-doc --> | ||
4446 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl | ||
4447 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntOperation() | ||
4448 | * @generated | ||
4449 | */ | ||
4450 | EClass INT_OPERATION = eINSTANCE.getIntOperation(); | ||
4451 | |||
4452 | /** | ||
4453 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4454 | * <!-- begin-user-doc --> | ||
4455 | * <!-- end-user-doc --> | ||
4456 | * @generated | ||
4457 | */ | ||
4458 | EReference INT_OPERATION__LEFT_OPERAND = eINSTANCE.getIntOperation_LeftOperand(); | ||
4459 | |||
4460 | /** | ||
4461 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4462 | * <!-- begin-user-doc --> | ||
4463 | * <!-- end-user-doc --> | ||
4464 | * @generated | ||
4465 | */ | ||
4466 | EReference INT_OPERATION__RIGHT_OPERAND = eINSTANCE.getIntOperation_RightOperand(); | ||
4467 | |||
4468 | /** | ||
4469 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PlusImpl <em>Plus</em>}' class. | ||
4470 | * <!-- begin-user-doc --> | ||
4471 | * <!-- end-user-doc --> | ||
4472 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PlusImpl | ||
4473 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPlus() | ||
4474 | * @generated | ||
4475 | */ | ||
4476 | EClass PLUS = eINSTANCE.getPlus(); | ||
4477 | |||
4478 | /** | ||
4479 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MinusImpl <em>Minus</em>}' class. | ||
4480 | * <!-- begin-user-doc --> | ||
4481 | * <!-- end-user-doc --> | ||
4482 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MinusImpl | ||
4483 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMinus() | ||
4484 | * @generated | ||
4485 | */ | ||
4486 | EClass MINUS = eINSTANCE.getMinus(); | ||
4487 | |||
4488 | /** | ||
4489 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MultiplyImpl <em>Multiply</em>}' class. | ||
4490 | * <!-- begin-user-doc --> | ||
4491 | * <!-- end-user-doc --> | ||
4492 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MultiplyImpl | ||
4493 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMultiply() | ||
4494 | * @generated | ||
4495 | */ | ||
4496 | EClass MULTIPLY = eINSTANCE.getMultiply(); | ||
4497 | |||
4498 | /** | ||
4499 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DivisonImpl <em>Divison</em>}' class. | ||
4500 | * <!-- begin-user-doc --> | ||
4501 | * <!-- end-user-doc --> | ||
4502 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DivisonImpl | ||
4503 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDivison() | ||
4504 | * @generated | ||
4505 | */ | ||
4506 | EClass DIVISON = eINSTANCE.getDivison(); | ||
4507 | |||
4508 | /** | ||
4509 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ModImpl <em>Mod</em>}' class. | ||
4510 | * <!-- begin-user-doc --> | ||
4511 | * <!-- end-user-doc --> | ||
4512 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ModImpl | ||
4513 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMod() | ||
4514 | * @generated | ||
4515 | */ | ||
4516 | EClass MOD = eINSTANCE.getMod(); | ||
4517 | |||
4518 | /** | ||
4519 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor <em>Type Descriptor</em>}' class. | ||
4520 | * <!-- begin-user-doc --> | ||
4521 | * <!-- end-user-doc --> | ||
4522 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor | ||
4523 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDescriptor() | ||
4524 | * @generated | ||
4525 | */ | ||
4526 | EClass TYPE_DESCRIPTOR = eINSTANCE.getTypeDescriptor(); | ||
4527 | |||
4528 | /** | ||
4529 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription <em>Term Description</em>}' class. | ||
4530 | * <!-- begin-user-doc --> | ||
4531 | * <!-- end-user-doc --> | ||
4532 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription | ||
4533 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTermDescription() | ||
4534 | * @generated | ||
4535 | */ | ||
4536 | EClass TERM_DESCRIPTION = eINSTANCE.getTermDescription(); | ||
4537 | |||
4538 | /** | ||
4539 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl <em>Assertion</em>}' class. | ||
4540 | * <!-- begin-user-doc --> | ||
4541 | * <!-- end-user-doc --> | ||
4542 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl | ||
4543 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAssertion() | ||
4544 | * @generated | ||
4545 | */ | ||
4546 | EClass ASSERTION = eINSTANCE.getAssertion(); | ||
4547 | |||
4548 | /** | ||
4549 | * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. | ||
4550 | * <!-- begin-user-doc --> | ||
4551 | * <!-- end-user-doc --> | ||
4552 | * @generated | ||
4553 | */ | ||
4554 | EReference ASSERTION__VALUE = eINSTANCE.getAssertion_Value(); | ||
4555 | |||
4556 | /** | ||
4557 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
4558 | * <!-- begin-user-doc --> | ||
4559 | * <!-- end-user-doc --> | ||
4560 | * @generated | ||
4561 | */ | ||
4562 | EAttribute ASSERTION__NAME = eINSTANCE.getAssertion_Name(); | ||
4563 | |||
4564 | /** | ||
4565 | * The meta object literal for the '<em><b>Annotations</b></em>' reference list feature. | ||
4566 | * <!-- begin-user-doc --> | ||
4567 | * <!-- end-user-doc --> | ||
4568 | * @generated | ||
4569 | */ | ||
4570 | EReference ASSERTION__ANNOTATIONS = eINSTANCE.getAssertion_Annotations(); | ||
4571 | |||
4572 | /** | ||
4573 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl <em>Relation</em>}' class. | ||
4574 | * <!-- begin-user-doc --> | ||
4575 | * <!-- end-user-doc --> | ||
4576 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl | ||
4577 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelation() | ||
4578 | * @generated | ||
4579 | */ | ||
4580 | EClass RELATION = eINSTANCE.getRelation(); | ||
4581 | |||
4582 | /** | ||
4583 | * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature. | ||
4584 | * <!-- begin-user-doc --> | ||
4585 | * <!-- end-user-doc --> | ||
4586 | * @generated | ||
4587 | */ | ||
4588 | EReference RELATION__PARAMETERS = eINSTANCE.getRelation_Parameters(); | ||
4589 | |||
4590 | /** | ||
4591 | * The meta object literal for the '<em><b>Annotations</b></em>' reference list feature. | ||
4592 | * <!-- begin-user-doc --> | ||
4593 | * <!-- end-user-doc --> | ||
4594 | * @generated | ||
4595 | */ | ||
4596 | EReference RELATION__ANNOTATIONS = eINSTANCE.getRelation_Annotations(); | ||
4597 | |||
4598 | /** | ||
4599 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl <em>Constant</em>}' class. | ||
4600 | * <!-- begin-user-doc --> | ||
4601 | * <!-- end-user-doc --> | ||
4602 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl | ||
4603 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstant() | ||
4604 | * @generated | ||
4605 | */ | ||
4606 | EClass CONSTANT = eINSTANCE.getConstant(); | ||
4607 | |||
4608 | /** | ||
4609 | * The meta object literal for the '<em><b>Type</b></em>' containment reference feature. | ||
4610 | * <!-- begin-user-doc --> | ||
4611 | * <!-- end-user-doc --> | ||
4612 | * @generated | ||
4613 | */ | ||
4614 | EReference CONSTANT__TYPE = eINSTANCE.getConstant_Type(); | ||
4615 | |||
4616 | /** | ||
4617 | * The meta object literal for the '<em><b>Annotations</b></em>' reference list feature. | ||
4618 | * <!-- begin-user-doc --> | ||
4619 | * <!-- end-user-doc --> | ||
4620 | * @generated | ||
4621 | */ | ||
4622 | EReference CONSTANT__ANNOTATIONS = eINSTANCE.getConstant_Annotations(); | ||
4623 | |||
4624 | /** | ||
4625 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl <em>Constant Definition</em>}' class. | ||
4626 | * <!-- begin-user-doc --> | ||
4627 | * <!-- end-user-doc --> | ||
4628 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl | ||
4629 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstantDefinition() | ||
4630 | * @generated | ||
4631 | */ | ||
4632 | EClass CONSTANT_DEFINITION = eINSTANCE.getConstantDefinition(); | ||
4633 | |||
4634 | /** | ||
4635 | * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. | ||
4636 | * <!-- begin-user-doc --> | ||
4637 | * <!-- end-user-doc --> | ||
4638 | * @generated | ||
4639 | */ | ||
4640 | EReference CONSTANT_DEFINITION__VALUE = eINSTANCE.getConstantDefinition_Value(); | ||
4641 | |||
4642 | /** | ||
4643 | * The meta object literal for the '<em><b>Defines</b></em>' reference feature. | ||
4644 | * <!-- begin-user-doc --> | ||
4645 | * <!-- end-user-doc --> | ||
4646 | * @generated | ||
4647 | */ | ||
4648 | EReference CONSTANT_DEFINITION__DEFINES = eINSTANCE.getConstantDefinition_Defines(); | ||
4649 | |||
4650 | /** | ||
4651 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl <em>Relation Definition</em>}' class. | ||
4652 | * <!-- begin-user-doc --> | ||
4653 | * <!-- end-user-doc --> | ||
4654 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl | ||
4655 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelationDefinition() | ||
4656 | * @generated | ||
4657 | */ | ||
4658 | EClass RELATION_DEFINITION = eINSTANCE.getRelationDefinition(); | ||
4659 | |||
4660 | /** | ||
4661 | * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature. | ||
4662 | * <!-- begin-user-doc --> | ||
4663 | * <!-- end-user-doc --> | ||
4664 | * @generated | ||
4665 | */ | ||
4666 | EReference RELATION_DEFINITION__VARIABLES = eINSTANCE.getRelationDefinition_Variables(); | ||
4667 | |||
4668 | /** | ||
4669 | * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. | ||
4670 | * <!-- begin-user-doc --> | ||
4671 | * <!-- end-user-doc --> | ||
4672 | * @generated | ||
4673 | */ | ||
4674 | EReference RELATION_DEFINITION__VALUE = eINSTANCE.getRelationDefinition_Value(); | ||
4675 | |||
4676 | /** | ||
4677 | * The meta object literal for the '<em><b>Defines</b></em>' reference feature. | ||
4678 | * <!-- begin-user-doc --> | ||
4679 | * <!-- end-user-doc --> | ||
4680 | * @generated | ||
4681 | */ | ||
4682 | EReference RELATION_DEFINITION__DEFINES = eINSTANCE.getRelationDefinition_Defines(); | ||
4683 | |||
4684 | /** | ||
4685 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl <em>Function Definition</em>}' class. | ||
4686 | * <!-- begin-user-doc --> | ||
4687 | * <!-- end-user-doc --> | ||
4688 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl | ||
4689 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunctionDefinition() | ||
4690 | * @generated | ||
4691 | */ | ||
4692 | EClass FUNCTION_DEFINITION = eINSTANCE.getFunctionDefinition(); | ||
4693 | |||
4694 | /** | ||
4695 | * The meta object literal for the '<em><b>Variable</b></em>' containment reference list feature. | ||
4696 | * <!-- begin-user-doc --> | ||
4697 | * <!-- end-user-doc --> | ||
4698 | * @generated | ||
4699 | */ | ||
4700 | EReference FUNCTION_DEFINITION__VARIABLE = eINSTANCE.getFunctionDefinition_Variable(); | ||
4701 | |||
4702 | /** | ||
4703 | * The meta object literal for the '<em><b>Defines</b></em>' reference feature. | ||
4704 | * <!-- begin-user-doc --> | ||
4705 | * <!-- end-user-doc --> | ||
4706 | * @generated | ||
4707 | */ | ||
4708 | EReference FUNCTION_DEFINITION__DEFINES = eINSTANCE.getFunctionDefinition_Defines(); | ||
4709 | |||
4710 | /** | ||
4711 | * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. | ||
4712 | * <!-- begin-user-doc --> | ||
4713 | * <!-- end-user-doc --> | ||
4714 | * @generated | ||
4715 | */ | ||
4716 | EReference FUNCTION_DEFINITION__VALUE = eINSTANCE.getFunctionDefinition_Value(); | ||
4717 | |||
4718 | /** | ||
4719 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl <em>If Then Else</em>}' class. | ||
4720 | * <!-- begin-user-doc --> | ||
4721 | * <!-- end-user-doc --> | ||
4722 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl | ||
4723 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIfThenElse() | ||
4724 | * @generated | ||
4725 | */ | ||
4726 | EClass IF_THEN_ELSE = eINSTANCE.getIfThenElse(); | ||
4727 | |||
4728 | /** | ||
4729 | * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature. | ||
4730 | * <!-- begin-user-doc --> | ||
4731 | * <!-- end-user-doc --> | ||
4732 | * @generated | ||
4733 | */ | ||
4734 | EReference IF_THEN_ELSE__CONDITION = eINSTANCE.getIfThenElse_Condition(); | ||
4735 | |||
4736 | /** | ||
4737 | * The meta object literal for the '<em><b>If True</b></em>' containment reference feature. | ||
4738 | * <!-- begin-user-doc --> | ||
4739 | * <!-- end-user-doc --> | ||
4740 | * @generated | ||
4741 | */ | ||
4742 | EReference IF_THEN_ELSE__IF_TRUE = eINSTANCE.getIfThenElse_IfTrue(); | ||
4743 | |||
4744 | /** | ||
4745 | * The meta object literal for the '<em><b>If False</b></em>' containment reference feature. | ||
4746 | * <!-- begin-user-doc --> | ||
4747 | * <!-- end-user-doc --> | ||
4748 | * @generated | ||
4749 | */ | ||
4750 | EReference IF_THEN_ELSE__IF_FALSE = eINSTANCE.getIfThenElse_IfFalse(); | ||
4751 | |||
4752 | /** | ||
4753 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDeclarationImpl <em>Constant Declaration</em>}' class. | ||
4754 | * <!-- begin-user-doc --> | ||
4755 | * <!-- end-user-doc --> | ||
4756 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDeclarationImpl | ||
4757 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstantDeclaration() | ||
4758 | * @generated | ||
4759 | */ | ||
4760 | EClass CONSTANT_DECLARATION = eINSTANCE.getConstantDeclaration(); | ||
4761 | |||
4762 | /** | ||
4763 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDeclarationImpl <em>Relation Declaration</em>}' class. | ||
4764 | * <!-- begin-user-doc --> | ||
4765 | * <!-- end-user-doc --> | ||
4766 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDeclarationImpl | ||
4767 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelationDeclaration() | ||
4768 | * @generated | ||
4769 | */ | ||
4770 | EClass RELATION_DECLARATION = eINSTANCE.getRelationDeclaration(); | ||
4771 | |||
4772 | /** | ||
4773 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDeclarationImpl <em>Function Declaration</em>}' class. | ||
4774 | * <!-- begin-user-doc --> | ||
4775 | * <!-- end-user-doc --> | ||
4776 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDeclarationImpl | ||
4777 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunctionDeclaration() | ||
4778 | * @generated | ||
4779 | */ | ||
4780 | EClass FUNCTION_DECLARATION = eINSTANCE.getFunctionDeclaration(); | ||
4781 | |||
4782 | /** | ||
4783 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDeclarationImpl <em>Type Declaration</em>}' class. | ||
4784 | * <!-- begin-user-doc --> | ||
4785 | * <!-- end-user-doc --> | ||
4786 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDeclarationImpl | ||
4787 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDeclaration() | ||
4788 | * @generated | ||
4789 | */ | ||
4790 | EClass TYPE_DECLARATION = eINSTANCE.getTypeDeclaration(); | ||
4791 | |||
4792 | /** | ||
4793 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.UnknownBecauseUninterpretedImpl <em>Unknown Because Uninterpreted</em>}' class. | ||
4794 | * <!-- begin-user-doc --> | ||
4795 | * <!-- end-user-doc --> | ||
4796 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.UnknownBecauseUninterpretedImpl | ||
4797 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getUnknownBecauseUninterpreted() | ||
4798 | * @generated | ||
4799 | */ | ||
4800 | EClass UNKNOWN_BECAUSE_UNINTERPRETED = eINSTANCE.getUnknownBecauseUninterpreted(); | ||
4801 | |||
4802 | /** | ||
4803 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl <em>Instance Of</em>}' class. | ||
4804 | * <!-- begin-user-doc --> | ||
4805 | * <!-- end-user-doc --> | ||
4806 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl | ||
4807 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getInstanceOf() | ||
4808 | * @generated | ||
4809 | */ | ||
4810 | EClass INSTANCE_OF = eINSTANCE.getInstanceOf(); | ||
4811 | |||
4812 | /** | ||
4813 | * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. | ||
4814 | * <!-- begin-user-doc --> | ||
4815 | * <!-- end-user-doc --> | ||
4816 | * @generated | ||
4817 | */ | ||
4818 | EReference INSTANCE_OF__VALUE = eINSTANCE.getInstanceOf_Value(); | ||
4819 | |||
4820 | /** | ||
4821 | * The meta object literal for the '<em><b>Range</b></em>' containment reference feature. | ||
4822 | * <!-- begin-user-doc --> | ||
4823 | * <!-- end-user-doc --> | ||
4824 | * @generated | ||
4825 | */ | ||
4826 | EReference INSTANCE_OF__RANGE = eINSTANCE.getInstanceOf_Range(); | ||
4827 | |||
4828 | } | ||
4829 | |||
4830 | } //LogiclanguagePackage | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Minus.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Minus.java new file mode 100644 index 00000000..569818d5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Minus.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Minus</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMinus() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface Minus extends IntOperation { | ||
17 | } // Minus | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Mod.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Mod.java new file mode 100644 index 00000000..ccd27ec4 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Mod.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Mod</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMod() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface Mod extends IntOperation { | ||
17 | } // Mod | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreOrEqualThan.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreOrEqualThan.java new file mode 100644 index 00000000..7217c472 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreOrEqualThan.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>More Or Equal Than</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreOrEqualThan() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface MoreOrEqualThan extends PrimitiveRelation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
33 | * @see #setLeftOperand(Term) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreOrEqualThan_LeftOperand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Term getLeftOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
45 | * @see #getLeftOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setLeftOperand(Term value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
59 | * @see #setRightOperand(Term) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreOrEqualThan_RightOperand() | ||
61 | * @model containment="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | Term getRightOperand(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getRightOperand <em>Right Operand</em>}' containment reference. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
71 | * @see #getRightOperand() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setRightOperand(Term value); | ||
75 | |||
76 | } // MoreOrEqualThan | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreThan.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreThan.java new file mode 100644 index 00000000..d5535067 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreThan.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>More Than</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreThan() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface MoreThan extends PrimitiveRelation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
33 | * @see #setLeftOperand(Term) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreThan_LeftOperand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Term getLeftOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
45 | * @see #getLeftOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setLeftOperand(Term value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
59 | * @see #setRightOperand(Term) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreThan_RightOperand() | ||
61 | * @model containment="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | Term getRightOperand(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getRightOperand <em>Right Operand</em>}' containment reference. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
71 | * @see #getRightOperand() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setRightOperand(Term value); | ||
75 | |||
76 | } // MoreThan | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Multiply.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Multiply.java new file mode 100644 index 00000000..250c7d67 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Multiply.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Multiply</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMultiply() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface Multiply extends IntOperation { | ||
17 | } // Multiply | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Not.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Not.java new file mode 100644 index 00000000..71ae52e1 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Not.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Not</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not#getOperand <em>Operand</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getNot() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface Not extends BoolOperation { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Operand</em>' containment reference isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Operand</em>' containment reference. | ||
32 | * @see #setOperand(Term) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getNot_Operand() | ||
34 | * @model containment="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | Term getOperand(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not#getOperand <em>Operand</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Operand</em>' containment reference. | ||
44 | * @see #getOperand() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setOperand(Term value); | ||
48 | |||
49 | } // Not | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Or.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Or.java new file mode 100644 index 00000000..4766b99c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Or.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Or</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.logic.model.logiclanguage.Or#getOperands <em>Operands</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getOr() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Or extends BoolOperation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Operands</b></em>' containment reference list. | ||
26 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term}. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Operands</em>' containment reference list 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>Operands</em>' containment reference list. | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getOr_Operands() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | EList<Term> getOperands(); | ||
39 | |||
40 | } // Or | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Plus.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Plus.java new file mode 100644 index 00000000..4e0549b0 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Plus.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Plus</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getPlus() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface Plus extends IntOperation { | ||
17 | } // Plus | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveRelation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveRelation.java new file mode 100644 index 00000000..0cd10d71 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveRelation.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Primitive Relation</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getPrimitiveRelation() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface PrimitiveRelation extends Term { | ||
17 | } // PrimitiveRelation | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveTypeReference.java new file mode 100644 index 00000000..1f29d975 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveTypeReference.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Primitive Type Reference</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getPrimitiveTypeReference() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface PrimitiveTypeReference extends TypeReference { | ||
17 | } // PrimitiveTypeReference | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/QuantifiedExpression.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/QuantifiedExpression.java new file mode 100644 index 00000000..f5fdefb8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/QuantifiedExpression.java | |||
@@ -0,0 +1,67 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Quantified Expression</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.logic.model.logiclanguage.QuantifiedExpression#getQuantifiedVariables <em>Quantified Variables</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getExpression <em>Expression</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getQuantifiedExpression() | ||
21 | * @model abstract="true" | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface QuantifiedExpression extends Term { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Quantified Variables</b></em>' containment reference list. | ||
27 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable}. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Quantified Variables</em>' containment reference list 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>Quantified Variables</em>' containment reference list. | ||
35 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getQuantifiedExpression_QuantifiedVariables() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | EList<Variable> getQuantifiedVariables(); | ||
40 | |||
41 | /** | ||
42 | * Returns the value of the '<em><b>Expression</b></em>' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <p> | ||
45 | * If the meaning of the '<em>Expression</em>' containment reference isn't clear, | ||
46 | * there really should be more of a description here... | ||
47 | * </p> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @return the value of the '<em>Expression</em>' containment reference. | ||
50 | * @see #setExpression(Term) | ||
51 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getQuantifiedExpression_Expression() | ||
52 | * @model containment="true" | ||
53 | * @generated | ||
54 | */ | ||
55 | Term getExpression(); | ||
56 | |||
57 | /** | ||
58 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getExpression <em>Expression</em>}' containment reference. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @param value the new value of the '<em>Expression</em>' containment reference. | ||
62 | * @see #getExpression() | ||
63 | * @generated | ||
64 | */ | ||
65 | void setExpression(Term value); | ||
66 | |||
67 | } // QuantifiedExpression | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealLiteral.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealLiteral.java new file mode 100644 index 00000000..88dcb04b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealLiteral.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import java.math.BigDecimal; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Real Literal</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.logic.model.logiclanguage.RealLiteral#getValue <em>Value</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRealLiteral() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface RealLiteral extends AtomicTerm { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Value</em>' attribute. | ||
33 | * @see #setValue(BigDecimal) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRealLiteral_Value() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | BigDecimal getValue(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral#getValue <em>Value</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Value</em>' attribute. | ||
45 | * @see #getValue() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setValue(BigDecimal value); | ||
49 | |||
50 | } // RealLiteral | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealTypeReference.java new file mode 100644 index 00000000..d7341f49 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealTypeReference.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Real Type Reference</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRealTypeReference() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface RealTypeReference extends PrimitiveTypeReference { | ||
17 | } // RealTypeReference | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Relation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Relation.java new file mode 100644 index 00000000..ee74742a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Relation.java | |||
@@ -0,0 +1,60 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation; | ||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Relation</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.logic.model.logiclanguage.Relation#getParameters <em>Parameters</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations <em>Annotations</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelation() | ||
22 | * @model abstract="true" | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface Relation extends SymbolicDeclaration { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Parameters</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Parameters</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>Parameters</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelation_Parameters() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<TypeReference> getParameters(); | ||
41 | |||
42 | /** | ||
43 | * Returns the value of the '<em><b>Annotations</b></em>' reference list. | ||
44 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation}. | ||
45 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget <em>Target</em>}'. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <p> | ||
48 | * If the meaning of the '<em>Annotations</em>' reference list isn't clear, | ||
49 | * there really should be more of a description here... | ||
50 | * </p> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return the value of the '<em>Annotations</em>' reference list. | ||
53 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelation_Annotations() | ||
54 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget | ||
55 | * @model opposite="target" | ||
56 | * @generated | ||
57 | */ | ||
58 | EList<RelationAnnotation> getAnnotations(); | ||
59 | |||
60 | } // Relation | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDeclaration.java new file mode 100644 index 00000000..b3433536 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDeclaration.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Relation Declaration</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDeclaration() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface RelationDeclaration extends Relation { | ||
17 | } // RelationDeclaration | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDefinition.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDefinition.java new file mode 100644 index 00000000..e1ef3a08 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDefinition.java | |||
@@ -0,0 +1,94 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Relation Definition</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.logic.model.logiclanguage.RelationDefinition#getVariables <em>Variables</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getValue <em>Value</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getDefines <em>Defines</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDefinition() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface RelationDefinition extends Relation { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Variables</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Variables</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>Variables</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDefinition_Variables() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<Variable> getVariables(); | ||
41 | |||
42 | /** | ||
43 | * Returns the value of the '<em><b>Value</b></em>' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <p> | ||
46 | * If the meaning of the '<em>Value</em>' containment reference isn't clear, | ||
47 | * there really should be more of a description here... | ||
48 | * </p> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @return the value of the '<em>Value</em>' containment reference. | ||
51 | * @see #setValue(Term) | ||
52 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDefinition_Value() | ||
53 | * @model containment="true" required="true" | ||
54 | * @generated | ||
55 | */ | ||
56 | Term getValue(); | ||
57 | |||
58 | /** | ||
59 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getValue <em>Value</em>}' containment reference. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @param value the new value of the '<em>Value</em>' containment reference. | ||
63 | * @see #getValue() | ||
64 | * @generated | ||
65 | */ | ||
66 | void setValue(Term value); | ||
67 | |||
68 | /** | ||
69 | * Returns the value of the '<em><b>Defines</b></em>' reference. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <p> | ||
72 | * If the meaning of the '<em>Defines</em>' reference isn't clear, | ||
73 | * there really should be more of a description here... | ||
74 | * </p> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @return the value of the '<em>Defines</em>' reference. | ||
77 | * @see #setDefines(RelationDeclaration) | ||
78 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDefinition_Defines() | ||
79 | * @model | ||
80 | * @generated | ||
81 | */ | ||
82 | RelationDeclaration getDefines(); | ||
83 | |||
84 | /** | ||
85 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getDefines <em>Defines</em>}' reference. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @param value the new value of the '<em>Defines</em>' reference. | ||
89 | * @see #getDefines() | ||
90 | * @generated | ||
91 | */ | ||
92 | void setDefines(RelationDeclaration value); | ||
93 | |||
94 | } // RelationDefinition | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicDeclaration.java new file mode 100644 index 00000000..cfb5e382 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicDeclaration.java | |||
@@ -0,0 +1,48 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Symbolic Declaration</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * <p> | ||
11 | * The following features are supported: | ||
12 | * </p> | ||
13 | * <ul> | ||
14 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration#getName <em>Name</em>}</li> | ||
15 | * </ul> | ||
16 | * | ||
17 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicDeclaration() | ||
18 | * @model abstract="true" | ||
19 | * @generated | ||
20 | */ | ||
21 | public interface SymbolicDeclaration extends TermDescription { | ||
22 | /** | ||
23 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <p> | ||
26 | * If the meaning of the '<em>Name</em>' attribute list isn't clear, | ||
27 | * there really should be more of a description here... | ||
28 | * </p> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Name</em>' attribute. | ||
31 | * @see #setName(String) | ||
32 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicDeclaration_Name() | ||
33 | * @model required="true" | ||
34 | * @generated | ||
35 | */ | ||
36 | String getName(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration#getName <em>Name</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Name</em>' attribute. | ||
43 | * @see #getName() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setName(String value); | ||
47 | |||
48 | } // SymbolicDeclaration | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicValue.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicValue.java new file mode 100644 index 00000000..75d0cb07 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicValue.java | |||
@@ -0,0 +1,67 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Symbolic Value</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.logic.model.logiclanguage.SymbolicValue#getSymbolicReference <em>Symbolic Reference</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getParameterSubstitutions <em>Parameter Substitutions</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicValue() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface SymbolicValue extends Term { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Symbolic Reference</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Symbolic Reference</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>Symbolic Reference</em>' reference. | ||
34 | * @see #setSymbolicReference(SymbolicDeclaration) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicValue_SymbolicReference() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | SymbolicDeclaration getSymbolicReference(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getSymbolicReference <em>Symbolic Reference</em>}' reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Symbolic Reference</em>' reference. | ||
46 | * @see #getSymbolicReference() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setSymbolicReference(SymbolicDeclaration value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Parameter Substitutions</b></em>' containment reference list. | ||
53 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term}. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <p> | ||
56 | * If the meaning of the '<em>Parameter Substitutions</em>' containment reference list isn't clear, | ||
57 | * there really should be more of a description here... | ||
58 | * </p> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @return the value of the '<em>Parameter Substitutions</em>' containment reference list. | ||
61 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicValue_ParameterSubstitutions() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | EList<Term> getParameterSubstitutions(); | ||
66 | |||
67 | } // SymbolicValue | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Term.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Term.java new file mode 100644 index 00000000..1116484d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Term.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Term</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTerm() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface Term extends TermDescription { | ||
17 | } // Term | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TermDescription.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TermDescription.java new file mode 100644 index 00000000..0815fbce --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TermDescription.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Term Description</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTermDescription() | ||
14 | * @model interface="true" abstract="true" | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface TermDescription extends EObject { | ||
18 | } // TermDescription | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Type.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Type.java new file mode 100644 index 00000000..a8acefd1 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Type.java | |||
@@ -0,0 +1,115 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Type</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.logic.model.logiclanguage.Type#getName <em>Name</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes <em>Subtypes</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes <em>Supertypes</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#isIsAbstract <em>Is Abstract</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType() | ||
23 | * @model abstract="true" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface Type extends TypeDescriptor { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Name</em>' attribute 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>Name</em>' attribute. | ||
36 | * @see #setName(String) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType_Name() | ||
38 | * @model required="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | String getName(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getName <em>Name</em>}' attribute. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Name</em>' attribute. | ||
48 | * @see #getName() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setName(String value); | ||
52 | |||
53 | /** | ||
54 | * Returns the value of the '<em><b>Subtypes</b></em>' reference list. | ||
55 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type}. | ||
56 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes <em>Supertypes</em>}'. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <p> | ||
59 | * If the meaning of the '<em>Subtypes</em>' reference list isn't clear, | ||
60 | * there really should be more of a description here... | ||
61 | * </p> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the value of the '<em>Subtypes</em>' reference list. | ||
64 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType_Subtypes() | ||
65 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes | ||
66 | * @model opposite="supertypes" | ||
67 | * @generated | ||
68 | */ | ||
69 | EList<Type> getSubtypes(); | ||
70 | |||
71 | /** | ||
72 | * Returns the value of the '<em><b>Supertypes</b></em>' reference list. | ||
73 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type}. | ||
74 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes <em>Subtypes</em>}'. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <p> | ||
77 | * If the meaning of the '<em>Supertypes</em>' reference list isn't clear, | ||
78 | * there really should be more of a description here... | ||
79 | * </p> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @return the value of the '<em>Supertypes</em>' reference list. | ||
82 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType_Supertypes() | ||
83 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes | ||
84 | * @model opposite="subtypes" | ||
85 | * @generated | ||
86 | */ | ||
87 | EList<Type> getSupertypes(); | ||
88 | |||
89 | /** | ||
90 | * Returns the value of the '<em><b>Is Abstract</b></em>' attribute. | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <p> | ||
93 | * If the meaning of the '<em>Is Abstract</em>' attribute isn't clear, | ||
94 | * there really should be more of a description here... | ||
95 | * </p> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @return the value of the '<em>Is Abstract</em>' attribute. | ||
98 | * @see #setIsAbstract(boolean) | ||
99 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType_IsAbstract() | ||
100 | * @model required="true" | ||
101 | * @generated | ||
102 | */ | ||
103 | boolean isIsAbstract(); | ||
104 | |||
105 | /** | ||
106 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#isIsAbstract <em>Is Abstract</em>}' attribute. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @param value the new value of the '<em>Is Abstract</em>' attribute. | ||
110 | * @see #isIsAbstract() | ||
111 | * @generated | ||
112 | */ | ||
113 | void setIsAbstract(boolean value); | ||
114 | |||
115 | } // Type | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDeclaration.java new file mode 100644 index 00000000..35878371 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDeclaration.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Type Declaration</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDeclaration() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface TypeDeclaration extends Type { | ||
17 | } // TypeDeclaration | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDefinition.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDefinition.java new file mode 100644 index 00000000..e9a6140a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDefinition.java | |||
@@ -0,0 +1,69 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Type Definition</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.logic.model.logiclanguage.TypeDefinition#getElements <em>Elements</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getDefines <em>Defines</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDefinition() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface TypeDefinition extends Type { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Elements</b></em>' reference list. | ||
27 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement}. | ||
28 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement#getDefinedInType <em>Defined In Type</em>}'. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Elements</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>Elements</em>' reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDefinition_Elements() | ||
37 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement#getDefinedInType | ||
38 | * @model opposite="definedInType" | ||
39 | * @generated | ||
40 | */ | ||
41 | EList<DefinedElement> getElements(); | ||
42 | |||
43 | /** | ||
44 | * Returns the value of the '<em><b>Defines</b></em>' reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <p> | ||
47 | * If the meaning of the '<em>Defines</em>' reference isn't clear, | ||
48 | * there really should be more of a description here... | ||
49 | * </p> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Defines</em>' reference. | ||
52 | * @see #setDefines(TypeDeclaration) | ||
53 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDefinition_Defines() | ||
54 | * @model | ||
55 | * @generated | ||
56 | */ | ||
57 | TypeDeclaration getDefines(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getDefines <em>Defines</em>}' reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Defines</em>' reference. | ||
64 | * @see #getDefines() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setDefines(TypeDeclaration value); | ||
68 | |||
69 | } // TypeDefinition | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDescriptor.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDescriptor.java new file mode 100644 index 00000000..309ce93e --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDescriptor.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Type Descriptor</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDescriptor() | ||
14 | * @model interface="true" abstract="true" | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface TypeDescriptor extends EObject { | ||
18 | } // TypeDescriptor | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeReference.java new file mode 100644 index 00000000..05fe3713 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeReference.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Type Reference</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeReference() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface TypeReference extends TypeDescriptor { | ||
17 | } // TypeReference | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/UnknownBecauseUninterpreted.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/UnknownBecauseUninterpreted.java new file mode 100644 index 00000000..cad8fdea --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/UnknownBecauseUninterpreted.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Unknown Because Uninterpreted</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getUnknownBecauseUninterpreted() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface UnknownBecauseUninterpreted extends Term { | ||
17 | } // UnknownBecauseUninterpreted | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Variable.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Variable.java new file mode 100644 index 00000000..0f9663a9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Variable.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Variable</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable#getRange <em>Range</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getVariable() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface Variable extends SymbolicDeclaration { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Range</b></em>' containment reference. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Range</em>' containment reference isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Range</em>' containment reference. | ||
32 | * @see #setRange(TypeReference) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getVariable_Range() | ||
34 | * @model containment="true" required="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | TypeReference getRange(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable#getRange <em>Range</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Range</em>' containment reference. | ||
44 | * @see #getRange() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setRange(TypeReference value); | ||
48 | |||
49 | } // Variable | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AndImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AndImpl.java new file mode 100644 index 00000000..1c36b6d6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AndImpl.java | |||
@@ -0,0 +1,150 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>And</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * </p> | ||
28 | * <ul> | ||
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl#getOperands <em>Operands</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class AndImpl extends BoolOperationImpl implements And { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getOperands() <em>Operands</em>}' containment reference list. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getOperands() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected EList<Term> operands; | ||
44 | |||
45 | /** | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @generated | ||
49 | */ | ||
50 | protected AndImpl() { | ||
51 | super(); | ||
52 | } | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | @Override | ||
60 | protected EClass eStaticClass() { | ||
61 | return LogiclanguagePackage.Literals.AND; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public EList<Term> getOperands() { | ||
70 | if (operands == null) { | ||
71 | operands = new EObjectContainmentEList<Term>(Term.class, this, LogiclanguagePackage.AND__OPERANDS); | ||
72 | } | ||
73 | return operands; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | @Override | ||
82 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
83 | switch (featureID) { | ||
84 | case LogiclanguagePackage.AND__OPERANDS: | ||
85 | return ((InternalEList<?>)getOperands()).basicRemove(otherEnd, msgs); | ||
86 | } | ||
87 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case LogiclanguagePackage.AND__OPERANDS: | ||
99 | return getOperands(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @SuppressWarnings("unchecked") | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case LogiclanguagePackage.AND__OPERANDS: | ||
114 | getOperands().clear(); | ||
115 | getOperands().addAll((Collection<? extends Term>)newValue); | ||
116 | return; | ||
117 | } | ||
118 | super.eSet(featureID, newValue); | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void eUnset(int featureID) { | ||
128 | switch (featureID) { | ||
129 | case LogiclanguagePackage.AND__OPERANDS: | ||
130 | getOperands().clear(); | ||
131 | return; | ||
132 | } | ||
133 | super.eUnset(featureID); | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | @Override | ||
142 | public boolean eIsSet(int featureID) { | ||
143 | switch (featureID) { | ||
144 | case LogiclanguagePackage.AND__OPERANDS: | ||
145 | return operands != null && !operands.isEmpty(); | ||
146 | } | ||
147 | return super.eIsSet(featureID); | ||
148 | } | ||
149 | |||
150 | } //AndImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AssertionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AssertionImpl.java new file mode 100644 index 00000000..254f5240 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AssertionImpl.java | |||
@@ -0,0 +1,303 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
22 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>Assertion</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * </p> | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl#getValue <em>Value</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl#getName <em>Name</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl#getAnnotations <em>Annotations</em>}</li> | ||
36 | * </ul> | ||
37 | * | ||
38 | * @generated | ||
39 | */ | ||
40 | public class AssertionImpl extends MinimalEObjectImpl.Container implements Assertion { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getValue() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected Term value; | ||
50 | |||
51 | /** | ||
52 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getName() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected static final String NAME_EDEFAULT = null; | ||
60 | |||
61 | /** | ||
62 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @see #getName() | ||
66 | * @generated | ||
67 | * @ordered | ||
68 | */ | ||
69 | protected String name = NAME_EDEFAULT; | ||
70 | |||
71 | /** | ||
72 | * The cached value of the '{@link #getAnnotations() <em>Annotations</em>}' reference list. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @see #getAnnotations() | ||
76 | * @generated | ||
77 | * @ordered | ||
78 | */ | ||
79 | protected EList<AssertionAnnotation> annotations; | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | protected AssertionImpl() { | ||
87 | super(); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | protected EClass eStaticClass() { | ||
97 | return LogiclanguagePackage.Literals.ASSERTION; | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | public Term getValue() { | ||
106 | return value; | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { | ||
115 | Term oldValue = value; | ||
116 | value = newValue; | ||
117 | if (eNotificationRequired()) { | ||
118 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.ASSERTION__VALUE, oldValue, newValue); | ||
119 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
120 | } | ||
121 | return msgs; | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | public void setValue(Term newValue) { | ||
130 | if (newValue != value) { | ||
131 | NotificationChain msgs = null; | ||
132 | if (value != null) | ||
133 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.ASSERTION__VALUE, null, msgs); | ||
134 | if (newValue != null) | ||
135 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.ASSERTION__VALUE, null, msgs); | ||
136 | msgs = basicSetValue(newValue, msgs); | ||
137 | if (msgs != null) msgs.dispatch(); | ||
138 | } | ||
139 | else if (eNotificationRequired()) | ||
140 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.ASSERTION__VALUE, newValue, newValue)); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | public String getName() { | ||
149 | return name; | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | */ | ||
157 | public void setName(String newName) { | ||
158 | String oldName = name; | ||
159 | name = newName; | ||
160 | if (eNotificationRequired()) | ||
161 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.ASSERTION__NAME, oldName, name)); | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | public EList<AssertionAnnotation> getAnnotations() { | ||
170 | if (annotations == null) { | ||
171 | annotations = new EObjectWithInverseResolvingEList<AssertionAnnotation>(AssertionAnnotation.class, this, LogiclanguagePackage.ASSERTION__ANNOTATIONS, LogicproblemPackage.ASSERTION_ANNOTATION__TARGET); | ||
172 | } | ||
173 | return annotations; | ||
174 | } | ||
175 | |||
176 | /** | ||
177 | * <!-- begin-user-doc --> | ||
178 | * <!-- end-user-doc --> | ||
179 | * @generated | ||
180 | */ | ||
181 | @SuppressWarnings("unchecked") | ||
182 | @Override | ||
183 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
184 | switch (featureID) { | ||
185 | case LogiclanguagePackage.ASSERTION__ANNOTATIONS: | ||
186 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getAnnotations()).basicAdd(otherEnd, msgs); | ||
187 | } | ||
188 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
189 | } | ||
190 | |||
191 | /** | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @generated | ||
195 | */ | ||
196 | @Override | ||
197 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
198 | switch (featureID) { | ||
199 | case LogiclanguagePackage.ASSERTION__VALUE: | ||
200 | return basicSetValue(null, msgs); | ||
201 | case LogiclanguagePackage.ASSERTION__ANNOTATIONS: | ||
202 | return ((InternalEList<?>)getAnnotations()).basicRemove(otherEnd, msgs); | ||
203 | } | ||
204 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
214 | switch (featureID) { | ||
215 | case LogiclanguagePackage.ASSERTION__VALUE: | ||
216 | return getValue(); | ||
217 | case LogiclanguagePackage.ASSERTION__NAME: | ||
218 | return getName(); | ||
219 | case LogiclanguagePackage.ASSERTION__ANNOTATIONS: | ||
220 | return getAnnotations(); | ||
221 | } | ||
222 | return super.eGet(featureID, resolve, coreType); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @SuppressWarnings("unchecked") | ||
231 | @Override | ||
232 | public void eSet(int featureID, Object newValue) { | ||
233 | switch (featureID) { | ||
234 | case LogiclanguagePackage.ASSERTION__VALUE: | ||
235 | setValue((Term)newValue); | ||
236 | return; | ||
237 | case LogiclanguagePackage.ASSERTION__NAME: | ||
238 | setName((String)newValue); | ||
239 | return; | ||
240 | case LogiclanguagePackage.ASSERTION__ANNOTATIONS: | ||
241 | getAnnotations().clear(); | ||
242 | getAnnotations().addAll((Collection<? extends AssertionAnnotation>)newValue); | ||
243 | return; | ||
244 | } | ||
245 | super.eSet(featureID, newValue); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public void eUnset(int featureID) { | ||
255 | switch (featureID) { | ||
256 | case LogiclanguagePackage.ASSERTION__VALUE: | ||
257 | setValue((Term)null); | ||
258 | return; | ||
259 | case LogiclanguagePackage.ASSERTION__NAME: | ||
260 | setName(NAME_EDEFAULT); | ||
261 | return; | ||
262 | case LogiclanguagePackage.ASSERTION__ANNOTATIONS: | ||
263 | getAnnotations().clear(); | ||
264 | return; | ||
265 | } | ||
266 | super.eUnset(featureID); | ||
267 | } | ||
268 | |||
269 | /** | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @generated | ||
273 | */ | ||
274 | @Override | ||
275 | public boolean eIsSet(int featureID) { | ||
276 | switch (featureID) { | ||
277 | case LogiclanguagePackage.ASSERTION__VALUE: | ||
278 | return value != null; | ||
279 | case LogiclanguagePackage.ASSERTION__NAME: | ||
280 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
281 | case LogiclanguagePackage.ASSERTION__ANNOTATIONS: | ||
282 | return annotations != null && !annotations.isEmpty(); | ||
283 | } | ||
284 | return super.eIsSet(featureID); | ||
285 | } | ||
286 | |||
287 | /** | ||
288 | * <!-- begin-user-doc --> | ||
289 | * <!-- end-user-doc --> | ||
290 | * @generated | ||
291 | */ | ||
292 | @Override | ||
293 | public String toString() { | ||
294 | if (eIsProxy()) return super.toString(); | ||
295 | |||
296 | StringBuffer result = new StringBuffer(super.toString()); | ||
297 | result.append(" (name: "); | ||
298 | result.append(name); | ||
299 | result.append(')'); | ||
300 | return result.toString(); | ||
301 | } | ||
302 | |||
303 | } //AssertionImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AtomicTermImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AtomicTermImpl.java new file mode 100644 index 00000000..7d5ec7d8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AtomicTermImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Atomic Term</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class AtomicTermImpl extends TermImpl implements AtomicTerm { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected AtomicTermImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.ATOMIC_TERM; | ||
35 | } | ||
36 | |||
37 | } //AtomicTermImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolLiteralImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolLiteralImpl.java new file mode 100644 index 00000000..ea7693bb --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolLiteralImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Bool Literal</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl#isValue <em>Value</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class BoolLiteralImpl extends AtomicTermImpl implements BoolLiteral { | ||
28 | /** | ||
29 | * The default value of the '{@link #isValue() <em>Value</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #isValue() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final boolean VALUE_EDEFAULT = false; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #isValue() <em>Value</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #isValue() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected boolean value = VALUE_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected BoolLiteralImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return LogiclanguagePackage.Literals.BOOL_LITERAL; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public boolean isValue() { | ||
73 | return value; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public void setValue(boolean newValue) { | ||
82 | boolean oldValue = value; | ||
83 | value = newValue; | ||
84 | if (eNotificationRequired()) | ||
85 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.BOOL_LITERAL__VALUE, oldValue, value)); | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
95 | switch (featureID) { | ||
96 | case LogiclanguagePackage.BOOL_LITERAL__VALUE: | ||
97 | return isValue(); | ||
98 | } | ||
99 | return super.eGet(featureID, resolve, coreType); | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | @Override | ||
108 | public void eSet(int featureID, Object newValue) { | ||
109 | switch (featureID) { | ||
110 | case LogiclanguagePackage.BOOL_LITERAL__VALUE: | ||
111 | setValue((Boolean)newValue); | ||
112 | return; | ||
113 | } | ||
114 | super.eSet(featureID, newValue); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public void eUnset(int featureID) { | ||
124 | switch (featureID) { | ||
125 | case LogiclanguagePackage.BOOL_LITERAL__VALUE: | ||
126 | setValue(VALUE_EDEFAULT); | ||
127 | return; | ||
128 | } | ||
129 | super.eUnset(featureID); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public boolean eIsSet(int featureID) { | ||
139 | switch (featureID) { | ||
140 | case LogiclanguagePackage.BOOL_LITERAL__VALUE: | ||
141 | return value != VALUE_EDEFAULT; | ||
142 | } | ||
143 | return super.eIsSet(featureID); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public String toString() { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (value: "); | ||
157 | result.append(value); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //BoolLiteralImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolOperationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolOperationImpl.java new file mode 100644 index 00000000..bfe635ec --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolOperationImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Bool Operation</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class BoolOperationImpl extends TermImpl implements BoolOperation { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected BoolOperationImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.BOOL_OPERATION; | ||
35 | } | ||
36 | |||
37 | } //BoolOperationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolTypeReferenceImpl.java new file mode 100644 index 00000000..66aec0e6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolTypeReferenceImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Bool Type Reference</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class BoolTypeReferenceImpl extends PrimitiveTypeReferenceImpl implements BoolTypeReference { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected BoolTypeReferenceImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.BOOL_TYPE_REFERENCE; | ||
35 | } | ||
36 | |||
37 | } //BoolTypeReferenceImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ComplexTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ComplexTypeReferenceImpl.java new file mode 100644 index 00000000..4473b0be --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ComplexTypeReferenceImpl.java | |||
@@ -0,0 +1,156 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; | ||
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 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>Complex Type Reference</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.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl#getReferred <em>Referred</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class ComplexTypeReferenceImpl extends TypeReferenceImpl implements ComplexTypeReference { | ||
30 | /** | ||
31 | * The cached value of the '{@link #getReferred() <em>Referred</em>}' reference. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getReferred() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected Type referred; | ||
39 | |||
40 | /** | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @generated | ||
44 | */ | ||
45 | protected ComplexTypeReferenceImpl() { | ||
46 | super(); | ||
47 | } | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected EClass eStaticClass() { | ||
56 | return LogiclanguagePackage.Literals.COMPLEX_TYPE_REFERENCE; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | public Type getReferred() { | ||
65 | if (referred != null && referred.eIsProxy()) { | ||
66 | InternalEObject oldReferred = (InternalEObject)referred; | ||
67 | referred = (Type)eResolveProxy(oldReferred); | ||
68 | if (referred != oldReferred) { | ||
69 | if (eNotificationRequired()) | ||
70 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED, oldReferred, referred)); | ||
71 | } | ||
72 | } | ||
73 | return referred; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public Type basicGetReferred() { | ||
82 | return referred; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public void setReferred(Type newReferred) { | ||
91 | Type oldReferred = referred; | ||
92 | referred = newReferred; | ||
93 | if (eNotificationRequired()) | ||
94 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED, oldReferred, referred)); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
104 | switch (featureID) { | ||
105 | case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED: | ||
106 | if (resolve) return getReferred(); | ||
107 | return basicGetReferred(); | ||
108 | } | ||
109 | return super.eGet(featureID, resolve, coreType); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public void eSet(int featureID, Object newValue) { | ||
119 | switch (featureID) { | ||
120 | case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED: | ||
121 | setReferred((Type)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 | switch (featureID) { | ||
135 | case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED: | ||
136 | setReferred((Type)null); | ||
137 | return; | ||
138 | } | ||
139 | super.eUnset(featureID); | ||
140 | } | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | @Override | ||
148 | public boolean eIsSet(int featureID) { | ||
149 | switch (featureID) { | ||
150 | case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED: | ||
151 | return referred != null; | ||
152 | } | ||
153 | return super.eIsSet(featureID); | ||
154 | } | ||
155 | |||
156 | } //ComplexTypeReferenceImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDeclarationImpl.java new file mode 100644 index 00000000..ba9094a0 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDeclarationImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Constant Declaration</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ConstantDeclarationImpl extends ConstantImpl implements ConstantDeclaration { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected ConstantDeclarationImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.CONSTANT_DECLARATION; | ||
35 | } | ||
36 | |||
37 | } //ConstantDeclarationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDefinitionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDefinitionImpl.java new file mode 100644 index 00000000..1114508e --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDefinitionImpl.java | |||
@@ -0,0 +1,236 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
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>Constant Definition</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.logic.model.logiclanguage.impl.ConstantDefinitionImpl#getValue <em>Value</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl#getDefines <em>Defines</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class ConstantDefinitionImpl extends ConstantImpl implements ConstantDefinition { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getValue() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Term value; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getDefines() <em>Defines</em>}' reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getDefines() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ConstantDeclaration defines; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ConstantDefinitionImpl() { | ||
59 | super(); | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | @Override | ||
68 | protected EClass eStaticClass() { | ||
69 | return LogiclanguagePackage.Literals.CONSTANT_DEFINITION; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | public Term getValue() { | ||
78 | return value; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { | ||
87 | Term oldValue = value; | ||
88 | value = newValue; | ||
89 | if (eNotificationRequired()) { | ||
90 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT_DEFINITION__VALUE, oldValue, newValue); | ||
91 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
92 | } | ||
93 | return msgs; | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | public void setValue(Term newValue) { | ||
102 | if (newValue != value) { | ||
103 | NotificationChain msgs = null; | ||
104 | if (value != null) | ||
105 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.CONSTANT_DEFINITION__VALUE, null, msgs); | ||
106 | if (newValue != null) | ||
107 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.CONSTANT_DEFINITION__VALUE, null, msgs); | ||
108 | msgs = basicSetValue(newValue, msgs); | ||
109 | if (msgs != null) msgs.dispatch(); | ||
110 | } | ||
111 | else if (eNotificationRequired()) | ||
112 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT_DEFINITION__VALUE, newValue, newValue)); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | public ConstantDeclaration getDefines() { | ||
121 | if (defines != null && defines.eIsProxy()) { | ||
122 | InternalEObject oldDefines = (InternalEObject)defines; | ||
123 | defines = (ConstantDeclaration)eResolveProxy(oldDefines); | ||
124 | if (defines != oldDefines) { | ||
125 | if (eNotificationRequired()) | ||
126 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES, oldDefines, defines)); | ||
127 | } | ||
128 | } | ||
129 | return defines; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public ConstantDeclaration basicGetDefines() { | ||
138 | return defines; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | public void setDefines(ConstantDeclaration newDefines) { | ||
147 | ConstantDeclaration oldDefines = defines; | ||
148 | defines = newDefines; | ||
149 | if (eNotificationRequired()) | ||
150 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES, oldDefines, defines)); | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | */ | ||
158 | @Override | ||
159 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
160 | switch (featureID) { | ||
161 | case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: | ||
162 | return basicSetValue(null, msgs); | ||
163 | } | ||
164 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | @Override | ||
173 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
174 | switch (featureID) { | ||
175 | case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: | ||
176 | return getValue(); | ||
177 | case LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES: | ||
178 | if (resolve) return getDefines(); | ||
179 | return basicGetDefines(); | ||
180 | } | ||
181 | return super.eGet(featureID, resolve, coreType); | ||
182 | } | ||
183 | |||
184 | /** | ||
185 | * <!-- begin-user-doc --> | ||
186 | * <!-- end-user-doc --> | ||
187 | * @generated | ||
188 | */ | ||
189 | @Override | ||
190 | public void eSet(int featureID, Object newValue) { | ||
191 | switch (featureID) { | ||
192 | case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: | ||
193 | setValue((Term)newValue); | ||
194 | return; | ||
195 | case LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES: | ||
196 | setDefines((ConstantDeclaration)newValue); | ||
197 | return; | ||
198 | } | ||
199 | super.eSet(featureID, newValue); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public void eUnset(int featureID) { | ||
209 | switch (featureID) { | ||
210 | case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: | ||
211 | setValue((Term)null); | ||
212 | return; | ||
213 | case LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES: | ||
214 | setDefines((ConstantDeclaration)null); | ||
215 | return; | ||
216 | } | ||
217 | super.eUnset(featureID); | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * <!-- begin-user-doc --> | ||
222 | * <!-- end-user-doc --> | ||
223 | * @generated | ||
224 | */ | ||
225 | @Override | ||
226 | public boolean eIsSet(int featureID) { | ||
227 | switch (featureID) { | ||
228 | case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: | ||
229 | return value != null; | ||
230 | case LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES: | ||
231 | return defines != null; | ||
232 | } | ||
233 | return super.eIsSet(featureID); | ||
234 | } | ||
235 | |||
236 | } //ConstantDefinitionImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantImpl.java new file mode 100644 index 00000000..7c34f669 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantImpl.java | |||
@@ -0,0 +1,233 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; | ||
8 | |||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation; | ||
10 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
11 | import java.util.Collection; | ||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
20 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
21 | import org.eclipse.emf.ecore.util.InternalEList; | ||
22 | |||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * An implementation of the model object '<em><b>Constant</b></em>'. | ||
26 | * <!-- end-user-doc --> | ||
27 | * <p> | ||
28 | * The following features are implemented: | ||
29 | * </p> | ||
30 | * <ul> | ||
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl#getType <em>Type</em>}</li> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl#getAnnotations <em>Annotations</em>}</li> | ||
33 | * </ul> | ||
34 | * | ||
35 | * @generated | ||
36 | */ | ||
37 | public abstract class ConstantImpl extends SymbolicDeclarationImpl implements Constant { | ||
38 | /** | ||
39 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getType() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected TypeReference type; | ||
47 | |||
48 | /** | ||
49 | * The cached value of the '{@link #getAnnotations() <em>Annotations</em>}' reference list. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @see #getAnnotations() | ||
53 | * @generated | ||
54 | * @ordered | ||
55 | */ | ||
56 | protected EList<ConstantAnnotation> annotations; | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | protected ConstantImpl() { | ||
64 | super(); | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | protected EClass eStaticClass() { | ||
74 | return LogiclanguagePackage.Literals.CONSTANT; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | public TypeReference getType() { | ||
83 | return type; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | public NotificationChain basicSetType(TypeReference newType, NotificationChain msgs) { | ||
92 | TypeReference oldType = type; | ||
93 | type = newType; | ||
94 | if (eNotificationRequired()) { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT__TYPE, oldType, newType); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setType(TypeReference newType) { | ||
107 | if (newType != type) { | ||
108 | NotificationChain msgs = null; | ||
109 | if (type != null) | ||
110 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.CONSTANT__TYPE, null, msgs); | ||
111 | if (newType != null) | ||
112 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.CONSTANT__TYPE, null, msgs); | ||
113 | msgs = basicSetType(newType, msgs); | ||
114 | if (msgs != null) msgs.dispatch(); | ||
115 | } | ||
116 | else if (eNotificationRequired()) | ||
117 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT__TYPE, newType, newType)); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | public EList<ConstantAnnotation> getAnnotations() { | ||
126 | if (annotations == null) { | ||
127 | annotations = new EObjectWithInverseResolvingEList<ConstantAnnotation>(ConstantAnnotation.class, this, LogiclanguagePackage.CONSTANT__ANNOTATIONS, LogicproblemPackage.CONSTANT_ANNOTATION__TARGET); | ||
128 | } | ||
129 | return annotations; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @SuppressWarnings("unchecked") | ||
138 | @Override | ||
139 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
140 | switch (featureID) { | ||
141 | case LogiclanguagePackage.CONSTANT__ANNOTATIONS: | ||
142 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getAnnotations()).basicAdd(otherEnd, msgs); | ||
143 | } | ||
144 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | @Override | ||
153 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
154 | switch (featureID) { | ||
155 | case LogiclanguagePackage.CONSTANT__TYPE: | ||
156 | return basicSetType(null, msgs); | ||
157 | case LogiclanguagePackage.CONSTANT__ANNOTATIONS: | ||
158 | return ((InternalEList<?>)getAnnotations()).basicRemove(otherEnd, msgs); | ||
159 | } | ||
160 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
170 | switch (featureID) { | ||
171 | case LogiclanguagePackage.CONSTANT__TYPE: | ||
172 | return getType(); | ||
173 | case LogiclanguagePackage.CONSTANT__ANNOTATIONS: | ||
174 | return getAnnotations(); | ||
175 | } | ||
176 | return super.eGet(featureID, resolve, coreType); | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @SuppressWarnings("unchecked") | ||
185 | @Override | ||
186 | public void eSet(int featureID, Object newValue) { | ||
187 | switch (featureID) { | ||
188 | case LogiclanguagePackage.CONSTANT__TYPE: | ||
189 | setType((TypeReference)newValue); | ||
190 | return; | ||
191 | case LogiclanguagePackage.CONSTANT__ANNOTATIONS: | ||
192 | getAnnotations().clear(); | ||
193 | getAnnotations().addAll((Collection<? extends ConstantAnnotation>)newValue); | ||
194 | return; | ||
195 | } | ||
196 | super.eSet(featureID, newValue); | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | @Override | ||
205 | public void eUnset(int featureID) { | ||
206 | switch (featureID) { | ||
207 | case LogiclanguagePackage.CONSTANT__TYPE: | ||
208 | setType((TypeReference)null); | ||
209 | return; | ||
210 | case LogiclanguagePackage.CONSTANT__ANNOTATIONS: | ||
211 | getAnnotations().clear(); | ||
212 | return; | ||
213 | } | ||
214 | super.eUnset(featureID); | ||
215 | } | ||
216 | |||
217 | /** | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @generated | ||
221 | */ | ||
222 | @Override | ||
223 | public boolean eIsSet(int featureID) { | ||
224 | switch (featureID) { | ||
225 | case LogiclanguagePackage.CONSTANT__TYPE: | ||
226 | return type != null; | ||
227 | case LogiclanguagePackage.CONSTANT__ANNOTATIONS: | ||
228 | return annotations != null && !annotations.isEmpty(); | ||
229 | } | ||
230 | return super.eIsSet(featureID); | ||
231 | } | ||
232 | |||
233 | } //ConstantImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DefinedElementImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DefinedElementImpl.java new file mode 100644 index 00000000..50bdb003 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DefinedElementImpl.java | |||
@@ -0,0 +1,161 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition; | ||
9 | import java.util.Collection; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | import org.eclipse.emf.common.util.EList; | ||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
15 | import org.eclipse.emf.ecore.util.InternalEList; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Defined Element</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.logic.model.logiclanguage.impl.DefinedElementImpl#getDefinedInType <em>Defined In Type</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class DefinedElementImpl extends SymbolicDeclarationImpl implements DefinedElement { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getDefinedInType() <em>Defined In Type</em>}' reference list. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getDefinedInType() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected EList<TypeDefinition> definedInType; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected DefinedElementImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return LogiclanguagePackage.Literals.DEFINED_ELEMENT; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | public EList<TypeDefinition> getDefinedInType() { | ||
66 | if (definedInType == null) { | ||
67 | definedInType = new EObjectWithInverseResolvingEList.ManyInverse<TypeDefinition>(TypeDefinition.class, this, LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE, LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS); | ||
68 | } | ||
69 | return definedInType; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @SuppressWarnings("unchecked") | ||
78 | @Override | ||
79 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
80 | switch (featureID) { | ||
81 | case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: | ||
82 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getDefinedInType()).basicAdd(otherEnd, msgs); | ||
83 | } | ||
84 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | @Override | ||
93 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
94 | switch (featureID) { | ||
95 | case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: | ||
96 | return ((InternalEList<?>)getDefinedInType()).basicRemove(otherEnd, msgs); | ||
97 | } | ||
98 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | @Override | ||
107 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
108 | switch (featureID) { | ||
109 | case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: | ||
110 | return getDefinedInType(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @SuppressWarnings("unchecked") | ||
121 | @Override | ||
122 | public void eSet(int featureID, Object newValue) { | ||
123 | switch (featureID) { | ||
124 | case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: | ||
125 | getDefinedInType().clear(); | ||
126 | getDefinedInType().addAll((Collection<? extends TypeDefinition>)newValue); | ||
127 | return; | ||
128 | } | ||
129 | super.eSet(featureID, newValue); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void eUnset(int featureID) { | ||
139 | switch (featureID) { | ||
140 | case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: | ||
141 | getDefinedInType().clear(); | ||
142 | return; | ||
143 | } | ||
144 | super.eUnset(featureID); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | @Override | ||
153 | public boolean eIsSet(int featureID) { | ||
154 | switch (featureID) { | ||
155 | case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: | ||
156 | return definedInType != null && !definedInType.isEmpty(); | ||
157 | } | ||
158 | return super.eIsSet(featureID); | ||
159 | } | ||
160 | |||
161 | } //DefinedElementImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DistinctImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DistinctImpl.java new file mode 100644 index 00000000..04636b3d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DistinctImpl.java | |||
@@ -0,0 +1,150 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>Distinct</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * </p> | ||
28 | * <ul> | ||
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl#getOperands <em>Operands</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class DistinctImpl extends PrimitiveRelationImpl implements Distinct { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getOperands() <em>Operands</em>}' containment reference list. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getOperands() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected EList<Term> operands; | ||
44 | |||
45 | /** | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @generated | ||
49 | */ | ||
50 | protected DistinctImpl() { | ||
51 | super(); | ||
52 | } | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | @Override | ||
60 | protected EClass eStaticClass() { | ||
61 | return LogiclanguagePackage.Literals.DISTINCT; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public EList<Term> getOperands() { | ||
70 | if (operands == null) { | ||
71 | operands = new EObjectContainmentEList<Term>(Term.class, this, LogiclanguagePackage.DISTINCT__OPERANDS); | ||
72 | } | ||
73 | return operands; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | @Override | ||
82 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
83 | switch (featureID) { | ||
84 | case LogiclanguagePackage.DISTINCT__OPERANDS: | ||
85 | return ((InternalEList<?>)getOperands()).basicRemove(otherEnd, msgs); | ||
86 | } | ||
87 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case LogiclanguagePackage.DISTINCT__OPERANDS: | ||
99 | return getOperands(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @SuppressWarnings("unchecked") | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case LogiclanguagePackage.DISTINCT__OPERANDS: | ||
114 | getOperands().clear(); | ||
115 | getOperands().addAll((Collection<? extends Term>)newValue); | ||
116 | return; | ||
117 | } | ||
118 | super.eSet(featureID, newValue); | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void eUnset(int featureID) { | ||
128 | switch (featureID) { | ||
129 | case LogiclanguagePackage.DISTINCT__OPERANDS: | ||
130 | getOperands().clear(); | ||
131 | return; | ||
132 | } | ||
133 | super.eUnset(featureID); | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | @Override | ||
142 | public boolean eIsSet(int featureID) { | ||
143 | switch (featureID) { | ||
144 | case LogiclanguagePackage.DISTINCT__OPERANDS: | ||
145 | return operands != null && !operands.isEmpty(); | ||
146 | } | ||
147 | return super.eIsSet(featureID); | ||
148 | } | ||
149 | |||
150 | } //DistinctImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DivisonImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DivisonImpl.java new file mode 100644 index 00000000..0ce40588 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DivisonImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Divison</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class DivisonImpl extends IntOperationImpl implements Divison { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected DivisonImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.DIVISON; | ||
35 | } | ||
36 | |||
37 | } //DivisonImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/EqualsImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/EqualsImpl.java new file mode 100644 index 00000000..186f2ee6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/EqualsImpl.java | |||
@@ -0,0 +1,241 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>Equals</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.logic.model.logiclanguage.impl.EqualsImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class EqualsImpl extends PrimitiveRelationImpl implements Equals { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getLeftOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Term leftOperand; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getRightOperand() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected Term rightOperand; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected EqualsImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return LogiclanguagePackage.Literals.EQUALS; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public Term getLeftOperand() { | ||
77 | return leftOperand; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { | ||
86 | Term oldLeftOperand = leftOperand; | ||
87 | leftOperand = newLeftOperand; | ||
88 | if (eNotificationRequired()) { | ||
89 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.EQUALS__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
90 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
91 | } | ||
92 | return msgs; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setLeftOperand(Term newLeftOperand) { | ||
101 | if (newLeftOperand != leftOperand) { | ||
102 | NotificationChain msgs = null; | ||
103 | if (leftOperand != null) | ||
104 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.EQUALS__LEFT_OPERAND, null, msgs); | ||
105 | if (newLeftOperand != null) | ||
106 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.EQUALS__LEFT_OPERAND, null, msgs); | ||
107 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
108 | if (msgs != null) msgs.dispatch(); | ||
109 | } | ||
110 | else if (eNotificationRequired()) | ||
111 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.EQUALS__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public Term getRightOperand() { | ||
120 | return rightOperand; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { | ||
129 | Term oldRightOperand = rightOperand; | ||
130 | rightOperand = newRightOperand; | ||
131 | if (eNotificationRequired()) { | ||
132 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.EQUALS__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
133 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
134 | } | ||
135 | return msgs; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public void setRightOperand(Term newRightOperand) { | ||
144 | if (newRightOperand != rightOperand) { | ||
145 | NotificationChain msgs = null; | ||
146 | if (rightOperand != null) | ||
147 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.EQUALS__RIGHT_OPERAND, null, msgs); | ||
148 | if (newRightOperand != null) | ||
149 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.EQUALS__RIGHT_OPERAND, null, msgs); | ||
150 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
151 | if (msgs != null) msgs.dispatch(); | ||
152 | } | ||
153 | else if (eNotificationRequired()) | ||
154 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.EQUALS__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
164 | switch (featureID) { | ||
165 | case LogiclanguagePackage.EQUALS__LEFT_OPERAND: | ||
166 | return basicSetLeftOperand(null, msgs); | ||
167 | case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: | ||
168 | return basicSetRightOperand(null, msgs); | ||
169 | } | ||
170 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
180 | switch (featureID) { | ||
181 | case LogiclanguagePackage.EQUALS__LEFT_OPERAND: | ||
182 | return getLeftOperand(); | ||
183 | case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: | ||
184 | return getRightOperand(); | ||
185 | } | ||
186 | return super.eGet(featureID, resolve, coreType); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void eSet(int featureID, Object newValue) { | ||
196 | switch (featureID) { | ||
197 | case LogiclanguagePackage.EQUALS__LEFT_OPERAND: | ||
198 | setLeftOperand((Term)newValue); | ||
199 | return; | ||
200 | case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: | ||
201 | setRightOperand((Term)newValue); | ||
202 | return; | ||
203 | } | ||
204 | super.eSet(featureID, newValue); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eUnset(int featureID) { | ||
214 | switch (featureID) { | ||
215 | case LogiclanguagePackage.EQUALS__LEFT_OPERAND: | ||
216 | setLeftOperand((Term)null); | ||
217 | return; | ||
218 | case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: | ||
219 | setRightOperand((Term)null); | ||
220 | return; | ||
221 | } | ||
222 | super.eUnset(featureID); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public boolean eIsSet(int featureID) { | ||
232 | switch (featureID) { | ||
233 | case LogiclanguagePackage.EQUALS__LEFT_OPERAND: | ||
234 | return leftOperand != null; | ||
235 | case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: | ||
236 | return rightOperand != null; | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //EqualsImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ExistsImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ExistsImpl.java new file mode 100644 index 00000000..b242cd7a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ExistsImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Exists</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ExistsImpl extends QuantifiedExpressionImpl implements Exists { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected ExistsImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.EXISTS; | ||
35 | } | ||
36 | |||
37 | } //ExistsImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ForallImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ForallImpl.java new file mode 100644 index 00000000..032d104f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ForallImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Forall</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ForallImpl extends QuantifiedExpressionImpl implements Forall { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected ForallImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.FORALL; | ||
35 | } | ||
36 | |||
37 | } //ForallImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDeclarationImpl.java new file mode 100644 index 00000000..4e683133 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDeclarationImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Function Declaration</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class FunctionDeclarationImpl extends FunctionImpl implements FunctionDeclaration { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected FunctionDeclarationImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.FUNCTION_DECLARATION; | ||
35 | } | ||
36 | |||
37 | } //FunctionDeclarationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDefinitionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDefinitionImpl.java new file mode 100644 index 00000000..0f14289a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDefinitionImpl.java | |||
@@ -0,0 +1,278 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
20 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
21 | import org.eclipse.emf.ecore.util.InternalEList; | ||
22 | |||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * An implementation of the model object '<em><b>Function Definition</b></em>'. | ||
26 | * <!-- end-user-doc --> | ||
27 | * <p> | ||
28 | * The following features are implemented: | ||
29 | * </p> | ||
30 | * <ul> | ||
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl#getVariable <em>Variable</em>}</li> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl#getDefines <em>Defines</em>}</li> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl#getValue <em>Value</em>}</li> | ||
34 | * </ul> | ||
35 | * | ||
36 | * @generated | ||
37 | */ | ||
38 | public class FunctionDefinitionImpl extends FunctionImpl implements FunctionDefinition { | ||
39 | /** | ||
40 | * The cached value of the '{@link #getVariable() <em>Variable</em>}' containment reference list. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getVariable() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected EList<Variable> variable; | ||
48 | |||
49 | /** | ||
50 | * The cached value of the '{@link #getDefines() <em>Defines</em>}' reference. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @see #getDefines() | ||
54 | * @generated | ||
55 | * @ordered | ||
56 | */ | ||
57 | protected FunctionDeclaration defines; | ||
58 | |||
59 | /** | ||
60 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see #getValue() | ||
64 | * @generated | ||
65 | * @ordered | ||
66 | */ | ||
67 | protected Term value; | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | protected FunctionDefinitionImpl() { | ||
75 | super(); | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | protected EClass eStaticClass() { | ||
85 | return LogiclanguagePackage.Literals.FUNCTION_DEFINITION; | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | public EList<Variable> getVariable() { | ||
94 | if (variable == null) { | ||
95 | variable = new EObjectContainmentEList<Variable>(Variable.class, this, LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE); | ||
96 | } | ||
97 | return variable; | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | public FunctionDeclaration getDefines() { | ||
106 | if (defines != null && defines.eIsProxy()) { | ||
107 | InternalEObject oldDefines = (InternalEObject)defines; | ||
108 | defines = (FunctionDeclaration)eResolveProxy(oldDefines); | ||
109 | if (defines != oldDefines) { | ||
110 | if (eNotificationRequired()) | ||
111 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES, oldDefines, defines)); | ||
112 | } | ||
113 | } | ||
114 | return defines; | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | public FunctionDeclaration basicGetDefines() { | ||
123 | return defines; | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | public void setDefines(FunctionDeclaration newDefines) { | ||
132 | FunctionDeclaration oldDefines = defines; | ||
133 | defines = newDefines; | ||
134 | if (eNotificationRequired()) | ||
135 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES, oldDefines, defines)); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public Term getValue() { | ||
144 | return value; | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { | ||
153 | Term oldValue = value; | ||
154 | value = newValue; | ||
155 | if (eNotificationRequired()) { | ||
156 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION_DEFINITION__VALUE, oldValue, newValue); | ||
157 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
158 | } | ||
159 | return msgs; | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | public void setValue(Term newValue) { | ||
168 | if (newValue != value) { | ||
169 | NotificationChain msgs = null; | ||
170 | if (value != null) | ||
171 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.FUNCTION_DEFINITION__VALUE, null, msgs); | ||
172 | if (newValue != null) | ||
173 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.FUNCTION_DEFINITION__VALUE, null, msgs); | ||
174 | msgs = basicSetValue(newValue, msgs); | ||
175 | if (msgs != null) msgs.dispatch(); | ||
176 | } | ||
177 | else if (eNotificationRequired()) | ||
178 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION_DEFINITION__VALUE, newValue, newValue)); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @Override | ||
187 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
188 | switch (featureID) { | ||
189 | case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: | ||
190 | return ((InternalEList<?>)getVariable()).basicRemove(otherEnd, msgs); | ||
191 | case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: | ||
192 | return basicSetValue(null, msgs); | ||
193 | } | ||
194 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
195 | } | ||
196 | |||
197 | /** | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @generated | ||
201 | */ | ||
202 | @Override | ||
203 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
204 | switch (featureID) { | ||
205 | case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: | ||
206 | return getVariable(); | ||
207 | case LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES: | ||
208 | if (resolve) return getDefines(); | ||
209 | return basicGetDefines(); | ||
210 | case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: | ||
211 | return getValue(); | ||
212 | } | ||
213 | return super.eGet(featureID, resolve, coreType); | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | */ | ||
221 | @SuppressWarnings("unchecked") | ||
222 | @Override | ||
223 | public void eSet(int featureID, Object newValue) { | ||
224 | switch (featureID) { | ||
225 | case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: | ||
226 | getVariable().clear(); | ||
227 | getVariable().addAll((Collection<? extends Variable>)newValue); | ||
228 | return; | ||
229 | case LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES: | ||
230 | setDefines((FunctionDeclaration)newValue); | ||
231 | return; | ||
232 | case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: | ||
233 | setValue((Term)newValue); | ||
234 | return; | ||
235 | } | ||
236 | super.eSet(featureID, newValue); | ||
237 | } | ||
238 | |||
239 | /** | ||
240 | * <!-- begin-user-doc --> | ||
241 | * <!-- end-user-doc --> | ||
242 | * @generated | ||
243 | */ | ||
244 | @Override | ||
245 | public void eUnset(int featureID) { | ||
246 | switch (featureID) { | ||
247 | case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: | ||
248 | getVariable().clear(); | ||
249 | return; | ||
250 | case LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES: | ||
251 | setDefines((FunctionDeclaration)null); | ||
252 | return; | ||
253 | case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: | ||
254 | setValue((Term)null); | ||
255 | return; | ||
256 | } | ||
257 | super.eUnset(featureID); | ||
258 | } | ||
259 | |||
260 | /** | ||
261 | * <!-- begin-user-doc --> | ||
262 | * <!-- end-user-doc --> | ||
263 | * @generated | ||
264 | */ | ||
265 | @Override | ||
266 | public boolean eIsSet(int featureID) { | ||
267 | switch (featureID) { | ||
268 | case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: | ||
269 | return variable != null && !variable.isEmpty(); | ||
270 | case LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES: | ||
271 | return defines != null; | ||
272 | case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: | ||
273 | return value != null; | ||
274 | } | ||
275 | return super.eIsSet(featureID); | ||
276 | } | ||
277 | |||
278 | } //FunctionDefinitionImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionImpl.java new file mode 100644 index 00000000..da85ae54 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionImpl.java | |||
@@ -0,0 +1,273 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; | ||
8 | |||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation; | ||
10 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | |||
23 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
24 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
25 | import org.eclipse.emf.ecore.util.InternalEList; | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * An implementation of the model object '<em><b>Function</b></em>'. | ||
30 | * <!-- end-user-doc --> | ||
31 | * <p> | ||
32 | * The following features are implemented: | ||
33 | * </p> | ||
34 | * <ul> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl#getRange <em>Range</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl#getParameters <em>Parameters</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl#getAnnotations <em>Annotations</em>}</li> | ||
38 | * </ul> | ||
39 | * | ||
40 | * @generated | ||
41 | */ | ||
42 | public abstract class FunctionImpl extends SymbolicDeclarationImpl implements Function { | ||
43 | /** | ||
44 | * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRange() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected TypeReference range; | ||
52 | |||
53 | /** | ||
54 | * The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getParameters() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected EList<TypeReference> parameters; | ||
62 | |||
63 | /** | ||
64 | * The cached value of the '{@link #getAnnotations() <em>Annotations</em>}' reference list. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @see #getAnnotations() | ||
68 | * @generated | ||
69 | * @ordered | ||
70 | */ | ||
71 | protected EList<FunctionAnnotation> annotations; | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | protected FunctionImpl() { | ||
79 | super(); | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | protected EClass eStaticClass() { | ||
89 | return LogiclanguagePackage.Literals.FUNCTION; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | public TypeReference getRange() { | ||
98 | return range; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public NotificationChain basicSetRange(TypeReference newRange, NotificationChain msgs) { | ||
107 | TypeReference oldRange = range; | ||
108 | range = newRange; | ||
109 | if (eNotificationRequired()) { | ||
110 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION__RANGE, oldRange, newRange); | ||
111 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
112 | } | ||
113 | return msgs; | ||
114 | } | ||
115 | |||
116 | /** | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | */ | ||
121 | public void setRange(TypeReference newRange) { | ||
122 | if (newRange != range) { | ||
123 | NotificationChain msgs = null; | ||
124 | if (range != null) | ||
125 | msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.FUNCTION__RANGE, null, msgs); | ||
126 | if (newRange != null) | ||
127 | msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.FUNCTION__RANGE, null, msgs); | ||
128 | msgs = basicSetRange(newRange, msgs); | ||
129 | if (msgs != null) msgs.dispatch(); | ||
130 | } | ||
131 | else if (eNotificationRequired()) | ||
132 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION__RANGE, newRange, newRange)); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public EList<TypeReference> getParameters() { | ||
141 | if (parameters == null) { | ||
142 | parameters = new EObjectContainmentEList<TypeReference>(TypeReference.class, this, LogiclanguagePackage.FUNCTION__PARAMETERS); | ||
143 | } | ||
144 | return parameters; | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | public EList<FunctionAnnotation> getAnnotations() { | ||
153 | if (annotations == null) { | ||
154 | annotations = new EObjectWithInverseResolvingEList<FunctionAnnotation>(FunctionAnnotation.class, this, LogiclanguagePackage.FUNCTION__ANNOTATIONS, LogicproblemPackage.FUNCTION_ANNOTATION__TARGET); | ||
155 | } | ||
156 | return annotations; | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @SuppressWarnings("unchecked") | ||
165 | @Override | ||
166 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
167 | switch (featureID) { | ||
168 | case LogiclanguagePackage.FUNCTION__ANNOTATIONS: | ||
169 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getAnnotations()).basicAdd(otherEnd, msgs); | ||
170 | } | ||
171 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | @Override | ||
180 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
181 | switch (featureID) { | ||
182 | case LogiclanguagePackage.FUNCTION__RANGE: | ||
183 | return basicSetRange(null, msgs); | ||
184 | case LogiclanguagePackage.FUNCTION__PARAMETERS: | ||
185 | return ((InternalEList<?>)getParameters()).basicRemove(otherEnd, msgs); | ||
186 | case LogiclanguagePackage.FUNCTION__ANNOTATIONS: | ||
187 | return ((InternalEList<?>)getAnnotations()).basicRemove(otherEnd, msgs); | ||
188 | } | ||
189 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @generated | ||
196 | */ | ||
197 | @Override | ||
198 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
199 | switch (featureID) { | ||
200 | case LogiclanguagePackage.FUNCTION__RANGE: | ||
201 | return getRange(); | ||
202 | case LogiclanguagePackage.FUNCTION__PARAMETERS: | ||
203 | return getParameters(); | ||
204 | case LogiclanguagePackage.FUNCTION__ANNOTATIONS: | ||
205 | return getAnnotations(); | ||
206 | } | ||
207 | return super.eGet(featureID, resolve, coreType); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @SuppressWarnings("unchecked") | ||
216 | @Override | ||
217 | public void eSet(int featureID, Object newValue) { | ||
218 | switch (featureID) { | ||
219 | case LogiclanguagePackage.FUNCTION__RANGE: | ||
220 | setRange((TypeReference)newValue); | ||
221 | return; | ||
222 | case LogiclanguagePackage.FUNCTION__PARAMETERS: | ||
223 | getParameters().clear(); | ||
224 | getParameters().addAll((Collection<? extends TypeReference>)newValue); | ||
225 | return; | ||
226 | case LogiclanguagePackage.FUNCTION__ANNOTATIONS: | ||
227 | getAnnotations().clear(); | ||
228 | getAnnotations().addAll((Collection<? extends FunctionAnnotation>)newValue); | ||
229 | return; | ||
230 | } | ||
231 | super.eSet(featureID, newValue); | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | */ | ||
239 | @Override | ||
240 | public void eUnset(int featureID) { | ||
241 | switch (featureID) { | ||
242 | case LogiclanguagePackage.FUNCTION__RANGE: | ||
243 | setRange((TypeReference)null); | ||
244 | return; | ||
245 | case LogiclanguagePackage.FUNCTION__PARAMETERS: | ||
246 | getParameters().clear(); | ||
247 | return; | ||
248 | case LogiclanguagePackage.FUNCTION__ANNOTATIONS: | ||
249 | getAnnotations().clear(); | ||
250 | return; | ||
251 | } | ||
252 | super.eUnset(featureID); | ||
253 | } | ||
254 | |||
255 | /** | ||
256 | * <!-- begin-user-doc --> | ||
257 | * <!-- end-user-doc --> | ||
258 | * @generated | ||
259 | */ | ||
260 | @Override | ||
261 | public boolean eIsSet(int featureID) { | ||
262 | switch (featureID) { | ||
263 | case LogiclanguagePackage.FUNCTION__RANGE: | ||
264 | return range != null; | ||
265 | case LogiclanguagePackage.FUNCTION__PARAMETERS: | ||
266 | return parameters != null && !parameters.isEmpty(); | ||
267 | case LogiclanguagePackage.FUNCTION__ANNOTATIONS: | ||
268 | return annotations != null && !annotations.isEmpty(); | ||
269 | } | ||
270 | return super.eIsSet(featureID); | ||
271 | } | ||
272 | |||
273 | } //FunctionImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IfThenElseImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IfThenElseImpl.java new file mode 100644 index 00000000..27f1a358 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IfThenElseImpl.java | |||
@@ -0,0 +1,307 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>If Then Else</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.logic.model.logiclanguage.impl.IfThenElseImpl#getCondition <em>Condition</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl#getIfTrue <em>If True</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl#getIfFalse <em>If False</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class IfThenElseImpl extends TermImpl implements IfThenElse { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getCondition() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Term condition; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getIfTrue() <em>If True</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getIfTrue() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected Term ifTrue; | ||
52 | |||
53 | /** | ||
54 | * The cached value of the '{@link #getIfFalse() <em>If False</em>}' containment reference. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getIfFalse() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected Term ifFalse; | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected IfThenElseImpl() { | ||
69 | super(); | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | protected EClass eStaticClass() { | ||
79 | return LogiclanguagePackage.Literals.IF_THEN_ELSE; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public Term getCondition() { | ||
88 | return condition; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public NotificationChain basicSetCondition(Term newCondition, NotificationChain msgs) { | ||
97 | Term oldCondition = condition; | ||
98 | condition = newCondition; | ||
99 | if (eNotificationRequired()) { | ||
100 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__CONDITION, oldCondition, newCondition); | ||
101 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
102 | } | ||
103 | return msgs; | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | public void setCondition(Term newCondition) { | ||
112 | if (newCondition != condition) { | ||
113 | NotificationChain msgs = null; | ||
114 | if (condition != null) | ||
115 | msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__CONDITION, null, msgs); | ||
116 | if (newCondition != null) | ||
117 | msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__CONDITION, null, msgs); | ||
118 | msgs = basicSetCondition(newCondition, msgs); | ||
119 | if (msgs != null) msgs.dispatch(); | ||
120 | } | ||
121 | else if (eNotificationRequired()) | ||
122 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__CONDITION, newCondition, newCondition)); | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | public Term getIfTrue() { | ||
131 | return ifTrue; | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | public NotificationChain basicSetIfTrue(Term newIfTrue, NotificationChain msgs) { | ||
140 | Term oldIfTrue = ifTrue; | ||
141 | ifTrue = newIfTrue; | ||
142 | if (eNotificationRequired()) { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE, oldIfTrue, newIfTrue); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setIfTrue(Term newIfTrue) { | ||
155 | if (newIfTrue != ifTrue) { | ||
156 | NotificationChain msgs = null; | ||
157 | if (ifTrue != null) | ||
158 | msgs = ((InternalEObject)ifTrue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE, null, msgs); | ||
159 | if (newIfTrue != null) | ||
160 | msgs = ((InternalEObject)newIfTrue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE, null, msgs); | ||
161 | msgs = basicSetIfTrue(newIfTrue, msgs); | ||
162 | if (msgs != null) msgs.dispatch(); | ||
163 | } | ||
164 | else if (eNotificationRequired()) | ||
165 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE, newIfTrue, newIfTrue)); | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | public Term getIfFalse() { | ||
174 | return ifFalse; | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | public NotificationChain basicSetIfFalse(Term newIfFalse, NotificationChain msgs) { | ||
183 | Term oldIfFalse = ifFalse; | ||
184 | ifFalse = newIfFalse; | ||
185 | if (eNotificationRequired()) { | ||
186 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE, oldIfFalse, newIfFalse); | ||
187 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
188 | } | ||
189 | return msgs; | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @generated | ||
196 | */ | ||
197 | public void setIfFalse(Term newIfFalse) { | ||
198 | if (newIfFalse != ifFalse) { | ||
199 | NotificationChain msgs = null; | ||
200 | if (ifFalse != null) | ||
201 | msgs = ((InternalEObject)ifFalse).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE, null, msgs); | ||
202 | if (newIfFalse != null) | ||
203 | msgs = ((InternalEObject)newIfFalse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE, null, msgs); | ||
204 | msgs = basicSetIfFalse(newIfFalse, msgs); | ||
205 | if (msgs != null) msgs.dispatch(); | ||
206 | } | ||
207 | else if (eNotificationRequired()) | ||
208 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE, newIfFalse, newIfFalse)); | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | @Override | ||
217 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
218 | switch (featureID) { | ||
219 | case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: | ||
220 | return basicSetCondition(null, msgs); | ||
221 | case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: | ||
222 | return basicSetIfTrue(null, msgs); | ||
223 | case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: | ||
224 | return basicSetIfFalse(null, msgs); | ||
225 | } | ||
226 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
227 | } | ||
228 | |||
229 | /** | ||
230 | * <!-- begin-user-doc --> | ||
231 | * <!-- end-user-doc --> | ||
232 | * @generated | ||
233 | */ | ||
234 | @Override | ||
235 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
236 | switch (featureID) { | ||
237 | case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: | ||
238 | return getCondition(); | ||
239 | case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: | ||
240 | return getIfTrue(); | ||
241 | case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: | ||
242 | return getIfFalse(); | ||
243 | } | ||
244 | return super.eGet(featureID, resolve, coreType); | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | */ | ||
252 | @Override | ||
253 | public void eSet(int featureID, Object newValue) { | ||
254 | switch (featureID) { | ||
255 | case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: | ||
256 | setCondition((Term)newValue); | ||
257 | return; | ||
258 | case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: | ||
259 | setIfTrue((Term)newValue); | ||
260 | return; | ||
261 | case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: | ||
262 | setIfFalse((Term)newValue); | ||
263 | return; | ||
264 | } | ||
265 | super.eSet(featureID, newValue); | ||
266 | } | ||
267 | |||
268 | /** | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @generated | ||
272 | */ | ||
273 | @Override | ||
274 | public void eUnset(int featureID) { | ||
275 | switch (featureID) { | ||
276 | case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: | ||
277 | setCondition((Term)null); | ||
278 | return; | ||
279 | case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: | ||
280 | setIfTrue((Term)null); | ||
281 | return; | ||
282 | case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: | ||
283 | setIfFalse((Term)null); | ||
284 | return; | ||
285 | } | ||
286 | super.eUnset(featureID); | ||
287 | } | ||
288 | |||
289 | /** | ||
290 | * <!-- begin-user-doc --> | ||
291 | * <!-- end-user-doc --> | ||
292 | * @generated | ||
293 | */ | ||
294 | @Override | ||
295 | public boolean eIsSet(int featureID) { | ||
296 | switch (featureID) { | ||
297 | case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: | ||
298 | return condition != null; | ||
299 | case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: | ||
300 | return ifTrue != null; | ||
301 | case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: | ||
302 | return ifFalse != null; | ||
303 | } | ||
304 | return super.eIsSet(featureID); | ||
305 | } | ||
306 | |||
307 | } //IfThenElseImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IffImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IffImpl.java new file mode 100644 index 00000000..52c80e4a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IffImpl.java | |||
@@ -0,0 +1,241 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>Iff</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.logic.model.logiclanguage.impl.IffImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class IffImpl extends BoolOperationImpl implements Iff { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getLeftOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Term leftOperand; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getRightOperand() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected Term rightOperand; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected IffImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return LogiclanguagePackage.Literals.IFF; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public Term getLeftOperand() { | ||
77 | return leftOperand; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { | ||
86 | Term oldLeftOperand = leftOperand; | ||
87 | leftOperand = newLeftOperand; | ||
88 | if (eNotificationRequired()) { | ||
89 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IFF__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
90 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
91 | } | ||
92 | return msgs; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setLeftOperand(Term newLeftOperand) { | ||
101 | if (newLeftOperand != leftOperand) { | ||
102 | NotificationChain msgs = null; | ||
103 | if (leftOperand != null) | ||
104 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IFF__LEFT_OPERAND, null, msgs); | ||
105 | if (newLeftOperand != null) | ||
106 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IFF__LEFT_OPERAND, null, msgs); | ||
107 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
108 | if (msgs != null) msgs.dispatch(); | ||
109 | } | ||
110 | else if (eNotificationRequired()) | ||
111 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IFF__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public Term getRightOperand() { | ||
120 | return rightOperand; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { | ||
129 | Term oldRightOperand = rightOperand; | ||
130 | rightOperand = newRightOperand; | ||
131 | if (eNotificationRequired()) { | ||
132 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IFF__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
133 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
134 | } | ||
135 | return msgs; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public void setRightOperand(Term newRightOperand) { | ||
144 | if (newRightOperand != rightOperand) { | ||
145 | NotificationChain msgs = null; | ||
146 | if (rightOperand != null) | ||
147 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IFF__RIGHT_OPERAND, null, msgs); | ||
148 | if (newRightOperand != null) | ||
149 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IFF__RIGHT_OPERAND, null, msgs); | ||
150 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
151 | if (msgs != null) msgs.dispatch(); | ||
152 | } | ||
153 | else if (eNotificationRequired()) | ||
154 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IFF__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
164 | switch (featureID) { | ||
165 | case LogiclanguagePackage.IFF__LEFT_OPERAND: | ||
166 | return basicSetLeftOperand(null, msgs); | ||
167 | case LogiclanguagePackage.IFF__RIGHT_OPERAND: | ||
168 | return basicSetRightOperand(null, msgs); | ||
169 | } | ||
170 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
180 | switch (featureID) { | ||
181 | case LogiclanguagePackage.IFF__LEFT_OPERAND: | ||
182 | return getLeftOperand(); | ||
183 | case LogiclanguagePackage.IFF__RIGHT_OPERAND: | ||
184 | return getRightOperand(); | ||
185 | } | ||
186 | return super.eGet(featureID, resolve, coreType); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void eSet(int featureID, Object newValue) { | ||
196 | switch (featureID) { | ||
197 | case LogiclanguagePackage.IFF__LEFT_OPERAND: | ||
198 | setLeftOperand((Term)newValue); | ||
199 | return; | ||
200 | case LogiclanguagePackage.IFF__RIGHT_OPERAND: | ||
201 | setRightOperand((Term)newValue); | ||
202 | return; | ||
203 | } | ||
204 | super.eSet(featureID, newValue); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eUnset(int featureID) { | ||
214 | switch (featureID) { | ||
215 | case LogiclanguagePackage.IFF__LEFT_OPERAND: | ||
216 | setLeftOperand((Term)null); | ||
217 | return; | ||
218 | case LogiclanguagePackage.IFF__RIGHT_OPERAND: | ||
219 | setRightOperand((Term)null); | ||
220 | return; | ||
221 | } | ||
222 | super.eUnset(featureID); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public boolean eIsSet(int featureID) { | ||
232 | switch (featureID) { | ||
233 | case LogiclanguagePackage.IFF__LEFT_OPERAND: | ||
234 | return leftOperand != null; | ||
235 | case LogiclanguagePackage.IFF__RIGHT_OPERAND: | ||
236 | return rightOperand != null; | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //IffImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ImplImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ImplImpl.java new file mode 100644 index 00000000..af915e5d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ImplImpl.java | |||
@@ -0,0 +1,241 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>Impl</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.logic.model.logiclanguage.impl.ImplImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ImplImpl extends BoolOperationImpl implements Impl { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getLeftOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Term leftOperand; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getRightOperand() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected Term rightOperand; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected ImplImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return LogiclanguagePackage.Literals.IMPL; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public Term getLeftOperand() { | ||
77 | return leftOperand; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { | ||
86 | Term oldLeftOperand = leftOperand; | ||
87 | leftOperand = newLeftOperand; | ||
88 | if (eNotificationRequired()) { | ||
89 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IMPL__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
90 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
91 | } | ||
92 | return msgs; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setLeftOperand(Term newLeftOperand) { | ||
101 | if (newLeftOperand != leftOperand) { | ||
102 | NotificationChain msgs = null; | ||
103 | if (leftOperand != null) | ||
104 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IMPL__LEFT_OPERAND, null, msgs); | ||
105 | if (newLeftOperand != null) | ||
106 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IMPL__LEFT_OPERAND, null, msgs); | ||
107 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
108 | if (msgs != null) msgs.dispatch(); | ||
109 | } | ||
110 | else if (eNotificationRequired()) | ||
111 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IMPL__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public Term getRightOperand() { | ||
120 | return rightOperand; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { | ||
129 | Term oldRightOperand = rightOperand; | ||
130 | rightOperand = newRightOperand; | ||
131 | if (eNotificationRequired()) { | ||
132 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IMPL__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
133 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
134 | } | ||
135 | return msgs; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public void setRightOperand(Term newRightOperand) { | ||
144 | if (newRightOperand != rightOperand) { | ||
145 | NotificationChain msgs = null; | ||
146 | if (rightOperand != null) | ||
147 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IMPL__RIGHT_OPERAND, null, msgs); | ||
148 | if (newRightOperand != null) | ||
149 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IMPL__RIGHT_OPERAND, null, msgs); | ||
150 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
151 | if (msgs != null) msgs.dispatch(); | ||
152 | } | ||
153 | else if (eNotificationRequired()) | ||
154 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IMPL__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
164 | switch (featureID) { | ||
165 | case LogiclanguagePackage.IMPL__LEFT_OPERAND: | ||
166 | return basicSetLeftOperand(null, msgs); | ||
167 | case LogiclanguagePackage.IMPL__RIGHT_OPERAND: | ||
168 | return basicSetRightOperand(null, msgs); | ||
169 | } | ||
170 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
180 | switch (featureID) { | ||
181 | case LogiclanguagePackage.IMPL__LEFT_OPERAND: | ||
182 | return getLeftOperand(); | ||
183 | case LogiclanguagePackage.IMPL__RIGHT_OPERAND: | ||
184 | return getRightOperand(); | ||
185 | } | ||
186 | return super.eGet(featureID, resolve, coreType); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void eSet(int featureID, Object newValue) { | ||
196 | switch (featureID) { | ||
197 | case LogiclanguagePackage.IMPL__LEFT_OPERAND: | ||
198 | setLeftOperand((Term)newValue); | ||
199 | return; | ||
200 | case LogiclanguagePackage.IMPL__RIGHT_OPERAND: | ||
201 | setRightOperand((Term)newValue); | ||
202 | return; | ||
203 | } | ||
204 | super.eSet(featureID, newValue); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eUnset(int featureID) { | ||
214 | switch (featureID) { | ||
215 | case LogiclanguagePackage.IMPL__LEFT_OPERAND: | ||
216 | setLeftOperand((Term)null); | ||
217 | return; | ||
218 | case LogiclanguagePackage.IMPL__RIGHT_OPERAND: | ||
219 | setRightOperand((Term)null); | ||
220 | return; | ||
221 | } | ||
222 | super.eUnset(featureID); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public boolean eIsSet(int featureID) { | ||
232 | switch (featureID) { | ||
233 | case LogiclanguagePackage.IMPL__LEFT_OPERAND: | ||
234 | return leftOperand != null; | ||
235 | case LogiclanguagePackage.IMPL__RIGHT_OPERAND: | ||
236 | return rightOperand != null; | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //ImplImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/InstanceOfImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/InstanceOfImpl.java new file mode 100644 index 00000000..9d36b076 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/InstanceOfImpl.java | |||
@@ -0,0 +1,242 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; | ||
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>Instance Of</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.logic.model.logiclanguage.impl.InstanceOfImpl#getValue <em>Value</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl#getRange <em>Range</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class InstanceOfImpl extends TermImpl implements InstanceOf { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getValue() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Term value; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRange() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected TypeReference range; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected InstanceOfImpl() { | ||
59 | super(); | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | @Override | ||
68 | protected EClass eStaticClass() { | ||
69 | return LogiclanguagePackage.Literals.INSTANCE_OF; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | public Term getValue() { | ||
78 | return value; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { | ||
87 | Term oldValue = value; | ||
88 | value = newValue; | ||
89 | if (eNotificationRequired()) { | ||
90 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INSTANCE_OF__VALUE, oldValue, newValue); | ||
91 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
92 | } | ||
93 | return msgs; | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | public void setValue(Term newValue) { | ||
102 | if (newValue != value) { | ||
103 | NotificationChain msgs = null; | ||
104 | if (value != null) | ||
105 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INSTANCE_OF__VALUE, null, msgs); | ||
106 | if (newValue != null) | ||
107 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INSTANCE_OF__VALUE, null, msgs); | ||
108 | msgs = basicSetValue(newValue, msgs); | ||
109 | if (msgs != null) msgs.dispatch(); | ||
110 | } | ||
111 | else if (eNotificationRequired()) | ||
112 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INSTANCE_OF__VALUE, newValue, newValue)); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | public TypeReference getRange() { | ||
121 | return range; | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | public NotificationChain basicSetRange(TypeReference newRange, NotificationChain msgs) { | ||
130 | TypeReference oldRange = range; | ||
131 | range = newRange; | ||
132 | if (eNotificationRequired()) { | ||
133 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INSTANCE_OF__RANGE, oldRange, newRange); | ||
134 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
135 | } | ||
136 | return msgs; | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | public void setRange(TypeReference newRange) { | ||
145 | if (newRange != range) { | ||
146 | NotificationChain msgs = null; | ||
147 | if (range != null) | ||
148 | msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INSTANCE_OF__RANGE, null, msgs); | ||
149 | if (newRange != null) | ||
150 | msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INSTANCE_OF__RANGE, null, msgs); | ||
151 | msgs = basicSetRange(newRange, msgs); | ||
152 | if (msgs != null) msgs.dispatch(); | ||
153 | } | ||
154 | else if (eNotificationRequired()) | ||
155 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INSTANCE_OF__RANGE, newRange, newRange)); | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | @Override | ||
164 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
165 | switch (featureID) { | ||
166 | case LogiclanguagePackage.INSTANCE_OF__VALUE: | ||
167 | return basicSetValue(null, msgs); | ||
168 | case LogiclanguagePackage.INSTANCE_OF__RANGE: | ||
169 | return basicSetRange(null, msgs); | ||
170 | } | ||
171 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | @Override | ||
180 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
181 | switch (featureID) { | ||
182 | case LogiclanguagePackage.INSTANCE_OF__VALUE: | ||
183 | return getValue(); | ||
184 | case LogiclanguagePackage.INSTANCE_OF__RANGE: | ||
185 | return getRange(); | ||
186 | } | ||
187 | return super.eGet(featureID, resolve, coreType); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public void eSet(int featureID, Object newValue) { | ||
197 | switch (featureID) { | ||
198 | case LogiclanguagePackage.INSTANCE_OF__VALUE: | ||
199 | setValue((Term)newValue); | ||
200 | return; | ||
201 | case LogiclanguagePackage.INSTANCE_OF__RANGE: | ||
202 | setRange((TypeReference)newValue); | ||
203 | return; | ||
204 | } | ||
205 | super.eSet(featureID, newValue); | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | @Override | ||
214 | public void eUnset(int featureID) { | ||
215 | switch (featureID) { | ||
216 | case LogiclanguagePackage.INSTANCE_OF__VALUE: | ||
217 | setValue((Term)null); | ||
218 | return; | ||
219 | case LogiclanguagePackage.INSTANCE_OF__RANGE: | ||
220 | setRange((TypeReference)null); | ||
221 | return; | ||
222 | } | ||
223 | super.eUnset(featureID); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public boolean eIsSet(int featureID) { | ||
233 | switch (featureID) { | ||
234 | case LogiclanguagePackage.INSTANCE_OF__VALUE: | ||
235 | return value != null; | ||
236 | case LogiclanguagePackage.INSTANCE_OF__RANGE: | ||
237 | return range != null; | ||
238 | } | ||
239 | return super.eIsSet(featureID); | ||
240 | } | ||
241 | |||
242 | } //InstanceOfImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntLiteralImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntLiteralImpl.java new file mode 100644 index 00000000..c0ec1001 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntLiteralImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Int Literal</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl#getValue <em>Value</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class IntLiteralImpl extends AtomicTermImpl implements IntLiteral { | ||
28 | /** | ||
29 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getValue() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final int VALUE_EDEFAULT = 0; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getValue() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected int value = VALUE_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected IntLiteralImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return LogiclanguagePackage.Literals.INT_LITERAL; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public int getValue() { | ||
73 | return value; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public void setValue(int newValue) { | ||
82 | int oldValue = value; | ||
83 | value = newValue; | ||
84 | if (eNotificationRequired()) | ||
85 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_LITERAL__VALUE, oldValue, value)); | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
95 | switch (featureID) { | ||
96 | case LogiclanguagePackage.INT_LITERAL__VALUE: | ||
97 | return getValue(); | ||
98 | } | ||
99 | return super.eGet(featureID, resolve, coreType); | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | @Override | ||
108 | public void eSet(int featureID, Object newValue) { | ||
109 | switch (featureID) { | ||
110 | case LogiclanguagePackage.INT_LITERAL__VALUE: | ||
111 | setValue((Integer)newValue); | ||
112 | return; | ||
113 | } | ||
114 | super.eSet(featureID, newValue); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public void eUnset(int featureID) { | ||
124 | switch (featureID) { | ||
125 | case LogiclanguagePackage.INT_LITERAL__VALUE: | ||
126 | setValue(VALUE_EDEFAULT); | ||
127 | return; | ||
128 | } | ||
129 | super.eUnset(featureID); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public boolean eIsSet(int featureID) { | ||
139 | switch (featureID) { | ||
140 | case LogiclanguagePackage.INT_LITERAL__VALUE: | ||
141 | return value != VALUE_EDEFAULT; | ||
142 | } | ||
143 | return super.eIsSet(featureID); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public String toString() { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (value: "); | ||
157 | result.append(value); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //IntLiteralImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntOperationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntOperationImpl.java new file mode 100644 index 00000000..dab1f9ec --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntOperationImpl.java | |||
@@ -0,0 +1,241 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>Int Operation</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.logic.model.logiclanguage.impl.IntOperationImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public abstract class IntOperationImpl extends TermImpl implements IntOperation { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getLeftOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Term leftOperand; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getRightOperand() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected Term rightOperand; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected IntOperationImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return LogiclanguagePackage.Literals.INT_OPERATION; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public Term getLeftOperand() { | ||
77 | return leftOperand; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { | ||
86 | Term oldLeftOperand = leftOperand; | ||
87 | leftOperand = newLeftOperand; | ||
88 | if (eNotificationRequired()) { | ||
89 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
90 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
91 | } | ||
92 | return msgs; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setLeftOperand(Term newLeftOperand) { | ||
101 | if (newLeftOperand != leftOperand) { | ||
102 | NotificationChain msgs = null; | ||
103 | if (leftOperand != null) | ||
104 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND, null, msgs); | ||
105 | if (newLeftOperand != null) | ||
106 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND, null, msgs); | ||
107 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
108 | if (msgs != null) msgs.dispatch(); | ||
109 | } | ||
110 | else if (eNotificationRequired()) | ||
111 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public Term getRightOperand() { | ||
120 | return rightOperand; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { | ||
129 | Term oldRightOperand = rightOperand; | ||
130 | rightOperand = newRightOperand; | ||
131 | if (eNotificationRequired()) { | ||
132 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
133 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
134 | } | ||
135 | return msgs; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public void setRightOperand(Term newRightOperand) { | ||
144 | if (newRightOperand != rightOperand) { | ||
145 | NotificationChain msgs = null; | ||
146 | if (rightOperand != null) | ||
147 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND, null, msgs); | ||
148 | if (newRightOperand != null) | ||
149 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND, null, msgs); | ||
150 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
151 | if (msgs != null) msgs.dispatch(); | ||
152 | } | ||
153 | else if (eNotificationRequired()) | ||
154 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
164 | switch (featureID) { | ||
165 | case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: | ||
166 | return basicSetLeftOperand(null, msgs); | ||
167 | case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: | ||
168 | return basicSetRightOperand(null, msgs); | ||
169 | } | ||
170 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
180 | switch (featureID) { | ||
181 | case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: | ||
182 | return getLeftOperand(); | ||
183 | case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: | ||
184 | return getRightOperand(); | ||
185 | } | ||
186 | return super.eGet(featureID, resolve, coreType); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void eSet(int featureID, Object newValue) { | ||
196 | switch (featureID) { | ||
197 | case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: | ||
198 | setLeftOperand((Term)newValue); | ||
199 | return; | ||
200 | case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: | ||
201 | setRightOperand((Term)newValue); | ||
202 | return; | ||
203 | } | ||
204 | super.eSet(featureID, newValue); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eUnset(int featureID) { | ||
214 | switch (featureID) { | ||
215 | case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: | ||
216 | setLeftOperand((Term)null); | ||
217 | return; | ||
218 | case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: | ||
219 | setRightOperand((Term)null); | ||
220 | return; | ||
221 | } | ||
222 | super.eUnset(featureID); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public boolean eIsSet(int featureID) { | ||
232 | switch (featureID) { | ||
233 | case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: | ||
234 | return leftOperand != null; | ||
235 | case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: | ||
236 | return rightOperand != null; | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //IntOperationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntTypeReferenceImpl.java new file mode 100644 index 00000000..fc40a3ae --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntTypeReferenceImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Int Type Reference</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class IntTypeReferenceImpl extends PrimitiveTypeReferenceImpl implements IntTypeReference { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected IntTypeReferenceImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.INT_TYPE_REFERENCE; | ||
35 | } | ||
36 | |||
37 | } //IntTypeReferenceImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessOrEqualThanImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessOrEqualThanImpl.java new file mode 100644 index 00000000..4213ad37 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessOrEqualThanImpl.java | |||
@@ -0,0 +1,241 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>Less Or Equal Than</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.logic.model.logiclanguage.impl.LessOrEqualThanImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class LessOrEqualThanImpl extends PrimitiveRelationImpl implements LessOrEqualThan { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getLeftOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Term leftOperand; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getRightOperand() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected Term rightOperand; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected LessOrEqualThanImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return LogiclanguagePackage.Literals.LESS_OR_EQUAL_THAN; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public Term getLeftOperand() { | ||
77 | return leftOperand; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { | ||
86 | Term oldLeftOperand = leftOperand; | ||
87 | leftOperand = newLeftOperand; | ||
88 | if (eNotificationRequired()) { | ||
89 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
90 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
91 | } | ||
92 | return msgs; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setLeftOperand(Term newLeftOperand) { | ||
101 | if (newLeftOperand != leftOperand) { | ||
102 | NotificationChain msgs = null; | ||
103 | if (leftOperand != null) | ||
104 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND, null, msgs); | ||
105 | if (newLeftOperand != null) | ||
106 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND, null, msgs); | ||
107 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
108 | if (msgs != null) msgs.dispatch(); | ||
109 | } | ||
110 | else if (eNotificationRequired()) | ||
111 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public Term getRightOperand() { | ||
120 | return rightOperand; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { | ||
129 | Term oldRightOperand = rightOperand; | ||
130 | rightOperand = newRightOperand; | ||
131 | if (eNotificationRequired()) { | ||
132 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
133 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
134 | } | ||
135 | return msgs; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public void setRightOperand(Term newRightOperand) { | ||
144 | if (newRightOperand != rightOperand) { | ||
145 | NotificationChain msgs = null; | ||
146 | if (rightOperand != null) | ||
147 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND, null, msgs); | ||
148 | if (newRightOperand != null) | ||
149 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND, null, msgs); | ||
150 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
151 | if (msgs != null) msgs.dispatch(); | ||
152 | } | ||
153 | else if (eNotificationRequired()) | ||
154 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
164 | switch (featureID) { | ||
165 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: | ||
166 | return basicSetLeftOperand(null, msgs); | ||
167 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
168 | return basicSetRightOperand(null, msgs); | ||
169 | } | ||
170 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
180 | switch (featureID) { | ||
181 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: | ||
182 | return getLeftOperand(); | ||
183 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
184 | return getRightOperand(); | ||
185 | } | ||
186 | return super.eGet(featureID, resolve, coreType); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void eSet(int featureID, Object newValue) { | ||
196 | switch (featureID) { | ||
197 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: | ||
198 | setLeftOperand((Term)newValue); | ||
199 | return; | ||
200 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
201 | setRightOperand((Term)newValue); | ||
202 | return; | ||
203 | } | ||
204 | super.eSet(featureID, newValue); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eUnset(int featureID) { | ||
214 | switch (featureID) { | ||
215 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: | ||
216 | setLeftOperand((Term)null); | ||
217 | return; | ||
218 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
219 | setRightOperand((Term)null); | ||
220 | return; | ||
221 | } | ||
222 | super.eUnset(featureID); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public boolean eIsSet(int featureID) { | ||
232 | switch (featureID) { | ||
233 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: | ||
234 | return leftOperand != null; | ||
235 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
236 | return rightOperand != null; | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //LessOrEqualThanImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessThanImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessThanImpl.java new file mode 100644 index 00000000..8a36abdd --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessThanImpl.java | |||
@@ -0,0 +1,241 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>Less Than</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.logic.model.logiclanguage.impl.LessThanImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class LessThanImpl extends PrimitiveRelationImpl implements LessThan { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getLeftOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Term leftOperand; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getRightOperand() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected Term rightOperand; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected LessThanImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return LogiclanguagePackage.Literals.LESS_THAN; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public Term getLeftOperand() { | ||
77 | return leftOperand; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { | ||
86 | Term oldLeftOperand = leftOperand; | ||
87 | leftOperand = newLeftOperand; | ||
88 | if (eNotificationRequired()) { | ||
89 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_THAN__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
90 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
91 | } | ||
92 | return msgs; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setLeftOperand(Term newLeftOperand) { | ||
101 | if (newLeftOperand != leftOperand) { | ||
102 | NotificationChain msgs = null; | ||
103 | if (leftOperand != null) | ||
104 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_THAN__LEFT_OPERAND, null, msgs); | ||
105 | if (newLeftOperand != null) | ||
106 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_THAN__LEFT_OPERAND, null, msgs); | ||
107 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
108 | if (msgs != null) msgs.dispatch(); | ||
109 | } | ||
110 | else if (eNotificationRequired()) | ||
111 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_THAN__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public Term getRightOperand() { | ||
120 | return rightOperand; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { | ||
129 | Term oldRightOperand = rightOperand; | ||
130 | rightOperand = newRightOperand; | ||
131 | if (eNotificationRequired()) { | ||
132 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
133 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
134 | } | ||
135 | return msgs; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public void setRightOperand(Term newRightOperand) { | ||
144 | if (newRightOperand != rightOperand) { | ||
145 | NotificationChain msgs = null; | ||
146 | if (rightOperand != null) | ||
147 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND, null, msgs); | ||
148 | if (newRightOperand != null) | ||
149 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND, null, msgs); | ||
150 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
151 | if (msgs != null) msgs.dispatch(); | ||
152 | } | ||
153 | else if (eNotificationRequired()) | ||
154 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
164 | switch (featureID) { | ||
165 | case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: | ||
166 | return basicSetLeftOperand(null, msgs); | ||
167 | case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: | ||
168 | return basicSetRightOperand(null, msgs); | ||
169 | } | ||
170 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
180 | switch (featureID) { | ||
181 | case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: | ||
182 | return getLeftOperand(); | ||
183 | case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: | ||
184 | return getRightOperand(); | ||
185 | } | ||
186 | return super.eGet(featureID, resolve, coreType); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void eSet(int featureID, Object newValue) { | ||
196 | switch (featureID) { | ||
197 | case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: | ||
198 | setLeftOperand((Term)newValue); | ||
199 | return; | ||
200 | case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: | ||
201 | setRightOperand((Term)newValue); | ||
202 | return; | ||
203 | } | ||
204 | super.eSet(featureID, newValue); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eUnset(int featureID) { | ||
214 | switch (featureID) { | ||
215 | case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: | ||
216 | setLeftOperand((Term)null); | ||
217 | return; | ||
218 | case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: | ||
219 | setRightOperand((Term)null); | ||
220 | return; | ||
221 | } | ||
222 | super.eUnset(featureID); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public boolean eIsSet(int featureID) { | ||
232 | switch (featureID) { | ||
233 | case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: | ||
234 | return leftOperand != null; | ||
235 | case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: | ||
236 | return rightOperand != null; | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //LessThanImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguageFactoryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguageFactoryImpl.java new file mode 100644 index 00000000..876947e4 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguageFactoryImpl.java | |||
@@ -0,0 +1,524 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model <b>Factory</b>. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @generated | ||
20 | */ | ||
21 | public class LogiclanguageFactoryImpl extends EFactoryImpl implements LogiclanguageFactory { | ||
22 | /** | ||
23 | * Creates the default factory implementation. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | public static LogiclanguageFactory init() { | ||
29 | try { | ||
30 | LogiclanguageFactory theLogiclanguageFactory = (LogiclanguageFactory)EPackage.Registry.INSTANCE.getEFactory(LogiclanguagePackage.eNS_URI); | ||
31 | if (theLogiclanguageFactory != null) { | ||
32 | return theLogiclanguageFactory; | ||
33 | } | ||
34 | } | ||
35 | catch (Exception exception) { | ||
36 | EcorePlugin.INSTANCE.log(exception); | ||
37 | } | ||
38 | return new LogiclanguageFactoryImpl(); | ||
39 | } | ||
40 | |||
41 | /** | ||
42 | * Creates an instance of the factory. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | public LogiclanguageFactoryImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | public EObject create(EClass eClass) { | ||
58 | switch (eClass.getClassifierID()) { | ||
59 | case LogiclanguagePackage.DEFINED_ELEMENT: return createDefinedElement(); | ||
60 | case LogiclanguagePackage.TYPE_DEFINITION: return createTypeDefinition(); | ||
61 | case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE: return createComplexTypeReference(); | ||
62 | case LogiclanguagePackage.INT_TYPE_REFERENCE: return createIntTypeReference(); | ||
63 | case LogiclanguagePackage.BOOL_TYPE_REFERENCE: return createBoolTypeReference(); | ||
64 | case LogiclanguagePackage.REAL_TYPE_REFERENCE: return createRealTypeReference(); | ||
65 | case LogiclanguagePackage.SYMBOLIC_VALUE: return createSymbolicValue(); | ||
66 | case LogiclanguagePackage.INT_LITERAL: return createIntLiteral(); | ||
67 | case LogiclanguagePackage.BOOL_LITERAL: return createBoolLiteral(); | ||
68 | case LogiclanguagePackage.REAL_LITERAL: return createRealLiteral(); | ||
69 | case LogiclanguagePackage.VARIABLE: return createVariable(); | ||
70 | case LogiclanguagePackage.EXISTS: return createExists(); | ||
71 | case LogiclanguagePackage.FORALL: return createForall(); | ||
72 | case LogiclanguagePackage.AND: return createAnd(); | ||
73 | case LogiclanguagePackage.OR: return createOr(); | ||
74 | case LogiclanguagePackage.IMPL: return createImpl(); | ||
75 | case LogiclanguagePackage.NOT: return createNot(); | ||
76 | case LogiclanguagePackage.IFF: return createIff(); | ||
77 | case LogiclanguagePackage.EQUALS: return createEquals(); | ||
78 | case LogiclanguagePackage.DISTINCT: return createDistinct(); | ||
79 | case LogiclanguagePackage.LESS_THAN: return createLessThan(); | ||
80 | case LogiclanguagePackage.MORE_THAN: return createMoreThan(); | ||
81 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN: return createLessOrEqualThan(); | ||
82 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN: return createMoreOrEqualThan(); | ||
83 | case LogiclanguagePackage.PLUS: return createPlus(); | ||
84 | case LogiclanguagePackage.MINUS: return createMinus(); | ||
85 | case LogiclanguagePackage.MULTIPLY: return createMultiply(); | ||
86 | case LogiclanguagePackage.DIVISON: return createDivison(); | ||
87 | case LogiclanguagePackage.MOD: return createMod(); | ||
88 | case LogiclanguagePackage.ASSERTION: return createAssertion(); | ||
89 | case LogiclanguagePackage.CONSTANT_DEFINITION: return createConstantDefinition(); | ||
90 | case LogiclanguagePackage.RELATION_DEFINITION: return createRelationDefinition(); | ||
91 | case LogiclanguagePackage.FUNCTION_DEFINITION: return createFunctionDefinition(); | ||
92 | case LogiclanguagePackage.IF_THEN_ELSE: return createIfThenElse(); | ||
93 | case LogiclanguagePackage.CONSTANT_DECLARATION: return createConstantDeclaration(); | ||
94 | case LogiclanguagePackage.RELATION_DECLARATION: return createRelationDeclaration(); | ||
95 | case LogiclanguagePackage.FUNCTION_DECLARATION: return createFunctionDeclaration(); | ||
96 | case LogiclanguagePackage.TYPE_DECLARATION: return createTypeDeclaration(); | ||
97 | case LogiclanguagePackage.UNKNOWN_BECAUSE_UNINTERPRETED: return createUnknownBecauseUninterpreted(); | ||
98 | case LogiclanguagePackage.INSTANCE_OF: return createInstanceOf(); | ||
99 | default: | ||
100 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
101 | } | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | public DefinedElement createDefinedElement() { | ||
110 | DefinedElementImpl definedElement = new DefinedElementImpl(); | ||
111 | return definedElement; | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public TypeDefinition createTypeDefinition() { | ||
120 | TypeDefinitionImpl typeDefinition = new TypeDefinitionImpl(); | ||
121 | return typeDefinition; | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | public ComplexTypeReference createComplexTypeReference() { | ||
130 | ComplexTypeReferenceImpl complexTypeReference = new ComplexTypeReferenceImpl(); | ||
131 | return complexTypeReference; | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | public IntTypeReference createIntTypeReference() { | ||
140 | IntTypeReferenceImpl intTypeReference = new IntTypeReferenceImpl(); | ||
141 | return intTypeReference; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | public BoolTypeReference createBoolTypeReference() { | ||
150 | BoolTypeReferenceImpl boolTypeReference = new BoolTypeReferenceImpl(); | ||
151 | return boolTypeReference; | ||
152 | } | ||
153 | |||
154 | /** | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @generated | ||
158 | */ | ||
159 | public RealTypeReference createRealTypeReference() { | ||
160 | RealTypeReferenceImpl realTypeReference = new RealTypeReferenceImpl(); | ||
161 | return realTypeReference; | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | public SymbolicValue createSymbolicValue() { | ||
170 | SymbolicValueImpl symbolicValue = new SymbolicValueImpl(); | ||
171 | return symbolicValue; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | public IntLiteral createIntLiteral() { | ||
180 | IntLiteralImpl intLiteral = new IntLiteralImpl(); | ||
181 | return intLiteral; | ||
182 | } | ||
183 | |||
184 | /** | ||
185 | * <!-- begin-user-doc --> | ||
186 | * <!-- end-user-doc --> | ||
187 | * @generated | ||
188 | */ | ||
189 | public BoolLiteral createBoolLiteral() { | ||
190 | BoolLiteralImpl boolLiteral = new BoolLiteralImpl(); | ||
191 | return boolLiteral; | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * <!-- begin-user-doc --> | ||
196 | * <!-- end-user-doc --> | ||
197 | * @generated | ||
198 | */ | ||
199 | public RealLiteral createRealLiteral() { | ||
200 | RealLiteralImpl realLiteral = new RealLiteralImpl(); | ||
201 | return realLiteral; | ||
202 | } | ||
203 | |||
204 | /** | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @generated | ||
208 | */ | ||
209 | public Variable createVariable() { | ||
210 | VariableImpl variable = new VariableImpl(); | ||
211 | return variable; | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @generated | ||
218 | */ | ||
219 | public Exists createExists() { | ||
220 | ExistsImpl exists = new ExistsImpl(); | ||
221 | return exists; | ||
222 | } | ||
223 | |||
224 | /** | ||
225 | * <!-- begin-user-doc --> | ||
226 | * <!-- end-user-doc --> | ||
227 | * @generated | ||
228 | */ | ||
229 | public Forall createForall() { | ||
230 | ForallImpl forall = new ForallImpl(); | ||
231 | return forall; | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | */ | ||
239 | public And createAnd() { | ||
240 | AndImpl and = new AndImpl(); | ||
241 | return and; | ||
242 | } | ||
243 | |||
244 | /** | ||
245 | * <!-- begin-user-doc --> | ||
246 | * <!-- end-user-doc --> | ||
247 | * @generated | ||
248 | */ | ||
249 | public Or createOr() { | ||
250 | OrImpl or = new OrImpl(); | ||
251 | return or; | ||
252 | } | ||
253 | |||
254 | /** | ||
255 | * <!-- begin-user-doc --> | ||
256 | * <!-- end-user-doc --> | ||
257 | * @generated | ||
258 | */ | ||
259 | public Impl createImpl() { | ||
260 | ImplImpl impl = new ImplImpl(); | ||
261 | return impl; | ||
262 | } | ||
263 | |||
264 | /** | ||
265 | * <!-- begin-user-doc --> | ||
266 | * <!-- end-user-doc --> | ||
267 | * @generated | ||
268 | */ | ||
269 | public Not createNot() { | ||
270 | NotImpl not = new NotImpl(); | ||
271 | return not; | ||
272 | } | ||
273 | |||
274 | /** | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @generated | ||
278 | */ | ||
279 | public Iff createIff() { | ||
280 | IffImpl iff = new IffImpl(); | ||
281 | return iff; | ||
282 | } | ||
283 | |||
284 | /** | ||
285 | * <!-- begin-user-doc --> | ||
286 | * <!-- end-user-doc --> | ||
287 | * @generated | ||
288 | */ | ||
289 | public Equals createEquals() { | ||
290 | EqualsImpl equals = new EqualsImpl(); | ||
291 | return equals; | ||
292 | } | ||
293 | |||
294 | /** | ||
295 | * <!-- begin-user-doc --> | ||
296 | * <!-- end-user-doc --> | ||
297 | * @generated | ||
298 | */ | ||
299 | public Distinct createDistinct() { | ||
300 | DistinctImpl distinct = new DistinctImpl(); | ||
301 | return distinct; | ||
302 | } | ||
303 | |||
304 | /** | ||
305 | * <!-- begin-user-doc --> | ||
306 | * <!-- end-user-doc --> | ||
307 | * @generated | ||
308 | */ | ||
309 | public LessThan createLessThan() { | ||
310 | LessThanImpl lessThan = new LessThanImpl(); | ||
311 | return lessThan; | ||
312 | } | ||
313 | |||
314 | /** | ||
315 | * <!-- begin-user-doc --> | ||
316 | * <!-- end-user-doc --> | ||
317 | * @generated | ||
318 | */ | ||
319 | public MoreThan createMoreThan() { | ||
320 | MoreThanImpl moreThan = new MoreThanImpl(); | ||
321 | return moreThan; | ||
322 | } | ||
323 | |||
324 | /** | ||
325 | * <!-- begin-user-doc --> | ||
326 | * <!-- end-user-doc --> | ||
327 | * @generated | ||
328 | */ | ||
329 | public LessOrEqualThan createLessOrEqualThan() { | ||
330 | LessOrEqualThanImpl lessOrEqualThan = new LessOrEqualThanImpl(); | ||
331 | return lessOrEqualThan; | ||
332 | } | ||
333 | |||
334 | /** | ||
335 | * <!-- begin-user-doc --> | ||
336 | * <!-- end-user-doc --> | ||
337 | * @generated | ||
338 | */ | ||
339 | public MoreOrEqualThan createMoreOrEqualThan() { | ||
340 | MoreOrEqualThanImpl moreOrEqualThan = new MoreOrEqualThanImpl(); | ||
341 | return moreOrEqualThan; | ||
342 | } | ||
343 | |||
344 | /** | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | */ | ||
349 | public Plus createPlus() { | ||
350 | PlusImpl plus = new PlusImpl(); | ||
351 | return plus; | ||
352 | } | ||
353 | |||
354 | /** | ||
355 | * <!-- begin-user-doc --> | ||
356 | * <!-- end-user-doc --> | ||
357 | * @generated | ||
358 | */ | ||
359 | public Minus createMinus() { | ||
360 | MinusImpl minus = new MinusImpl(); | ||
361 | return minus; | ||
362 | } | ||
363 | |||
364 | /** | ||
365 | * <!-- begin-user-doc --> | ||
366 | * <!-- end-user-doc --> | ||
367 | * @generated | ||
368 | */ | ||
369 | public Multiply createMultiply() { | ||
370 | MultiplyImpl multiply = new MultiplyImpl(); | ||
371 | return multiply; | ||
372 | } | ||
373 | |||
374 | /** | ||
375 | * <!-- begin-user-doc --> | ||
376 | * <!-- end-user-doc --> | ||
377 | * @generated | ||
378 | */ | ||
379 | public Divison createDivison() { | ||
380 | DivisonImpl divison = new DivisonImpl(); | ||
381 | return divison; | ||
382 | } | ||
383 | |||
384 | /** | ||
385 | * <!-- begin-user-doc --> | ||
386 | * <!-- end-user-doc --> | ||
387 | * @generated | ||
388 | */ | ||
389 | public Mod createMod() { | ||
390 | ModImpl mod = new ModImpl(); | ||
391 | return mod; | ||
392 | } | ||
393 | |||
394 | /** | ||
395 | * <!-- begin-user-doc --> | ||
396 | * <!-- end-user-doc --> | ||
397 | * @generated | ||
398 | */ | ||
399 | public Assertion createAssertion() { | ||
400 | AssertionImpl assertion = new AssertionImpl(); | ||
401 | return assertion; | ||
402 | } | ||
403 | |||
404 | /** | ||
405 | * <!-- begin-user-doc --> | ||
406 | * <!-- end-user-doc --> | ||
407 | * @generated | ||
408 | */ | ||
409 | public ConstantDefinition createConstantDefinition() { | ||
410 | ConstantDefinitionImpl constantDefinition = new ConstantDefinitionImpl(); | ||
411 | return constantDefinition; | ||
412 | } | ||
413 | |||
414 | /** | ||
415 | * <!-- begin-user-doc --> | ||
416 | * <!-- end-user-doc --> | ||
417 | * @generated | ||
418 | */ | ||
419 | public RelationDefinition createRelationDefinition() { | ||
420 | RelationDefinitionImpl relationDefinition = new RelationDefinitionImpl(); | ||
421 | return relationDefinition; | ||
422 | } | ||
423 | |||
424 | /** | ||
425 | * <!-- begin-user-doc --> | ||
426 | * <!-- end-user-doc --> | ||
427 | * @generated | ||
428 | */ | ||
429 | public FunctionDefinition createFunctionDefinition() { | ||
430 | FunctionDefinitionImpl functionDefinition = new FunctionDefinitionImpl(); | ||
431 | return functionDefinition; | ||
432 | } | ||
433 | |||
434 | /** | ||
435 | * <!-- begin-user-doc --> | ||
436 | * <!-- end-user-doc --> | ||
437 | * @generated | ||
438 | */ | ||
439 | public IfThenElse createIfThenElse() { | ||
440 | IfThenElseImpl ifThenElse = new IfThenElseImpl(); | ||
441 | return ifThenElse; | ||
442 | } | ||
443 | |||
444 | /** | ||
445 | * <!-- begin-user-doc --> | ||
446 | * <!-- end-user-doc --> | ||
447 | * @generated | ||
448 | */ | ||
449 | public ConstantDeclaration createConstantDeclaration() { | ||
450 | ConstantDeclarationImpl constantDeclaration = new ConstantDeclarationImpl(); | ||
451 | return constantDeclaration; | ||
452 | } | ||
453 | |||
454 | /** | ||
455 | * <!-- begin-user-doc --> | ||
456 | * <!-- end-user-doc --> | ||
457 | * @generated | ||
458 | */ | ||
459 | public RelationDeclaration createRelationDeclaration() { | ||
460 | RelationDeclarationImpl relationDeclaration = new RelationDeclarationImpl(); | ||
461 | return relationDeclaration; | ||
462 | } | ||
463 | |||
464 | /** | ||
465 | * <!-- begin-user-doc --> | ||
466 | * <!-- end-user-doc --> | ||
467 | * @generated | ||
468 | */ | ||
469 | public FunctionDeclaration createFunctionDeclaration() { | ||
470 | FunctionDeclarationImpl functionDeclaration = new FunctionDeclarationImpl(); | ||
471 | return functionDeclaration; | ||
472 | } | ||
473 | |||
474 | /** | ||
475 | * <!-- begin-user-doc --> | ||
476 | * <!-- end-user-doc --> | ||
477 | * @generated | ||
478 | */ | ||
479 | public TypeDeclaration createTypeDeclaration() { | ||
480 | TypeDeclarationImpl typeDeclaration = new TypeDeclarationImpl(); | ||
481 | return typeDeclaration; | ||
482 | } | ||
483 | |||
484 | /** | ||
485 | * <!-- begin-user-doc --> | ||
486 | * <!-- end-user-doc --> | ||
487 | * @generated | ||
488 | */ | ||
489 | public UnknownBecauseUninterpreted createUnknownBecauseUninterpreted() { | ||
490 | UnknownBecauseUninterpretedImpl unknownBecauseUninterpreted = new UnknownBecauseUninterpretedImpl(); | ||
491 | return unknownBecauseUninterpreted; | ||
492 | } | ||
493 | |||
494 | /** | ||
495 | * <!-- begin-user-doc --> | ||
496 | * <!-- end-user-doc --> | ||
497 | * @generated | ||
498 | */ | ||
499 | public InstanceOf createInstanceOf() { | ||
500 | InstanceOfImpl instanceOf = new InstanceOfImpl(); | ||
501 | return instanceOf; | ||
502 | } | ||
503 | |||
504 | /** | ||
505 | * <!-- begin-user-doc --> | ||
506 | * <!-- end-user-doc --> | ||
507 | * @generated | ||
508 | */ | ||
509 | public LogiclanguagePackage getLogiclanguagePackage() { | ||
510 | return (LogiclanguagePackage)getEPackage(); | ||
511 | } | ||
512 | |||
513 | /** | ||
514 | * <!-- begin-user-doc --> | ||
515 | * <!-- end-user-doc --> | ||
516 | * @deprecated | ||
517 | * @generated | ||
518 | */ | ||
519 | @Deprecated | ||
520 | public static LogiclanguagePackage getPackage() { | ||
521 | return LogiclanguagePackage.eINSTANCE; | ||
522 | } | ||
523 | |||
524 | } //LogiclanguageFactoryImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguagePackageImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguagePackageImpl.java new file mode 100644 index 00000000..b73d679d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguagePackageImpl.java | |||
@@ -0,0 +1,2032 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation; | ||
10 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference; | ||
11 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference; | ||
12 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; | ||
13 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration; | ||
14 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition; | ||
15 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; | ||
16 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct; | ||
17 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison; | ||
18 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals; | ||
19 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists; | ||
20 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall; | ||
21 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; | ||
22 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration; | ||
23 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition; | ||
24 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse; | ||
25 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff; | ||
26 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl; | ||
27 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf; | ||
28 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral; | ||
29 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation; | ||
30 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference; | ||
31 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan; | ||
32 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan; | ||
33 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory; | ||
34 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
35 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus; | ||
36 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod; | ||
37 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan; | ||
38 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan; | ||
39 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply; | ||
40 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not; | ||
41 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or; | ||
42 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus; | ||
43 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation; | ||
44 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference; | ||
45 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression; | ||
46 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral; | ||
47 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference; | ||
48 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | ||
49 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration; | ||
50 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition; | ||
51 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration; | ||
52 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue; | ||
53 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
54 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription; | ||
55 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; | ||
56 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration; | ||
57 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition; | ||
58 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor; | ||
59 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; | ||
60 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted; | ||
61 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; | ||
62 | |||
63 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
64 | |||
65 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl; | ||
66 | |||
67 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
68 | |||
69 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl; | ||
70 | |||
71 | import org.eclipse.emf.ecore.EAttribute; | ||
72 | import org.eclipse.emf.ecore.EClass; | ||
73 | import org.eclipse.emf.ecore.EPackage; | ||
74 | import org.eclipse.emf.ecore.EReference; | ||
75 | |||
76 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * An implementation of the model <b>Package</b>. | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | public class LogiclanguagePackageImpl extends EPackageImpl implements LogiclanguagePackage { | ||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | private EClass typeEClass = null; | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | private EClass definedElementEClass = null; | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | private EClass typeDefinitionEClass = null; | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | private EClass typeReferenceEClass = null; | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | private EClass complexTypeReferenceEClass = null; | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | private EClass primitiveTypeReferenceEClass = null; | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | private EClass intTypeReferenceEClass = null; | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | private EClass boolTypeReferenceEClass = null; | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | private EClass realTypeReferenceEClass = null; | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | private EClass functionEClass = null; | ||
154 | |||
155 | /** | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @generated | ||
159 | */ | ||
160 | private EClass termEClass = null; | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | private EClass symbolicDeclarationEClass = null; | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | private EClass symbolicValueEClass = null; | ||
175 | |||
176 | /** | ||
177 | * <!-- begin-user-doc --> | ||
178 | * <!-- end-user-doc --> | ||
179 | * @generated | ||
180 | */ | ||
181 | private EClass atomicTermEClass = null; | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | private EClass intLiteralEClass = null; | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | private EClass boolLiteralEClass = null; | ||
196 | |||
197 | /** | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @generated | ||
201 | */ | ||
202 | private EClass realLiteralEClass = null; | ||
203 | |||
204 | /** | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @generated | ||
208 | */ | ||
209 | private EClass variableEClass = null; | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | private EClass quantifiedExpressionEClass = null; | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | private EClass existsEClass = null; | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | private EClass forallEClass = null; | ||
231 | |||
232 | /** | ||
233 | * <!-- begin-user-doc --> | ||
234 | * <!-- end-user-doc --> | ||
235 | * @generated | ||
236 | */ | ||
237 | private EClass boolOperationEClass = null; | ||
238 | |||
239 | /** | ||
240 | * <!-- begin-user-doc --> | ||
241 | * <!-- end-user-doc --> | ||
242 | * @generated | ||
243 | */ | ||
244 | private EClass andEClass = null; | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | private EClass orEClass = null; | ||
252 | |||
253 | /** | ||
254 | * <!-- begin-user-doc --> | ||
255 | * <!-- end-user-doc --> | ||
256 | * @generated | ||
257 | */ | ||
258 | private EClass implEClass = null; | ||
259 | |||
260 | /** | ||
261 | * <!-- begin-user-doc --> | ||
262 | * <!-- end-user-doc --> | ||
263 | * @generated | ||
264 | */ | ||
265 | private EClass notEClass = null; | ||
266 | |||
267 | /** | ||
268 | * <!-- begin-user-doc --> | ||
269 | * <!-- end-user-doc --> | ||
270 | * @generated | ||
271 | */ | ||
272 | private EClass iffEClass = null; | ||
273 | |||
274 | /** | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @generated | ||
278 | */ | ||
279 | private EClass primitiveRelationEClass = null; | ||
280 | |||
281 | /** | ||
282 | * <!-- begin-user-doc --> | ||
283 | * <!-- end-user-doc --> | ||
284 | * @generated | ||
285 | */ | ||
286 | private EClass equalsEClass = null; | ||
287 | |||
288 | /** | ||
289 | * <!-- begin-user-doc --> | ||
290 | * <!-- end-user-doc --> | ||
291 | * @generated | ||
292 | */ | ||
293 | private EClass distinctEClass = null; | ||
294 | |||
295 | /** | ||
296 | * <!-- begin-user-doc --> | ||
297 | * <!-- end-user-doc --> | ||
298 | * @generated | ||
299 | */ | ||
300 | private EClass lessThanEClass = null; | ||
301 | |||
302 | /** | ||
303 | * <!-- begin-user-doc --> | ||
304 | * <!-- end-user-doc --> | ||
305 | * @generated | ||
306 | */ | ||
307 | private EClass moreThanEClass = null; | ||
308 | |||
309 | /** | ||
310 | * <!-- begin-user-doc --> | ||
311 | * <!-- end-user-doc --> | ||
312 | * @generated | ||
313 | */ | ||
314 | private EClass lessOrEqualThanEClass = null; | ||
315 | |||
316 | /** | ||
317 | * <!-- begin-user-doc --> | ||
318 | * <!-- end-user-doc --> | ||
319 | * @generated | ||
320 | */ | ||
321 | private EClass moreOrEqualThanEClass = null; | ||
322 | |||
323 | /** | ||
324 | * <!-- begin-user-doc --> | ||
325 | * <!-- end-user-doc --> | ||
326 | * @generated | ||
327 | */ | ||
328 | private EClass intOperationEClass = null; | ||
329 | |||
330 | /** | ||
331 | * <!-- begin-user-doc --> | ||
332 | * <!-- end-user-doc --> | ||
333 | * @generated | ||
334 | */ | ||
335 | private EClass plusEClass = null; | ||
336 | |||
337 | /** | ||
338 | * <!-- begin-user-doc --> | ||
339 | * <!-- end-user-doc --> | ||
340 | * @generated | ||
341 | */ | ||
342 | private EClass minusEClass = null; | ||
343 | |||
344 | /** | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | */ | ||
349 | private EClass multiplyEClass = null; | ||
350 | |||
351 | /** | ||
352 | * <!-- begin-user-doc --> | ||
353 | * <!-- end-user-doc --> | ||
354 | * @generated | ||
355 | */ | ||
356 | private EClass divisonEClass = null; | ||
357 | |||
358 | /** | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @generated | ||
362 | */ | ||
363 | private EClass modEClass = null; | ||
364 | |||
365 | /** | ||
366 | * <!-- begin-user-doc --> | ||
367 | * <!-- end-user-doc --> | ||
368 | * @generated | ||
369 | */ | ||
370 | private EClass typeDescriptorEClass = null; | ||
371 | |||
372 | /** | ||
373 | * <!-- begin-user-doc --> | ||
374 | * <!-- end-user-doc --> | ||
375 | * @generated | ||
376 | */ | ||
377 | private EClass termDescriptionEClass = null; | ||
378 | |||
379 | /** | ||
380 | * <!-- begin-user-doc --> | ||
381 | * <!-- end-user-doc --> | ||
382 | * @generated | ||
383 | */ | ||
384 | private EClass assertionEClass = null; | ||
385 | |||
386 | /** | ||
387 | * <!-- begin-user-doc --> | ||
388 | * <!-- end-user-doc --> | ||
389 | * @generated | ||
390 | */ | ||
391 | private EClass relationEClass = null; | ||
392 | |||
393 | /** | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | */ | ||
398 | private EClass constantEClass = null; | ||
399 | |||
400 | /** | ||
401 | * <!-- begin-user-doc --> | ||
402 | * <!-- end-user-doc --> | ||
403 | * @generated | ||
404 | */ | ||
405 | private EClass constantDefinitionEClass = null; | ||
406 | |||
407 | /** | ||
408 | * <!-- begin-user-doc --> | ||
409 | * <!-- end-user-doc --> | ||
410 | * @generated | ||
411 | */ | ||
412 | private EClass relationDefinitionEClass = null; | ||
413 | |||
414 | /** | ||
415 | * <!-- begin-user-doc --> | ||
416 | * <!-- end-user-doc --> | ||
417 | * @generated | ||
418 | */ | ||
419 | private EClass functionDefinitionEClass = null; | ||
420 | |||
421 | /** | ||
422 | * <!-- begin-user-doc --> | ||
423 | * <!-- end-user-doc --> | ||
424 | * @generated | ||
425 | */ | ||
426 | private EClass ifThenElseEClass = null; | ||
427 | |||
428 | /** | ||
429 | * <!-- begin-user-doc --> | ||
430 | * <!-- end-user-doc --> | ||
431 | * @generated | ||
432 | */ | ||
433 | private EClass constantDeclarationEClass = null; | ||
434 | |||
435 | /** | ||
436 | * <!-- begin-user-doc --> | ||
437 | * <!-- end-user-doc --> | ||
438 | * @generated | ||
439 | */ | ||
440 | private EClass relationDeclarationEClass = null; | ||
441 | |||
442 | /** | ||
443 | * <!-- begin-user-doc --> | ||
444 | * <!-- end-user-doc --> | ||
445 | * @generated | ||
446 | */ | ||
447 | private EClass functionDeclarationEClass = null; | ||
448 | |||
449 | /** | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @generated | ||
453 | */ | ||
454 | private EClass typeDeclarationEClass = null; | ||
455 | |||
456 | /** | ||
457 | * <!-- begin-user-doc --> | ||
458 | * <!-- end-user-doc --> | ||
459 | * @generated | ||
460 | */ | ||
461 | private EClass unknownBecauseUninterpretedEClass = null; | ||
462 | |||
463 | /** | ||
464 | * <!-- begin-user-doc --> | ||
465 | * <!-- end-user-doc --> | ||
466 | * @generated | ||
467 | */ | ||
468 | private EClass instanceOfEClass = null; | ||
469 | |||
470 | /** | ||
471 | * Creates an instance of the model <b>Package</b>, registered with | ||
472 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
473 | * package URI value. | ||
474 | * <p>Note: the correct way to create the package is via the static | ||
475 | * factory method {@link #init init()}, which also performs | ||
476 | * initialization of the package, or returns the registered package, | ||
477 | * if one already exists. | ||
478 | * <!-- begin-user-doc --> | ||
479 | * <!-- end-user-doc --> | ||
480 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
481 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#eNS_URI | ||
482 | * @see #init() | ||
483 | * @generated | ||
484 | */ | ||
485 | private LogiclanguagePackageImpl() { | ||
486 | super(eNS_URI, LogiclanguageFactory.eINSTANCE); | ||
487 | } | ||
488 | |||
489 | /** | ||
490 | * <!-- begin-user-doc --> | ||
491 | * <!-- end-user-doc --> | ||
492 | * @generated | ||
493 | */ | ||
494 | private static boolean isInited = false; | ||
495 | |||
496 | /** | ||
497 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
498 | * | ||
499 | * <p>This method is used to initialize {@link LogiclanguagePackage#eINSTANCE} when that field is accessed. | ||
500 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
501 | * <!-- begin-user-doc --> | ||
502 | * <!-- end-user-doc --> | ||
503 | * @see #eNS_URI | ||
504 | * @see #createPackageContents() | ||
505 | * @see #initializePackageContents() | ||
506 | * @generated | ||
507 | */ | ||
508 | public static LogiclanguagePackage init() { | ||
509 | if (isInited) return (LogiclanguagePackage)EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI); | ||
510 | |||
511 | // Obtain or create and register package | ||
512 | LogiclanguagePackageImpl theLogiclanguagePackage = (LogiclanguagePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LogiclanguagePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LogiclanguagePackageImpl()); | ||
513 | |||
514 | isInited = true; | ||
515 | |||
516 | // Obtain or create and register interdependencies | ||
517 | LogicproblemPackageImpl theLogicproblemPackage = (LogicproblemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI) instanceof LogicproblemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI) : LogicproblemPackage.eINSTANCE); | ||
518 | LogicresultPackageImpl theLogicresultPackage = (LogicresultPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogicresultPackage.eNS_URI) instanceof LogicresultPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogicresultPackage.eNS_URI) : LogicresultPackage.eINSTANCE); | ||
519 | |||
520 | // Create package meta-data objects | ||
521 | theLogiclanguagePackage.createPackageContents(); | ||
522 | theLogicproblemPackage.createPackageContents(); | ||
523 | theLogicresultPackage.createPackageContents(); | ||
524 | |||
525 | // Initialize created meta-data | ||
526 | theLogiclanguagePackage.initializePackageContents(); | ||
527 | theLogicproblemPackage.initializePackageContents(); | ||
528 | theLogicresultPackage.initializePackageContents(); | ||
529 | |||
530 | // Mark meta-data to indicate it can't be changed | ||
531 | theLogiclanguagePackage.freeze(); | ||
532 | |||
533 | |||
534 | // Update the registry and return the package | ||
535 | EPackage.Registry.INSTANCE.put(LogiclanguagePackage.eNS_URI, theLogiclanguagePackage); | ||
536 | return theLogiclanguagePackage; | ||
537 | } | ||
538 | |||
539 | /** | ||
540 | * <!-- begin-user-doc --> | ||
541 | * <!-- end-user-doc --> | ||
542 | * @generated | ||
543 | */ | ||
544 | public EClass getType() { | ||
545 | return typeEClass; | ||
546 | } | ||
547 | |||
548 | /** | ||
549 | * <!-- begin-user-doc --> | ||
550 | * <!-- end-user-doc --> | ||
551 | * @generated | ||
552 | */ | ||
553 | public EAttribute getType_Name() { | ||
554 | return (EAttribute)typeEClass.getEStructuralFeatures().get(0); | ||
555 | } | ||
556 | |||
557 | /** | ||
558 | * <!-- begin-user-doc --> | ||
559 | * <!-- end-user-doc --> | ||
560 | * @generated | ||
561 | */ | ||
562 | public EReference getType_Subtypes() { | ||
563 | return (EReference)typeEClass.getEStructuralFeatures().get(1); | ||
564 | } | ||
565 | |||
566 | /** | ||
567 | * <!-- begin-user-doc --> | ||
568 | * <!-- end-user-doc --> | ||
569 | * @generated | ||
570 | */ | ||
571 | public EReference getType_Supertypes() { | ||
572 | return (EReference)typeEClass.getEStructuralFeatures().get(2); | ||
573 | } | ||
574 | |||
575 | /** | ||
576 | * <!-- begin-user-doc --> | ||
577 | * <!-- end-user-doc --> | ||
578 | * @generated | ||
579 | */ | ||
580 | public EAttribute getType_IsAbstract() { | ||
581 | return (EAttribute)typeEClass.getEStructuralFeatures().get(3); | ||
582 | } | ||
583 | |||
584 | /** | ||
585 | * <!-- begin-user-doc --> | ||
586 | * <!-- end-user-doc --> | ||
587 | * @generated | ||
588 | */ | ||
589 | public EClass getDefinedElement() { | ||
590 | return definedElementEClass; | ||
591 | } | ||
592 | |||
593 | /** | ||
594 | * <!-- begin-user-doc --> | ||
595 | * <!-- end-user-doc --> | ||
596 | * @generated | ||
597 | */ | ||
598 | public EReference getDefinedElement_DefinedInType() { | ||
599 | return (EReference)definedElementEClass.getEStructuralFeatures().get(0); | ||
600 | } | ||
601 | |||
602 | /** | ||
603 | * <!-- begin-user-doc --> | ||
604 | * <!-- end-user-doc --> | ||
605 | * @generated | ||
606 | */ | ||
607 | public EClass getTypeDefinition() { | ||
608 | return typeDefinitionEClass; | ||
609 | } | ||
610 | |||
611 | /** | ||
612 | * <!-- begin-user-doc --> | ||
613 | * <!-- end-user-doc --> | ||
614 | * @generated | ||
615 | */ | ||
616 | public EReference getTypeDefinition_Elements() { | ||
617 | return (EReference)typeDefinitionEClass.getEStructuralFeatures().get(0); | ||
618 | } | ||
619 | |||
620 | /** | ||
621 | * <!-- begin-user-doc --> | ||
622 | * <!-- end-user-doc --> | ||
623 | * @generated | ||
624 | */ | ||
625 | public EReference getTypeDefinition_Defines() { | ||
626 | return (EReference)typeDefinitionEClass.getEStructuralFeatures().get(1); | ||
627 | } | ||
628 | |||
629 | /** | ||
630 | * <!-- begin-user-doc --> | ||
631 | * <!-- end-user-doc --> | ||
632 | * @generated | ||
633 | */ | ||
634 | public EClass getTypeReference() { | ||
635 | return typeReferenceEClass; | ||
636 | } | ||
637 | |||
638 | /** | ||
639 | * <!-- begin-user-doc --> | ||
640 | * <!-- end-user-doc --> | ||
641 | * @generated | ||
642 | */ | ||
643 | public EClass getComplexTypeReference() { | ||
644 | return complexTypeReferenceEClass; | ||
645 | } | ||
646 | |||
647 | /** | ||
648 | * <!-- begin-user-doc --> | ||
649 | * <!-- end-user-doc --> | ||
650 | * @generated | ||
651 | */ | ||
652 | public EReference getComplexTypeReference_Referred() { | ||
653 | return (EReference)complexTypeReferenceEClass.getEStructuralFeatures().get(0); | ||
654 | } | ||
655 | |||
656 | /** | ||
657 | * <!-- begin-user-doc --> | ||
658 | * <!-- end-user-doc --> | ||
659 | * @generated | ||
660 | */ | ||
661 | public EClass getPrimitiveTypeReference() { | ||
662 | return primitiveTypeReferenceEClass; | ||
663 | } | ||
664 | |||
665 | /** | ||
666 | * <!-- begin-user-doc --> | ||
667 | * <!-- end-user-doc --> | ||
668 | * @generated | ||
669 | */ | ||
670 | public EClass getIntTypeReference() { | ||
671 | return intTypeReferenceEClass; | ||
672 | } | ||
673 | |||
674 | /** | ||
675 | * <!-- begin-user-doc --> | ||
676 | * <!-- end-user-doc --> | ||
677 | * @generated | ||
678 | */ | ||
679 | public EClass getBoolTypeReference() { | ||
680 | return boolTypeReferenceEClass; | ||
681 | } | ||
682 | |||
683 | /** | ||
684 | * <!-- begin-user-doc --> | ||
685 | * <!-- end-user-doc --> | ||
686 | * @generated | ||
687 | */ | ||
688 | public EClass getRealTypeReference() { | ||
689 | return realTypeReferenceEClass; | ||
690 | } | ||
691 | |||
692 | /** | ||
693 | * <!-- begin-user-doc --> | ||
694 | * <!-- end-user-doc --> | ||
695 | * @generated | ||
696 | */ | ||
697 | public EClass getFunction() { | ||
698 | return functionEClass; | ||
699 | } | ||
700 | |||
701 | /** | ||
702 | * <!-- begin-user-doc --> | ||
703 | * <!-- end-user-doc --> | ||
704 | * @generated | ||
705 | */ | ||
706 | public EReference getFunction_Range() { | ||
707 | return (EReference)functionEClass.getEStructuralFeatures().get(0); | ||
708 | } | ||
709 | |||
710 | /** | ||
711 | * <!-- begin-user-doc --> | ||
712 | * <!-- end-user-doc --> | ||
713 | * @generated | ||
714 | */ | ||
715 | public EReference getFunction_Parameters() { | ||
716 | return (EReference)functionEClass.getEStructuralFeatures().get(1); | ||
717 | } | ||
718 | |||
719 | /** | ||
720 | * <!-- begin-user-doc --> | ||
721 | * <!-- end-user-doc --> | ||
722 | * @generated | ||
723 | */ | ||
724 | public EReference getFunction_Annotations() { | ||
725 | return (EReference)functionEClass.getEStructuralFeatures().get(2); | ||
726 | } | ||
727 | |||
728 | /** | ||
729 | * <!-- begin-user-doc --> | ||
730 | * <!-- end-user-doc --> | ||
731 | * @generated | ||
732 | */ | ||
733 | public EClass getTerm() { | ||
734 | return termEClass; | ||
735 | } | ||
736 | |||
737 | /** | ||
738 | * <!-- begin-user-doc --> | ||
739 | * <!-- end-user-doc --> | ||
740 | * @generated | ||
741 | */ | ||
742 | public EClass getSymbolicDeclaration() { | ||
743 | return symbolicDeclarationEClass; | ||
744 | } | ||
745 | |||
746 | /** | ||
747 | * <!-- begin-user-doc --> | ||
748 | * <!-- end-user-doc --> | ||
749 | * @generated | ||
750 | */ | ||
751 | public EAttribute getSymbolicDeclaration_Name() { | ||
752 | return (EAttribute)symbolicDeclarationEClass.getEStructuralFeatures().get(0); | ||
753 | } | ||
754 | |||
755 | /** | ||
756 | * <!-- begin-user-doc --> | ||
757 | * <!-- end-user-doc --> | ||
758 | * @generated | ||
759 | */ | ||
760 | public EClass getSymbolicValue() { | ||
761 | return symbolicValueEClass; | ||
762 | } | ||
763 | |||
764 | /** | ||
765 | * <!-- begin-user-doc --> | ||
766 | * <!-- end-user-doc --> | ||
767 | * @generated | ||
768 | */ | ||
769 | public EReference getSymbolicValue_SymbolicReference() { | ||
770 | return (EReference)symbolicValueEClass.getEStructuralFeatures().get(0); | ||
771 | } | ||
772 | |||
773 | /** | ||
774 | * <!-- begin-user-doc --> | ||
775 | * <!-- end-user-doc --> | ||
776 | * @generated | ||
777 | */ | ||
778 | public EReference getSymbolicValue_ParameterSubstitutions() { | ||
779 | return (EReference)symbolicValueEClass.getEStructuralFeatures().get(1); | ||
780 | } | ||
781 | |||
782 | /** | ||
783 | * <!-- begin-user-doc --> | ||
784 | * <!-- end-user-doc --> | ||
785 | * @generated | ||
786 | */ | ||
787 | public EClass getAtomicTerm() { | ||
788 | return atomicTermEClass; | ||
789 | } | ||
790 | |||
791 | /** | ||
792 | * <!-- begin-user-doc --> | ||
793 | * <!-- end-user-doc --> | ||
794 | * @generated | ||
795 | */ | ||
796 | public EClass getIntLiteral() { | ||
797 | return intLiteralEClass; | ||
798 | } | ||
799 | |||
800 | /** | ||
801 | * <!-- begin-user-doc --> | ||
802 | * <!-- end-user-doc --> | ||
803 | * @generated | ||
804 | */ | ||
805 | public EAttribute getIntLiteral_Value() { | ||
806 | return (EAttribute)intLiteralEClass.getEStructuralFeatures().get(0); | ||
807 | } | ||
808 | |||
809 | /** | ||
810 | * <!-- begin-user-doc --> | ||
811 | * <!-- end-user-doc --> | ||
812 | * @generated | ||
813 | */ | ||
814 | public EClass getBoolLiteral() { | ||
815 | return boolLiteralEClass; | ||
816 | } | ||
817 | |||
818 | /** | ||
819 | * <!-- begin-user-doc --> | ||
820 | * <!-- end-user-doc --> | ||
821 | * @generated | ||
822 | */ | ||
823 | public EAttribute getBoolLiteral_Value() { | ||
824 | return (EAttribute)boolLiteralEClass.getEStructuralFeatures().get(0); | ||
825 | } | ||
826 | |||
827 | /** | ||
828 | * <!-- begin-user-doc --> | ||
829 | * <!-- end-user-doc --> | ||
830 | * @generated | ||
831 | */ | ||
832 | public EClass getRealLiteral() { | ||
833 | return realLiteralEClass; | ||
834 | } | ||
835 | |||
836 | /** | ||
837 | * <!-- begin-user-doc --> | ||
838 | * <!-- end-user-doc --> | ||
839 | * @generated | ||
840 | */ | ||
841 | public EAttribute getRealLiteral_Value() { | ||
842 | return (EAttribute)realLiteralEClass.getEStructuralFeatures().get(0); | ||
843 | } | ||
844 | |||
845 | /** | ||
846 | * <!-- begin-user-doc --> | ||
847 | * <!-- end-user-doc --> | ||
848 | * @generated | ||
849 | */ | ||
850 | public EClass getVariable() { | ||
851 | return variableEClass; | ||
852 | } | ||
853 | |||
854 | /** | ||
855 | * <!-- begin-user-doc --> | ||
856 | * <!-- end-user-doc --> | ||
857 | * @generated | ||
858 | */ | ||
859 | public EReference getVariable_Range() { | ||
860 | return (EReference)variableEClass.getEStructuralFeatures().get(0); | ||
861 | } | ||
862 | |||
863 | /** | ||
864 | * <!-- begin-user-doc --> | ||
865 | * <!-- end-user-doc --> | ||
866 | * @generated | ||
867 | */ | ||
868 | public EClass getQuantifiedExpression() { | ||
869 | return quantifiedExpressionEClass; | ||
870 | } | ||
871 | |||
872 | /** | ||
873 | * <!-- begin-user-doc --> | ||
874 | * <!-- end-user-doc --> | ||
875 | * @generated | ||
876 | */ | ||
877 | public EReference getQuantifiedExpression_QuantifiedVariables() { | ||
878 | return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(0); | ||
879 | } | ||
880 | |||
881 | /** | ||
882 | * <!-- begin-user-doc --> | ||
883 | * <!-- end-user-doc --> | ||
884 | * @generated | ||
885 | */ | ||
886 | public EReference getQuantifiedExpression_Expression() { | ||
887 | return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(1); | ||
888 | } | ||
889 | |||
890 | /** | ||
891 | * <!-- begin-user-doc --> | ||
892 | * <!-- end-user-doc --> | ||
893 | * @generated | ||
894 | */ | ||
895 | public EClass getExists() { | ||
896 | return existsEClass; | ||
897 | } | ||
898 | |||
899 | /** | ||
900 | * <!-- begin-user-doc --> | ||
901 | * <!-- end-user-doc --> | ||
902 | * @generated | ||
903 | */ | ||
904 | public EClass getForall() { | ||
905 | return forallEClass; | ||
906 | } | ||
907 | |||
908 | /** | ||
909 | * <!-- begin-user-doc --> | ||
910 | * <!-- end-user-doc --> | ||
911 | * @generated | ||
912 | */ | ||
913 | public EClass getBoolOperation() { | ||
914 | return boolOperationEClass; | ||
915 | } | ||
916 | |||
917 | /** | ||
918 | * <!-- begin-user-doc --> | ||
919 | * <!-- end-user-doc --> | ||
920 | * @generated | ||
921 | */ | ||
922 | public EClass getAnd() { | ||
923 | return andEClass; | ||
924 | } | ||
925 | |||
926 | /** | ||
927 | * <!-- begin-user-doc --> | ||
928 | * <!-- end-user-doc --> | ||
929 | * @generated | ||
930 | */ | ||
931 | public EReference getAnd_Operands() { | ||
932 | return (EReference)andEClass.getEStructuralFeatures().get(0); | ||
933 | } | ||
934 | |||
935 | /** | ||
936 | * <!-- begin-user-doc --> | ||
937 | * <!-- end-user-doc --> | ||
938 | * @generated | ||
939 | */ | ||
940 | public EClass getOr() { | ||
941 | return orEClass; | ||
942 | } | ||
943 | |||
944 | /** | ||
945 | * <!-- begin-user-doc --> | ||
946 | * <!-- end-user-doc --> | ||
947 | * @generated | ||
948 | */ | ||
949 | public EReference getOr_Operands() { | ||
950 | return (EReference)orEClass.getEStructuralFeatures().get(0); | ||
951 | } | ||
952 | |||
953 | /** | ||
954 | * <!-- begin-user-doc --> | ||
955 | * <!-- end-user-doc --> | ||
956 | * @generated | ||
957 | */ | ||
958 | public EClass getImpl() { | ||
959 | return implEClass; | ||
960 | } | ||
961 | |||
962 | /** | ||
963 | * <!-- begin-user-doc --> | ||
964 | * <!-- end-user-doc --> | ||
965 | * @generated | ||
966 | */ | ||
967 | public EReference getImpl_LeftOperand() { | ||
968 | return (EReference)implEClass.getEStructuralFeatures().get(0); | ||
969 | } | ||
970 | |||
971 | /** | ||
972 | * <!-- begin-user-doc --> | ||
973 | * <!-- end-user-doc --> | ||
974 | * @generated | ||
975 | */ | ||
976 | public EReference getImpl_RightOperand() { | ||
977 | return (EReference)implEClass.getEStructuralFeatures().get(1); | ||
978 | } | ||
979 | |||
980 | /** | ||
981 | * <!-- begin-user-doc --> | ||
982 | * <!-- end-user-doc --> | ||
983 | * @generated | ||
984 | */ | ||
985 | public EClass getNot() { | ||
986 | return notEClass; | ||
987 | } | ||
988 | |||
989 | /** | ||
990 | * <!-- begin-user-doc --> | ||
991 | * <!-- end-user-doc --> | ||
992 | * @generated | ||
993 | */ | ||
994 | public EReference getNot_Operand() { | ||
995 | return (EReference)notEClass.getEStructuralFeatures().get(0); | ||
996 | } | ||
997 | |||
998 | /** | ||
999 | * <!-- begin-user-doc --> | ||
1000 | * <!-- end-user-doc --> | ||
1001 | * @generated | ||
1002 | */ | ||
1003 | public EClass getIff() { | ||
1004 | return iffEClass; | ||
1005 | } | ||
1006 | |||
1007 | /** | ||
1008 | * <!-- begin-user-doc --> | ||
1009 | * <!-- end-user-doc --> | ||
1010 | * @generated | ||
1011 | */ | ||
1012 | public EReference getIff_LeftOperand() { | ||
1013 | return (EReference)iffEClass.getEStructuralFeatures().get(0); | ||
1014 | } | ||
1015 | |||
1016 | /** | ||
1017 | * <!-- begin-user-doc --> | ||
1018 | * <!-- end-user-doc --> | ||
1019 | * @generated | ||
1020 | */ | ||
1021 | public EReference getIff_RightOperand() { | ||
1022 | return (EReference)iffEClass.getEStructuralFeatures().get(1); | ||
1023 | } | ||
1024 | |||
1025 | /** | ||
1026 | * <!-- begin-user-doc --> | ||
1027 | * <!-- end-user-doc --> | ||
1028 | * @generated | ||
1029 | */ | ||
1030 | public EClass getPrimitiveRelation() { | ||
1031 | return primitiveRelationEClass; | ||
1032 | } | ||
1033 | |||
1034 | /** | ||
1035 | * <!-- begin-user-doc --> | ||
1036 | * <!-- end-user-doc --> | ||
1037 | * @generated | ||
1038 | */ | ||
1039 | public EClass getEquals() { | ||
1040 | return equalsEClass; | ||
1041 | } | ||
1042 | |||
1043 | /** | ||
1044 | * <!-- begin-user-doc --> | ||
1045 | * <!-- end-user-doc --> | ||
1046 | * @generated | ||
1047 | */ | ||
1048 | public EReference getEquals_LeftOperand() { | ||
1049 | return (EReference)equalsEClass.getEStructuralFeatures().get(0); | ||
1050 | } | ||
1051 | |||
1052 | /** | ||
1053 | * <!-- begin-user-doc --> | ||
1054 | * <!-- end-user-doc --> | ||
1055 | * @generated | ||
1056 | */ | ||
1057 | public EReference getEquals_RightOperand() { | ||
1058 | return (EReference)equalsEClass.getEStructuralFeatures().get(1); | ||
1059 | } | ||
1060 | |||
1061 | /** | ||
1062 | * <!-- begin-user-doc --> | ||
1063 | * <!-- end-user-doc --> | ||
1064 | * @generated | ||
1065 | */ | ||
1066 | public EClass getDistinct() { | ||
1067 | return distinctEClass; | ||
1068 | } | ||
1069 | |||
1070 | /** | ||
1071 | * <!-- begin-user-doc --> | ||
1072 | * <!-- end-user-doc --> | ||
1073 | * @generated | ||
1074 | */ | ||
1075 | public EReference getDistinct_Operands() { | ||
1076 | return (EReference)distinctEClass.getEStructuralFeatures().get(0); | ||
1077 | } | ||
1078 | |||
1079 | /** | ||
1080 | * <!-- begin-user-doc --> | ||
1081 | * <!-- end-user-doc --> | ||
1082 | * @generated | ||
1083 | */ | ||
1084 | public EClass getLessThan() { | ||
1085 | return lessThanEClass; | ||
1086 | } | ||
1087 | |||
1088 | /** | ||
1089 | * <!-- begin-user-doc --> | ||
1090 | * <!-- end-user-doc --> | ||
1091 | * @generated | ||
1092 | */ | ||
1093 | public EReference getLessThan_LeftOperand() { | ||
1094 | return (EReference)lessThanEClass.getEStructuralFeatures().get(0); | ||
1095 | } | ||
1096 | |||
1097 | /** | ||
1098 | * <!-- begin-user-doc --> | ||
1099 | * <!-- end-user-doc --> | ||
1100 | * @generated | ||
1101 | */ | ||
1102 | public EReference getLessThan_RightOperand() { | ||
1103 | return (EReference)lessThanEClass.getEStructuralFeatures().get(1); | ||
1104 | } | ||
1105 | |||
1106 | /** | ||
1107 | * <!-- begin-user-doc --> | ||
1108 | * <!-- end-user-doc --> | ||
1109 | * @generated | ||
1110 | */ | ||
1111 | public EClass getMoreThan() { | ||
1112 | return moreThanEClass; | ||
1113 | } | ||
1114 | |||
1115 | /** | ||
1116 | * <!-- begin-user-doc --> | ||
1117 | * <!-- end-user-doc --> | ||
1118 | * @generated | ||
1119 | */ | ||
1120 | public EReference getMoreThan_LeftOperand() { | ||
1121 | return (EReference)moreThanEClass.getEStructuralFeatures().get(0); | ||
1122 | } | ||
1123 | |||
1124 | /** | ||
1125 | * <!-- begin-user-doc --> | ||
1126 | * <!-- end-user-doc --> | ||
1127 | * @generated | ||
1128 | */ | ||
1129 | public EReference getMoreThan_RightOperand() { | ||
1130 | return (EReference)moreThanEClass.getEStructuralFeatures().get(1); | ||
1131 | } | ||
1132 | |||
1133 | /** | ||
1134 | * <!-- begin-user-doc --> | ||
1135 | * <!-- end-user-doc --> | ||
1136 | * @generated | ||
1137 | */ | ||
1138 | public EClass getLessOrEqualThan() { | ||
1139 | return lessOrEqualThanEClass; | ||
1140 | } | ||
1141 | |||
1142 | /** | ||
1143 | * <!-- begin-user-doc --> | ||
1144 | * <!-- end-user-doc --> | ||
1145 | * @generated | ||
1146 | */ | ||
1147 | public EReference getLessOrEqualThan_LeftOperand() { | ||
1148 | return (EReference)lessOrEqualThanEClass.getEStructuralFeatures().get(0); | ||
1149 | } | ||
1150 | |||
1151 | /** | ||
1152 | * <!-- begin-user-doc --> | ||
1153 | * <!-- end-user-doc --> | ||
1154 | * @generated | ||
1155 | */ | ||
1156 | public EReference getLessOrEqualThan_RightOperand() { | ||
1157 | return (EReference)lessOrEqualThanEClass.getEStructuralFeatures().get(1); | ||
1158 | } | ||
1159 | |||
1160 | /** | ||
1161 | * <!-- begin-user-doc --> | ||
1162 | * <!-- end-user-doc --> | ||
1163 | * @generated | ||
1164 | */ | ||
1165 | public EClass getMoreOrEqualThan() { | ||
1166 | return moreOrEqualThanEClass; | ||
1167 | } | ||
1168 | |||
1169 | /** | ||
1170 | * <!-- begin-user-doc --> | ||
1171 | * <!-- end-user-doc --> | ||
1172 | * @generated | ||
1173 | */ | ||
1174 | public EReference getMoreOrEqualThan_LeftOperand() { | ||
1175 | return (EReference)moreOrEqualThanEClass.getEStructuralFeatures().get(0); | ||
1176 | } | ||
1177 | |||
1178 | /** | ||
1179 | * <!-- begin-user-doc --> | ||
1180 | * <!-- end-user-doc --> | ||
1181 | * @generated | ||
1182 | */ | ||
1183 | public EReference getMoreOrEqualThan_RightOperand() { | ||
1184 | return (EReference)moreOrEqualThanEClass.getEStructuralFeatures().get(1); | ||
1185 | } | ||
1186 | |||
1187 | /** | ||
1188 | * <!-- begin-user-doc --> | ||
1189 | * <!-- end-user-doc --> | ||
1190 | * @generated | ||
1191 | */ | ||
1192 | public EClass getIntOperation() { | ||
1193 | return intOperationEClass; | ||
1194 | } | ||
1195 | |||
1196 | /** | ||
1197 | * <!-- begin-user-doc --> | ||
1198 | * <!-- end-user-doc --> | ||
1199 | * @generated | ||
1200 | */ | ||
1201 | public EReference getIntOperation_LeftOperand() { | ||
1202 | return (EReference)intOperationEClass.getEStructuralFeatures().get(0); | ||
1203 | } | ||
1204 | |||
1205 | /** | ||
1206 | * <!-- begin-user-doc --> | ||
1207 | * <!-- end-user-doc --> | ||
1208 | * @generated | ||
1209 | */ | ||
1210 | public EReference getIntOperation_RightOperand() { | ||
1211 | return (EReference)intOperationEClass.getEStructuralFeatures().get(1); | ||
1212 | } | ||
1213 | |||
1214 | /** | ||
1215 | * <!-- begin-user-doc --> | ||
1216 | * <!-- end-user-doc --> | ||
1217 | * @generated | ||
1218 | */ | ||
1219 | public EClass getPlus() { | ||
1220 | return plusEClass; | ||
1221 | } | ||
1222 | |||
1223 | /** | ||
1224 | * <!-- begin-user-doc --> | ||
1225 | * <!-- end-user-doc --> | ||
1226 | * @generated | ||
1227 | */ | ||
1228 | public EClass getMinus() { | ||
1229 | return minusEClass; | ||
1230 | } | ||
1231 | |||
1232 | /** | ||
1233 | * <!-- begin-user-doc --> | ||
1234 | * <!-- end-user-doc --> | ||
1235 | * @generated | ||
1236 | */ | ||
1237 | public EClass getMultiply() { | ||
1238 | return multiplyEClass; | ||
1239 | } | ||
1240 | |||
1241 | /** | ||
1242 | * <!-- begin-user-doc --> | ||
1243 | * <!-- end-user-doc --> | ||
1244 | * @generated | ||
1245 | */ | ||
1246 | public EClass getDivison() { | ||
1247 | return divisonEClass; | ||
1248 | } | ||
1249 | |||
1250 | /** | ||
1251 | * <!-- begin-user-doc --> | ||
1252 | * <!-- end-user-doc --> | ||
1253 | * @generated | ||
1254 | */ | ||
1255 | public EClass getMod() { | ||
1256 | return modEClass; | ||
1257 | } | ||
1258 | |||
1259 | /** | ||
1260 | * <!-- begin-user-doc --> | ||
1261 | * <!-- end-user-doc --> | ||
1262 | * @generated | ||
1263 | */ | ||
1264 | public EClass getTypeDescriptor() { | ||
1265 | return typeDescriptorEClass; | ||
1266 | } | ||
1267 | |||
1268 | /** | ||
1269 | * <!-- begin-user-doc --> | ||
1270 | * <!-- end-user-doc --> | ||
1271 | * @generated | ||
1272 | */ | ||
1273 | public EClass getTermDescription() { | ||
1274 | return termDescriptionEClass; | ||
1275 | } | ||
1276 | |||
1277 | /** | ||
1278 | * <!-- begin-user-doc --> | ||
1279 | * <!-- end-user-doc --> | ||
1280 | * @generated | ||
1281 | */ | ||
1282 | public EClass getAssertion() { | ||
1283 | return assertionEClass; | ||
1284 | } | ||
1285 | |||
1286 | /** | ||
1287 | * <!-- begin-user-doc --> | ||
1288 | * <!-- end-user-doc --> | ||
1289 | * @generated | ||
1290 | */ | ||
1291 | public EReference getAssertion_Value() { | ||
1292 | return (EReference)assertionEClass.getEStructuralFeatures().get(0); | ||
1293 | } | ||
1294 | |||
1295 | /** | ||
1296 | * <!-- begin-user-doc --> | ||
1297 | * <!-- end-user-doc --> | ||
1298 | * @generated | ||
1299 | */ | ||
1300 | public EAttribute getAssertion_Name() { | ||
1301 | return (EAttribute)assertionEClass.getEStructuralFeatures().get(1); | ||
1302 | } | ||
1303 | |||
1304 | /** | ||
1305 | * <!-- begin-user-doc --> | ||
1306 | * <!-- end-user-doc --> | ||
1307 | * @generated | ||
1308 | */ | ||
1309 | public EReference getAssertion_Annotations() { | ||
1310 | return (EReference)assertionEClass.getEStructuralFeatures().get(2); | ||
1311 | } | ||
1312 | |||
1313 | /** | ||
1314 | * <!-- begin-user-doc --> | ||
1315 | * <!-- end-user-doc --> | ||
1316 | * @generated | ||
1317 | */ | ||
1318 | public EClass getRelation() { | ||
1319 | return relationEClass; | ||
1320 | } | ||
1321 | |||
1322 | /** | ||
1323 | * <!-- begin-user-doc --> | ||
1324 | * <!-- end-user-doc --> | ||
1325 | * @generated | ||
1326 | */ | ||
1327 | public EReference getRelation_Parameters() { | ||
1328 | return (EReference)relationEClass.getEStructuralFeatures().get(0); | ||
1329 | } | ||
1330 | |||
1331 | /** | ||
1332 | * <!-- begin-user-doc --> | ||
1333 | * <!-- end-user-doc --> | ||
1334 | * @generated | ||
1335 | */ | ||
1336 | public EReference getRelation_Annotations() { | ||
1337 | return (EReference)relationEClass.getEStructuralFeatures().get(1); | ||
1338 | } | ||
1339 | |||
1340 | /** | ||
1341 | * <!-- begin-user-doc --> | ||
1342 | * <!-- end-user-doc --> | ||
1343 | * @generated | ||
1344 | */ | ||
1345 | public EClass getConstant() { | ||
1346 | return constantEClass; | ||
1347 | } | ||
1348 | |||
1349 | /** | ||
1350 | * <!-- begin-user-doc --> | ||
1351 | * <!-- end-user-doc --> | ||
1352 | * @generated | ||
1353 | */ | ||
1354 | public EReference getConstant_Type() { | ||
1355 | return (EReference)constantEClass.getEStructuralFeatures().get(0); | ||
1356 | } | ||
1357 | |||
1358 | /** | ||
1359 | * <!-- begin-user-doc --> | ||
1360 | * <!-- end-user-doc --> | ||
1361 | * @generated | ||
1362 | */ | ||
1363 | public EReference getConstant_Annotations() { | ||
1364 | return (EReference)constantEClass.getEStructuralFeatures().get(1); | ||
1365 | } | ||
1366 | |||
1367 | /** | ||
1368 | * <!-- begin-user-doc --> | ||
1369 | * <!-- end-user-doc --> | ||
1370 | * @generated | ||
1371 | */ | ||
1372 | public EClass getConstantDefinition() { | ||
1373 | return constantDefinitionEClass; | ||
1374 | } | ||
1375 | |||
1376 | /** | ||
1377 | * <!-- begin-user-doc --> | ||
1378 | * <!-- end-user-doc --> | ||
1379 | * @generated | ||
1380 | */ | ||
1381 | public EReference getConstantDefinition_Value() { | ||
1382 | return (EReference)constantDefinitionEClass.getEStructuralFeatures().get(0); | ||
1383 | } | ||
1384 | |||
1385 | /** | ||
1386 | * <!-- begin-user-doc --> | ||
1387 | * <!-- end-user-doc --> | ||
1388 | * @generated | ||
1389 | */ | ||
1390 | public EReference getConstantDefinition_Defines() { | ||
1391 | return (EReference)constantDefinitionEClass.getEStructuralFeatures().get(1); | ||
1392 | } | ||
1393 | |||
1394 | /** | ||
1395 | * <!-- begin-user-doc --> | ||
1396 | * <!-- end-user-doc --> | ||
1397 | * @generated | ||
1398 | */ | ||
1399 | public EClass getRelationDefinition() { | ||
1400 | return relationDefinitionEClass; | ||
1401 | } | ||
1402 | |||
1403 | /** | ||
1404 | * <!-- begin-user-doc --> | ||
1405 | * <!-- end-user-doc --> | ||
1406 | * @generated | ||
1407 | */ | ||
1408 | public EReference getRelationDefinition_Variables() { | ||
1409 | return (EReference)relationDefinitionEClass.getEStructuralFeatures().get(0); | ||
1410 | } | ||
1411 | |||
1412 | /** | ||
1413 | * <!-- begin-user-doc --> | ||
1414 | * <!-- end-user-doc --> | ||
1415 | * @generated | ||
1416 | */ | ||
1417 | public EReference getRelationDefinition_Value() { | ||
1418 | return (EReference)relationDefinitionEClass.getEStructuralFeatures().get(1); | ||
1419 | } | ||
1420 | |||
1421 | /** | ||
1422 | * <!-- begin-user-doc --> | ||
1423 | * <!-- end-user-doc --> | ||
1424 | * @generated | ||
1425 | */ | ||
1426 | public EReference getRelationDefinition_Defines() { | ||
1427 | return (EReference)relationDefinitionEClass.getEStructuralFeatures().get(2); | ||
1428 | } | ||
1429 | |||
1430 | /** | ||
1431 | * <!-- begin-user-doc --> | ||
1432 | * <!-- end-user-doc --> | ||
1433 | * @generated | ||
1434 | */ | ||
1435 | public EClass getFunctionDefinition() { | ||
1436 | return functionDefinitionEClass; | ||
1437 | } | ||
1438 | |||
1439 | /** | ||
1440 | * <!-- begin-user-doc --> | ||
1441 | * <!-- end-user-doc --> | ||
1442 | * @generated | ||
1443 | */ | ||
1444 | public EReference getFunctionDefinition_Variable() { | ||
1445 | return (EReference)functionDefinitionEClass.getEStructuralFeatures().get(0); | ||
1446 | } | ||
1447 | |||
1448 | /** | ||
1449 | * <!-- begin-user-doc --> | ||
1450 | * <!-- end-user-doc --> | ||
1451 | * @generated | ||
1452 | */ | ||
1453 | public EReference getFunctionDefinition_Defines() { | ||
1454 | return (EReference)functionDefinitionEClass.getEStructuralFeatures().get(1); | ||
1455 | } | ||
1456 | |||
1457 | /** | ||
1458 | * <!-- begin-user-doc --> | ||
1459 | * <!-- end-user-doc --> | ||
1460 | * @generated | ||
1461 | */ | ||
1462 | public EReference getFunctionDefinition_Value() { | ||
1463 | return (EReference)functionDefinitionEClass.getEStructuralFeatures().get(2); | ||
1464 | } | ||
1465 | |||
1466 | /** | ||
1467 | * <!-- begin-user-doc --> | ||
1468 | * <!-- end-user-doc --> | ||
1469 | * @generated | ||
1470 | */ | ||
1471 | public EClass getIfThenElse() { | ||
1472 | return ifThenElseEClass; | ||
1473 | } | ||
1474 | |||
1475 | /** | ||
1476 | * <!-- begin-user-doc --> | ||
1477 | * <!-- end-user-doc --> | ||
1478 | * @generated | ||
1479 | */ | ||
1480 | public EReference getIfThenElse_Condition() { | ||
1481 | return (EReference)ifThenElseEClass.getEStructuralFeatures().get(0); | ||
1482 | } | ||
1483 | |||
1484 | /** | ||
1485 | * <!-- begin-user-doc --> | ||
1486 | * <!-- end-user-doc --> | ||
1487 | * @generated | ||
1488 | */ | ||
1489 | public EReference getIfThenElse_IfTrue() { | ||
1490 | return (EReference)ifThenElseEClass.getEStructuralFeatures().get(1); | ||
1491 | } | ||
1492 | |||
1493 | /** | ||
1494 | * <!-- begin-user-doc --> | ||
1495 | * <!-- end-user-doc --> | ||
1496 | * @generated | ||
1497 | */ | ||
1498 | public EReference getIfThenElse_IfFalse() { | ||
1499 | return (EReference)ifThenElseEClass.getEStructuralFeatures().get(2); | ||
1500 | } | ||
1501 | |||
1502 | /** | ||
1503 | * <!-- begin-user-doc --> | ||
1504 | * <!-- end-user-doc --> | ||
1505 | * @generated | ||
1506 | */ | ||
1507 | public EClass getConstantDeclaration() { | ||
1508 | return constantDeclarationEClass; | ||
1509 | } | ||
1510 | |||
1511 | /** | ||
1512 | * <!-- begin-user-doc --> | ||
1513 | * <!-- end-user-doc --> | ||
1514 | * @generated | ||
1515 | */ | ||
1516 | public EClass getRelationDeclaration() { | ||
1517 | return relationDeclarationEClass; | ||
1518 | } | ||
1519 | |||
1520 | /** | ||
1521 | * <!-- begin-user-doc --> | ||
1522 | * <!-- end-user-doc --> | ||
1523 | * @generated | ||
1524 | */ | ||
1525 | public EClass getFunctionDeclaration() { | ||
1526 | return functionDeclarationEClass; | ||
1527 | } | ||
1528 | |||
1529 | /** | ||
1530 | * <!-- begin-user-doc --> | ||
1531 | * <!-- end-user-doc --> | ||
1532 | * @generated | ||
1533 | */ | ||
1534 | public EClass getTypeDeclaration() { | ||
1535 | return typeDeclarationEClass; | ||
1536 | } | ||
1537 | |||
1538 | /** | ||
1539 | * <!-- begin-user-doc --> | ||
1540 | * <!-- end-user-doc --> | ||
1541 | * @generated | ||
1542 | */ | ||
1543 | public EClass getUnknownBecauseUninterpreted() { | ||
1544 | return unknownBecauseUninterpretedEClass; | ||
1545 | } | ||
1546 | |||
1547 | /** | ||
1548 | * <!-- begin-user-doc --> | ||
1549 | * <!-- end-user-doc --> | ||
1550 | * @generated | ||
1551 | */ | ||
1552 | public EClass getInstanceOf() { | ||
1553 | return instanceOfEClass; | ||
1554 | } | ||
1555 | |||
1556 | /** | ||
1557 | * <!-- begin-user-doc --> | ||
1558 | * <!-- end-user-doc --> | ||
1559 | * @generated | ||
1560 | */ | ||
1561 | public EReference getInstanceOf_Value() { | ||
1562 | return (EReference)instanceOfEClass.getEStructuralFeatures().get(0); | ||
1563 | } | ||
1564 | |||
1565 | /** | ||
1566 | * <!-- begin-user-doc --> | ||
1567 | * <!-- end-user-doc --> | ||
1568 | * @generated | ||
1569 | */ | ||
1570 | public EReference getInstanceOf_Range() { | ||
1571 | return (EReference)instanceOfEClass.getEStructuralFeatures().get(1); | ||
1572 | } | ||
1573 | |||
1574 | /** | ||
1575 | * <!-- begin-user-doc --> | ||
1576 | * <!-- end-user-doc --> | ||
1577 | * @generated | ||
1578 | */ | ||
1579 | public LogiclanguageFactory getLogiclanguageFactory() { | ||
1580 | return (LogiclanguageFactory)getEFactoryInstance(); | ||
1581 | } | ||
1582 | |||
1583 | /** | ||
1584 | * <!-- begin-user-doc --> | ||
1585 | * <!-- end-user-doc --> | ||
1586 | * @generated | ||
1587 | */ | ||
1588 | private boolean isCreated = false; | ||
1589 | |||
1590 | /** | ||
1591 | * Creates the meta-model objects for the package. This method is | ||
1592 | * guarded to have no affect on any invocation but its first. | ||
1593 | * <!-- begin-user-doc --> | ||
1594 | * <!-- end-user-doc --> | ||
1595 | * @generated | ||
1596 | */ | ||
1597 | public void createPackageContents() { | ||
1598 | if (isCreated) return; | ||
1599 | isCreated = true; | ||
1600 | |||
1601 | // Create classes and their features | ||
1602 | typeEClass = createEClass(TYPE); | ||
1603 | createEAttribute(typeEClass, TYPE__NAME); | ||
1604 | createEReference(typeEClass, TYPE__SUBTYPES); | ||
1605 | createEReference(typeEClass, TYPE__SUPERTYPES); | ||
1606 | createEAttribute(typeEClass, TYPE__IS_ABSTRACT); | ||
1607 | |||
1608 | definedElementEClass = createEClass(DEFINED_ELEMENT); | ||
1609 | createEReference(definedElementEClass, DEFINED_ELEMENT__DEFINED_IN_TYPE); | ||
1610 | |||
1611 | typeDefinitionEClass = createEClass(TYPE_DEFINITION); | ||
1612 | createEReference(typeDefinitionEClass, TYPE_DEFINITION__ELEMENTS); | ||
1613 | createEReference(typeDefinitionEClass, TYPE_DEFINITION__DEFINES); | ||
1614 | |||
1615 | typeReferenceEClass = createEClass(TYPE_REFERENCE); | ||
1616 | |||
1617 | complexTypeReferenceEClass = createEClass(COMPLEX_TYPE_REFERENCE); | ||
1618 | createEReference(complexTypeReferenceEClass, COMPLEX_TYPE_REFERENCE__REFERRED); | ||
1619 | |||
1620 | primitiveTypeReferenceEClass = createEClass(PRIMITIVE_TYPE_REFERENCE); | ||
1621 | |||
1622 | intTypeReferenceEClass = createEClass(INT_TYPE_REFERENCE); | ||
1623 | |||
1624 | boolTypeReferenceEClass = createEClass(BOOL_TYPE_REFERENCE); | ||
1625 | |||
1626 | realTypeReferenceEClass = createEClass(REAL_TYPE_REFERENCE); | ||
1627 | |||
1628 | functionEClass = createEClass(FUNCTION); | ||
1629 | createEReference(functionEClass, FUNCTION__RANGE); | ||
1630 | createEReference(functionEClass, FUNCTION__PARAMETERS); | ||
1631 | createEReference(functionEClass, FUNCTION__ANNOTATIONS); | ||
1632 | |||
1633 | termEClass = createEClass(TERM); | ||
1634 | |||
1635 | symbolicDeclarationEClass = createEClass(SYMBOLIC_DECLARATION); | ||
1636 | createEAttribute(symbolicDeclarationEClass, SYMBOLIC_DECLARATION__NAME); | ||
1637 | |||
1638 | symbolicValueEClass = createEClass(SYMBOLIC_VALUE); | ||
1639 | createEReference(symbolicValueEClass, SYMBOLIC_VALUE__SYMBOLIC_REFERENCE); | ||
1640 | createEReference(symbolicValueEClass, SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS); | ||
1641 | |||
1642 | atomicTermEClass = createEClass(ATOMIC_TERM); | ||
1643 | |||
1644 | intLiteralEClass = createEClass(INT_LITERAL); | ||
1645 | createEAttribute(intLiteralEClass, INT_LITERAL__VALUE); | ||
1646 | |||
1647 | boolLiteralEClass = createEClass(BOOL_LITERAL); | ||
1648 | createEAttribute(boolLiteralEClass, BOOL_LITERAL__VALUE); | ||
1649 | |||
1650 | realLiteralEClass = createEClass(REAL_LITERAL); | ||
1651 | createEAttribute(realLiteralEClass, REAL_LITERAL__VALUE); | ||
1652 | |||
1653 | variableEClass = createEClass(VARIABLE); | ||
1654 | createEReference(variableEClass, VARIABLE__RANGE); | ||
1655 | |||
1656 | quantifiedExpressionEClass = createEClass(QUANTIFIED_EXPRESSION); | ||
1657 | createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES); | ||
1658 | createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__EXPRESSION); | ||
1659 | |||
1660 | existsEClass = createEClass(EXISTS); | ||
1661 | |||
1662 | forallEClass = createEClass(FORALL); | ||
1663 | |||
1664 | boolOperationEClass = createEClass(BOOL_OPERATION); | ||
1665 | |||
1666 | andEClass = createEClass(AND); | ||
1667 | createEReference(andEClass, AND__OPERANDS); | ||
1668 | |||
1669 | orEClass = createEClass(OR); | ||
1670 | createEReference(orEClass, OR__OPERANDS); | ||
1671 | |||
1672 | implEClass = createEClass(IMPL); | ||
1673 | createEReference(implEClass, IMPL__LEFT_OPERAND); | ||
1674 | createEReference(implEClass, IMPL__RIGHT_OPERAND); | ||
1675 | |||
1676 | notEClass = createEClass(NOT); | ||
1677 | createEReference(notEClass, NOT__OPERAND); | ||
1678 | |||
1679 | iffEClass = createEClass(IFF); | ||
1680 | createEReference(iffEClass, IFF__LEFT_OPERAND); | ||
1681 | createEReference(iffEClass, IFF__RIGHT_OPERAND); | ||
1682 | |||
1683 | primitiveRelationEClass = createEClass(PRIMITIVE_RELATION); | ||
1684 | |||
1685 | equalsEClass = createEClass(EQUALS); | ||
1686 | createEReference(equalsEClass, EQUALS__LEFT_OPERAND); | ||
1687 | createEReference(equalsEClass, EQUALS__RIGHT_OPERAND); | ||
1688 | |||
1689 | distinctEClass = createEClass(DISTINCT); | ||
1690 | createEReference(distinctEClass, DISTINCT__OPERANDS); | ||
1691 | |||
1692 | lessThanEClass = createEClass(LESS_THAN); | ||
1693 | createEReference(lessThanEClass, LESS_THAN__LEFT_OPERAND); | ||
1694 | createEReference(lessThanEClass, LESS_THAN__RIGHT_OPERAND); | ||
1695 | |||
1696 | moreThanEClass = createEClass(MORE_THAN); | ||
1697 | createEReference(moreThanEClass, MORE_THAN__LEFT_OPERAND); | ||
1698 | createEReference(moreThanEClass, MORE_THAN__RIGHT_OPERAND); | ||
1699 | |||
1700 | lessOrEqualThanEClass = createEClass(LESS_OR_EQUAL_THAN); | ||
1701 | createEReference(lessOrEqualThanEClass, LESS_OR_EQUAL_THAN__LEFT_OPERAND); | ||
1702 | createEReference(lessOrEqualThanEClass, LESS_OR_EQUAL_THAN__RIGHT_OPERAND); | ||
1703 | |||
1704 | moreOrEqualThanEClass = createEClass(MORE_OR_EQUAL_THAN); | ||
1705 | createEReference(moreOrEqualThanEClass, MORE_OR_EQUAL_THAN__LEFT_OPERAND); | ||
1706 | createEReference(moreOrEqualThanEClass, MORE_OR_EQUAL_THAN__RIGHT_OPERAND); | ||
1707 | |||
1708 | intOperationEClass = createEClass(INT_OPERATION); | ||
1709 | createEReference(intOperationEClass, INT_OPERATION__LEFT_OPERAND); | ||
1710 | createEReference(intOperationEClass, INT_OPERATION__RIGHT_OPERAND); | ||
1711 | |||
1712 | plusEClass = createEClass(PLUS); | ||
1713 | |||
1714 | minusEClass = createEClass(MINUS); | ||
1715 | |||
1716 | multiplyEClass = createEClass(MULTIPLY); | ||
1717 | |||
1718 | divisonEClass = createEClass(DIVISON); | ||
1719 | |||
1720 | modEClass = createEClass(MOD); | ||
1721 | |||
1722 | typeDescriptorEClass = createEClass(TYPE_DESCRIPTOR); | ||
1723 | |||
1724 | termDescriptionEClass = createEClass(TERM_DESCRIPTION); | ||
1725 | |||
1726 | assertionEClass = createEClass(ASSERTION); | ||
1727 | createEReference(assertionEClass, ASSERTION__VALUE); | ||
1728 | createEAttribute(assertionEClass, ASSERTION__NAME); | ||
1729 | createEReference(assertionEClass, ASSERTION__ANNOTATIONS); | ||
1730 | |||
1731 | relationEClass = createEClass(RELATION); | ||
1732 | createEReference(relationEClass, RELATION__PARAMETERS); | ||
1733 | createEReference(relationEClass, RELATION__ANNOTATIONS); | ||
1734 | |||
1735 | constantEClass = createEClass(CONSTANT); | ||
1736 | createEReference(constantEClass, CONSTANT__TYPE); | ||
1737 | createEReference(constantEClass, CONSTANT__ANNOTATIONS); | ||
1738 | |||
1739 | constantDefinitionEClass = createEClass(CONSTANT_DEFINITION); | ||
1740 | createEReference(constantDefinitionEClass, CONSTANT_DEFINITION__VALUE); | ||
1741 | createEReference(constantDefinitionEClass, CONSTANT_DEFINITION__DEFINES); | ||
1742 | |||
1743 | relationDefinitionEClass = createEClass(RELATION_DEFINITION); | ||
1744 | createEReference(relationDefinitionEClass, RELATION_DEFINITION__VARIABLES); | ||
1745 | createEReference(relationDefinitionEClass, RELATION_DEFINITION__VALUE); | ||
1746 | createEReference(relationDefinitionEClass, RELATION_DEFINITION__DEFINES); | ||
1747 | |||
1748 | functionDefinitionEClass = createEClass(FUNCTION_DEFINITION); | ||
1749 | createEReference(functionDefinitionEClass, FUNCTION_DEFINITION__VARIABLE); | ||
1750 | createEReference(functionDefinitionEClass, FUNCTION_DEFINITION__DEFINES); | ||
1751 | createEReference(functionDefinitionEClass, FUNCTION_DEFINITION__VALUE); | ||
1752 | |||
1753 | ifThenElseEClass = createEClass(IF_THEN_ELSE); | ||
1754 | createEReference(ifThenElseEClass, IF_THEN_ELSE__CONDITION); | ||
1755 | createEReference(ifThenElseEClass, IF_THEN_ELSE__IF_TRUE); | ||
1756 | createEReference(ifThenElseEClass, IF_THEN_ELSE__IF_FALSE); | ||
1757 | |||
1758 | constantDeclarationEClass = createEClass(CONSTANT_DECLARATION); | ||
1759 | |||
1760 | relationDeclarationEClass = createEClass(RELATION_DECLARATION); | ||
1761 | |||
1762 | functionDeclarationEClass = createEClass(FUNCTION_DECLARATION); | ||
1763 | |||
1764 | typeDeclarationEClass = createEClass(TYPE_DECLARATION); | ||
1765 | |||
1766 | unknownBecauseUninterpretedEClass = createEClass(UNKNOWN_BECAUSE_UNINTERPRETED); | ||
1767 | |||
1768 | instanceOfEClass = createEClass(INSTANCE_OF); | ||
1769 | createEReference(instanceOfEClass, INSTANCE_OF__VALUE); | ||
1770 | createEReference(instanceOfEClass, INSTANCE_OF__RANGE); | ||
1771 | } | ||
1772 | |||
1773 | /** | ||
1774 | * <!-- begin-user-doc --> | ||
1775 | * <!-- end-user-doc --> | ||
1776 | * @generated | ||
1777 | */ | ||
1778 | private boolean isInitialized = false; | ||
1779 | |||
1780 | /** | ||
1781 | * Complete the initialization of the package and its meta-model. This | ||
1782 | * method is guarded to have no affect on any invocation but its first. | ||
1783 | * <!-- begin-user-doc --> | ||
1784 | * <!-- end-user-doc --> | ||
1785 | * @generated | ||
1786 | */ | ||
1787 | public void initializePackageContents() { | ||
1788 | if (isInitialized) return; | ||
1789 | isInitialized = true; | ||
1790 | |||
1791 | // Initialize package | ||
1792 | setName(eNAME); | ||
1793 | setNsPrefix(eNS_PREFIX); | ||
1794 | setNsURI(eNS_URI); | ||
1795 | |||
1796 | // Obtain other dependent packages | ||
1797 | LogicproblemPackage theLogicproblemPackage = (LogicproblemPackage)EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI); | ||
1798 | |||
1799 | // Create type parameters | ||
1800 | |||
1801 | // Set bounds for type parameters | ||
1802 | |||
1803 | // Add supertypes to classes | ||
1804 | typeEClass.getESuperTypes().add(this.getTypeDescriptor()); | ||
1805 | definedElementEClass.getESuperTypes().add(this.getSymbolicDeclaration()); | ||
1806 | typeDefinitionEClass.getESuperTypes().add(this.getType()); | ||
1807 | typeReferenceEClass.getESuperTypes().add(this.getTypeDescriptor()); | ||
1808 | complexTypeReferenceEClass.getESuperTypes().add(this.getTypeReference()); | ||
1809 | primitiveTypeReferenceEClass.getESuperTypes().add(this.getTypeReference()); | ||
1810 | intTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); | ||
1811 | boolTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); | ||
1812 | realTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); | ||
1813 | functionEClass.getESuperTypes().add(this.getSymbolicDeclaration()); | ||
1814 | termEClass.getESuperTypes().add(this.getTermDescription()); | ||
1815 | symbolicDeclarationEClass.getESuperTypes().add(this.getTermDescription()); | ||
1816 | symbolicValueEClass.getESuperTypes().add(this.getTerm()); | ||
1817 | atomicTermEClass.getESuperTypes().add(this.getTerm()); | ||
1818 | intLiteralEClass.getESuperTypes().add(this.getAtomicTerm()); | ||
1819 | boolLiteralEClass.getESuperTypes().add(this.getAtomicTerm()); | ||
1820 | realLiteralEClass.getESuperTypes().add(this.getAtomicTerm()); | ||
1821 | variableEClass.getESuperTypes().add(this.getSymbolicDeclaration()); | ||
1822 | quantifiedExpressionEClass.getESuperTypes().add(this.getTerm()); | ||
1823 | existsEClass.getESuperTypes().add(this.getQuantifiedExpression()); | ||
1824 | forallEClass.getESuperTypes().add(this.getQuantifiedExpression()); | ||
1825 | boolOperationEClass.getESuperTypes().add(this.getTerm()); | ||
1826 | andEClass.getESuperTypes().add(this.getBoolOperation()); | ||
1827 | orEClass.getESuperTypes().add(this.getBoolOperation()); | ||
1828 | implEClass.getESuperTypes().add(this.getBoolOperation()); | ||
1829 | notEClass.getESuperTypes().add(this.getBoolOperation()); | ||
1830 | iffEClass.getESuperTypes().add(this.getBoolOperation()); | ||
1831 | primitiveRelationEClass.getESuperTypes().add(this.getTerm()); | ||
1832 | equalsEClass.getESuperTypes().add(this.getPrimitiveRelation()); | ||
1833 | distinctEClass.getESuperTypes().add(this.getPrimitiveRelation()); | ||
1834 | lessThanEClass.getESuperTypes().add(this.getPrimitiveRelation()); | ||
1835 | moreThanEClass.getESuperTypes().add(this.getPrimitiveRelation()); | ||
1836 | lessOrEqualThanEClass.getESuperTypes().add(this.getPrimitiveRelation()); | ||
1837 | moreOrEqualThanEClass.getESuperTypes().add(this.getPrimitiveRelation()); | ||
1838 | intOperationEClass.getESuperTypes().add(this.getTerm()); | ||
1839 | plusEClass.getESuperTypes().add(this.getIntOperation()); | ||
1840 | minusEClass.getESuperTypes().add(this.getIntOperation()); | ||
1841 | multiplyEClass.getESuperTypes().add(this.getIntOperation()); | ||
1842 | divisonEClass.getESuperTypes().add(this.getIntOperation()); | ||
1843 | modEClass.getESuperTypes().add(this.getIntOperation()); | ||
1844 | relationEClass.getESuperTypes().add(this.getSymbolicDeclaration()); | ||
1845 | constantEClass.getESuperTypes().add(this.getSymbolicDeclaration()); | ||
1846 | constantDefinitionEClass.getESuperTypes().add(this.getConstant()); | ||
1847 | relationDefinitionEClass.getESuperTypes().add(this.getRelation()); | ||
1848 | functionDefinitionEClass.getESuperTypes().add(this.getFunction()); | ||
1849 | ifThenElseEClass.getESuperTypes().add(this.getTerm()); | ||
1850 | constantDeclarationEClass.getESuperTypes().add(this.getConstant()); | ||
1851 | relationDeclarationEClass.getESuperTypes().add(this.getRelation()); | ||
1852 | functionDeclarationEClass.getESuperTypes().add(this.getFunction()); | ||
1853 | typeDeclarationEClass.getESuperTypes().add(this.getType()); | ||
1854 | unknownBecauseUninterpretedEClass.getESuperTypes().add(this.getTerm()); | ||
1855 | instanceOfEClass.getESuperTypes().add(this.getTerm()); | ||
1856 | |||
1857 | // Initialize classes, features, and operations; add parameters | ||
1858 | initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1859 | initEAttribute(getType_Name(), ecorePackage.getEString(), "name", null, 1, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1860 | initEReference(getType_Subtypes(), this.getType(), this.getType_Supertypes(), "subtypes", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1861 | initEReference(getType_Supertypes(), this.getType(), this.getType_Subtypes(), "supertypes", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1862 | initEAttribute(getType_IsAbstract(), ecorePackage.getEBoolean(), "isAbstract", null, 1, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1863 | |||
1864 | initEClass(definedElementEClass, DefinedElement.class, "DefinedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1865 | initEReference(getDefinedElement_DefinedInType(), this.getTypeDefinition(), this.getTypeDefinition_Elements(), "definedInType", null, 1, -1, DefinedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1866 | |||
1867 | initEClass(typeDefinitionEClass, TypeDefinition.class, "TypeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1868 | initEReference(getTypeDefinition_Elements(), this.getDefinedElement(), this.getDefinedElement_DefinedInType(), "elements", null, 0, -1, TypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1869 | initEReference(getTypeDefinition_Defines(), this.getTypeDeclaration(), null, "defines", null, 0, 1, TypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1870 | |||
1871 | initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1872 | |||
1873 | initEClass(complexTypeReferenceEClass, ComplexTypeReference.class, "ComplexTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1874 | initEReference(getComplexTypeReference_Referred(), this.getType(), null, "referred", null, 0, 1, ComplexTypeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1875 | |||
1876 | initEClass(primitiveTypeReferenceEClass, PrimitiveTypeReference.class, "PrimitiveTypeReference", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1877 | |||
1878 | initEClass(intTypeReferenceEClass, IntTypeReference.class, "IntTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1879 | |||
1880 | initEClass(boolTypeReferenceEClass, BoolTypeReference.class, "BoolTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1881 | |||
1882 | initEClass(realTypeReferenceEClass, RealTypeReference.class, "RealTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1883 | |||
1884 | initEClass(functionEClass, Function.class, "Function", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1885 | initEReference(getFunction_Range(), this.getTypeReference(), null, "range", null, 1, 1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1886 | initEReference(getFunction_Parameters(), this.getTypeReference(), null, "parameters", null, 0, -1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1887 | initEReference(getFunction_Annotations(), theLogicproblemPackage.getFunctionAnnotation(), theLogicproblemPackage.getFunctionAnnotation_Target(), "annotations", null, 0, -1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1888 | |||
1889 | initEClass(termEClass, Term.class, "Term", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1890 | |||
1891 | initEClass(symbolicDeclarationEClass, SymbolicDeclaration.class, "SymbolicDeclaration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1892 | initEAttribute(getSymbolicDeclaration_Name(), ecorePackage.getEString(), "name", null, 1, 1, SymbolicDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1893 | |||
1894 | initEClass(symbolicValueEClass, SymbolicValue.class, "SymbolicValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1895 | initEReference(getSymbolicValue_SymbolicReference(), this.getSymbolicDeclaration(), null, "symbolicReference", null, 0, 1, SymbolicValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1896 | initEReference(getSymbolicValue_ParameterSubstitutions(), this.getTerm(), null, "parameterSubstitutions", null, 0, -1, SymbolicValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1897 | |||
1898 | initEClass(atomicTermEClass, AtomicTerm.class, "AtomicTerm", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1899 | |||
1900 | initEClass(intLiteralEClass, IntLiteral.class, "IntLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1901 | initEAttribute(getIntLiteral_Value(), ecorePackage.getEInt(), "value", null, 0, 1, IntLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1902 | |||
1903 | initEClass(boolLiteralEClass, BoolLiteral.class, "BoolLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1904 | initEAttribute(getBoolLiteral_Value(), ecorePackage.getEBoolean(), "value", null, 0, 1, BoolLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1905 | |||
1906 | initEClass(realLiteralEClass, RealLiteral.class, "RealLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1907 | initEAttribute(getRealLiteral_Value(), ecorePackage.getEBigDecimal(), "value", null, 0, 1, RealLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1908 | |||
1909 | initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1910 | initEReference(getVariable_Range(), this.getTypeReference(), null, "range", null, 1, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1911 | |||
1912 | initEClass(quantifiedExpressionEClass, QuantifiedExpression.class, "QuantifiedExpression", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1913 | initEReference(getQuantifiedExpression_QuantifiedVariables(), this.getVariable(), null, "quantifiedVariables", null, 0, -1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1914 | initEReference(getQuantifiedExpression_Expression(), this.getTerm(), null, "expression", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1915 | |||
1916 | initEClass(existsEClass, Exists.class, "Exists", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1917 | |||
1918 | initEClass(forallEClass, Forall.class, "Forall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1919 | |||
1920 | initEClass(boolOperationEClass, BoolOperation.class, "BoolOperation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1921 | |||
1922 | initEClass(andEClass, And.class, "And", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1923 | initEReference(getAnd_Operands(), this.getTerm(), null, "operands", null, 0, -1, And.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1924 | |||
1925 | initEClass(orEClass, Or.class, "Or", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1926 | initEReference(getOr_Operands(), this.getTerm(), null, "operands", null, 0, -1, Or.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1927 | |||
1928 | initEClass(implEClass, Impl.class, "Impl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1929 | initEReference(getImpl_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, Impl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1930 | initEReference(getImpl_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, Impl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1931 | |||
1932 | initEClass(notEClass, Not.class, "Not", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1933 | initEReference(getNot_Operand(), this.getTerm(), null, "operand", null, 0, 1, Not.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1934 | |||
1935 | initEClass(iffEClass, Iff.class, "Iff", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1936 | initEReference(getIff_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, Iff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1937 | initEReference(getIff_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, Iff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1938 | |||
1939 | initEClass(primitiveRelationEClass, PrimitiveRelation.class, "PrimitiveRelation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1940 | |||
1941 | initEClass(equalsEClass, Equals.class, "Equals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1942 | initEReference(getEquals_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, Equals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1943 | initEReference(getEquals_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, Equals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1944 | |||
1945 | initEClass(distinctEClass, Distinct.class, "Distinct", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1946 | initEReference(getDistinct_Operands(), this.getTerm(), null, "operands", null, 0, -1, Distinct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1947 | |||
1948 | initEClass(lessThanEClass, LessThan.class, "LessThan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1949 | initEReference(getLessThan_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, LessThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1950 | initEReference(getLessThan_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, LessThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1951 | |||
1952 | initEClass(moreThanEClass, MoreThan.class, "MoreThan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1953 | initEReference(getMoreThan_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, MoreThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1954 | initEReference(getMoreThan_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, MoreThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1955 | |||
1956 | initEClass(lessOrEqualThanEClass, LessOrEqualThan.class, "LessOrEqualThan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1957 | initEReference(getLessOrEqualThan_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, LessOrEqualThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1958 | initEReference(getLessOrEqualThan_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, LessOrEqualThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1959 | |||
1960 | initEClass(moreOrEqualThanEClass, MoreOrEqualThan.class, "MoreOrEqualThan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1961 | initEReference(getMoreOrEqualThan_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, MoreOrEqualThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1962 | initEReference(getMoreOrEqualThan_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, MoreOrEqualThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1963 | |||
1964 | initEClass(intOperationEClass, IntOperation.class, "IntOperation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1965 | initEReference(getIntOperation_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, IntOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1966 | initEReference(getIntOperation_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, IntOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1967 | |||
1968 | initEClass(plusEClass, Plus.class, "Plus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1969 | |||
1970 | initEClass(minusEClass, Minus.class, "Minus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1971 | |||
1972 | initEClass(multiplyEClass, Multiply.class, "Multiply", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1973 | |||
1974 | initEClass(divisonEClass, Divison.class, "Divison", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1975 | |||
1976 | initEClass(modEClass, Mod.class, "Mod", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1977 | |||
1978 | initEClass(typeDescriptorEClass, TypeDescriptor.class, "TypeDescriptor", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1979 | |||
1980 | initEClass(termDescriptionEClass, TermDescription.class, "TermDescription", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1981 | |||
1982 | initEClass(assertionEClass, Assertion.class, "Assertion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1983 | initEReference(getAssertion_Value(), this.getTerm(), null, "value", null, 1, 1, Assertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1984 | initEAttribute(getAssertion_Name(), ecorePackage.getEString(), "name", null, 1, 1, Assertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1985 | initEReference(getAssertion_Annotations(), theLogicproblemPackage.getAssertionAnnotation(), theLogicproblemPackage.getAssertionAnnotation_Target(), "annotations", null, 0, -1, Assertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1986 | |||
1987 | initEClass(relationEClass, Relation.class, "Relation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1988 | initEReference(getRelation_Parameters(), this.getTypeReference(), null, "parameters", null, 0, -1, Relation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1989 | initEReference(getRelation_Annotations(), theLogicproblemPackage.getRelationAnnotation(), theLogicproblemPackage.getRelationAnnotation_Target(), "annotations", null, 0, -1, Relation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1990 | |||
1991 | initEClass(constantEClass, Constant.class, "Constant", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1992 | initEReference(getConstant_Type(), this.getTypeReference(), null, "type", null, 1, 1, Constant.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1993 | initEReference(getConstant_Annotations(), theLogicproblemPackage.getConstantAnnotation(), theLogicproblemPackage.getConstantAnnotation_Target(), "annotations", null, 0, -1, Constant.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1994 | |||
1995 | initEClass(constantDefinitionEClass, ConstantDefinition.class, "ConstantDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1996 | initEReference(getConstantDefinition_Value(), this.getTerm(), null, "value", null, 1, 1, ConstantDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1997 | initEReference(getConstantDefinition_Defines(), this.getConstantDeclaration(), null, "defines", null, 0, 1, ConstantDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1998 | |||
1999 | initEClass(relationDefinitionEClass, RelationDefinition.class, "RelationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2000 | initEReference(getRelationDefinition_Variables(), this.getVariable(), null, "variables", null, 0, -1, RelationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2001 | initEReference(getRelationDefinition_Value(), this.getTerm(), null, "value", null, 1, 1, RelationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2002 | initEReference(getRelationDefinition_Defines(), this.getRelationDeclaration(), null, "defines", null, 0, 1, RelationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2003 | |||
2004 | initEClass(functionDefinitionEClass, FunctionDefinition.class, "FunctionDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2005 | initEReference(getFunctionDefinition_Variable(), this.getVariable(), null, "variable", null, 0, -1, FunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2006 | initEReference(getFunctionDefinition_Defines(), this.getFunctionDeclaration(), null, "defines", null, 0, 1, FunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2007 | initEReference(getFunctionDefinition_Value(), this.getTerm(), null, "value", null, 1, 1, FunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2008 | |||
2009 | initEClass(ifThenElseEClass, IfThenElse.class, "IfThenElse", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2010 | initEReference(getIfThenElse_Condition(), this.getTerm(), null, "condition", null, 1, 1, IfThenElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2011 | initEReference(getIfThenElse_IfTrue(), this.getTerm(), null, "ifTrue", null, 1, 1, IfThenElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2012 | initEReference(getIfThenElse_IfFalse(), this.getTerm(), null, "ifFalse", null, 1, 1, IfThenElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2013 | |||
2014 | initEClass(constantDeclarationEClass, ConstantDeclaration.class, "ConstantDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2015 | |||
2016 | initEClass(relationDeclarationEClass, RelationDeclaration.class, "RelationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2017 | |||
2018 | initEClass(functionDeclarationEClass, FunctionDeclaration.class, "FunctionDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2019 | |||
2020 | initEClass(typeDeclarationEClass, TypeDeclaration.class, "TypeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2021 | |||
2022 | initEClass(unknownBecauseUninterpretedEClass, UnknownBecauseUninterpreted.class, "UnknownBecauseUninterpreted", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2023 | |||
2024 | initEClass(instanceOfEClass, InstanceOf.class, "InstanceOf", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2025 | initEReference(getInstanceOf_Value(), this.getTerm(), null, "value", null, 1, 1, InstanceOf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2026 | initEReference(getInstanceOf_Range(), this.getTypeReference(), null, "range", null, 1, 1, InstanceOf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2027 | |||
2028 | // Create resource | ||
2029 | createResource(eNS_URI); | ||
2030 | } | ||
2031 | |||
2032 | } //LogiclanguagePackageImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MinusImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MinusImpl.java new file mode 100644 index 00000000..28c21b08 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MinusImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Minus</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class MinusImpl extends IntOperationImpl implements Minus { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected MinusImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.MINUS; | ||
35 | } | ||
36 | |||
37 | } //MinusImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ModImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ModImpl.java new file mode 100644 index 00000000..bab8d326 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ModImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Mod</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ModImpl extends IntOperationImpl implements Mod { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected ModImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.MOD; | ||
35 | } | ||
36 | |||
37 | } //ModImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreOrEqualThanImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreOrEqualThanImpl.java new file mode 100644 index 00000000..8ebf0ccf --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreOrEqualThanImpl.java | |||
@@ -0,0 +1,241 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>More Or Equal Than</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.logic.model.logiclanguage.impl.MoreOrEqualThanImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class MoreOrEqualThanImpl extends PrimitiveRelationImpl implements MoreOrEqualThan { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getLeftOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Term leftOperand; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getRightOperand() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected Term rightOperand; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected MoreOrEqualThanImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return LogiclanguagePackage.Literals.MORE_OR_EQUAL_THAN; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public Term getLeftOperand() { | ||
77 | return leftOperand; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { | ||
86 | Term oldLeftOperand = leftOperand; | ||
87 | leftOperand = newLeftOperand; | ||
88 | if (eNotificationRequired()) { | ||
89 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
90 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
91 | } | ||
92 | return msgs; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setLeftOperand(Term newLeftOperand) { | ||
101 | if (newLeftOperand != leftOperand) { | ||
102 | NotificationChain msgs = null; | ||
103 | if (leftOperand != null) | ||
104 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND, null, msgs); | ||
105 | if (newLeftOperand != null) | ||
106 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND, null, msgs); | ||
107 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
108 | if (msgs != null) msgs.dispatch(); | ||
109 | } | ||
110 | else if (eNotificationRequired()) | ||
111 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public Term getRightOperand() { | ||
120 | return rightOperand; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { | ||
129 | Term oldRightOperand = rightOperand; | ||
130 | rightOperand = newRightOperand; | ||
131 | if (eNotificationRequired()) { | ||
132 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
133 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
134 | } | ||
135 | return msgs; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public void setRightOperand(Term newRightOperand) { | ||
144 | if (newRightOperand != rightOperand) { | ||
145 | NotificationChain msgs = null; | ||
146 | if (rightOperand != null) | ||
147 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND, null, msgs); | ||
148 | if (newRightOperand != null) | ||
149 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND, null, msgs); | ||
150 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
151 | if (msgs != null) msgs.dispatch(); | ||
152 | } | ||
153 | else if (eNotificationRequired()) | ||
154 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
164 | switch (featureID) { | ||
165 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: | ||
166 | return basicSetLeftOperand(null, msgs); | ||
167 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
168 | return basicSetRightOperand(null, msgs); | ||
169 | } | ||
170 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
180 | switch (featureID) { | ||
181 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: | ||
182 | return getLeftOperand(); | ||
183 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
184 | return getRightOperand(); | ||
185 | } | ||
186 | return super.eGet(featureID, resolve, coreType); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void eSet(int featureID, Object newValue) { | ||
196 | switch (featureID) { | ||
197 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: | ||
198 | setLeftOperand((Term)newValue); | ||
199 | return; | ||
200 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
201 | setRightOperand((Term)newValue); | ||
202 | return; | ||
203 | } | ||
204 | super.eSet(featureID, newValue); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eUnset(int featureID) { | ||
214 | switch (featureID) { | ||
215 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: | ||
216 | setLeftOperand((Term)null); | ||
217 | return; | ||
218 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
219 | setRightOperand((Term)null); | ||
220 | return; | ||
221 | } | ||
222 | super.eUnset(featureID); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public boolean eIsSet(int featureID) { | ||
232 | switch (featureID) { | ||
233 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: | ||
234 | return leftOperand != null; | ||
235 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: | ||
236 | return rightOperand != null; | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //MoreOrEqualThanImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreThanImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreThanImpl.java new file mode 100644 index 00000000..a7756650 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreThanImpl.java | |||
@@ -0,0 +1,241 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>More Than</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.logic.model.logiclanguage.impl.MoreThanImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class MoreThanImpl extends PrimitiveRelationImpl implements MoreThan { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getLeftOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Term leftOperand; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getRightOperand() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected Term rightOperand; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected MoreThanImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return LogiclanguagePackage.Literals.MORE_THAN; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public Term getLeftOperand() { | ||
77 | return leftOperand; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { | ||
86 | Term oldLeftOperand = leftOperand; | ||
87 | leftOperand = newLeftOperand; | ||
88 | if (eNotificationRequired()) { | ||
89 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_THAN__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
90 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
91 | } | ||
92 | return msgs; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setLeftOperand(Term newLeftOperand) { | ||
101 | if (newLeftOperand != leftOperand) { | ||
102 | NotificationChain msgs = null; | ||
103 | if (leftOperand != null) | ||
104 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_THAN__LEFT_OPERAND, null, msgs); | ||
105 | if (newLeftOperand != null) | ||
106 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_THAN__LEFT_OPERAND, null, msgs); | ||
107 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
108 | if (msgs != null) msgs.dispatch(); | ||
109 | } | ||
110 | else if (eNotificationRequired()) | ||
111 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_THAN__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public Term getRightOperand() { | ||
120 | return rightOperand; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { | ||
129 | Term oldRightOperand = rightOperand; | ||
130 | rightOperand = newRightOperand; | ||
131 | if (eNotificationRequired()) { | ||
132 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
133 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
134 | } | ||
135 | return msgs; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public void setRightOperand(Term newRightOperand) { | ||
144 | if (newRightOperand != rightOperand) { | ||
145 | NotificationChain msgs = null; | ||
146 | if (rightOperand != null) | ||
147 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND, null, msgs); | ||
148 | if (newRightOperand != null) | ||
149 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND, null, msgs); | ||
150 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
151 | if (msgs != null) msgs.dispatch(); | ||
152 | } | ||
153 | else if (eNotificationRequired()) | ||
154 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
164 | switch (featureID) { | ||
165 | case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: | ||
166 | return basicSetLeftOperand(null, msgs); | ||
167 | case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: | ||
168 | return basicSetRightOperand(null, msgs); | ||
169 | } | ||
170 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
180 | switch (featureID) { | ||
181 | case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: | ||
182 | return getLeftOperand(); | ||
183 | case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: | ||
184 | return getRightOperand(); | ||
185 | } | ||
186 | return super.eGet(featureID, resolve, coreType); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void eSet(int featureID, Object newValue) { | ||
196 | switch (featureID) { | ||
197 | case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: | ||
198 | setLeftOperand((Term)newValue); | ||
199 | return; | ||
200 | case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: | ||
201 | setRightOperand((Term)newValue); | ||
202 | return; | ||
203 | } | ||
204 | super.eSet(featureID, newValue); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eUnset(int featureID) { | ||
214 | switch (featureID) { | ||
215 | case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: | ||
216 | setLeftOperand((Term)null); | ||
217 | return; | ||
218 | case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: | ||
219 | setRightOperand((Term)null); | ||
220 | return; | ||
221 | } | ||
222 | super.eUnset(featureID); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public boolean eIsSet(int featureID) { | ||
232 | switch (featureID) { | ||
233 | case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: | ||
234 | return leftOperand != null; | ||
235 | case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: | ||
236 | return rightOperand != null; | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //MoreThanImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MultiplyImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MultiplyImpl.java new file mode 100644 index 00000000..50797800 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MultiplyImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Multiply</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class MultiplyImpl extends IntOperationImpl implements Multiply { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected MultiplyImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.MULTIPLY; | ||
35 | } | ||
36 | |||
37 | } //MultiplyImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/NotImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/NotImpl.java new file mode 100644 index 00000000..74c4dd6f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/NotImpl.java | |||
@@ -0,0 +1,175 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>Not</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.logic.model.logiclanguage.impl.NotImpl#getOperand <em>Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class NotImpl extends BoolOperationImpl implements Not { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getOperand() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected Term operand; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected NotImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return LogiclanguagePackage.Literals.NOT; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | public Term getOperand() { | ||
66 | return operand; | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | public NotificationChain basicSetOperand(Term newOperand, NotificationChain msgs) { | ||
75 | Term oldOperand = operand; | ||
76 | operand = newOperand; | ||
77 | if (eNotificationRequired()) { | ||
78 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.NOT__OPERAND, oldOperand, newOperand); | ||
79 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
80 | } | ||
81 | return msgs; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public void setOperand(Term newOperand) { | ||
90 | if (newOperand != operand) { | ||
91 | NotificationChain msgs = null; | ||
92 | if (operand != null) | ||
93 | msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.NOT__OPERAND, null, msgs); | ||
94 | if (newOperand != null) | ||
95 | msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.NOT__OPERAND, null, msgs); | ||
96 | msgs = basicSetOperand(newOperand, msgs); | ||
97 | if (msgs != null) msgs.dispatch(); | ||
98 | } | ||
99 | else if (eNotificationRequired()) | ||
100 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.NOT__OPERAND, newOperand, newOperand)); | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | @Override | ||
109 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
110 | switch (featureID) { | ||
111 | case LogiclanguagePackage.NOT__OPERAND: | ||
112 | return basicSetOperand(null, msgs); | ||
113 | } | ||
114 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
124 | switch (featureID) { | ||
125 | case LogiclanguagePackage.NOT__OPERAND: | ||
126 | return getOperand(); | ||
127 | } | ||
128 | return super.eGet(featureID, resolve, coreType); | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | @Override | ||
137 | public void eSet(int featureID, Object newValue) { | ||
138 | switch (featureID) { | ||
139 | case LogiclanguagePackage.NOT__OPERAND: | ||
140 | setOperand((Term)newValue); | ||
141 | return; | ||
142 | } | ||
143 | super.eSet(featureID, newValue); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public void eUnset(int featureID) { | ||
153 | switch (featureID) { | ||
154 | case LogiclanguagePackage.NOT__OPERAND: | ||
155 | setOperand((Term)null); | ||
156 | return; | ||
157 | } | ||
158 | super.eUnset(featureID); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public boolean eIsSet(int featureID) { | ||
168 | switch (featureID) { | ||
169 | case LogiclanguagePackage.NOT__OPERAND: | ||
170 | return operand != null; | ||
171 | } | ||
172 | return super.eIsSet(featureID); | ||
173 | } | ||
174 | |||
175 | } //NotImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/OrImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/OrImpl.java new file mode 100644 index 00000000..9ef8357a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/OrImpl.java | |||
@@ -0,0 +1,150 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>Or</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * </p> | ||
28 | * <ul> | ||
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl#getOperands <em>Operands</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class OrImpl extends BoolOperationImpl implements Or { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getOperands() <em>Operands</em>}' containment reference list. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getOperands() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected EList<Term> operands; | ||
44 | |||
45 | /** | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @generated | ||
49 | */ | ||
50 | protected OrImpl() { | ||
51 | super(); | ||
52 | } | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | @Override | ||
60 | protected EClass eStaticClass() { | ||
61 | return LogiclanguagePackage.Literals.OR; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public EList<Term> getOperands() { | ||
70 | if (operands == null) { | ||
71 | operands = new EObjectContainmentEList<Term>(Term.class, this, LogiclanguagePackage.OR__OPERANDS); | ||
72 | } | ||
73 | return operands; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | @Override | ||
82 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
83 | switch (featureID) { | ||
84 | case LogiclanguagePackage.OR__OPERANDS: | ||
85 | return ((InternalEList<?>)getOperands()).basicRemove(otherEnd, msgs); | ||
86 | } | ||
87 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case LogiclanguagePackage.OR__OPERANDS: | ||
99 | return getOperands(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @SuppressWarnings("unchecked") | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case LogiclanguagePackage.OR__OPERANDS: | ||
114 | getOperands().clear(); | ||
115 | getOperands().addAll((Collection<? extends Term>)newValue); | ||
116 | return; | ||
117 | } | ||
118 | super.eSet(featureID, newValue); | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void eUnset(int featureID) { | ||
128 | switch (featureID) { | ||
129 | case LogiclanguagePackage.OR__OPERANDS: | ||
130 | getOperands().clear(); | ||
131 | return; | ||
132 | } | ||
133 | super.eUnset(featureID); | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | @Override | ||
142 | public boolean eIsSet(int featureID) { | ||
143 | switch (featureID) { | ||
144 | case LogiclanguagePackage.OR__OPERANDS: | ||
145 | return operands != null && !operands.isEmpty(); | ||
146 | } | ||
147 | return super.eIsSet(featureID); | ||
148 | } | ||
149 | |||
150 | } //OrImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PlusImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PlusImpl.java new file mode 100644 index 00000000..c9d0d591 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PlusImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Plus</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class PlusImpl extends IntOperationImpl implements Plus { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected PlusImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.PLUS; | ||
35 | } | ||
36 | |||
37 | } //PlusImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveRelationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveRelationImpl.java new file mode 100644 index 00000000..a9e521c5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveRelationImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Primitive Relation</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class PrimitiveRelationImpl extends TermImpl implements PrimitiveRelation { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected PrimitiveRelationImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.PRIMITIVE_RELATION; | ||
35 | } | ||
36 | |||
37 | } //PrimitiveRelationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveTypeReferenceImpl.java new file mode 100644 index 00000000..2e0d56c9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveTypeReferenceImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Primitive Type Reference</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class PrimitiveTypeReferenceImpl extends TypeReferenceImpl implements PrimitiveTypeReference { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected PrimitiveTypeReferenceImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.PRIMITIVE_TYPE_REFERENCE; | ||
35 | } | ||
36 | |||
37 | } //PrimitiveTypeReferenceImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/QuantifiedExpressionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/QuantifiedExpressionImpl.java new file mode 100644 index 00000000..dad2d1af --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/QuantifiedExpressionImpl.java | |||
@@ -0,0 +1,220 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>Quantified Expression</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * </p> | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl#getQuantifiedVariables <em>Quantified Variables</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl#getExpression <em>Expression</em>}</li> | ||
35 | * </ul> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public abstract class QuantifiedExpressionImpl extends TermImpl implements QuantifiedExpression { | ||
40 | /** | ||
41 | * The cached value of the '{@link #getQuantifiedVariables() <em>Quantified Variables</em>}' containment reference list. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getQuantifiedVariables() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected EList<Variable> quantifiedVariables; | ||
49 | |||
50 | /** | ||
51 | * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getExpression() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected Term expression; | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | protected QuantifiedExpressionImpl() { | ||
66 | super(); | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | @Override | ||
75 | protected EClass eStaticClass() { | ||
76 | return LogiclanguagePackage.Literals.QUANTIFIED_EXPRESSION; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | public EList<Variable> getQuantifiedVariables() { | ||
85 | if (quantifiedVariables == null) { | ||
86 | quantifiedVariables = new EObjectContainmentEList<Variable>(Variable.class, this, LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES); | ||
87 | } | ||
88 | return quantifiedVariables; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public Term getExpression() { | ||
97 | return expression; | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | public NotificationChain basicSetExpression(Term newExpression, NotificationChain msgs) { | ||
106 | Term oldExpression = expression; | ||
107 | expression = newExpression; | ||
108 | if (eNotificationRequired()) { | ||
109 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION, oldExpression, newExpression); | ||
110 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
111 | } | ||
112 | return msgs; | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | public void setExpression(Term newExpression) { | ||
121 | if (newExpression != expression) { | ||
122 | NotificationChain msgs = null; | ||
123 | if (expression != null) | ||
124 | msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION, null, msgs); | ||
125 | if (newExpression != null) | ||
126 | msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION, null, msgs); | ||
127 | msgs = basicSetExpression(newExpression, msgs); | ||
128 | if (msgs != null) msgs.dispatch(); | ||
129 | } | ||
130 | else if (eNotificationRequired()) | ||
131 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION, newExpression, newExpression)); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
141 | switch (featureID) { | ||
142 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
143 | return ((InternalEList<?>)getQuantifiedVariables()).basicRemove(otherEnd, msgs); | ||
144 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: | ||
145 | return basicSetExpression(null, msgs); | ||
146 | } | ||
147 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
157 | switch (featureID) { | ||
158 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
159 | return getQuantifiedVariables(); | ||
160 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: | ||
161 | return getExpression(); | ||
162 | } | ||
163 | return super.eGet(featureID, resolve, coreType); | ||
164 | } | ||
165 | |||
166 | /** | ||
167 | * <!-- begin-user-doc --> | ||
168 | * <!-- end-user-doc --> | ||
169 | * @generated | ||
170 | */ | ||
171 | @SuppressWarnings("unchecked") | ||
172 | @Override | ||
173 | public void eSet(int featureID, Object newValue) { | ||
174 | switch (featureID) { | ||
175 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
176 | getQuantifiedVariables().clear(); | ||
177 | getQuantifiedVariables().addAll((Collection<? extends Variable>)newValue); | ||
178 | return; | ||
179 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: | ||
180 | setExpression((Term)newValue); | ||
181 | return; | ||
182 | } | ||
183 | super.eSet(featureID, newValue); | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @generated | ||
190 | */ | ||
191 | @Override | ||
192 | public void eUnset(int featureID) { | ||
193 | switch (featureID) { | ||
194 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
195 | getQuantifiedVariables().clear(); | ||
196 | return; | ||
197 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: | ||
198 | setExpression((Term)null); | ||
199 | return; | ||
200 | } | ||
201 | super.eUnset(featureID); | ||
202 | } | ||
203 | |||
204 | /** | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @generated | ||
208 | */ | ||
209 | @Override | ||
210 | public boolean eIsSet(int featureID) { | ||
211 | switch (featureID) { | ||
212 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
213 | return quantifiedVariables != null && !quantifiedVariables.isEmpty(); | ||
214 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: | ||
215 | return expression != null; | ||
216 | } | ||
217 | return super.eIsSet(featureID); | ||
218 | } | ||
219 | |||
220 | } //QuantifiedExpressionImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealLiteralImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealLiteralImpl.java new file mode 100644 index 00000000..54594606 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealLiteralImpl.java | |||
@@ -0,0 +1,164 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral; | ||
7 | |||
8 | import java.math.BigDecimal; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>Real Literal</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.logic.model.logiclanguage.impl.RealLiteralImpl#getValue <em>Value</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class RealLiteralImpl extends AtomicTermImpl implements RealLiteral { | ||
30 | /** | ||
31 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getValue() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final BigDecimal VALUE_EDEFAULT = null; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getValue() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected BigDecimal value = VALUE_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | protected RealLiteralImpl() { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() { | ||
66 | return LogiclanguagePackage.Literals.REAL_LITERAL; | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | public BigDecimal getValue() { | ||
75 | return value; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | public void setValue(BigDecimal newValue) { | ||
84 | BigDecimal oldValue = value; | ||
85 | value = newValue; | ||
86 | if (eNotificationRequired()) | ||
87 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.REAL_LITERAL__VALUE, oldValue, value)); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case LogiclanguagePackage.REAL_LITERAL__VALUE: | ||
99 | return getValue(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public void eSet(int featureID, Object newValue) { | ||
111 | switch (featureID) { | ||
112 | case LogiclanguagePackage.REAL_LITERAL__VALUE: | ||
113 | setValue((BigDecimal)newValue); | ||
114 | return; | ||
115 | } | ||
116 | super.eSet(featureID, newValue); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void eUnset(int featureID) { | ||
126 | switch (featureID) { | ||
127 | case LogiclanguagePackage.REAL_LITERAL__VALUE: | ||
128 | setValue(VALUE_EDEFAULT); | ||
129 | return; | ||
130 | } | ||
131 | super.eUnset(featureID); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public boolean eIsSet(int featureID) { | ||
141 | switch (featureID) { | ||
142 | case LogiclanguagePackage.REAL_LITERAL__VALUE: | ||
143 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); | ||
144 | } | ||
145 | return super.eIsSet(featureID); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public String toString() { | ||
155 | if (eIsProxy()) return super.toString(); | ||
156 | |||
157 | StringBuffer result = new StringBuffer(super.toString()); | ||
158 | result.append(" (value: "); | ||
159 | result.append(value); | ||
160 | result.append(')'); | ||
161 | return result.toString(); | ||
162 | } | ||
163 | |||
164 | } //RealLiteralImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealTypeReferenceImpl.java new file mode 100644 index 00000000..8c12c66c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealTypeReferenceImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Real Type Reference</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class RealTypeReferenceImpl extends PrimitiveTypeReferenceImpl implements RealTypeReference { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected RealTypeReferenceImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.REAL_TYPE_REFERENCE; | ||
35 | } | ||
36 | |||
37 | } //RealTypeReferenceImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDeclarationImpl.java new file mode 100644 index 00000000..22b588ab --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDeclarationImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Relation Declaration</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class RelationDeclarationImpl extends RelationImpl implements RelationDeclaration { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected RelationDeclarationImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.RELATION_DECLARATION; | ||
35 | } | ||
36 | |||
37 | } //RelationDeclarationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDefinitionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDefinitionImpl.java new file mode 100644 index 00000000..017518eb --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDefinitionImpl.java | |||
@@ -0,0 +1,280 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>Relation Definition</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * </p> | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl#getVariables <em>Variables</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl#getValue <em>Value</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl#getDefines <em>Defines</em>}</li> | ||
36 | * </ul> | ||
37 | * | ||
38 | * @generated | ||
39 | */ | ||
40 | public class RelationDefinitionImpl extends RelationImpl implements RelationDefinition { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getVariables() <em>Variables</em>}' containment reference list. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getVariables() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected EList<Variable> variables; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getValue() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected Term value; | ||
60 | |||
61 | /** | ||
62 | * The cached value of the '{@link #getDefines() <em>Defines</em>}' reference. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @see #getDefines() | ||
66 | * @generated | ||
67 | * @ordered | ||
68 | */ | ||
69 | protected RelationDeclaration defines; | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | protected RelationDefinitionImpl() { | ||
77 | super(); | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | protected EClass eStaticClass() { | ||
87 | return LogiclanguagePackage.Literals.RELATION_DEFINITION; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public EList<Variable> getVariables() { | ||
96 | if (variables == null) { | ||
97 | variables = new EObjectContainmentEList<Variable>(Variable.class, this, LogiclanguagePackage.RELATION_DEFINITION__VARIABLES); | ||
98 | } | ||
99 | return variables; | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | public Term getValue() { | ||
108 | return value; | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { | ||
117 | Term oldValue = value; | ||
118 | value = newValue; | ||
119 | if (eNotificationRequired()) { | ||
120 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.RELATION_DEFINITION__VALUE, oldValue, newValue); | ||
121 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
122 | } | ||
123 | return msgs; | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | public void setValue(Term newValue) { | ||
132 | if (newValue != value) { | ||
133 | NotificationChain msgs = null; | ||
134 | if (value != null) | ||
135 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.RELATION_DEFINITION__VALUE, null, msgs); | ||
136 | if (newValue != null) | ||
137 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.RELATION_DEFINITION__VALUE, null, msgs); | ||
138 | msgs = basicSetValue(newValue, msgs); | ||
139 | if (msgs != null) msgs.dispatch(); | ||
140 | } | ||
141 | else if (eNotificationRequired()) | ||
142 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.RELATION_DEFINITION__VALUE, newValue, newValue)); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | public RelationDeclaration getDefines() { | ||
151 | if (defines != null && defines.eIsProxy()) { | ||
152 | InternalEObject oldDefines = (InternalEObject)defines; | ||
153 | defines = (RelationDeclaration)eResolveProxy(oldDefines); | ||
154 | if (defines != oldDefines) { | ||
155 | if (eNotificationRequired()) | ||
156 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.RELATION_DEFINITION__DEFINES, oldDefines, defines)); | ||
157 | } | ||
158 | } | ||
159 | return defines; | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | public RelationDeclaration basicGetDefines() { | ||
168 | return defines; | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | public void setDefines(RelationDeclaration newDefines) { | ||
177 | RelationDeclaration oldDefines = defines; | ||
178 | defines = newDefines; | ||
179 | if (eNotificationRequired()) | ||
180 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.RELATION_DEFINITION__DEFINES, oldDefines, defines)); | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | @Override | ||
189 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
190 | switch (featureID) { | ||
191 | case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: | ||
192 | return ((InternalEList<?>)getVariables()).basicRemove(otherEnd, msgs); | ||
193 | case LogiclanguagePackage.RELATION_DEFINITION__VALUE: | ||
194 | return basicSetValue(null, msgs); | ||
195 | } | ||
196 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | @Override | ||
205 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
206 | switch (featureID) { | ||
207 | case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: | ||
208 | return getVariables(); | ||
209 | case LogiclanguagePackage.RELATION_DEFINITION__VALUE: | ||
210 | return getValue(); | ||
211 | case LogiclanguagePackage.RELATION_DEFINITION__DEFINES: | ||
212 | if (resolve) return getDefines(); | ||
213 | return basicGetDefines(); | ||
214 | } | ||
215 | return super.eGet(featureID, resolve, coreType); | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | @SuppressWarnings("unchecked") | ||
224 | @Override | ||
225 | public void eSet(int featureID, Object newValue) { | ||
226 | switch (featureID) { | ||
227 | case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: | ||
228 | getVariables().clear(); | ||
229 | getVariables().addAll((Collection<? extends Variable>)newValue); | ||
230 | return; | ||
231 | case LogiclanguagePackage.RELATION_DEFINITION__VALUE: | ||
232 | setValue((Term)newValue); | ||
233 | return; | ||
234 | case LogiclanguagePackage.RELATION_DEFINITION__DEFINES: | ||
235 | setDefines((RelationDeclaration)newValue); | ||
236 | return; | ||
237 | } | ||
238 | super.eSet(featureID, newValue); | ||
239 | } | ||
240 | |||
241 | /** | ||
242 | * <!-- begin-user-doc --> | ||
243 | * <!-- end-user-doc --> | ||
244 | * @generated | ||
245 | */ | ||
246 | @Override | ||
247 | public void eUnset(int featureID) { | ||
248 | switch (featureID) { | ||
249 | case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: | ||
250 | getVariables().clear(); | ||
251 | return; | ||
252 | case LogiclanguagePackage.RELATION_DEFINITION__VALUE: | ||
253 | setValue((Term)null); | ||
254 | return; | ||
255 | case LogiclanguagePackage.RELATION_DEFINITION__DEFINES: | ||
256 | setDefines((RelationDeclaration)null); | ||
257 | return; | ||
258 | } | ||
259 | super.eUnset(featureID); | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * <!-- begin-user-doc --> | ||
264 | * <!-- end-user-doc --> | ||
265 | * @generated | ||
266 | */ | ||
267 | @Override | ||
268 | public boolean eIsSet(int featureID) { | ||
269 | switch (featureID) { | ||
270 | case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: | ||
271 | return variables != null && !variables.isEmpty(); | ||
272 | case LogiclanguagePackage.RELATION_DEFINITION__VALUE: | ||
273 | return value != null; | ||
274 | case LogiclanguagePackage.RELATION_DEFINITION__DEFINES: | ||
275 | return defines != null; | ||
276 | } | ||
277 | return super.eIsSet(featureID); | ||
278 | } | ||
279 | |||
280 | } //RelationDefinitionImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationImpl.java new file mode 100644 index 00000000..a0127ab8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationImpl.java | |||
@@ -0,0 +1,204 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; | ||
8 | |||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
10 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation; | ||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
21 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
22 | import org.eclipse.emf.ecore.util.InternalEList; | ||
23 | |||
24 | /** | ||
25 | * <!-- begin-user-doc --> | ||
26 | * An implementation of the model object '<em><b>Relation</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.logic.model.logiclanguage.impl.RelationImpl#getParameters <em>Parameters</em>}</li> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl#getAnnotations <em>Annotations</em>}</li> | ||
34 | * </ul> | ||
35 | * | ||
36 | * @generated | ||
37 | */ | ||
38 | public abstract class RelationImpl extends SymbolicDeclarationImpl implements Relation { | ||
39 | /** | ||
40 | * The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getParameters() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected EList<TypeReference> parameters; | ||
48 | |||
49 | /** | ||
50 | * The cached value of the '{@link #getAnnotations() <em>Annotations</em>}' reference list. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @see #getAnnotations() | ||
54 | * @generated | ||
55 | * @ordered | ||
56 | */ | ||
57 | protected EList<RelationAnnotation> annotations; | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | protected RelationImpl() { | ||
65 | super(); | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | protected EClass eStaticClass() { | ||
75 | return LogiclanguagePackage.Literals.RELATION; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | public EList<TypeReference> getParameters() { | ||
84 | if (parameters == null) { | ||
85 | parameters = new EObjectContainmentEList<TypeReference>(TypeReference.class, this, LogiclanguagePackage.RELATION__PARAMETERS); | ||
86 | } | ||
87 | return parameters; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public EList<RelationAnnotation> getAnnotations() { | ||
96 | if (annotations == null) { | ||
97 | annotations = new EObjectWithInverseResolvingEList<RelationAnnotation>(RelationAnnotation.class, this, LogiclanguagePackage.RELATION__ANNOTATIONS, LogicproblemPackage.RELATION_ANNOTATION__TARGET); | ||
98 | } | ||
99 | return annotations; | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | @SuppressWarnings("unchecked") | ||
108 | @Override | ||
109 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
110 | switch (featureID) { | ||
111 | case LogiclanguagePackage.RELATION__ANNOTATIONS: | ||
112 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getAnnotations()).basicAdd(otherEnd, msgs); | ||
113 | } | ||
114 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
124 | switch (featureID) { | ||
125 | case LogiclanguagePackage.RELATION__PARAMETERS: | ||
126 | return ((InternalEList<?>)getParameters()).basicRemove(otherEnd, msgs); | ||
127 | case LogiclanguagePackage.RELATION__ANNOTATIONS: | ||
128 | return ((InternalEList<?>)getAnnotations()).basicRemove(otherEnd, msgs); | ||
129 | } | ||
130 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
140 | switch (featureID) { | ||
141 | case LogiclanguagePackage.RELATION__PARAMETERS: | ||
142 | return getParameters(); | ||
143 | case LogiclanguagePackage.RELATION__ANNOTATIONS: | ||
144 | return getAnnotations(); | ||
145 | } | ||
146 | return super.eGet(featureID, resolve, coreType); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @SuppressWarnings("unchecked") | ||
155 | @Override | ||
156 | public void eSet(int featureID, Object newValue) { | ||
157 | switch (featureID) { | ||
158 | case LogiclanguagePackage.RELATION__PARAMETERS: | ||
159 | getParameters().clear(); | ||
160 | getParameters().addAll((Collection<? extends TypeReference>)newValue); | ||
161 | return; | ||
162 | case LogiclanguagePackage.RELATION__ANNOTATIONS: | ||
163 | getAnnotations().clear(); | ||
164 | getAnnotations().addAll((Collection<? extends RelationAnnotation>)newValue); | ||
165 | return; | ||
166 | } | ||
167 | super.eSet(featureID, newValue); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public void eUnset(int featureID) { | ||
177 | switch (featureID) { | ||
178 | case LogiclanguagePackage.RELATION__PARAMETERS: | ||
179 | getParameters().clear(); | ||
180 | return; | ||
181 | case LogiclanguagePackage.RELATION__ANNOTATIONS: | ||
182 | getAnnotations().clear(); | ||
183 | return; | ||
184 | } | ||
185 | super.eUnset(featureID); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public boolean eIsSet(int featureID) { | ||
195 | switch (featureID) { | ||
196 | case LogiclanguagePackage.RELATION__PARAMETERS: | ||
197 | return parameters != null && !parameters.isEmpty(); | ||
198 | case LogiclanguagePackage.RELATION__ANNOTATIONS: | ||
199 | return annotations != null && !annotations.isEmpty(); | ||
200 | } | ||
201 | return super.eIsSet(featureID); | ||
202 | } | ||
203 | |||
204 | } //RelationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicDeclarationImpl.java new file mode 100644 index 00000000..1f28cbd7 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicDeclarationImpl.java | |||
@@ -0,0 +1,161 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration; | ||
7 | import org.eclipse.emf.common.notify.Notification; | ||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Symbolic Declaration</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * <p> | ||
18 | * The following features are implemented: | ||
19 | * </p> | ||
20 | * <ul> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl#getName <em>Name</em>}</li> | ||
22 | * </ul> | ||
23 | * | ||
24 | * @generated | ||
25 | */ | ||
26 | public abstract class SymbolicDeclarationImpl extends MinimalEObjectImpl.Container implements SymbolicDeclaration { | ||
27 | /** | ||
28 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @see #getName() | ||
32 | * @generated | ||
33 | * @ordered | ||
34 | */ | ||
35 | protected static final String NAME_EDEFAULT = null; | ||
36 | /** | ||
37 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getName() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected String name = NAME_EDEFAULT; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected SymbolicDeclarationImpl() { | ||
52 | super(); | ||
53 | } | ||
54 | |||
55 | /** | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @generated | ||
59 | */ | ||
60 | @Override | ||
61 | protected EClass eStaticClass() { | ||
62 | return LogiclanguagePackage.Literals.SYMBOLIC_DECLARATION; | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | public String getName() { | ||
71 | return name; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public void setName(String newName) { | ||
80 | String oldName = name; | ||
81 | name = newName; | ||
82 | if (eNotificationRequired()) | ||
83 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME, oldName, name)); | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | @Override | ||
92 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
93 | switch (featureID) { | ||
94 | case LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME: | ||
95 | return getName(); | ||
96 | } | ||
97 | return super.eGet(featureID, resolve, coreType); | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | @SuppressWarnings("unchecked") | ||
106 | @Override | ||
107 | public void eSet(int featureID, Object newValue) { | ||
108 | switch (featureID) { | ||
109 | case LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME: | ||
110 | setName((String)newValue); | ||
111 | return; | ||
112 | } | ||
113 | super.eSet(featureID, newValue); | ||
114 | } | ||
115 | |||
116 | /** | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | */ | ||
121 | @Override | ||
122 | public void eUnset(int featureID) { | ||
123 | switch (featureID) { | ||
124 | case LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME: | ||
125 | setName(NAME_EDEFAULT); | ||
126 | return; | ||
127 | } | ||
128 | super.eUnset(featureID); | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | @Override | ||
137 | public boolean eIsSet(int featureID) { | ||
138 | switch (featureID) { | ||
139 | case LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME: | ||
140 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
141 | } | ||
142 | return super.eIsSet(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public String toString() { | ||
152 | if (eIsProxy()) return super.toString(); | ||
153 | |||
154 | StringBuffer result = new StringBuffer(super.toString()); | ||
155 | result.append(" (name: "); | ||
156 | result.append(name); | ||
157 | result.append(')'); | ||
158 | return result.toString(); | ||
159 | } | ||
160 | |||
161 | } //SymbolicDeclarationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicValueImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicValueImpl.java new file mode 100644 index 00000000..59e1a7d3 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicValueImpl.java | |||
@@ -0,0 +1,214 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>Symbolic Value</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * </p> | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl#getSymbolicReference <em>Symbolic Reference</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl#getParameterSubstitutions <em>Parameter Substitutions</em>}</li> | ||
35 | * </ul> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public class SymbolicValueImpl extends TermImpl implements SymbolicValue { | ||
40 | /** | ||
41 | * The cached value of the '{@link #getSymbolicReference() <em>Symbolic Reference</em>}' reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getSymbolicReference() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected SymbolicDeclaration symbolicReference; | ||
49 | |||
50 | /** | ||
51 | * The cached value of the '{@link #getParameterSubstitutions() <em>Parameter Substitutions</em>}' containment reference list. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getParameterSubstitutions() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected EList<Term> parameterSubstitutions; | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | protected SymbolicValueImpl() { | ||
66 | super(); | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | @Override | ||
75 | protected EClass eStaticClass() { | ||
76 | return LogiclanguagePackage.Literals.SYMBOLIC_VALUE; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | public SymbolicDeclaration getSymbolicReference() { | ||
85 | if (symbolicReference != null && symbolicReference.eIsProxy()) { | ||
86 | InternalEObject oldSymbolicReference = (InternalEObject)symbolicReference; | ||
87 | symbolicReference = (SymbolicDeclaration)eResolveProxy(oldSymbolicReference); | ||
88 | if (symbolicReference != oldSymbolicReference) { | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE, oldSymbolicReference, symbolicReference)); | ||
91 | } | ||
92 | } | ||
93 | return symbolicReference; | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | public SymbolicDeclaration basicGetSymbolicReference() { | ||
102 | return symbolicReference; | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | public void setSymbolicReference(SymbolicDeclaration newSymbolicReference) { | ||
111 | SymbolicDeclaration oldSymbolicReference = symbolicReference; | ||
112 | symbolicReference = newSymbolicReference; | ||
113 | if (eNotificationRequired()) | ||
114 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE, oldSymbolicReference, symbolicReference)); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | public EList<Term> getParameterSubstitutions() { | ||
123 | if (parameterSubstitutions == null) { | ||
124 | parameterSubstitutions = new EObjectContainmentEList<Term>(Term.class, this, LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS); | ||
125 | } | ||
126 | return parameterSubstitutions; | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
136 | switch (featureID) { | ||
137 | case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
138 | return ((InternalEList<?>)getParameterSubstitutions()).basicRemove(otherEnd, msgs); | ||
139 | } | ||
140 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
150 | switch (featureID) { | ||
151 | case LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: | ||
152 | if (resolve) return getSymbolicReference(); | ||
153 | return basicGetSymbolicReference(); | ||
154 | case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
155 | return getParameterSubstitutions(); | ||
156 | } | ||
157 | return super.eGet(featureID, resolve, coreType); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @SuppressWarnings("unchecked") | ||
166 | @Override | ||
167 | public void eSet(int featureID, Object newValue) { | ||
168 | switch (featureID) { | ||
169 | case LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: | ||
170 | setSymbolicReference((SymbolicDeclaration)newValue); | ||
171 | return; | ||
172 | case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
173 | getParameterSubstitutions().clear(); | ||
174 | getParameterSubstitutions().addAll((Collection<? extends Term>)newValue); | ||
175 | return; | ||
176 | } | ||
177 | super.eSet(featureID, newValue); | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | @Override | ||
186 | public void eUnset(int featureID) { | ||
187 | switch (featureID) { | ||
188 | case LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: | ||
189 | setSymbolicReference((SymbolicDeclaration)null); | ||
190 | return; | ||
191 | case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
192 | getParameterSubstitutions().clear(); | ||
193 | return; | ||
194 | } | ||
195 | super.eUnset(featureID); | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | @Override | ||
204 | public boolean eIsSet(int featureID) { | ||
205 | switch (featureID) { | ||
206 | case LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: | ||
207 | return symbolicReference != null; | ||
208 | case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
209 | return parameterSubstitutions != null && !parameterSubstitutions.isEmpty(); | ||
210 | } | ||
211 | return super.eIsSet(featureID); | ||
212 | } | ||
213 | |||
214 | } //SymbolicValueImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TermImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TermImpl.java new file mode 100644 index 00000000..e3a9eec4 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TermImpl.java | |||
@@ -0,0 +1,39 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>Term</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public abstract class TermImpl extends MinimalEObjectImpl.Container implements Term { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected TermImpl() { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() { | ||
36 | return LogiclanguagePackage.Literals.TERM; | ||
37 | } | ||
38 | |||
39 | } //TermImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDeclarationImpl.java new file mode 100644 index 00000000..dfcf17dc --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDeclarationImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Type Declaration</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class TypeDeclarationImpl extends TypeImpl implements TypeDeclaration { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected TypeDeclarationImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.TYPE_DECLARATION; | ||
35 | } | ||
36 | |||
37 | } //TypeDeclarationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDefinitionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDefinitionImpl.java new file mode 100644 index 00000000..02b2ec52 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDefinitionImpl.java | |||
@@ -0,0 +1,225 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | import org.eclipse.emf.common.notify.Notification; | ||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
18 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>Type Definition</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * </p> | ||
28 | * <ul> | ||
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl#getElements <em>Elements</em>}</li> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl#getDefines <em>Defines</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class TypeDefinitionImpl extends TypeImpl implements TypeDefinition { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getElements() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<DefinedElement> elements; | ||
45 | |||
46 | /** | ||
47 | * The cached value of the '{@link #getDefines() <em>Defines</em>}' reference. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @see #getDefines() | ||
51 | * @generated | ||
52 | * @ordered | ||
53 | */ | ||
54 | protected TypeDeclaration defines; | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | protected TypeDefinitionImpl() { | ||
62 | super(); | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | @Override | ||
71 | protected EClass eStaticClass() { | ||
72 | return LogiclanguagePackage.Literals.TYPE_DEFINITION; | ||
73 | } | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | public EList<DefinedElement> getElements() { | ||
81 | if (elements == null) { | ||
82 | elements = new EObjectWithInverseResolvingEList.ManyInverse<DefinedElement>(DefinedElement.class, this, LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS, LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE); | ||
83 | } | ||
84 | return elements; | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | public TypeDeclaration getDefines() { | ||
93 | if (defines != null && defines.eIsProxy()) { | ||
94 | InternalEObject oldDefines = (InternalEObject)defines; | ||
95 | defines = (TypeDeclaration)eResolveProxy(oldDefines); | ||
96 | if (defines != oldDefines) { | ||
97 | if (eNotificationRequired()) | ||
98 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.TYPE_DEFINITION__DEFINES, oldDefines, defines)); | ||
99 | } | ||
100 | } | ||
101 | return defines; | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | public TypeDeclaration basicGetDefines() { | ||
110 | return defines; | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | public void setDefines(TypeDeclaration newDefines) { | ||
119 | TypeDeclaration oldDefines = defines; | ||
120 | defines = newDefines; | ||
121 | if (eNotificationRequired()) | ||
122 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.TYPE_DEFINITION__DEFINES, oldDefines, defines)); | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | @SuppressWarnings("unchecked") | ||
131 | @Override | ||
132 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
133 | switch (featureID) { | ||
134 | case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: | ||
135 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getElements()).basicAdd(otherEnd, msgs); | ||
136 | } | ||
137 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
147 | switch (featureID) { | ||
148 | case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: | ||
149 | return ((InternalEList<?>)getElements()).basicRemove(otherEnd, msgs); | ||
150 | } | ||
151 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
152 | } | ||
153 | |||
154 | /** | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @generated | ||
158 | */ | ||
159 | @Override | ||
160 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
161 | switch (featureID) { | ||
162 | case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: | ||
163 | return getElements(); | ||
164 | case LogiclanguagePackage.TYPE_DEFINITION__DEFINES: | ||
165 | if (resolve) return getDefines(); | ||
166 | return basicGetDefines(); | ||
167 | } | ||
168 | return super.eGet(featureID, resolve, coreType); | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | @SuppressWarnings("unchecked") | ||
177 | @Override | ||
178 | public void eSet(int featureID, Object newValue) { | ||
179 | switch (featureID) { | ||
180 | case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: | ||
181 | getElements().clear(); | ||
182 | getElements().addAll((Collection<? extends DefinedElement>)newValue); | ||
183 | return; | ||
184 | case LogiclanguagePackage.TYPE_DEFINITION__DEFINES: | ||
185 | setDefines((TypeDeclaration)newValue); | ||
186 | return; | ||
187 | } | ||
188 | super.eSet(featureID, newValue); | ||
189 | } | ||
190 | |||
191 | /** | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @generated | ||
195 | */ | ||
196 | @Override | ||
197 | public void eUnset(int featureID) { | ||
198 | switch (featureID) { | ||
199 | case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: | ||
200 | getElements().clear(); | ||
201 | return; | ||
202 | case LogiclanguagePackage.TYPE_DEFINITION__DEFINES: | ||
203 | setDefines((TypeDeclaration)null); | ||
204 | return; | ||
205 | } | ||
206 | super.eUnset(featureID); | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @generated | ||
213 | */ | ||
214 | @Override | ||
215 | public boolean eIsSet(int featureID) { | ||
216 | switch (featureID) { | ||
217 | case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: | ||
218 | return elements != null && !elements.isEmpty(); | ||
219 | case LogiclanguagePackage.TYPE_DEFINITION__DEFINES: | ||
220 | return defines != null; | ||
221 | } | ||
222 | return super.eIsSet(featureID); | ||
223 | } | ||
224 | |||
225 | } //TypeDefinitionImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeImpl.java new file mode 100644 index 00000000..f51d7ef5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeImpl.java | |||
@@ -0,0 +1,325 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; | ||
7 | |||
8 | import java.util.Collection; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | import org.eclipse.emf.common.util.EList; | ||
13 | |||
14 | import org.eclipse.emf.ecore.EClass; | ||
15 | |||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
18 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
19 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Type</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.logic.model.logiclanguage.impl.TypeImpl#getName <em>Name</em>}</li> | ||
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl#getSubtypes <em>Subtypes</em>}</li> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl#getSupertypes <em>Supertypes</em>}</li> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl#isIsAbstract <em>Is Abstract</em>}</li> | ||
34 | * </ul> | ||
35 | * | ||
36 | * @generated | ||
37 | */ | ||
38 | public abstract class TypeImpl extends MinimalEObjectImpl.Container implements Type { | ||
39 | /** | ||
40 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getName() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected static final String NAME_EDEFAULT = null; | ||
48 | |||
49 | /** | ||
50 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @see #getName() | ||
54 | * @generated | ||
55 | * @ordered | ||
56 | */ | ||
57 | protected String name = NAME_EDEFAULT; | ||
58 | |||
59 | /** | ||
60 | * The cached value of the '{@link #getSubtypes() <em>Subtypes</em>}' reference list. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see #getSubtypes() | ||
64 | * @generated | ||
65 | * @ordered | ||
66 | */ | ||
67 | protected EList<Type> subtypes; | ||
68 | /** | ||
69 | * The cached value of the '{@link #getSupertypes() <em>Supertypes</em>}' reference list. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @see #getSupertypes() | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | protected EList<Type> supertypes; | ||
77 | |||
78 | /** | ||
79 | * The default value of the '{@link #isIsAbstract() <em>Is Abstract</em>}' attribute. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @see #isIsAbstract() | ||
83 | * @generated | ||
84 | * @ordered | ||
85 | */ | ||
86 | protected static final boolean IS_ABSTRACT_EDEFAULT = false; | ||
87 | |||
88 | /** | ||
89 | * The cached value of the '{@link #isIsAbstract() <em>Is Abstract</em>}' attribute. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @see #isIsAbstract() | ||
93 | * @generated | ||
94 | * @ordered | ||
95 | */ | ||
96 | protected boolean isAbstract = IS_ABSTRACT_EDEFAULT; | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | protected TypeImpl() { | ||
104 | super(); | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | @Override | ||
113 | protected EClass eStaticClass() { | ||
114 | return LogiclanguagePackage.Literals.TYPE; | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | public String getName() { | ||
123 | return name; | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | public void setName(String newName) { | ||
132 | String oldName = name; | ||
133 | name = newName; | ||
134 | if (eNotificationRequired()) | ||
135 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.TYPE__NAME, oldName, name)); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public EList<Type> getSubtypes() { | ||
144 | if (subtypes == null) { | ||
145 | subtypes = new EObjectWithInverseResolvingEList.ManyInverse<Type>(Type.class, this, LogiclanguagePackage.TYPE__SUBTYPES, LogiclanguagePackage.TYPE__SUPERTYPES); | ||
146 | } | ||
147 | return subtypes; | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | public EList<Type> getSupertypes() { | ||
156 | if (supertypes == null) { | ||
157 | supertypes = new EObjectWithInverseResolvingEList.ManyInverse<Type>(Type.class, this, LogiclanguagePackage.TYPE__SUPERTYPES, LogiclanguagePackage.TYPE__SUBTYPES); | ||
158 | } | ||
159 | return supertypes; | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | public boolean isIsAbstract() { | ||
168 | return isAbstract; | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | public void setIsAbstract(boolean newIsAbstract) { | ||
177 | boolean oldIsAbstract = isAbstract; | ||
178 | isAbstract = newIsAbstract; | ||
179 | if (eNotificationRequired()) | ||
180 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.TYPE__IS_ABSTRACT, oldIsAbstract, isAbstract)); | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | @SuppressWarnings("unchecked") | ||
189 | @Override | ||
190 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
191 | switch (featureID) { | ||
192 | case LogiclanguagePackage.TYPE__SUBTYPES: | ||
193 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getSubtypes()).basicAdd(otherEnd, msgs); | ||
194 | case LogiclanguagePackage.TYPE__SUPERTYPES: | ||
195 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getSupertypes()).basicAdd(otherEnd, msgs); | ||
196 | } | ||
197 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | @Override | ||
206 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
207 | switch (featureID) { | ||
208 | case LogiclanguagePackage.TYPE__SUBTYPES: | ||
209 | return ((InternalEList<?>)getSubtypes()).basicRemove(otherEnd, msgs); | ||
210 | case LogiclanguagePackage.TYPE__SUPERTYPES: | ||
211 | return ((InternalEList<?>)getSupertypes()).basicRemove(otherEnd, msgs); | ||
212 | } | ||
213 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | */ | ||
221 | @Override | ||
222 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
223 | switch (featureID) { | ||
224 | case LogiclanguagePackage.TYPE__NAME: | ||
225 | return getName(); | ||
226 | case LogiclanguagePackage.TYPE__SUBTYPES: | ||
227 | return getSubtypes(); | ||
228 | case LogiclanguagePackage.TYPE__SUPERTYPES: | ||
229 | return getSupertypes(); | ||
230 | case LogiclanguagePackage.TYPE__IS_ABSTRACT: | ||
231 | return isIsAbstract(); | ||
232 | } | ||
233 | return super.eGet(featureID, resolve, coreType); | ||
234 | } | ||
235 | |||
236 | /** | ||
237 | * <!-- begin-user-doc --> | ||
238 | * <!-- end-user-doc --> | ||
239 | * @generated | ||
240 | */ | ||
241 | @SuppressWarnings("unchecked") | ||
242 | @Override | ||
243 | public void eSet(int featureID, Object newValue) { | ||
244 | switch (featureID) { | ||
245 | case LogiclanguagePackage.TYPE__NAME: | ||
246 | setName((String)newValue); | ||
247 | return; | ||
248 | case LogiclanguagePackage.TYPE__SUBTYPES: | ||
249 | getSubtypes().clear(); | ||
250 | getSubtypes().addAll((Collection<? extends Type>)newValue); | ||
251 | return; | ||
252 | case LogiclanguagePackage.TYPE__SUPERTYPES: | ||
253 | getSupertypes().clear(); | ||
254 | getSupertypes().addAll((Collection<? extends Type>)newValue); | ||
255 | return; | ||
256 | case LogiclanguagePackage.TYPE__IS_ABSTRACT: | ||
257 | setIsAbstract((Boolean)newValue); | ||
258 | return; | ||
259 | } | ||
260 | super.eSet(featureID, newValue); | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | */ | ||
268 | @Override | ||
269 | public void eUnset(int featureID) { | ||
270 | switch (featureID) { | ||
271 | case LogiclanguagePackage.TYPE__NAME: | ||
272 | setName(NAME_EDEFAULT); | ||
273 | return; | ||
274 | case LogiclanguagePackage.TYPE__SUBTYPES: | ||
275 | getSubtypes().clear(); | ||
276 | return; | ||
277 | case LogiclanguagePackage.TYPE__SUPERTYPES: | ||
278 | getSupertypes().clear(); | ||
279 | return; | ||
280 | case LogiclanguagePackage.TYPE__IS_ABSTRACT: | ||
281 | setIsAbstract(IS_ABSTRACT_EDEFAULT); | ||
282 | return; | ||
283 | } | ||
284 | super.eUnset(featureID); | ||
285 | } | ||
286 | |||
287 | /** | ||
288 | * <!-- begin-user-doc --> | ||
289 | * <!-- end-user-doc --> | ||
290 | * @generated | ||
291 | */ | ||
292 | @Override | ||
293 | public boolean eIsSet(int featureID) { | ||
294 | switch (featureID) { | ||
295 | case LogiclanguagePackage.TYPE__NAME: | ||
296 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
297 | case LogiclanguagePackage.TYPE__SUBTYPES: | ||
298 | return subtypes != null && !subtypes.isEmpty(); | ||
299 | case LogiclanguagePackage.TYPE__SUPERTYPES: | ||
300 | return supertypes != null && !supertypes.isEmpty(); | ||
301 | case LogiclanguagePackage.TYPE__IS_ABSTRACT: | ||
302 | return isAbstract != IS_ABSTRACT_EDEFAULT; | ||
303 | } | ||
304 | return super.eIsSet(featureID); | ||
305 | } | ||
306 | |||
307 | /** | ||
308 | * <!-- begin-user-doc --> | ||
309 | * <!-- end-user-doc --> | ||
310 | * @generated | ||
311 | */ | ||
312 | @Override | ||
313 | public String toString() { | ||
314 | if (eIsProxy()) return super.toString(); | ||
315 | |||
316 | StringBuffer result = new StringBuffer(super.toString()); | ||
317 | result.append(" (name: "); | ||
318 | result.append(name); | ||
319 | result.append(", isAbstract: "); | ||
320 | result.append(isAbstract); | ||
321 | result.append(')'); | ||
322 | return result.toString(); | ||
323 | } | ||
324 | |||
325 | } //TypeImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeReferenceImpl.java new file mode 100644 index 00000000..c8e8b782 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeReferenceImpl.java | |||
@@ -0,0 +1,39 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>Type Reference</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public abstract class TypeReferenceImpl extends MinimalEObjectImpl.Container implements TypeReference { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected TypeReferenceImpl() { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() { | ||
36 | return LogiclanguagePackage.Literals.TYPE_REFERENCE; | ||
37 | } | ||
38 | |||
39 | } //TypeReferenceImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/UnknownBecauseUninterpretedImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/UnknownBecauseUninterpretedImpl.java new file mode 100644 index 00000000..af7e9a11 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/UnknownBecauseUninterpretedImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Unknown Because Uninterpreted</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class UnknownBecauseUninterpretedImpl extends TermImpl implements UnknownBecauseUninterpreted { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected UnknownBecauseUninterpretedImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogiclanguagePackage.Literals.UNKNOWN_BECAUSE_UNINTERPRETED; | ||
35 | } | ||
36 | |||
37 | } //UnknownBecauseUninterpretedImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/VariableImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/VariableImpl.java new file mode 100644 index 00000000..5e862b9f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/VariableImpl.java | |||
@@ -0,0 +1,175 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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>Variable</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.logic.model.logiclanguage.impl.VariableImpl#getRange <em>Range</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class VariableImpl extends SymbolicDeclarationImpl implements Variable { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getRange() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected TypeReference range; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected VariableImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return LogiclanguagePackage.Literals.VARIABLE; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | public TypeReference getRange() { | ||
66 | return range; | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | public NotificationChain basicSetRange(TypeReference newRange, NotificationChain msgs) { | ||
75 | TypeReference oldRange = range; | ||
76 | range = newRange; | ||
77 | if (eNotificationRequired()) { | ||
78 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.VARIABLE__RANGE, oldRange, newRange); | ||
79 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
80 | } | ||
81 | return msgs; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public void setRange(TypeReference newRange) { | ||
90 | if (newRange != range) { | ||
91 | NotificationChain msgs = null; | ||
92 | if (range != null) | ||
93 | msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.VARIABLE__RANGE, null, msgs); | ||
94 | if (newRange != null) | ||
95 | msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.VARIABLE__RANGE, null, msgs); | ||
96 | msgs = basicSetRange(newRange, msgs); | ||
97 | if (msgs != null) msgs.dispatch(); | ||
98 | } | ||
99 | else if (eNotificationRequired()) | ||
100 | eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.VARIABLE__RANGE, newRange, newRange)); | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | @Override | ||
109 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
110 | switch (featureID) { | ||
111 | case LogiclanguagePackage.VARIABLE__RANGE: | ||
112 | return basicSetRange(null, msgs); | ||
113 | } | ||
114 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
124 | switch (featureID) { | ||
125 | case LogiclanguagePackage.VARIABLE__RANGE: | ||
126 | return getRange(); | ||
127 | } | ||
128 | return super.eGet(featureID, resolve, coreType); | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | @Override | ||
137 | public void eSet(int featureID, Object newValue) { | ||
138 | switch (featureID) { | ||
139 | case LogiclanguagePackage.VARIABLE__RANGE: | ||
140 | setRange((TypeReference)newValue); | ||
141 | return; | ||
142 | } | ||
143 | super.eSet(featureID, newValue); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public void eUnset(int featureID) { | ||
153 | switch (featureID) { | ||
154 | case LogiclanguagePackage.VARIABLE__RANGE: | ||
155 | setRange((TypeReference)null); | ||
156 | return; | ||
157 | } | ||
158 | super.eUnset(featureID); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public boolean eIsSet(int featureID) { | ||
168 | switch (featureID) { | ||
169 | case LogiclanguagePackage.VARIABLE__RANGE: | ||
170 | return range != null; | ||
171 | } | ||
172 | return super.eIsSet(featureID); | ||
173 | } | ||
174 | |||
175 | } //VariableImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageAdapterFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageAdapterFactory.java new file mode 100644 index 00000000..a3372dc9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageAdapterFactory.java | |||
@@ -0,0 +1,1092 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.*; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Adapter; | ||
8 | import org.eclipse.emf.common.notify.Notifier; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class LogiclanguageAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static LogiclanguagePackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public LogiclanguageAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = LogiclanguagePackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected LogiclanguageSwitch<Adapter> modelSwitch = | ||
69 | new LogiclanguageSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseType(Type object) { | ||
72 | return createTypeAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseDefinedElement(DefinedElement object) { | ||
76 | return createDefinedElementAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseTypeDefinition(TypeDefinition object) { | ||
80 | return createTypeDefinitionAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseTypeReference(TypeReference object) { | ||
84 | return createTypeReferenceAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseComplexTypeReference(ComplexTypeReference object) { | ||
88 | return createComplexTypeReferenceAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter casePrimitiveTypeReference(PrimitiveTypeReference object) { | ||
92 | return createPrimitiveTypeReferenceAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseIntTypeReference(IntTypeReference object) { | ||
96 | return createIntTypeReferenceAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseBoolTypeReference(BoolTypeReference object) { | ||
100 | return createBoolTypeReferenceAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseRealTypeReference(RealTypeReference object) { | ||
104 | return createRealTypeReferenceAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseFunction(Function object) { | ||
108 | return createFunctionAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter caseTerm(Term object) { | ||
112 | return createTermAdapter(); | ||
113 | } | ||
114 | @Override | ||
115 | public Adapter caseSymbolicDeclaration(SymbolicDeclaration object) { | ||
116 | return createSymbolicDeclarationAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter caseSymbolicValue(SymbolicValue object) { | ||
120 | return createSymbolicValueAdapter(); | ||
121 | } | ||
122 | @Override | ||
123 | public Adapter caseAtomicTerm(AtomicTerm object) { | ||
124 | return createAtomicTermAdapter(); | ||
125 | } | ||
126 | @Override | ||
127 | public Adapter caseIntLiteral(IntLiteral object) { | ||
128 | return createIntLiteralAdapter(); | ||
129 | } | ||
130 | @Override | ||
131 | public Adapter caseBoolLiteral(BoolLiteral object) { | ||
132 | return createBoolLiteralAdapter(); | ||
133 | } | ||
134 | @Override | ||
135 | public Adapter caseRealLiteral(RealLiteral object) { | ||
136 | return createRealLiteralAdapter(); | ||
137 | } | ||
138 | @Override | ||
139 | public Adapter caseVariable(Variable object) { | ||
140 | return createVariableAdapter(); | ||
141 | } | ||
142 | @Override | ||
143 | public Adapter caseQuantifiedExpression(QuantifiedExpression object) { | ||
144 | return createQuantifiedExpressionAdapter(); | ||
145 | } | ||
146 | @Override | ||
147 | public Adapter caseExists(Exists object) { | ||
148 | return createExistsAdapter(); | ||
149 | } | ||
150 | @Override | ||
151 | public Adapter caseForall(Forall object) { | ||
152 | return createForallAdapter(); | ||
153 | } | ||
154 | @Override | ||
155 | public Adapter caseBoolOperation(BoolOperation object) { | ||
156 | return createBoolOperationAdapter(); | ||
157 | } | ||
158 | @Override | ||
159 | public Adapter caseAnd(And object) { | ||
160 | return createAndAdapter(); | ||
161 | } | ||
162 | @Override | ||
163 | public Adapter caseOr(Or object) { | ||
164 | return createOrAdapter(); | ||
165 | } | ||
166 | @Override | ||
167 | public Adapter caseImpl(Impl object) { | ||
168 | return createImplAdapter(); | ||
169 | } | ||
170 | @Override | ||
171 | public Adapter caseNot(Not object) { | ||
172 | return createNotAdapter(); | ||
173 | } | ||
174 | @Override | ||
175 | public Adapter caseIff(Iff object) { | ||
176 | return createIffAdapter(); | ||
177 | } | ||
178 | @Override | ||
179 | public Adapter casePrimitiveRelation(PrimitiveRelation object) { | ||
180 | return createPrimitiveRelationAdapter(); | ||
181 | } | ||
182 | @Override | ||
183 | public Adapter caseEquals(Equals object) { | ||
184 | return createEqualsAdapter(); | ||
185 | } | ||
186 | @Override | ||
187 | public Adapter caseDistinct(Distinct object) { | ||
188 | return createDistinctAdapter(); | ||
189 | } | ||
190 | @Override | ||
191 | public Adapter caseLessThan(LessThan object) { | ||
192 | return createLessThanAdapter(); | ||
193 | } | ||
194 | @Override | ||
195 | public Adapter caseMoreThan(MoreThan object) { | ||
196 | return createMoreThanAdapter(); | ||
197 | } | ||
198 | @Override | ||
199 | public Adapter caseLessOrEqualThan(LessOrEqualThan object) { | ||
200 | return createLessOrEqualThanAdapter(); | ||
201 | } | ||
202 | @Override | ||
203 | public Adapter caseMoreOrEqualThan(MoreOrEqualThan object) { | ||
204 | return createMoreOrEqualThanAdapter(); | ||
205 | } | ||
206 | @Override | ||
207 | public Adapter caseIntOperation(IntOperation object) { | ||
208 | return createIntOperationAdapter(); | ||
209 | } | ||
210 | @Override | ||
211 | public Adapter casePlus(Plus object) { | ||
212 | return createPlusAdapter(); | ||
213 | } | ||
214 | @Override | ||
215 | public Adapter caseMinus(Minus object) { | ||
216 | return createMinusAdapter(); | ||
217 | } | ||
218 | @Override | ||
219 | public Adapter caseMultiply(Multiply object) { | ||
220 | return createMultiplyAdapter(); | ||
221 | } | ||
222 | @Override | ||
223 | public Adapter caseDivison(Divison object) { | ||
224 | return createDivisonAdapter(); | ||
225 | } | ||
226 | @Override | ||
227 | public Adapter caseMod(Mod object) { | ||
228 | return createModAdapter(); | ||
229 | } | ||
230 | @Override | ||
231 | public Adapter caseTypeDescriptor(TypeDescriptor object) { | ||
232 | return createTypeDescriptorAdapter(); | ||
233 | } | ||
234 | @Override | ||
235 | public Adapter caseTermDescription(TermDescription object) { | ||
236 | return createTermDescriptionAdapter(); | ||
237 | } | ||
238 | @Override | ||
239 | public Adapter caseAssertion(Assertion object) { | ||
240 | return createAssertionAdapter(); | ||
241 | } | ||
242 | @Override | ||
243 | public Adapter caseRelation(Relation object) { | ||
244 | return createRelationAdapter(); | ||
245 | } | ||
246 | @Override | ||
247 | public Adapter caseConstant(Constant object) { | ||
248 | return createConstantAdapter(); | ||
249 | } | ||
250 | @Override | ||
251 | public Adapter caseConstantDefinition(ConstantDefinition object) { | ||
252 | return createConstantDefinitionAdapter(); | ||
253 | } | ||
254 | @Override | ||
255 | public Adapter caseRelationDefinition(RelationDefinition object) { | ||
256 | return createRelationDefinitionAdapter(); | ||
257 | } | ||
258 | @Override | ||
259 | public Adapter caseFunctionDefinition(FunctionDefinition object) { | ||
260 | return createFunctionDefinitionAdapter(); | ||
261 | } | ||
262 | @Override | ||
263 | public Adapter caseIfThenElse(IfThenElse object) { | ||
264 | return createIfThenElseAdapter(); | ||
265 | } | ||
266 | @Override | ||
267 | public Adapter caseConstantDeclaration(ConstantDeclaration object) { | ||
268 | return createConstantDeclarationAdapter(); | ||
269 | } | ||
270 | @Override | ||
271 | public Adapter caseRelationDeclaration(RelationDeclaration object) { | ||
272 | return createRelationDeclarationAdapter(); | ||
273 | } | ||
274 | @Override | ||
275 | public Adapter caseFunctionDeclaration(FunctionDeclaration object) { | ||
276 | return createFunctionDeclarationAdapter(); | ||
277 | } | ||
278 | @Override | ||
279 | public Adapter caseTypeDeclaration(TypeDeclaration object) { | ||
280 | return createTypeDeclarationAdapter(); | ||
281 | } | ||
282 | @Override | ||
283 | public Adapter caseUnknownBecauseUninterpreted(UnknownBecauseUninterpreted object) { | ||
284 | return createUnknownBecauseUninterpretedAdapter(); | ||
285 | } | ||
286 | @Override | ||
287 | public Adapter caseInstanceOf(InstanceOf object) { | ||
288 | return createInstanceOfAdapter(); | ||
289 | } | ||
290 | @Override | ||
291 | public Adapter defaultCase(EObject object) { | ||
292 | return createEObjectAdapter(); | ||
293 | } | ||
294 | }; | ||
295 | |||
296 | /** | ||
297 | * Creates an adapter for the <code>target</code>. | ||
298 | * <!-- begin-user-doc --> | ||
299 | * <!-- end-user-doc --> | ||
300 | * @param target the object to adapt. | ||
301 | * @return the adapter for the <code>target</code>. | ||
302 | * @generated | ||
303 | */ | ||
304 | @Override | ||
305 | public Adapter createAdapter(Notifier target) { | ||
306 | return modelSwitch.doSwitch((EObject)target); | ||
307 | } | ||
308 | |||
309 | |||
310 | /** | ||
311 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type <em>Type</em>}'. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * This default implementation returns null so that we can easily ignore cases; | ||
314 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
315 | * <!-- end-user-doc --> | ||
316 | * @return the new adapter. | ||
317 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type | ||
318 | * @generated | ||
319 | */ | ||
320 | public Adapter createTypeAdapter() { | ||
321 | return null; | ||
322 | } | ||
323 | |||
324 | /** | ||
325 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement <em>Defined Element</em>}'. | ||
326 | * <!-- begin-user-doc --> | ||
327 | * This default implementation returns null so that we can easily ignore cases; | ||
328 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
329 | * <!-- end-user-doc --> | ||
330 | * @return the new adapter. | ||
331 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement | ||
332 | * @generated | ||
333 | */ | ||
334 | public Adapter createDefinedElementAdapter() { | ||
335 | return null; | ||
336 | } | ||
337 | |||
338 | /** | ||
339 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition <em>Type Definition</em>}'. | ||
340 | * <!-- begin-user-doc --> | ||
341 | * This default implementation returns null so that we can easily ignore cases; | ||
342 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
343 | * <!-- end-user-doc --> | ||
344 | * @return the new adapter. | ||
345 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition | ||
346 | * @generated | ||
347 | */ | ||
348 | public Adapter createTypeDefinitionAdapter() { | ||
349 | return null; | ||
350 | } | ||
351 | |||
352 | /** | ||
353 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference <em>Type Reference</em>}'. | ||
354 | * <!-- begin-user-doc --> | ||
355 | * This default implementation returns null so that we can easily ignore cases; | ||
356 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
357 | * <!-- end-user-doc --> | ||
358 | * @return the new adapter. | ||
359 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference | ||
360 | * @generated | ||
361 | */ | ||
362 | public Adapter createTypeReferenceAdapter() { | ||
363 | return null; | ||
364 | } | ||
365 | |||
366 | /** | ||
367 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference <em>Complex Type Reference</em>}'. | ||
368 | * <!-- begin-user-doc --> | ||
369 | * This default implementation returns null so that we can easily ignore cases; | ||
370 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
371 | * <!-- end-user-doc --> | ||
372 | * @return the new adapter. | ||
373 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference | ||
374 | * @generated | ||
375 | */ | ||
376 | public Adapter createComplexTypeReferenceAdapter() { | ||
377 | return null; | ||
378 | } | ||
379 | |||
380 | /** | ||
381 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference <em>Primitive Type Reference</em>}'. | ||
382 | * <!-- begin-user-doc --> | ||
383 | * This default implementation returns null so that we can easily ignore cases; | ||
384 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
385 | * <!-- end-user-doc --> | ||
386 | * @return the new adapter. | ||
387 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference | ||
388 | * @generated | ||
389 | */ | ||
390 | public Adapter createPrimitiveTypeReferenceAdapter() { | ||
391 | return null; | ||
392 | } | ||
393 | |||
394 | /** | ||
395 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference <em>Int Type Reference</em>}'. | ||
396 | * <!-- begin-user-doc --> | ||
397 | * This default implementation returns null so that we can easily ignore cases; | ||
398 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
399 | * <!-- end-user-doc --> | ||
400 | * @return the new adapter. | ||
401 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference | ||
402 | * @generated | ||
403 | */ | ||
404 | public Adapter createIntTypeReferenceAdapter() { | ||
405 | return null; | ||
406 | } | ||
407 | |||
408 | /** | ||
409 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference <em>Bool Type Reference</em>}'. | ||
410 | * <!-- begin-user-doc --> | ||
411 | * This default implementation returns null so that we can easily ignore cases; | ||
412 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
413 | * <!-- end-user-doc --> | ||
414 | * @return the new adapter. | ||
415 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference | ||
416 | * @generated | ||
417 | */ | ||
418 | public Adapter createBoolTypeReferenceAdapter() { | ||
419 | return null; | ||
420 | } | ||
421 | |||
422 | /** | ||
423 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference <em>Real Type Reference</em>}'. | ||
424 | * <!-- begin-user-doc --> | ||
425 | * This default implementation returns null so that we can easily ignore cases; | ||
426 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
427 | * <!-- end-user-doc --> | ||
428 | * @return the new adapter. | ||
429 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference | ||
430 | * @generated | ||
431 | */ | ||
432 | public Adapter createRealTypeReferenceAdapter() { | ||
433 | return null; | ||
434 | } | ||
435 | |||
436 | /** | ||
437 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function <em>Function</em>}'. | ||
438 | * <!-- begin-user-doc --> | ||
439 | * This default implementation returns null so that we can easily ignore cases; | ||
440 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
441 | * <!-- end-user-doc --> | ||
442 | * @return the new adapter. | ||
443 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function | ||
444 | * @generated | ||
445 | */ | ||
446 | public Adapter createFunctionAdapter() { | ||
447 | return null; | ||
448 | } | ||
449 | |||
450 | /** | ||
451 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term <em>Term</em>}'. | ||
452 | * <!-- begin-user-doc --> | ||
453 | * This default implementation returns null so that we can easily ignore cases; | ||
454 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
455 | * <!-- end-user-doc --> | ||
456 | * @return the new adapter. | ||
457 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term | ||
458 | * @generated | ||
459 | */ | ||
460 | public Adapter createTermAdapter() { | ||
461 | return null; | ||
462 | } | ||
463 | |||
464 | /** | ||
465 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration <em>Symbolic Declaration</em>}'. | ||
466 | * <!-- begin-user-doc --> | ||
467 | * This default implementation returns null so that we can easily ignore cases; | ||
468 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
469 | * <!-- end-user-doc --> | ||
470 | * @return the new adapter. | ||
471 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration | ||
472 | * @generated | ||
473 | */ | ||
474 | public Adapter createSymbolicDeclarationAdapter() { | ||
475 | return null; | ||
476 | } | ||
477 | |||
478 | /** | ||
479 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue <em>Symbolic Value</em>}'. | ||
480 | * <!-- begin-user-doc --> | ||
481 | * This default implementation returns null so that we can easily ignore cases; | ||
482 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
483 | * <!-- end-user-doc --> | ||
484 | * @return the new adapter. | ||
485 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue | ||
486 | * @generated | ||
487 | */ | ||
488 | public Adapter createSymbolicValueAdapter() { | ||
489 | return null; | ||
490 | } | ||
491 | |||
492 | /** | ||
493 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm <em>Atomic Term</em>}'. | ||
494 | * <!-- begin-user-doc --> | ||
495 | * This default implementation returns null so that we can easily ignore cases; | ||
496 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
497 | * <!-- end-user-doc --> | ||
498 | * @return the new adapter. | ||
499 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm | ||
500 | * @generated | ||
501 | */ | ||
502 | public Adapter createAtomicTermAdapter() { | ||
503 | return null; | ||
504 | } | ||
505 | |||
506 | /** | ||
507 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral <em>Int Literal</em>}'. | ||
508 | * <!-- begin-user-doc --> | ||
509 | * This default implementation returns null so that we can easily ignore cases; | ||
510 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
511 | * <!-- end-user-doc --> | ||
512 | * @return the new adapter. | ||
513 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral | ||
514 | * @generated | ||
515 | */ | ||
516 | public Adapter createIntLiteralAdapter() { | ||
517 | return null; | ||
518 | } | ||
519 | |||
520 | /** | ||
521 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral <em>Bool Literal</em>}'. | ||
522 | * <!-- begin-user-doc --> | ||
523 | * This default implementation returns null so that we can easily ignore cases; | ||
524 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
525 | * <!-- end-user-doc --> | ||
526 | * @return the new adapter. | ||
527 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral | ||
528 | * @generated | ||
529 | */ | ||
530 | public Adapter createBoolLiteralAdapter() { | ||
531 | return null; | ||
532 | } | ||
533 | |||
534 | /** | ||
535 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral <em>Real Literal</em>}'. | ||
536 | * <!-- begin-user-doc --> | ||
537 | * This default implementation returns null so that we can easily ignore cases; | ||
538 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
539 | * <!-- end-user-doc --> | ||
540 | * @return the new adapter. | ||
541 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral | ||
542 | * @generated | ||
543 | */ | ||
544 | public Adapter createRealLiteralAdapter() { | ||
545 | return null; | ||
546 | } | ||
547 | |||
548 | /** | ||
549 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable <em>Variable</em>}'. | ||
550 | * <!-- begin-user-doc --> | ||
551 | * This default implementation returns null so that we can easily ignore cases; | ||
552 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
553 | * <!-- end-user-doc --> | ||
554 | * @return the new adapter. | ||
555 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable | ||
556 | * @generated | ||
557 | */ | ||
558 | public Adapter createVariableAdapter() { | ||
559 | return null; | ||
560 | } | ||
561 | |||
562 | /** | ||
563 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression <em>Quantified Expression</em>}'. | ||
564 | * <!-- begin-user-doc --> | ||
565 | * This default implementation returns null so that we can easily ignore cases; | ||
566 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
567 | * <!-- end-user-doc --> | ||
568 | * @return the new adapter. | ||
569 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression | ||
570 | * @generated | ||
571 | */ | ||
572 | public Adapter createQuantifiedExpressionAdapter() { | ||
573 | return null; | ||
574 | } | ||
575 | |||
576 | /** | ||
577 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists <em>Exists</em>}'. | ||
578 | * <!-- begin-user-doc --> | ||
579 | * This default implementation returns null so that we can easily ignore cases; | ||
580 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
581 | * <!-- end-user-doc --> | ||
582 | * @return the new adapter. | ||
583 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists | ||
584 | * @generated | ||
585 | */ | ||
586 | public Adapter createExistsAdapter() { | ||
587 | return null; | ||
588 | } | ||
589 | |||
590 | /** | ||
591 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall <em>Forall</em>}'. | ||
592 | * <!-- begin-user-doc --> | ||
593 | * This default implementation returns null so that we can easily ignore cases; | ||
594 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
595 | * <!-- end-user-doc --> | ||
596 | * @return the new adapter. | ||
597 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall | ||
598 | * @generated | ||
599 | */ | ||
600 | public Adapter createForallAdapter() { | ||
601 | return null; | ||
602 | } | ||
603 | |||
604 | /** | ||
605 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation <em>Bool Operation</em>}'. | ||
606 | * <!-- begin-user-doc --> | ||
607 | * This default implementation returns null so that we can easily ignore cases; | ||
608 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
609 | * <!-- end-user-doc --> | ||
610 | * @return the new adapter. | ||
611 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation | ||
612 | * @generated | ||
613 | */ | ||
614 | public Adapter createBoolOperationAdapter() { | ||
615 | return null; | ||
616 | } | ||
617 | |||
618 | /** | ||
619 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And <em>And</em>}'. | ||
620 | * <!-- begin-user-doc --> | ||
621 | * This default implementation returns null so that we can easily ignore cases; | ||
622 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
623 | * <!-- end-user-doc --> | ||
624 | * @return the new adapter. | ||
625 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And | ||
626 | * @generated | ||
627 | */ | ||
628 | public Adapter createAndAdapter() { | ||
629 | return null; | ||
630 | } | ||
631 | |||
632 | /** | ||
633 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or <em>Or</em>}'. | ||
634 | * <!-- begin-user-doc --> | ||
635 | * This default implementation returns null so that we can easily ignore cases; | ||
636 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
637 | * <!-- end-user-doc --> | ||
638 | * @return the new adapter. | ||
639 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or | ||
640 | * @generated | ||
641 | */ | ||
642 | public Adapter createOrAdapter() { | ||
643 | return null; | ||
644 | } | ||
645 | |||
646 | /** | ||
647 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl <em>Impl</em>}'. | ||
648 | * <!-- begin-user-doc --> | ||
649 | * This default implementation returns null so that we can easily ignore cases; | ||
650 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
651 | * <!-- end-user-doc --> | ||
652 | * @return the new adapter. | ||
653 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl | ||
654 | * @generated | ||
655 | */ | ||
656 | public Adapter createImplAdapter() { | ||
657 | return null; | ||
658 | } | ||
659 | |||
660 | /** | ||
661 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not <em>Not</em>}'. | ||
662 | * <!-- begin-user-doc --> | ||
663 | * This default implementation returns null so that we can easily ignore cases; | ||
664 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
665 | * <!-- end-user-doc --> | ||
666 | * @return the new adapter. | ||
667 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not | ||
668 | * @generated | ||
669 | */ | ||
670 | public Adapter createNotAdapter() { | ||
671 | return null; | ||
672 | } | ||
673 | |||
674 | /** | ||
675 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff <em>Iff</em>}'. | ||
676 | * <!-- begin-user-doc --> | ||
677 | * This default implementation returns null so that we can easily ignore cases; | ||
678 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
679 | * <!-- end-user-doc --> | ||
680 | * @return the new adapter. | ||
681 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff | ||
682 | * @generated | ||
683 | */ | ||
684 | public Adapter createIffAdapter() { | ||
685 | return null; | ||
686 | } | ||
687 | |||
688 | /** | ||
689 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation <em>Primitive Relation</em>}'. | ||
690 | * <!-- begin-user-doc --> | ||
691 | * This default implementation returns null so that we can easily ignore cases; | ||
692 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
693 | * <!-- end-user-doc --> | ||
694 | * @return the new adapter. | ||
695 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation | ||
696 | * @generated | ||
697 | */ | ||
698 | public Adapter createPrimitiveRelationAdapter() { | ||
699 | return null; | ||
700 | } | ||
701 | |||
702 | /** | ||
703 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals <em>Equals</em>}'. | ||
704 | * <!-- begin-user-doc --> | ||
705 | * This default implementation returns null so that we can easily ignore cases; | ||
706 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
707 | * <!-- end-user-doc --> | ||
708 | * @return the new adapter. | ||
709 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals | ||
710 | * @generated | ||
711 | */ | ||
712 | public Adapter createEqualsAdapter() { | ||
713 | return null; | ||
714 | } | ||
715 | |||
716 | /** | ||
717 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct <em>Distinct</em>}'. | ||
718 | * <!-- begin-user-doc --> | ||
719 | * This default implementation returns null so that we can easily ignore cases; | ||
720 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
721 | * <!-- end-user-doc --> | ||
722 | * @return the new adapter. | ||
723 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct | ||
724 | * @generated | ||
725 | */ | ||
726 | public Adapter createDistinctAdapter() { | ||
727 | return null; | ||
728 | } | ||
729 | |||
730 | /** | ||
731 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan <em>Less Than</em>}'. | ||
732 | * <!-- begin-user-doc --> | ||
733 | * This default implementation returns null so that we can easily ignore cases; | ||
734 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
735 | * <!-- end-user-doc --> | ||
736 | * @return the new adapter. | ||
737 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan | ||
738 | * @generated | ||
739 | */ | ||
740 | public Adapter createLessThanAdapter() { | ||
741 | return null; | ||
742 | } | ||
743 | |||
744 | /** | ||
745 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan <em>More Than</em>}'. | ||
746 | * <!-- begin-user-doc --> | ||
747 | * This default implementation returns null so that we can easily ignore cases; | ||
748 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
749 | * <!-- end-user-doc --> | ||
750 | * @return the new adapter. | ||
751 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan | ||
752 | * @generated | ||
753 | */ | ||
754 | public Adapter createMoreThanAdapter() { | ||
755 | return null; | ||
756 | } | ||
757 | |||
758 | /** | ||
759 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan <em>Less Or Equal Than</em>}'. | ||
760 | * <!-- begin-user-doc --> | ||
761 | * This default implementation returns null so that we can easily ignore cases; | ||
762 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
763 | * <!-- end-user-doc --> | ||
764 | * @return the new adapter. | ||
765 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan | ||
766 | * @generated | ||
767 | */ | ||
768 | public Adapter createLessOrEqualThanAdapter() { | ||
769 | return null; | ||
770 | } | ||
771 | |||
772 | /** | ||
773 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan <em>More Or Equal Than</em>}'. | ||
774 | * <!-- begin-user-doc --> | ||
775 | * This default implementation returns null so that we can easily ignore cases; | ||
776 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
777 | * <!-- end-user-doc --> | ||
778 | * @return the new adapter. | ||
779 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan | ||
780 | * @generated | ||
781 | */ | ||
782 | public Adapter createMoreOrEqualThanAdapter() { | ||
783 | return null; | ||
784 | } | ||
785 | |||
786 | /** | ||
787 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation <em>Int Operation</em>}'. | ||
788 | * <!-- begin-user-doc --> | ||
789 | * This default implementation returns null so that we can easily ignore cases; | ||
790 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
791 | * <!-- end-user-doc --> | ||
792 | * @return the new adapter. | ||
793 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation | ||
794 | * @generated | ||
795 | */ | ||
796 | public Adapter createIntOperationAdapter() { | ||
797 | return null; | ||
798 | } | ||
799 | |||
800 | /** | ||
801 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus <em>Plus</em>}'. | ||
802 | * <!-- begin-user-doc --> | ||
803 | * This default implementation returns null so that we can easily ignore cases; | ||
804 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
805 | * <!-- end-user-doc --> | ||
806 | * @return the new adapter. | ||
807 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus | ||
808 | * @generated | ||
809 | */ | ||
810 | public Adapter createPlusAdapter() { | ||
811 | return null; | ||
812 | } | ||
813 | |||
814 | /** | ||
815 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus <em>Minus</em>}'. | ||
816 | * <!-- begin-user-doc --> | ||
817 | * This default implementation returns null so that we can easily ignore cases; | ||
818 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
819 | * <!-- end-user-doc --> | ||
820 | * @return the new adapter. | ||
821 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus | ||
822 | * @generated | ||
823 | */ | ||
824 | public Adapter createMinusAdapter() { | ||
825 | return null; | ||
826 | } | ||
827 | |||
828 | /** | ||
829 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply <em>Multiply</em>}'. | ||
830 | * <!-- begin-user-doc --> | ||
831 | * This default implementation returns null so that we can easily ignore cases; | ||
832 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
833 | * <!-- end-user-doc --> | ||
834 | * @return the new adapter. | ||
835 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply | ||
836 | * @generated | ||
837 | */ | ||
838 | public Adapter createMultiplyAdapter() { | ||
839 | return null; | ||
840 | } | ||
841 | |||
842 | /** | ||
843 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison <em>Divison</em>}'. | ||
844 | * <!-- begin-user-doc --> | ||
845 | * This default implementation returns null so that we can easily ignore cases; | ||
846 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
847 | * <!-- end-user-doc --> | ||
848 | * @return the new adapter. | ||
849 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison | ||
850 | * @generated | ||
851 | */ | ||
852 | public Adapter createDivisonAdapter() { | ||
853 | return null; | ||
854 | } | ||
855 | |||
856 | /** | ||
857 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod <em>Mod</em>}'. | ||
858 | * <!-- begin-user-doc --> | ||
859 | * This default implementation returns null so that we can easily ignore cases; | ||
860 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
861 | * <!-- end-user-doc --> | ||
862 | * @return the new adapter. | ||
863 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod | ||
864 | * @generated | ||
865 | */ | ||
866 | public Adapter createModAdapter() { | ||
867 | return null; | ||
868 | } | ||
869 | |||
870 | /** | ||
871 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor <em>Type Descriptor</em>}'. | ||
872 | * <!-- begin-user-doc --> | ||
873 | * This default implementation returns null so that we can easily ignore cases; | ||
874 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
875 | * <!-- end-user-doc --> | ||
876 | * @return the new adapter. | ||
877 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor | ||
878 | * @generated | ||
879 | */ | ||
880 | public Adapter createTypeDescriptorAdapter() { | ||
881 | return null; | ||
882 | } | ||
883 | |||
884 | /** | ||
885 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription <em>Term Description</em>}'. | ||
886 | * <!-- begin-user-doc --> | ||
887 | * This default implementation returns null so that we can easily ignore cases; | ||
888 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
889 | * <!-- end-user-doc --> | ||
890 | * @return the new adapter. | ||
891 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription | ||
892 | * @generated | ||
893 | */ | ||
894 | public Adapter createTermDescriptionAdapter() { | ||
895 | return null; | ||
896 | } | ||
897 | |||
898 | /** | ||
899 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion <em>Assertion</em>}'. | ||
900 | * <!-- begin-user-doc --> | ||
901 | * This default implementation returns null so that we can easily ignore cases; | ||
902 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
903 | * <!-- end-user-doc --> | ||
904 | * @return the new adapter. | ||
905 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion | ||
906 | * @generated | ||
907 | */ | ||
908 | public Adapter createAssertionAdapter() { | ||
909 | return null; | ||
910 | } | ||
911 | |||
912 | /** | ||
913 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation <em>Relation</em>}'. | ||
914 | * <!-- begin-user-doc --> | ||
915 | * This default implementation returns null so that we can easily ignore cases; | ||
916 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
917 | * <!-- end-user-doc --> | ||
918 | * @return the new adapter. | ||
919 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation | ||
920 | * @generated | ||
921 | */ | ||
922 | public Adapter createRelationAdapter() { | ||
923 | return null; | ||
924 | } | ||
925 | |||
926 | /** | ||
927 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant <em>Constant</em>}'. | ||
928 | * <!-- begin-user-doc --> | ||
929 | * This default implementation returns null so that we can easily ignore cases; | ||
930 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
931 | * <!-- end-user-doc --> | ||
932 | * @return the new adapter. | ||
933 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant | ||
934 | * @generated | ||
935 | */ | ||
936 | public Adapter createConstantAdapter() { | ||
937 | return null; | ||
938 | } | ||
939 | |||
940 | /** | ||
941 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition <em>Constant Definition</em>}'. | ||
942 | * <!-- begin-user-doc --> | ||
943 | * This default implementation returns null so that we can easily ignore cases; | ||
944 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
945 | * <!-- end-user-doc --> | ||
946 | * @return the new adapter. | ||
947 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition | ||
948 | * @generated | ||
949 | */ | ||
950 | public Adapter createConstantDefinitionAdapter() { | ||
951 | return null; | ||
952 | } | ||
953 | |||
954 | /** | ||
955 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition <em>Relation Definition</em>}'. | ||
956 | * <!-- begin-user-doc --> | ||
957 | * This default implementation returns null so that we can easily ignore cases; | ||
958 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
959 | * <!-- end-user-doc --> | ||
960 | * @return the new adapter. | ||
961 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition | ||
962 | * @generated | ||
963 | */ | ||
964 | public Adapter createRelationDefinitionAdapter() { | ||
965 | return null; | ||
966 | } | ||
967 | |||
968 | /** | ||
969 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition <em>Function Definition</em>}'. | ||
970 | * <!-- begin-user-doc --> | ||
971 | * This default implementation returns null so that we can easily ignore cases; | ||
972 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
973 | * <!-- end-user-doc --> | ||
974 | * @return the new adapter. | ||
975 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition | ||
976 | * @generated | ||
977 | */ | ||
978 | public Adapter createFunctionDefinitionAdapter() { | ||
979 | return null; | ||
980 | } | ||
981 | |||
982 | /** | ||
983 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse <em>If Then Else</em>}'. | ||
984 | * <!-- begin-user-doc --> | ||
985 | * This default implementation returns null so that we can easily ignore cases; | ||
986 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
987 | * <!-- end-user-doc --> | ||
988 | * @return the new adapter. | ||
989 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse | ||
990 | * @generated | ||
991 | */ | ||
992 | public Adapter createIfThenElseAdapter() { | ||
993 | return null; | ||
994 | } | ||
995 | |||
996 | /** | ||
997 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration <em>Constant Declaration</em>}'. | ||
998 | * <!-- begin-user-doc --> | ||
999 | * This default implementation returns null so that we can easily ignore cases; | ||
1000 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1001 | * <!-- end-user-doc --> | ||
1002 | * @return the new adapter. | ||
1003 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration | ||
1004 | * @generated | ||
1005 | */ | ||
1006 | public Adapter createConstantDeclarationAdapter() { | ||
1007 | return null; | ||
1008 | } | ||
1009 | |||
1010 | /** | ||
1011 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration <em>Relation Declaration</em>}'. | ||
1012 | * <!-- begin-user-doc --> | ||
1013 | * This default implementation returns null so that we can easily ignore cases; | ||
1014 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1015 | * <!-- end-user-doc --> | ||
1016 | * @return the new adapter. | ||
1017 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration | ||
1018 | * @generated | ||
1019 | */ | ||
1020 | public Adapter createRelationDeclarationAdapter() { | ||
1021 | return null; | ||
1022 | } | ||
1023 | |||
1024 | /** | ||
1025 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration <em>Function Declaration</em>}'. | ||
1026 | * <!-- begin-user-doc --> | ||
1027 | * This default implementation returns null so that we can easily ignore cases; | ||
1028 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1029 | * <!-- end-user-doc --> | ||
1030 | * @return the new adapter. | ||
1031 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration | ||
1032 | * @generated | ||
1033 | */ | ||
1034 | public Adapter createFunctionDeclarationAdapter() { | ||
1035 | return null; | ||
1036 | } | ||
1037 | |||
1038 | /** | ||
1039 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration <em>Type Declaration</em>}'. | ||
1040 | * <!-- begin-user-doc --> | ||
1041 | * This default implementation returns null so that we can easily ignore cases; | ||
1042 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1043 | * <!-- end-user-doc --> | ||
1044 | * @return the new adapter. | ||
1045 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration | ||
1046 | * @generated | ||
1047 | */ | ||
1048 | public Adapter createTypeDeclarationAdapter() { | ||
1049 | return null; | ||
1050 | } | ||
1051 | |||
1052 | /** | ||
1053 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted <em>Unknown Because Uninterpreted</em>}'. | ||
1054 | * <!-- begin-user-doc --> | ||
1055 | * This default implementation returns null so that we can easily ignore cases; | ||
1056 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1057 | * <!-- end-user-doc --> | ||
1058 | * @return the new adapter. | ||
1059 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted | ||
1060 | * @generated | ||
1061 | */ | ||
1062 | public Adapter createUnknownBecauseUninterpretedAdapter() { | ||
1063 | return null; | ||
1064 | } | ||
1065 | |||
1066 | /** | ||
1067 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf <em>Instance Of</em>}'. | ||
1068 | * <!-- begin-user-doc --> | ||
1069 | * This default implementation returns null so that we can easily ignore cases; | ||
1070 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1071 | * <!-- end-user-doc --> | ||
1072 | * @return the new adapter. | ||
1073 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf | ||
1074 | * @generated | ||
1075 | */ | ||
1076 | public Adapter createInstanceOfAdapter() { | ||
1077 | return null; | ||
1078 | } | ||
1079 | |||
1080 | /** | ||
1081 | * Creates a new adapter for the default case. | ||
1082 | * <!-- begin-user-doc --> | ||
1083 | * This default implementation returns null. | ||
1084 | * <!-- end-user-doc --> | ||
1085 | * @return the new adapter. | ||
1086 | * @generated | ||
1087 | */ | ||
1088 | public Adapter createEObjectAdapter() { | ||
1089 | return null; | ||
1090 | } | ||
1091 | |||
1092 | } //LogiclanguageAdapterFactory | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageSwitch.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageSwitch.java new file mode 100644 index 00000000..a2a1e10a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageSwitch.java | |||
@@ -0,0 +1,1374 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class LogiclanguageSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static LogiclanguagePackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public LogiclanguageSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = LogiclanguagePackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case LogiclanguagePackage.TYPE: { | ||
70 | Type type = (Type)theEObject; | ||
71 | T result = caseType(type); | ||
72 | if (result == null) result = caseTypeDescriptor(type); | ||
73 | if (result == null) result = defaultCase(theEObject); | ||
74 | return result; | ||
75 | } | ||
76 | case LogiclanguagePackage.DEFINED_ELEMENT: { | ||
77 | DefinedElement definedElement = (DefinedElement)theEObject; | ||
78 | T result = caseDefinedElement(definedElement); | ||
79 | if (result == null) result = caseSymbolicDeclaration(definedElement); | ||
80 | if (result == null) result = caseTermDescription(definedElement); | ||
81 | if (result == null) result = defaultCase(theEObject); | ||
82 | return result; | ||
83 | } | ||
84 | case LogiclanguagePackage.TYPE_DEFINITION: { | ||
85 | TypeDefinition typeDefinition = (TypeDefinition)theEObject; | ||
86 | T result = caseTypeDefinition(typeDefinition); | ||
87 | if (result == null) result = caseType(typeDefinition); | ||
88 | if (result == null) result = caseTypeDescriptor(typeDefinition); | ||
89 | if (result == null) result = defaultCase(theEObject); | ||
90 | return result; | ||
91 | } | ||
92 | case LogiclanguagePackage.TYPE_REFERENCE: { | ||
93 | TypeReference typeReference = (TypeReference)theEObject; | ||
94 | T result = caseTypeReference(typeReference); | ||
95 | if (result == null) result = caseTypeDescriptor(typeReference); | ||
96 | if (result == null) result = defaultCase(theEObject); | ||
97 | return result; | ||
98 | } | ||
99 | case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE: { | ||
100 | ComplexTypeReference complexTypeReference = (ComplexTypeReference)theEObject; | ||
101 | T result = caseComplexTypeReference(complexTypeReference); | ||
102 | if (result == null) result = caseTypeReference(complexTypeReference); | ||
103 | if (result == null) result = caseTypeDescriptor(complexTypeReference); | ||
104 | if (result == null) result = defaultCase(theEObject); | ||
105 | return result; | ||
106 | } | ||
107 | case LogiclanguagePackage.PRIMITIVE_TYPE_REFERENCE: { | ||
108 | PrimitiveTypeReference primitiveTypeReference = (PrimitiveTypeReference)theEObject; | ||
109 | T result = casePrimitiveTypeReference(primitiveTypeReference); | ||
110 | if (result == null) result = caseTypeReference(primitiveTypeReference); | ||
111 | if (result == null) result = caseTypeDescriptor(primitiveTypeReference); | ||
112 | if (result == null) result = defaultCase(theEObject); | ||
113 | return result; | ||
114 | } | ||
115 | case LogiclanguagePackage.INT_TYPE_REFERENCE: { | ||
116 | IntTypeReference intTypeReference = (IntTypeReference)theEObject; | ||
117 | T result = caseIntTypeReference(intTypeReference); | ||
118 | if (result == null) result = casePrimitiveTypeReference(intTypeReference); | ||
119 | if (result == null) result = caseTypeReference(intTypeReference); | ||
120 | if (result == null) result = caseTypeDescriptor(intTypeReference); | ||
121 | if (result == null) result = defaultCase(theEObject); | ||
122 | return result; | ||
123 | } | ||
124 | case LogiclanguagePackage.BOOL_TYPE_REFERENCE: { | ||
125 | BoolTypeReference boolTypeReference = (BoolTypeReference)theEObject; | ||
126 | T result = caseBoolTypeReference(boolTypeReference); | ||
127 | if (result == null) result = casePrimitiveTypeReference(boolTypeReference); | ||
128 | if (result == null) result = caseTypeReference(boolTypeReference); | ||
129 | if (result == null) result = caseTypeDescriptor(boolTypeReference); | ||
130 | if (result == null) result = defaultCase(theEObject); | ||
131 | return result; | ||
132 | } | ||
133 | case LogiclanguagePackage.REAL_TYPE_REFERENCE: { | ||
134 | RealTypeReference realTypeReference = (RealTypeReference)theEObject; | ||
135 | T result = caseRealTypeReference(realTypeReference); | ||
136 | if (result == null) result = casePrimitiveTypeReference(realTypeReference); | ||
137 | if (result == null) result = caseTypeReference(realTypeReference); | ||
138 | if (result == null) result = caseTypeDescriptor(realTypeReference); | ||
139 | if (result == null) result = defaultCase(theEObject); | ||
140 | return result; | ||
141 | } | ||
142 | case LogiclanguagePackage.FUNCTION: { | ||
143 | Function function = (Function)theEObject; | ||
144 | T result = caseFunction(function); | ||
145 | if (result == null) result = caseSymbolicDeclaration(function); | ||
146 | if (result == null) result = caseTermDescription(function); | ||
147 | if (result == null) result = defaultCase(theEObject); | ||
148 | return result; | ||
149 | } | ||
150 | case LogiclanguagePackage.TERM: { | ||
151 | Term term = (Term)theEObject; | ||
152 | T result = caseTerm(term); | ||
153 | if (result == null) result = caseTermDescription(term); | ||
154 | if (result == null) result = defaultCase(theEObject); | ||
155 | return result; | ||
156 | } | ||
157 | case LogiclanguagePackage.SYMBOLIC_DECLARATION: { | ||
158 | SymbolicDeclaration symbolicDeclaration = (SymbolicDeclaration)theEObject; | ||
159 | T result = caseSymbolicDeclaration(symbolicDeclaration); | ||
160 | if (result == null) result = caseTermDescription(symbolicDeclaration); | ||
161 | if (result == null) result = defaultCase(theEObject); | ||
162 | return result; | ||
163 | } | ||
164 | case LogiclanguagePackage.SYMBOLIC_VALUE: { | ||
165 | SymbolicValue symbolicValue = (SymbolicValue)theEObject; | ||
166 | T result = caseSymbolicValue(symbolicValue); | ||
167 | if (result == null) result = caseTerm(symbolicValue); | ||
168 | if (result == null) result = caseTermDescription(symbolicValue); | ||
169 | if (result == null) result = defaultCase(theEObject); | ||
170 | return result; | ||
171 | } | ||
172 | case LogiclanguagePackage.ATOMIC_TERM: { | ||
173 | AtomicTerm atomicTerm = (AtomicTerm)theEObject; | ||
174 | T result = caseAtomicTerm(atomicTerm); | ||
175 | if (result == null) result = caseTerm(atomicTerm); | ||
176 | if (result == null) result = caseTermDescription(atomicTerm); | ||
177 | if (result == null) result = defaultCase(theEObject); | ||
178 | return result; | ||
179 | } | ||
180 | case LogiclanguagePackage.INT_LITERAL: { | ||
181 | IntLiteral intLiteral = (IntLiteral)theEObject; | ||
182 | T result = caseIntLiteral(intLiteral); | ||
183 | if (result == null) result = caseAtomicTerm(intLiteral); | ||
184 | if (result == null) result = caseTerm(intLiteral); | ||
185 | if (result == null) result = caseTermDescription(intLiteral); | ||
186 | if (result == null) result = defaultCase(theEObject); | ||
187 | return result; | ||
188 | } | ||
189 | case LogiclanguagePackage.BOOL_LITERAL: { | ||
190 | BoolLiteral boolLiteral = (BoolLiteral)theEObject; | ||
191 | T result = caseBoolLiteral(boolLiteral); | ||
192 | if (result == null) result = caseAtomicTerm(boolLiteral); | ||
193 | if (result == null) result = caseTerm(boolLiteral); | ||
194 | if (result == null) result = caseTermDescription(boolLiteral); | ||
195 | if (result == null) result = defaultCase(theEObject); | ||
196 | return result; | ||
197 | } | ||
198 | case LogiclanguagePackage.REAL_LITERAL: { | ||
199 | RealLiteral realLiteral = (RealLiteral)theEObject; | ||
200 | T result = caseRealLiteral(realLiteral); | ||
201 | if (result == null) result = caseAtomicTerm(realLiteral); | ||
202 | if (result == null) result = caseTerm(realLiteral); | ||
203 | if (result == null) result = caseTermDescription(realLiteral); | ||
204 | if (result == null) result = defaultCase(theEObject); | ||
205 | return result; | ||
206 | } | ||
207 | case LogiclanguagePackage.VARIABLE: { | ||
208 | Variable variable = (Variable)theEObject; | ||
209 | T result = caseVariable(variable); | ||
210 | if (result == null) result = caseSymbolicDeclaration(variable); | ||
211 | if (result == null) result = caseTermDescription(variable); | ||
212 | if (result == null) result = defaultCase(theEObject); | ||
213 | return result; | ||
214 | } | ||
215 | case LogiclanguagePackage.QUANTIFIED_EXPRESSION: { | ||
216 | QuantifiedExpression quantifiedExpression = (QuantifiedExpression)theEObject; | ||
217 | T result = caseQuantifiedExpression(quantifiedExpression); | ||
218 | if (result == null) result = caseTerm(quantifiedExpression); | ||
219 | if (result == null) result = caseTermDescription(quantifiedExpression); | ||
220 | if (result == null) result = defaultCase(theEObject); | ||
221 | return result; | ||
222 | } | ||
223 | case LogiclanguagePackage.EXISTS: { | ||
224 | Exists exists = (Exists)theEObject; | ||
225 | T result = caseExists(exists); | ||
226 | if (result == null) result = caseQuantifiedExpression(exists); | ||
227 | if (result == null) result = caseTerm(exists); | ||
228 | if (result == null) result = caseTermDescription(exists); | ||
229 | if (result == null) result = defaultCase(theEObject); | ||
230 | return result; | ||
231 | } | ||
232 | case LogiclanguagePackage.FORALL: { | ||
233 | Forall forall = (Forall)theEObject; | ||
234 | T result = caseForall(forall); | ||
235 | if (result == null) result = caseQuantifiedExpression(forall); | ||
236 | if (result == null) result = caseTerm(forall); | ||
237 | if (result == null) result = caseTermDescription(forall); | ||
238 | if (result == null) result = defaultCase(theEObject); | ||
239 | return result; | ||
240 | } | ||
241 | case LogiclanguagePackage.BOOL_OPERATION: { | ||
242 | BoolOperation boolOperation = (BoolOperation)theEObject; | ||
243 | T result = caseBoolOperation(boolOperation); | ||
244 | if (result == null) result = caseTerm(boolOperation); | ||
245 | if (result == null) result = caseTermDescription(boolOperation); | ||
246 | if (result == null) result = defaultCase(theEObject); | ||
247 | return result; | ||
248 | } | ||
249 | case LogiclanguagePackage.AND: { | ||
250 | And and = (And)theEObject; | ||
251 | T result = caseAnd(and); | ||
252 | if (result == null) result = caseBoolOperation(and); | ||
253 | if (result == null) result = caseTerm(and); | ||
254 | if (result == null) result = caseTermDescription(and); | ||
255 | if (result == null) result = defaultCase(theEObject); | ||
256 | return result; | ||
257 | } | ||
258 | case LogiclanguagePackage.OR: { | ||
259 | Or or = (Or)theEObject; | ||
260 | T result = caseOr(or); | ||
261 | if (result == null) result = caseBoolOperation(or); | ||
262 | if (result == null) result = caseTerm(or); | ||
263 | if (result == null) result = caseTermDescription(or); | ||
264 | if (result == null) result = defaultCase(theEObject); | ||
265 | return result; | ||
266 | } | ||
267 | case LogiclanguagePackage.IMPL: { | ||
268 | Impl impl = (Impl)theEObject; | ||
269 | T result = caseImpl(impl); | ||
270 | if (result == null) result = caseBoolOperation(impl); | ||
271 | if (result == null) result = caseTerm(impl); | ||
272 | if (result == null) result = caseTermDescription(impl); | ||
273 | if (result == null) result = defaultCase(theEObject); | ||
274 | return result; | ||
275 | } | ||
276 | case LogiclanguagePackage.NOT: { | ||
277 | Not not = (Not)theEObject; | ||
278 | T result = caseNot(not); | ||
279 | if (result == null) result = caseBoolOperation(not); | ||
280 | if (result == null) result = caseTerm(not); | ||
281 | if (result == null) result = caseTermDescription(not); | ||
282 | if (result == null) result = defaultCase(theEObject); | ||
283 | return result; | ||
284 | } | ||
285 | case LogiclanguagePackage.IFF: { | ||
286 | Iff iff = (Iff)theEObject; | ||
287 | T result = caseIff(iff); | ||
288 | if (result == null) result = caseBoolOperation(iff); | ||
289 | if (result == null) result = caseTerm(iff); | ||
290 | if (result == null) result = caseTermDescription(iff); | ||
291 | if (result == null) result = defaultCase(theEObject); | ||
292 | return result; | ||
293 | } | ||
294 | case LogiclanguagePackage.PRIMITIVE_RELATION: { | ||
295 | PrimitiveRelation primitiveRelation = (PrimitiveRelation)theEObject; | ||
296 | T result = casePrimitiveRelation(primitiveRelation); | ||
297 | if (result == null) result = caseTerm(primitiveRelation); | ||
298 | if (result == null) result = caseTermDescription(primitiveRelation); | ||
299 | if (result == null) result = defaultCase(theEObject); | ||
300 | return result; | ||
301 | } | ||
302 | case LogiclanguagePackage.EQUALS: { | ||
303 | Equals equals = (Equals)theEObject; | ||
304 | T result = caseEquals(equals); | ||
305 | if (result == null) result = casePrimitiveRelation(equals); | ||
306 | if (result == null) result = caseTerm(equals); | ||
307 | if (result == null) result = caseTermDescription(equals); | ||
308 | if (result == null) result = defaultCase(theEObject); | ||
309 | return result; | ||
310 | } | ||
311 | case LogiclanguagePackage.DISTINCT: { | ||
312 | Distinct distinct = (Distinct)theEObject; | ||
313 | T result = caseDistinct(distinct); | ||
314 | if (result == null) result = casePrimitiveRelation(distinct); | ||
315 | if (result == null) result = caseTerm(distinct); | ||
316 | if (result == null) result = caseTermDescription(distinct); | ||
317 | if (result == null) result = defaultCase(theEObject); | ||
318 | return result; | ||
319 | } | ||
320 | case LogiclanguagePackage.LESS_THAN: { | ||
321 | LessThan lessThan = (LessThan)theEObject; | ||
322 | T result = caseLessThan(lessThan); | ||
323 | if (result == null) result = casePrimitiveRelation(lessThan); | ||
324 | if (result == null) result = caseTerm(lessThan); | ||
325 | if (result == null) result = caseTermDescription(lessThan); | ||
326 | if (result == null) result = defaultCase(theEObject); | ||
327 | return result; | ||
328 | } | ||
329 | case LogiclanguagePackage.MORE_THAN: { | ||
330 | MoreThan moreThan = (MoreThan)theEObject; | ||
331 | T result = caseMoreThan(moreThan); | ||
332 | if (result == null) result = casePrimitiveRelation(moreThan); | ||
333 | if (result == null) result = caseTerm(moreThan); | ||
334 | if (result == null) result = caseTermDescription(moreThan); | ||
335 | if (result == null) result = defaultCase(theEObject); | ||
336 | return result; | ||
337 | } | ||
338 | case LogiclanguagePackage.LESS_OR_EQUAL_THAN: { | ||
339 | LessOrEqualThan lessOrEqualThan = (LessOrEqualThan)theEObject; | ||
340 | T result = caseLessOrEqualThan(lessOrEqualThan); | ||
341 | if (result == null) result = casePrimitiveRelation(lessOrEqualThan); | ||
342 | if (result == null) result = caseTerm(lessOrEqualThan); | ||
343 | if (result == null) result = caseTermDescription(lessOrEqualThan); | ||
344 | if (result == null) result = defaultCase(theEObject); | ||
345 | return result; | ||
346 | } | ||
347 | case LogiclanguagePackage.MORE_OR_EQUAL_THAN: { | ||
348 | MoreOrEqualThan moreOrEqualThan = (MoreOrEqualThan)theEObject; | ||
349 | T result = caseMoreOrEqualThan(moreOrEqualThan); | ||
350 | if (result == null) result = casePrimitiveRelation(moreOrEqualThan); | ||
351 | if (result == null) result = caseTerm(moreOrEqualThan); | ||
352 | if (result == null) result = caseTermDescription(moreOrEqualThan); | ||
353 | if (result == null) result = defaultCase(theEObject); | ||
354 | return result; | ||
355 | } | ||
356 | case LogiclanguagePackage.INT_OPERATION: { | ||
357 | IntOperation intOperation = (IntOperation)theEObject; | ||
358 | T result = caseIntOperation(intOperation); | ||
359 | if (result == null) result = caseTerm(intOperation); | ||
360 | if (result == null) result = caseTermDescription(intOperation); | ||
361 | if (result == null) result = defaultCase(theEObject); | ||
362 | return result; | ||
363 | } | ||
364 | case LogiclanguagePackage.PLUS: { | ||
365 | Plus plus = (Plus)theEObject; | ||
366 | T result = casePlus(plus); | ||
367 | if (result == null) result = caseIntOperation(plus); | ||
368 | if (result == null) result = caseTerm(plus); | ||
369 | if (result == null) result = caseTermDescription(plus); | ||
370 | if (result == null) result = defaultCase(theEObject); | ||
371 | return result; | ||
372 | } | ||
373 | case LogiclanguagePackage.MINUS: { | ||
374 | Minus minus = (Minus)theEObject; | ||
375 | T result = caseMinus(minus); | ||
376 | if (result == null) result = caseIntOperation(minus); | ||
377 | if (result == null) result = caseTerm(minus); | ||
378 | if (result == null) result = caseTermDescription(minus); | ||
379 | if (result == null) result = defaultCase(theEObject); | ||
380 | return result; | ||
381 | } | ||
382 | case LogiclanguagePackage.MULTIPLY: { | ||
383 | Multiply multiply = (Multiply)theEObject; | ||
384 | T result = caseMultiply(multiply); | ||
385 | if (result == null) result = caseIntOperation(multiply); | ||
386 | if (result == null) result = caseTerm(multiply); | ||
387 | if (result == null) result = caseTermDescription(multiply); | ||
388 | if (result == null) result = defaultCase(theEObject); | ||
389 | return result; | ||
390 | } | ||
391 | case LogiclanguagePackage.DIVISON: { | ||
392 | Divison divison = (Divison)theEObject; | ||
393 | T result = caseDivison(divison); | ||
394 | if (result == null) result = caseIntOperation(divison); | ||
395 | if (result == null) result = caseTerm(divison); | ||
396 | if (result == null) result = caseTermDescription(divison); | ||
397 | if (result == null) result = defaultCase(theEObject); | ||
398 | return result; | ||
399 | } | ||
400 | case LogiclanguagePackage.MOD: { | ||
401 | Mod mod = (Mod)theEObject; | ||
402 | T result = caseMod(mod); | ||
403 | if (result == null) result = caseIntOperation(mod); | ||
404 | if (result == null) result = caseTerm(mod); | ||
405 | if (result == null) result = caseTermDescription(mod); | ||
406 | if (result == null) result = defaultCase(theEObject); | ||
407 | return result; | ||
408 | } | ||
409 | case LogiclanguagePackage.TYPE_DESCRIPTOR: { | ||
410 | TypeDescriptor typeDescriptor = (TypeDescriptor)theEObject; | ||
411 | T result = caseTypeDescriptor(typeDescriptor); | ||
412 | if (result == null) result = defaultCase(theEObject); | ||
413 | return result; | ||
414 | } | ||
415 | case LogiclanguagePackage.TERM_DESCRIPTION: { | ||
416 | TermDescription termDescription = (TermDescription)theEObject; | ||
417 | T result = caseTermDescription(termDescription); | ||
418 | if (result == null) result = defaultCase(theEObject); | ||
419 | return result; | ||
420 | } | ||
421 | case LogiclanguagePackage.ASSERTION: { | ||
422 | Assertion assertion = (Assertion)theEObject; | ||
423 | T result = caseAssertion(assertion); | ||
424 | if (result == null) result = defaultCase(theEObject); | ||
425 | return result; | ||
426 | } | ||
427 | case LogiclanguagePackage.RELATION: { | ||
428 | Relation relation = (Relation)theEObject; | ||
429 | T result = caseRelation(relation); | ||
430 | if (result == null) result = caseSymbolicDeclaration(relation); | ||
431 | if (result == null) result = caseTermDescription(relation); | ||
432 | if (result == null) result = defaultCase(theEObject); | ||
433 | return result; | ||
434 | } | ||
435 | case LogiclanguagePackage.CONSTANT: { | ||
436 | Constant constant = (Constant)theEObject; | ||
437 | T result = caseConstant(constant); | ||
438 | if (result == null) result = caseSymbolicDeclaration(constant); | ||
439 | if (result == null) result = caseTermDescription(constant); | ||
440 | if (result == null) result = defaultCase(theEObject); | ||
441 | return result; | ||
442 | } | ||
443 | case LogiclanguagePackage.CONSTANT_DEFINITION: { | ||
444 | ConstantDefinition constantDefinition = (ConstantDefinition)theEObject; | ||
445 | T result = caseConstantDefinition(constantDefinition); | ||
446 | if (result == null) result = caseConstant(constantDefinition); | ||
447 | if (result == null) result = caseSymbolicDeclaration(constantDefinition); | ||
448 | if (result == null) result = caseTermDescription(constantDefinition); | ||
449 | if (result == null) result = defaultCase(theEObject); | ||
450 | return result; | ||
451 | } | ||
452 | case LogiclanguagePackage.RELATION_DEFINITION: { | ||
453 | RelationDefinition relationDefinition = (RelationDefinition)theEObject; | ||
454 | T result = caseRelationDefinition(relationDefinition); | ||
455 | if (result == null) result = caseRelation(relationDefinition); | ||
456 | if (result == null) result = caseSymbolicDeclaration(relationDefinition); | ||
457 | if (result == null) result = caseTermDescription(relationDefinition); | ||
458 | if (result == null) result = defaultCase(theEObject); | ||
459 | return result; | ||
460 | } | ||
461 | case LogiclanguagePackage.FUNCTION_DEFINITION: { | ||
462 | FunctionDefinition functionDefinition = (FunctionDefinition)theEObject; | ||
463 | T result = caseFunctionDefinition(functionDefinition); | ||
464 | if (result == null) result = caseFunction(functionDefinition); | ||
465 | if (result == null) result = caseSymbolicDeclaration(functionDefinition); | ||
466 | if (result == null) result = caseTermDescription(functionDefinition); | ||
467 | if (result == null) result = defaultCase(theEObject); | ||
468 | return result; | ||
469 | } | ||
470 | case LogiclanguagePackage.IF_THEN_ELSE: { | ||
471 | IfThenElse ifThenElse = (IfThenElse)theEObject; | ||
472 | T result = caseIfThenElse(ifThenElse); | ||
473 | if (result == null) result = caseTerm(ifThenElse); | ||
474 | if (result == null) result = caseTermDescription(ifThenElse); | ||
475 | if (result == null) result = defaultCase(theEObject); | ||
476 | return result; | ||
477 | } | ||
478 | case LogiclanguagePackage.CONSTANT_DECLARATION: { | ||
479 | ConstantDeclaration constantDeclaration = (ConstantDeclaration)theEObject; | ||
480 | T result = caseConstantDeclaration(constantDeclaration); | ||
481 | if (result == null) result = caseConstant(constantDeclaration); | ||
482 | if (result == null) result = caseSymbolicDeclaration(constantDeclaration); | ||
483 | if (result == null) result = caseTermDescription(constantDeclaration); | ||
484 | if (result == null) result = defaultCase(theEObject); | ||
485 | return result; | ||
486 | } | ||
487 | case LogiclanguagePackage.RELATION_DECLARATION: { | ||
488 | RelationDeclaration relationDeclaration = (RelationDeclaration)theEObject; | ||
489 | T result = caseRelationDeclaration(relationDeclaration); | ||
490 | if (result == null) result = caseRelation(relationDeclaration); | ||
491 | if (result == null) result = caseSymbolicDeclaration(relationDeclaration); | ||
492 | if (result == null) result = caseTermDescription(relationDeclaration); | ||
493 | if (result == null) result = defaultCase(theEObject); | ||
494 | return result; | ||
495 | } | ||
496 | case LogiclanguagePackage.FUNCTION_DECLARATION: { | ||
497 | FunctionDeclaration functionDeclaration = (FunctionDeclaration)theEObject; | ||
498 | T result = caseFunctionDeclaration(functionDeclaration); | ||
499 | if (result == null) result = caseFunction(functionDeclaration); | ||
500 | if (result == null) result = caseSymbolicDeclaration(functionDeclaration); | ||
501 | if (result == null) result = caseTermDescription(functionDeclaration); | ||
502 | if (result == null) result = defaultCase(theEObject); | ||
503 | return result; | ||
504 | } | ||
505 | case LogiclanguagePackage.TYPE_DECLARATION: { | ||
506 | TypeDeclaration typeDeclaration = (TypeDeclaration)theEObject; | ||
507 | T result = caseTypeDeclaration(typeDeclaration); | ||
508 | if (result == null) result = caseType(typeDeclaration); | ||
509 | if (result == null) result = caseTypeDescriptor(typeDeclaration); | ||
510 | if (result == null) result = defaultCase(theEObject); | ||
511 | return result; | ||
512 | } | ||
513 | case LogiclanguagePackage.UNKNOWN_BECAUSE_UNINTERPRETED: { | ||
514 | UnknownBecauseUninterpreted unknownBecauseUninterpreted = (UnknownBecauseUninterpreted)theEObject; | ||
515 | T result = caseUnknownBecauseUninterpreted(unknownBecauseUninterpreted); | ||
516 | if (result == null) result = caseTerm(unknownBecauseUninterpreted); | ||
517 | if (result == null) result = caseTermDescription(unknownBecauseUninterpreted); | ||
518 | if (result == null) result = defaultCase(theEObject); | ||
519 | return result; | ||
520 | } | ||
521 | case LogiclanguagePackage.INSTANCE_OF: { | ||
522 | InstanceOf instanceOf = (InstanceOf)theEObject; | ||
523 | T result = caseInstanceOf(instanceOf); | ||
524 | if (result == null) result = caseTerm(instanceOf); | ||
525 | if (result == null) result = caseTermDescription(instanceOf); | ||
526 | if (result == null) result = defaultCase(theEObject); | ||
527 | return result; | ||
528 | } | ||
529 | default: return defaultCase(theEObject); | ||
530 | } | ||
531 | } | ||
532 | |||
533 | /** | ||
534 | * Returns the result of interpreting the object as an instance of '<em>Type</em>'. | ||
535 | * <!-- begin-user-doc --> | ||
536 | * This implementation returns null; | ||
537 | * returning a non-null result will terminate the switch. | ||
538 | * <!-- end-user-doc --> | ||
539 | * @param object the target of the switch. | ||
540 | * @return the result of interpreting the object as an instance of '<em>Type</em>'. | ||
541 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
542 | * @generated | ||
543 | */ | ||
544 | public T caseType(Type object) { | ||
545 | return null; | ||
546 | } | ||
547 | |||
548 | /** | ||
549 | * Returns the result of interpreting the object as an instance of '<em>Defined Element</em>'. | ||
550 | * <!-- begin-user-doc --> | ||
551 | * This implementation returns null; | ||
552 | * returning a non-null result will terminate the switch. | ||
553 | * <!-- end-user-doc --> | ||
554 | * @param object the target of the switch. | ||
555 | * @return the result of interpreting the object as an instance of '<em>Defined Element</em>'. | ||
556 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
557 | * @generated | ||
558 | */ | ||
559 | public T caseDefinedElement(DefinedElement object) { | ||
560 | return null; | ||
561 | } | ||
562 | |||
563 | /** | ||
564 | * Returns the result of interpreting the object as an instance of '<em>Type Definition</em>'. | ||
565 | * <!-- begin-user-doc --> | ||
566 | * This implementation returns null; | ||
567 | * returning a non-null result will terminate the switch. | ||
568 | * <!-- end-user-doc --> | ||
569 | * @param object the target of the switch. | ||
570 | * @return the result of interpreting the object as an instance of '<em>Type Definition</em>'. | ||
571 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
572 | * @generated | ||
573 | */ | ||
574 | public T caseTypeDefinition(TypeDefinition object) { | ||
575 | return null; | ||
576 | } | ||
577 | |||
578 | /** | ||
579 | * Returns the result of interpreting the object as an instance of '<em>Type Reference</em>'. | ||
580 | * <!-- begin-user-doc --> | ||
581 | * This implementation returns null; | ||
582 | * returning a non-null result will terminate the switch. | ||
583 | * <!-- end-user-doc --> | ||
584 | * @param object the target of the switch. | ||
585 | * @return the result of interpreting the object as an instance of '<em>Type Reference</em>'. | ||
586 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
587 | * @generated | ||
588 | */ | ||
589 | public T caseTypeReference(TypeReference object) { | ||
590 | return null; | ||
591 | } | ||
592 | |||
593 | /** | ||
594 | * Returns the result of interpreting the object as an instance of '<em>Complex Type Reference</em>'. | ||
595 | * <!-- begin-user-doc --> | ||
596 | * This implementation returns null; | ||
597 | * returning a non-null result will terminate the switch. | ||
598 | * <!-- end-user-doc --> | ||
599 | * @param object the target of the switch. | ||
600 | * @return the result of interpreting the object as an instance of '<em>Complex Type Reference</em>'. | ||
601 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
602 | * @generated | ||
603 | */ | ||
604 | public T caseComplexTypeReference(ComplexTypeReference object) { | ||
605 | return null; | ||
606 | } | ||
607 | |||
608 | /** | ||
609 | * Returns the result of interpreting the object as an instance of '<em>Primitive Type Reference</em>'. | ||
610 | * <!-- begin-user-doc --> | ||
611 | * This implementation returns null; | ||
612 | * returning a non-null result will terminate the switch. | ||
613 | * <!-- end-user-doc --> | ||
614 | * @param object the target of the switch. | ||
615 | * @return the result of interpreting the object as an instance of '<em>Primitive Type Reference</em>'. | ||
616 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
617 | * @generated | ||
618 | */ | ||
619 | public T casePrimitiveTypeReference(PrimitiveTypeReference object) { | ||
620 | return null; | ||
621 | } | ||
622 | |||
623 | /** | ||
624 | * Returns the result of interpreting the object as an instance of '<em>Int Type Reference</em>'. | ||
625 | * <!-- begin-user-doc --> | ||
626 | * This implementation returns null; | ||
627 | * returning a non-null result will terminate the switch. | ||
628 | * <!-- end-user-doc --> | ||
629 | * @param object the target of the switch. | ||
630 | * @return the result of interpreting the object as an instance of '<em>Int Type Reference</em>'. | ||
631 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
632 | * @generated | ||
633 | */ | ||
634 | public T caseIntTypeReference(IntTypeReference object) { | ||
635 | return null; | ||
636 | } | ||
637 | |||
638 | /** | ||
639 | * Returns the result of interpreting the object as an instance of '<em>Bool Type Reference</em>'. | ||
640 | * <!-- begin-user-doc --> | ||
641 | * This implementation returns null; | ||
642 | * returning a non-null result will terminate the switch. | ||
643 | * <!-- end-user-doc --> | ||
644 | * @param object the target of the switch. | ||
645 | * @return the result of interpreting the object as an instance of '<em>Bool Type Reference</em>'. | ||
646 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
647 | * @generated | ||
648 | */ | ||
649 | public T caseBoolTypeReference(BoolTypeReference object) { | ||
650 | return null; | ||
651 | } | ||
652 | |||
653 | /** | ||
654 | * Returns the result of interpreting the object as an instance of '<em>Real Type Reference</em>'. | ||
655 | * <!-- begin-user-doc --> | ||
656 | * This implementation returns null; | ||
657 | * returning a non-null result will terminate the switch. | ||
658 | * <!-- end-user-doc --> | ||
659 | * @param object the target of the switch. | ||
660 | * @return the result of interpreting the object as an instance of '<em>Real Type Reference</em>'. | ||
661 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
662 | * @generated | ||
663 | */ | ||
664 | public T caseRealTypeReference(RealTypeReference object) { | ||
665 | return null; | ||
666 | } | ||
667 | |||
668 | /** | ||
669 | * Returns the result of interpreting the object as an instance of '<em>Function</em>'. | ||
670 | * <!-- begin-user-doc --> | ||
671 | * This implementation returns null; | ||
672 | * returning a non-null result will terminate the switch. | ||
673 | * <!-- end-user-doc --> | ||
674 | * @param object the target of the switch. | ||
675 | * @return the result of interpreting the object as an instance of '<em>Function</em>'. | ||
676 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
677 | * @generated | ||
678 | */ | ||
679 | public T caseFunction(Function object) { | ||
680 | return null; | ||
681 | } | ||
682 | |||
683 | /** | ||
684 | * Returns the result of interpreting the object as an instance of '<em>Term</em>'. | ||
685 | * <!-- begin-user-doc --> | ||
686 | * This implementation returns null; | ||
687 | * returning a non-null result will terminate the switch. | ||
688 | * <!-- end-user-doc --> | ||
689 | * @param object the target of the switch. | ||
690 | * @return the result of interpreting the object as an instance of '<em>Term</em>'. | ||
691 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
692 | * @generated | ||
693 | */ | ||
694 | public T caseTerm(Term object) { | ||
695 | return null; | ||
696 | } | ||
697 | |||
698 | /** | ||
699 | * Returns the result of interpreting the object as an instance of '<em>Symbolic Declaration</em>'. | ||
700 | * <!-- begin-user-doc --> | ||
701 | * This implementation returns null; | ||
702 | * returning a non-null result will terminate the switch. | ||
703 | * <!-- end-user-doc --> | ||
704 | * @param object the target of the switch. | ||
705 | * @return the result of interpreting the object as an instance of '<em>Symbolic Declaration</em>'. | ||
706 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
707 | * @generated | ||
708 | */ | ||
709 | public T caseSymbolicDeclaration(SymbolicDeclaration object) { | ||
710 | return null; | ||
711 | } | ||
712 | |||
713 | /** | ||
714 | * Returns the result of interpreting the object as an instance of '<em>Symbolic Value</em>'. | ||
715 | * <!-- begin-user-doc --> | ||
716 | * This implementation returns null; | ||
717 | * returning a non-null result will terminate the switch. | ||
718 | * <!-- end-user-doc --> | ||
719 | * @param object the target of the switch. | ||
720 | * @return the result of interpreting the object as an instance of '<em>Symbolic Value</em>'. | ||
721 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
722 | * @generated | ||
723 | */ | ||
724 | public T caseSymbolicValue(SymbolicValue object) { | ||
725 | return null; | ||
726 | } | ||
727 | |||
728 | /** | ||
729 | * Returns the result of interpreting the object as an instance of '<em>Atomic Term</em>'. | ||
730 | * <!-- begin-user-doc --> | ||
731 | * This implementation returns null; | ||
732 | * returning a non-null result will terminate the switch. | ||
733 | * <!-- end-user-doc --> | ||
734 | * @param object the target of the switch. | ||
735 | * @return the result of interpreting the object as an instance of '<em>Atomic Term</em>'. | ||
736 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
737 | * @generated | ||
738 | */ | ||
739 | public T caseAtomicTerm(AtomicTerm object) { | ||
740 | return null; | ||
741 | } | ||
742 | |||
743 | /** | ||
744 | * Returns the result of interpreting the object as an instance of '<em>Int Literal</em>'. | ||
745 | * <!-- begin-user-doc --> | ||
746 | * This implementation returns null; | ||
747 | * returning a non-null result will terminate the switch. | ||
748 | * <!-- end-user-doc --> | ||
749 | * @param object the target of the switch. | ||
750 | * @return the result of interpreting the object as an instance of '<em>Int Literal</em>'. | ||
751 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
752 | * @generated | ||
753 | */ | ||
754 | public T caseIntLiteral(IntLiteral object) { | ||
755 | return null; | ||
756 | } | ||
757 | |||
758 | /** | ||
759 | * Returns the result of interpreting the object as an instance of '<em>Bool Literal</em>'. | ||
760 | * <!-- begin-user-doc --> | ||
761 | * This implementation returns null; | ||
762 | * returning a non-null result will terminate the switch. | ||
763 | * <!-- end-user-doc --> | ||
764 | * @param object the target of the switch. | ||
765 | * @return the result of interpreting the object as an instance of '<em>Bool Literal</em>'. | ||
766 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
767 | * @generated | ||
768 | */ | ||
769 | public T caseBoolLiteral(BoolLiteral object) { | ||
770 | return null; | ||
771 | } | ||
772 | |||
773 | /** | ||
774 | * Returns the result of interpreting the object as an instance of '<em>Real Literal</em>'. | ||
775 | * <!-- begin-user-doc --> | ||
776 | * This implementation returns null; | ||
777 | * returning a non-null result will terminate the switch. | ||
778 | * <!-- end-user-doc --> | ||
779 | * @param object the target of the switch. | ||
780 | * @return the result of interpreting the object as an instance of '<em>Real Literal</em>'. | ||
781 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
782 | * @generated | ||
783 | */ | ||
784 | public T caseRealLiteral(RealLiteral object) { | ||
785 | return null; | ||
786 | } | ||
787 | |||
788 | /** | ||
789 | * Returns the result of interpreting the object as an instance of '<em>Variable</em>'. | ||
790 | * <!-- begin-user-doc --> | ||
791 | * This implementation returns null; | ||
792 | * returning a non-null result will terminate the switch. | ||
793 | * <!-- end-user-doc --> | ||
794 | * @param object the target of the switch. | ||
795 | * @return the result of interpreting the object as an instance of '<em>Variable</em>'. | ||
796 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
797 | * @generated | ||
798 | */ | ||
799 | public T caseVariable(Variable object) { | ||
800 | return null; | ||
801 | } | ||
802 | |||
803 | /** | ||
804 | * Returns the result of interpreting the object as an instance of '<em>Quantified Expression</em>'. | ||
805 | * <!-- begin-user-doc --> | ||
806 | * This implementation returns null; | ||
807 | * returning a non-null result will terminate the switch. | ||
808 | * <!-- end-user-doc --> | ||
809 | * @param object the target of the switch. | ||
810 | * @return the result of interpreting the object as an instance of '<em>Quantified Expression</em>'. | ||
811 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
812 | * @generated | ||
813 | */ | ||
814 | public T caseQuantifiedExpression(QuantifiedExpression object) { | ||
815 | return null; | ||
816 | } | ||
817 | |||
818 | /** | ||
819 | * Returns the result of interpreting the object as an instance of '<em>Exists</em>'. | ||
820 | * <!-- begin-user-doc --> | ||
821 | * This implementation returns null; | ||
822 | * returning a non-null result will terminate the switch. | ||
823 | * <!-- end-user-doc --> | ||
824 | * @param object the target of the switch. | ||
825 | * @return the result of interpreting the object as an instance of '<em>Exists</em>'. | ||
826 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
827 | * @generated | ||
828 | */ | ||
829 | public T caseExists(Exists object) { | ||
830 | return null; | ||
831 | } | ||
832 | |||
833 | /** | ||
834 | * Returns the result of interpreting the object as an instance of '<em>Forall</em>'. | ||
835 | * <!-- begin-user-doc --> | ||
836 | * This implementation returns null; | ||
837 | * returning a non-null result will terminate the switch. | ||
838 | * <!-- end-user-doc --> | ||
839 | * @param object the target of the switch. | ||
840 | * @return the result of interpreting the object as an instance of '<em>Forall</em>'. | ||
841 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
842 | * @generated | ||
843 | */ | ||
844 | public T caseForall(Forall object) { | ||
845 | return null; | ||
846 | } | ||
847 | |||
848 | /** | ||
849 | * Returns the result of interpreting the object as an instance of '<em>Bool Operation</em>'. | ||
850 | * <!-- begin-user-doc --> | ||
851 | * This implementation returns null; | ||
852 | * returning a non-null result will terminate the switch. | ||
853 | * <!-- end-user-doc --> | ||
854 | * @param object the target of the switch. | ||
855 | * @return the result of interpreting the object as an instance of '<em>Bool Operation</em>'. | ||
856 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
857 | * @generated | ||
858 | */ | ||
859 | public T caseBoolOperation(BoolOperation object) { | ||
860 | return null; | ||
861 | } | ||
862 | |||
863 | /** | ||
864 | * Returns the result of interpreting the object as an instance of '<em>And</em>'. | ||
865 | * <!-- begin-user-doc --> | ||
866 | * This implementation returns null; | ||
867 | * returning a non-null result will terminate the switch. | ||
868 | * <!-- end-user-doc --> | ||
869 | * @param object the target of the switch. | ||
870 | * @return the result of interpreting the object as an instance of '<em>And</em>'. | ||
871 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
872 | * @generated | ||
873 | */ | ||
874 | public T caseAnd(And object) { | ||
875 | return null; | ||
876 | } | ||
877 | |||
878 | /** | ||
879 | * Returns the result of interpreting the object as an instance of '<em>Or</em>'. | ||
880 | * <!-- begin-user-doc --> | ||
881 | * This implementation returns null; | ||
882 | * returning a non-null result will terminate the switch. | ||
883 | * <!-- end-user-doc --> | ||
884 | * @param object the target of the switch. | ||
885 | * @return the result of interpreting the object as an instance of '<em>Or</em>'. | ||
886 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
887 | * @generated | ||
888 | */ | ||
889 | public T caseOr(Or object) { | ||
890 | return null; | ||
891 | } | ||
892 | |||
893 | /** | ||
894 | * Returns the result of interpreting the object as an instance of '<em>Impl</em>'. | ||
895 | * <!-- begin-user-doc --> | ||
896 | * This implementation returns null; | ||
897 | * returning a non-null result will terminate the switch. | ||
898 | * <!-- end-user-doc --> | ||
899 | * @param object the target of the switch. | ||
900 | * @return the result of interpreting the object as an instance of '<em>Impl</em>'. | ||
901 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
902 | * @generated | ||
903 | */ | ||
904 | public T caseImpl(Impl object) { | ||
905 | return null; | ||
906 | } | ||
907 | |||
908 | /** | ||
909 | * Returns the result of interpreting the object as an instance of '<em>Not</em>'. | ||
910 | * <!-- begin-user-doc --> | ||
911 | * This implementation returns null; | ||
912 | * returning a non-null result will terminate the switch. | ||
913 | * <!-- end-user-doc --> | ||
914 | * @param object the target of the switch. | ||
915 | * @return the result of interpreting the object as an instance of '<em>Not</em>'. | ||
916 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
917 | * @generated | ||
918 | */ | ||
919 | public T caseNot(Not object) { | ||
920 | return null; | ||
921 | } | ||
922 | |||
923 | /** | ||
924 | * Returns the result of interpreting the object as an instance of '<em>Iff</em>'. | ||
925 | * <!-- begin-user-doc --> | ||
926 | * This implementation returns null; | ||
927 | * returning a non-null result will terminate the switch. | ||
928 | * <!-- end-user-doc --> | ||
929 | * @param object the target of the switch. | ||
930 | * @return the result of interpreting the object as an instance of '<em>Iff</em>'. | ||
931 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
932 | * @generated | ||
933 | */ | ||
934 | public T caseIff(Iff object) { | ||
935 | return null; | ||
936 | } | ||
937 | |||
938 | /** | ||
939 | * Returns the result of interpreting the object as an instance of '<em>Primitive Relation</em>'. | ||
940 | * <!-- begin-user-doc --> | ||
941 | * This implementation returns null; | ||
942 | * returning a non-null result will terminate the switch. | ||
943 | * <!-- end-user-doc --> | ||
944 | * @param object the target of the switch. | ||
945 | * @return the result of interpreting the object as an instance of '<em>Primitive Relation</em>'. | ||
946 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
947 | * @generated | ||
948 | */ | ||
949 | public T casePrimitiveRelation(PrimitiveRelation object) { | ||
950 | return null; | ||
951 | } | ||
952 | |||
953 | /** | ||
954 | * Returns the result of interpreting the object as an instance of '<em>Equals</em>'. | ||
955 | * <!-- begin-user-doc --> | ||
956 | * This implementation returns null; | ||
957 | * returning a non-null result will terminate the switch. | ||
958 | * <!-- end-user-doc --> | ||
959 | * @param object the target of the switch. | ||
960 | * @return the result of interpreting the object as an instance of '<em>Equals</em>'. | ||
961 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
962 | * @generated | ||
963 | */ | ||
964 | public T caseEquals(Equals object) { | ||
965 | return null; | ||
966 | } | ||
967 | |||
968 | /** | ||
969 | * Returns the result of interpreting the object as an instance of '<em>Distinct</em>'. | ||
970 | * <!-- begin-user-doc --> | ||
971 | * This implementation returns null; | ||
972 | * returning a non-null result will terminate the switch. | ||
973 | * <!-- end-user-doc --> | ||
974 | * @param object the target of the switch. | ||
975 | * @return the result of interpreting the object as an instance of '<em>Distinct</em>'. | ||
976 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
977 | * @generated | ||
978 | */ | ||
979 | public T caseDistinct(Distinct object) { | ||
980 | return null; | ||
981 | } | ||
982 | |||
983 | /** | ||
984 | * Returns the result of interpreting the object as an instance of '<em>Less Than</em>'. | ||
985 | * <!-- begin-user-doc --> | ||
986 | * This implementation returns null; | ||
987 | * returning a non-null result will terminate the switch. | ||
988 | * <!-- end-user-doc --> | ||
989 | * @param object the target of the switch. | ||
990 | * @return the result of interpreting the object as an instance of '<em>Less Than</em>'. | ||
991 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
992 | * @generated | ||
993 | */ | ||
994 | public T caseLessThan(LessThan object) { | ||
995 | return null; | ||
996 | } | ||
997 | |||
998 | /** | ||
999 | * Returns the result of interpreting the object as an instance of '<em>More Than</em>'. | ||
1000 | * <!-- begin-user-doc --> | ||
1001 | * This implementation returns null; | ||
1002 | * returning a non-null result will terminate the switch. | ||
1003 | * <!-- end-user-doc --> | ||
1004 | * @param object the target of the switch. | ||
1005 | * @return the result of interpreting the object as an instance of '<em>More Than</em>'. | ||
1006 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1007 | * @generated | ||
1008 | */ | ||
1009 | public T caseMoreThan(MoreThan object) { | ||
1010 | return null; | ||
1011 | } | ||
1012 | |||
1013 | /** | ||
1014 | * Returns the result of interpreting the object as an instance of '<em>Less Or Equal Than</em>'. | ||
1015 | * <!-- begin-user-doc --> | ||
1016 | * This implementation returns null; | ||
1017 | * returning a non-null result will terminate the switch. | ||
1018 | * <!-- end-user-doc --> | ||
1019 | * @param object the target of the switch. | ||
1020 | * @return the result of interpreting the object as an instance of '<em>Less Or Equal Than</em>'. | ||
1021 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1022 | * @generated | ||
1023 | */ | ||
1024 | public T caseLessOrEqualThan(LessOrEqualThan object) { | ||
1025 | return null; | ||
1026 | } | ||
1027 | |||
1028 | /** | ||
1029 | * Returns the result of interpreting the object as an instance of '<em>More Or Equal Than</em>'. | ||
1030 | * <!-- begin-user-doc --> | ||
1031 | * This implementation returns null; | ||
1032 | * returning a non-null result will terminate the switch. | ||
1033 | * <!-- end-user-doc --> | ||
1034 | * @param object the target of the switch. | ||
1035 | * @return the result of interpreting the object as an instance of '<em>More Or Equal Than</em>'. | ||
1036 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1037 | * @generated | ||
1038 | */ | ||
1039 | public T caseMoreOrEqualThan(MoreOrEqualThan object) { | ||
1040 | return null; | ||
1041 | } | ||
1042 | |||
1043 | /** | ||
1044 | * Returns the result of interpreting the object as an instance of '<em>Int Operation</em>'. | ||
1045 | * <!-- begin-user-doc --> | ||
1046 | * This implementation returns null; | ||
1047 | * returning a non-null result will terminate the switch. | ||
1048 | * <!-- end-user-doc --> | ||
1049 | * @param object the target of the switch. | ||
1050 | * @return the result of interpreting the object as an instance of '<em>Int Operation</em>'. | ||
1051 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1052 | * @generated | ||
1053 | */ | ||
1054 | public T caseIntOperation(IntOperation object) { | ||
1055 | return null; | ||
1056 | } | ||
1057 | |||
1058 | /** | ||
1059 | * Returns the result of interpreting the object as an instance of '<em>Plus</em>'. | ||
1060 | * <!-- begin-user-doc --> | ||
1061 | * This implementation returns null; | ||
1062 | * returning a non-null result will terminate the switch. | ||
1063 | * <!-- end-user-doc --> | ||
1064 | * @param object the target of the switch. | ||
1065 | * @return the result of interpreting the object as an instance of '<em>Plus</em>'. | ||
1066 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1067 | * @generated | ||
1068 | */ | ||
1069 | public T casePlus(Plus object) { | ||
1070 | return null; | ||
1071 | } | ||
1072 | |||
1073 | /** | ||
1074 | * Returns the result of interpreting the object as an instance of '<em>Minus</em>'. | ||
1075 | * <!-- begin-user-doc --> | ||
1076 | * This implementation returns null; | ||
1077 | * returning a non-null result will terminate the switch. | ||
1078 | * <!-- end-user-doc --> | ||
1079 | * @param object the target of the switch. | ||
1080 | * @return the result of interpreting the object as an instance of '<em>Minus</em>'. | ||
1081 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1082 | * @generated | ||
1083 | */ | ||
1084 | public T caseMinus(Minus object) { | ||
1085 | return null; | ||
1086 | } | ||
1087 | |||
1088 | /** | ||
1089 | * Returns the result of interpreting the object as an instance of '<em>Multiply</em>'. | ||
1090 | * <!-- begin-user-doc --> | ||
1091 | * This implementation returns null; | ||
1092 | * returning a non-null result will terminate the switch. | ||
1093 | * <!-- end-user-doc --> | ||
1094 | * @param object the target of the switch. | ||
1095 | * @return the result of interpreting the object as an instance of '<em>Multiply</em>'. | ||
1096 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1097 | * @generated | ||
1098 | */ | ||
1099 | public T caseMultiply(Multiply object) { | ||
1100 | return null; | ||
1101 | } | ||
1102 | |||
1103 | /** | ||
1104 | * Returns the result of interpreting the object as an instance of '<em>Divison</em>'. | ||
1105 | * <!-- begin-user-doc --> | ||
1106 | * This implementation returns null; | ||
1107 | * returning a non-null result will terminate the switch. | ||
1108 | * <!-- end-user-doc --> | ||
1109 | * @param object the target of the switch. | ||
1110 | * @return the result of interpreting the object as an instance of '<em>Divison</em>'. | ||
1111 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1112 | * @generated | ||
1113 | */ | ||
1114 | public T caseDivison(Divison object) { | ||
1115 | return null; | ||
1116 | } | ||
1117 | |||
1118 | /** | ||
1119 | * Returns the result of interpreting the object as an instance of '<em>Mod</em>'. | ||
1120 | * <!-- begin-user-doc --> | ||
1121 | * This implementation returns null; | ||
1122 | * returning a non-null result will terminate the switch. | ||
1123 | * <!-- end-user-doc --> | ||
1124 | * @param object the target of the switch. | ||
1125 | * @return the result of interpreting the object as an instance of '<em>Mod</em>'. | ||
1126 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1127 | * @generated | ||
1128 | */ | ||
1129 | public T caseMod(Mod object) { | ||
1130 | return null; | ||
1131 | } | ||
1132 | |||
1133 | /** | ||
1134 | * Returns the result of interpreting the object as an instance of '<em>Type Descriptor</em>'. | ||
1135 | * <!-- begin-user-doc --> | ||
1136 | * This implementation returns null; | ||
1137 | * returning a non-null result will terminate the switch. | ||
1138 | * <!-- end-user-doc --> | ||
1139 | * @param object the target of the switch. | ||
1140 | * @return the result of interpreting the object as an instance of '<em>Type Descriptor</em>'. | ||
1141 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1142 | * @generated | ||
1143 | */ | ||
1144 | public T caseTypeDescriptor(TypeDescriptor object) { | ||
1145 | return null; | ||
1146 | } | ||
1147 | |||
1148 | /** | ||
1149 | * Returns the result of interpreting the object as an instance of '<em>Term Description</em>'. | ||
1150 | * <!-- begin-user-doc --> | ||
1151 | * This implementation returns null; | ||
1152 | * returning a non-null result will terminate the switch. | ||
1153 | * <!-- end-user-doc --> | ||
1154 | * @param object the target of the switch. | ||
1155 | * @return the result of interpreting the object as an instance of '<em>Term Description</em>'. | ||
1156 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1157 | * @generated | ||
1158 | */ | ||
1159 | public T caseTermDescription(TermDescription object) { | ||
1160 | return null; | ||
1161 | } | ||
1162 | |||
1163 | /** | ||
1164 | * Returns the result of interpreting the object as an instance of '<em>Assertion</em>'. | ||
1165 | * <!-- begin-user-doc --> | ||
1166 | * This implementation returns null; | ||
1167 | * returning a non-null result will terminate the switch. | ||
1168 | * <!-- end-user-doc --> | ||
1169 | * @param object the target of the switch. | ||
1170 | * @return the result of interpreting the object as an instance of '<em>Assertion</em>'. | ||
1171 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1172 | * @generated | ||
1173 | */ | ||
1174 | public T caseAssertion(Assertion object) { | ||
1175 | return null; | ||
1176 | } | ||
1177 | |||
1178 | /** | ||
1179 | * Returns the result of interpreting the object as an instance of '<em>Relation</em>'. | ||
1180 | * <!-- begin-user-doc --> | ||
1181 | * This implementation returns null; | ||
1182 | * returning a non-null result will terminate the switch. | ||
1183 | * <!-- end-user-doc --> | ||
1184 | * @param object the target of the switch. | ||
1185 | * @return the result of interpreting the object as an instance of '<em>Relation</em>'. | ||
1186 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1187 | * @generated | ||
1188 | */ | ||
1189 | public T caseRelation(Relation object) { | ||
1190 | return null; | ||
1191 | } | ||
1192 | |||
1193 | /** | ||
1194 | * Returns the result of interpreting the object as an instance of '<em>Constant</em>'. | ||
1195 | * <!-- begin-user-doc --> | ||
1196 | * This implementation returns null; | ||
1197 | * returning a non-null result will terminate the switch. | ||
1198 | * <!-- end-user-doc --> | ||
1199 | * @param object the target of the switch. | ||
1200 | * @return the result of interpreting the object as an instance of '<em>Constant</em>'. | ||
1201 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1202 | * @generated | ||
1203 | */ | ||
1204 | public T caseConstant(Constant object) { | ||
1205 | return null; | ||
1206 | } | ||
1207 | |||
1208 | /** | ||
1209 | * Returns the result of interpreting the object as an instance of '<em>Constant Definition</em>'. | ||
1210 | * <!-- begin-user-doc --> | ||
1211 | * This implementation returns null; | ||
1212 | * returning a non-null result will terminate the switch. | ||
1213 | * <!-- end-user-doc --> | ||
1214 | * @param object the target of the switch. | ||
1215 | * @return the result of interpreting the object as an instance of '<em>Constant Definition</em>'. | ||
1216 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1217 | * @generated | ||
1218 | */ | ||
1219 | public T caseConstantDefinition(ConstantDefinition object) { | ||
1220 | return null; | ||
1221 | } | ||
1222 | |||
1223 | /** | ||
1224 | * Returns the result of interpreting the object as an instance of '<em>Relation Definition</em>'. | ||
1225 | * <!-- begin-user-doc --> | ||
1226 | * This implementation returns null; | ||
1227 | * returning a non-null result will terminate the switch. | ||
1228 | * <!-- end-user-doc --> | ||
1229 | * @param object the target of the switch. | ||
1230 | * @return the result of interpreting the object as an instance of '<em>Relation Definition</em>'. | ||
1231 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1232 | * @generated | ||
1233 | */ | ||
1234 | public T caseRelationDefinition(RelationDefinition object) { | ||
1235 | return null; | ||
1236 | } | ||
1237 | |||
1238 | /** | ||
1239 | * Returns the result of interpreting the object as an instance of '<em>Function Definition</em>'. | ||
1240 | * <!-- begin-user-doc --> | ||
1241 | * This implementation returns null; | ||
1242 | * returning a non-null result will terminate the switch. | ||
1243 | * <!-- end-user-doc --> | ||
1244 | * @param object the target of the switch. | ||
1245 | * @return the result of interpreting the object as an instance of '<em>Function Definition</em>'. | ||
1246 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1247 | * @generated | ||
1248 | */ | ||
1249 | public T caseFunctionDefinition(FunctionDefinition object) { | ||
1250 | return null; | ||
1251 | } | ||
1252 | |||
1253 | /** | ||
1254 | * Returns the result of interpreting the object as an instance of '<em>If Then Else</em>'. | ||
1255 | * <!-- begin-user-doc --> | ||
1256 | * This implementation returns null; | ||
1257 | * returning a non-null result will terminate the switch. | ||
1258 | * <!-- end-user-doc --> | ||
1259 | * @param object the target of the switch. | ||
1260 | * @return the result of interpreting the object as an instance of '<em>If Then Else</em>'. | ||
1261 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1262 | * @generated | ||
1263 | */ | ||
1264 | public T caseIfThenElse(IfThenElse object) { | ||
1265 | return null; | ||
1266 | } | ||
1267 | |||
1268 | /** | ||
1269 | * Returns the result of interpreting the object as an instance of '<em>Constant Declaration</em>'. | ||
1270 | * <!-- begin-user-doc --> | ||
1271 | * This implementation returns null; | ||
1272 | * returning a non-null result will terminate the switch. | ||
1273 | * <!-- end-user-doc --> | ||
1274 | * @param object the target of the switch. | ||
1275 | * @return the result of interpreting the object as an instance of '<em>Constant Declaration</em>'. | ||
1276 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1277 | * @generated | ||
1278 | */ | ||
1279 | public T caseConstantDeclaration(ConstantDeclaration object) { | ||
1280 | return null; | ||
1281 | } | ||
1282 | |||
1283 | /** | ||
1284 | * Returns the result of interpreting the object as an instance of '<em>Relation Declaration</em>'. | ||
1285 | * <!-- begin-user-doc --> | ||
1286 | * This implementation returns null; | ||
1287 | * returning a non-null result will terminate the switch. | ||
1288 | * <!-- end-user-doc --> | ||
1289 | * @param object the target of the switch. | ||
1290 | * @return the result of interpreting the object as an instance of '<em>Relation Declaration</em>'. | ||
1291 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1292 | * @generated | ||
1293 | */ | ||
1294 | public T caseRelationDeclaration(RelationDeclaration object) { | ||
1295 | return null; | ||
1296 | } | ||
1297 | |||
1298 | /** | ||
1299 | * Returns the result of interpreting the object as an instance of '<em>Function Declaration</em>'. | ||
1300 | * <!-- begin-user-doc --> | ||
1301 | * This implementation returns null; | ||
1302 | * returning a non-null result will terminate the switch. | ||
1303 | * <!-- end-user-doc --> | ||
1304 | * @param object the target of the switch. | ||
1305 | * @return the result of interpreting the object as an instance of '<em>Function Declaration</em>'. | ||
1306 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1307 | * @generated | ||
1308 | */ | ||
1309 | public T caseFunctionDeclaration(FunctionDeclaration object) { | ||
1310 | return null; | ||
1311 | } | ||
1312 | |||
1313 | /** | ||
1314 | * Returns the result of interpreting the object as an instance of '<em>Type Declaration</em>'. | ||
1315 | * <!-- begin-user-doc --> | ||
1316 | * This implementation returns null; | ||
1317 | * returning a non-null result will terminate the switch. | ||
1318 | * <!-- end-user-doc --> | ||
1319 | * @param object the target of the switch. | ||
1320 | * @return the result of interpreting the object as an instance of '<em>Type Declaration</em>'. | ||
1321 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1322 | * @generated | ||
1323 | */ | ||
1324 | public T caseTypeDeclaration(TypeDeclaration object) { | ||
1325 | return null; | ||
1326 | } | ||
1327 | |||
1328 | /** | ||
1329 | * Returns the result of interpreting the object as an instance of '<em>Unknown Because Uninterpreted</em>'. | ||
1330 | * <!-- begin-user-doc --> | ||
1331 | * This implementation returns null; | ||
1332 | * returning a non-null result will terminate the switch. | ||
1333 | * <!-- end-user-doc --> | ||
1334 | * @param object the target of the switch. | ||
1335 | * @return the result of interpreting the object as an instance of '<em>Unknown Because Uninterpreted</em>'. | ||
1336 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1337 | * @generated | ||
1338 | */ | ||
1339 | public T caseUnknownBecauseUninterpreted(UnknownBecauseUninterpreted object) { | ||
1340 | return null; | ||
1341 | } | ||
1342 | |||
1343 | /** | ||
1344 | * Returns the result of interpreting the object as an instance of '<em>Instance Of</em>'. | ||
1345 | * <!-- begin-user-doc --> | ||
1346 | * This implementation returns null; | ||
1347 | * returning a non-null result will terminate the switch. | ||
1348 | * <!-- end-user-doc --> | ||
1349 | * @param object the target of the switch. | ||
1350 | * @return the result of interpreting the object as an instance of '<em>Instance Of</em>'. | ||
1351 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1352 | * @generated | ||
1353 | */ | ||
1354 | public T caseInstanceOf(InstanceOf object) { | ||
1355 | return null; | ||
1356 | } | ||
1357 | |||
1358 | /** | ||
1359 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1360 | * <!-- begin-user-doc --> | ||
1361 | * This implementation returns null; | ||
1362 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
1363 | * <!-- end-user-doc --> | ||
1364 | * @param object the target of the switch. | ||
1365 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1366 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
1367 | * @generated | ||
1368 | */ | ||
1369 | @Override | ||
1370 | public T defaultCase(EObject object) { | ||
1371 | return null; | ||
1372 | } | ||
1373 | |||
1374 | } //LogiclanguageSwitch | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/Annotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/Annotation.java new file mode 100644 index 00000000..29575aee --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/Annotation.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Annotation</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getAnnotation() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface Annotation extends EObject { | ||
18 | } // Annotation | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/AssertionAnnotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/AssertionAnnotation.java new file mode 100644 index 00000000..2b06e688 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/AssertionAnnotation.java | |||
@@ -0,0 +1,52 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Assertion Annotation</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.logic.model.logicproblem.AssertionAnnotation#getTarget <em>Target</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getAssertionAnnotation() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface AssertionAnnotation extends Annotation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
26 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getAnnotations <em>Annotations</em>}'. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Target</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>Target</em>' reference. | ||
34 | * @see #setTarget(Assertion) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getAssertionAnnotation_Target() | ||
36 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getAnnotations | ||
37 | * @model opposite="annotations" required="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | Assertion getTarget(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget <em>Target</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Target</em>' reference. | ||
47 | * @see #getTarget() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setTarget(Assertion value); | ||
51 | |||
52 | } // AssertionAnnotation | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ConstantAnnotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ConstantAnnotation.java new file mode 100644 index 00000000..f48cedf6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ConstantAnnotation.java | |||
@@ -0,0 +1,52 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Constant Annotation</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.logic.model.logicproblem.ConstantAnnotation#getTarget <em>Target</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getConstantAnnotation() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ConstantAnnotation extends Annotation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
26 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations <em>Annotations</em>}'. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Target</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>Target</em>' reference. | ||
34 | * @see #setTarget(Constant) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getConstantAnnotation_Target() | ||
36 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations | ||
37 | * @model opposite="annotations" required="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | Constant getTarget(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget <em>Target</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Target</em>' reference. | ||
47 | * @see #getTarget() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setTarget(Constant value); | ||
51 | |||
52 | } // ConstantAnnotation | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ContainmentHierarchy.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ContainmentHierarchy.java new file mode 100644 index 00000000..f3f04ff4 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ContainmentHierarchy.java | |||
@@ -0,0 +1,108 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * A representation of the model object '<em><b>Containment Hierarchy</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * | ||
19 | * <p> | ||
20 | * The following features are supported: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getTypesOrderedInHierarchy <em>Types Ordered In Hierarchy</em>}</li> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentFunctions <em>Containment Functions</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentRelations <em>Containment Relations</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getRootConstant <em>Root Constant</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy() | ||
30 | * @model | ||
31 | * @generated | ||
32 | */ | ||
33 | public interface ContainmentHierarchy extends EObject { | ||
34 | /** | ||
35 | * Returns the value of the '<em><b>Types Ordered In Hierarchy</b></em>' reference list. | ||
36 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type}. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <p> | ||
39 | * If the meaning of the '<em>Types Ordered In Hierarchy</em>' reference list isn't clear, | ||
40 | * there really should be more of a description here... | ||
41 | * </p> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @return the value of the '<em>Types Ordered In Hierarchy</em>' reference list. | ||
44 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy_TypesOrderedInHierarchy() | ||
45 | * @model | ||
46 | * @generated | ||
47 | */ | ||
48 | EList<Type> getTypesOrderedInHierarchy(); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Containment Functions</b></em>' reference list. | ||
52 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function}. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Containment Functions</em>' reference list isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Containment Functions</em>' reference list. | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy_ContainmentFunctions() | ||
61 | * @model | ||
62 | * @generated | ||
63 | */ | ||
64 | EList<Function> getContainmentFunctions(); | ||
65 | |||
66 | /** | ||
67 | * Returns the value of the '<em><b>Containment Relations</b></em>' reference list. | ||
68 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation}. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <p> | ||
71 | * If the meaning of the '<em>Containment Relations</em>' reference list isn't clear, | ||
72 | * there really should be more of a description here... | ||
73 | * </p> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @return the value of the '<em>Containment Relations</em>' reference list. | ||
76 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy_ContainmentRelations() | ||
77 | * @model | ||
78 | * @generated | ||
79 | */ | ||
80 | EList<Relation> getContainmentRelations(); | ||
81 | |||
82 | /** | ||
83 | * Returns the value of the '<em><b>Root Constant</b></em>' reference. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <p> | ||
86 | * If the meaning of the '<em>Root Constant</em>' reference isn't clear, | ||
87 | * there really should be more of a description here... | ||
88 | * </p> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @return the value of the '<em>Root Constant</em>' reference. | ||
91 | * @see #setRootConstant(Constant) | ||
92 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy_RootConstant() | ||
93 | * @model | ||
94 | * @generated | ||
95 | */ | ||
96 | Constant getRootConstant(); | ||
97 | |||
98 | /** | ||
99 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getRootConstant <em>Root Constant</em>}' reference. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @param value the new value of the '<em>Root Constant</em>' reference. | ||
103 | * @see #getRootConstant() | ||
104 | * @generated | ||
105 | */ | ||
106 | void setRootConstant(Constant value); | ||
107 | |||
108 | } // ContainmentHierarchy | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/FunctionAnnotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/FunctionAnnotation.java new file mode 100644 index 00000000..b10d5e1b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/FunctionAnnotation.java | |||
@@ -0,0 +1,52 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Function Annotation</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.logic.model.logicproblem.FunctionAnnotation#getTarget <em>Target</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getFunctionAnnotation() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface FunctionAnnotation extends Annotation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
26 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations <em>Annotations</em>}'. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Target</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>Target</em>' reference. | ||
34 | * @see #setTarget(Function) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getFunctionAnnotation_Target() | ||
36 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations | ||
37 | * @model opposite="annotations" required="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | Function getTarget(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget <em>Target</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Target</em>' reference. | ||
47 | * @see #getTarget() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setTarget(Function value); | ||
51 | |||
52 | } // FunctionAnnotation | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicProblem.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicProblem.java new file mode 100644 index 00000000..bf028318 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicProblem.java | |||
@@ -0,0 +1,168 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | ||
10 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; | ||
11 | |||
12 | import org.eclipse.emf.common.util.EList; | ||
13 | |||
14 | import org.eclipse.emf.ecore.EObject; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * A representation of the model object '<em><b>Logic Problem</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * | ||
21 | * <p> | ||
22 | * The following features are supported: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getTypes <em>Types</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getFunctions <em>Functions</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAssertions <em>Assertions</em>}</li> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getRelations <em>Relations</em>}</li> | ||
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getConstants <em>Constants</em>}</li> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getElements <em>Elements</em>}</li> | ||
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getContainmentHierarchies <em>Containment Hierarchies</em>}</li> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAnnotations <em>Annotations</em>}</li> | ||
33 | * </ul> | ||
34 | * | ||
35 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | public interface LogicProblem extends EObject { | ||
40 | /** | ||
41 | * Returns the value of the '<em><b>Types</b></em>' containment reference list. | ||
42 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type}. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <p> | ||
45 | * If the meaning of the '<em>Types</em>' containment reference list isn't clear, | ||
46 | * there really should be more of a description here... | ||
47 | * </p> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @return the value of the '<em>Types</em>' containment reference list. | ||
50 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Types() | ||
51 | * @model containment="true" | ||
52 | * @generated | ||
53 | */ | ||
54 | EList<Type> getTypes(); | ||
55 | |||
56 | /** | ||
57 | * Returns the value of the '<em><b>Functions</b></em>' containment reference list. | ||
58 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function}. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <p> | ||
61 | * If the meaning of the '<em>Functions</em>' containment reference list 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>Functions</em>' containment reference list. | ||
66 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Functions() | ||
67 | * @model containment="true" | ||
68 | * @generated | ||
69 | */ | ||
70 | EList<Function> getFunctions(); | ||
71 | |||
72 | /** | ||
73 | * Returns the value of the '<em><b>Assertions</b></em>' containment reference list. | ||
74 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion}. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <p> | ||
77 | * If the meaning of the '<em>Assertions</em>' containment reference list isn't clear, | ||
78 | * there really should be more of a description here... | ||
79 | * </p> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @return the value of the '<em>Assertions</em>' containment reference list. | ||
82 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Assertions() | ||
83 | * @model containment="true" | ||
84 | * @generated | ||
85 | */ | ||
86 | EList<Assertion> getAssertions(); | ||
87 | |||
88 | /** | ||
89 | * Returns the value of the '<em><b>Relations</b></em>' containment reference list. | ||
90 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation}. | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <p> | ||
93 | * If the meaning of the '<em>Relations</em>' containment reference list isn't clear, | ||
94 | * there really should be more of a description here... | ||
95 | * </p> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @return the value of the '<em>Relations</em>' containment reference list. | ||
98 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Relations() | ||
99 | * @model containment="true" | ||
100 | * @generated | ||
101 | */ | ||
102 | EList<Relation> getRelations(); | ||
103 | |||
104 | /** | ||
105 | * Returns the value of the '<em><b>Constants</b></em>' containment reference list. | ||
106 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant}. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <p> | ||
109 | * If the meaning of the '<em>Constants</em>' containment reference list isn't clear, | ||
110 | * there really should be more of a description here... | ||
111 | * </p> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @return the value of the '<em>Constants</em>' containment reference list. | ||
114 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Constants() | ||
115 | * @model containment="true" | ||
116 | * @generated | ||
117 | */ | ||
118 | EList<Constant> getConstants(); | ||
119 | |||
120 | /** | ||
121 | * Returns the value of the '<em><b>Elements</b></em>' containment reference list. | ||
122 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement}. | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <p> | ||
125 | * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, | ||
126 | * there really should be more of a description here... | ||
127 | * </p> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @return the value of the '<em>Elements</em>' containment reference list. | ||
130 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Elements() | ||
131 | * @model containment="true" | ||
132 | * @generated | ||
133 | */ | ||
134 | EList<DefinedElement> getElements(); | ||
135 | |||
136 | /** | ||
137 | * Returns the value of the '<em><b>Containment Hierarchies</b></em>' containment reference list. | ||
138 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy}. | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <p> | ||
141 | * If the meaning of the '<em>Containment Hierarchies</em>' reference list isn't clear, | ||
142 | * there really should be more of a description here... | ||
143 | * </p> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @return the value of the '<em>Containment Hierarchies</em>' containment reference list. | ||
146 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_ContainmentHierarchies() | ||
147 | * @model containment="true" | ||
148 | * @generated | ||
149 | */ | ||
150 | EList<ContainmentHierarchy> getContainmentHierarchies(); | ||
151 | |||
152 | /** | ||
153 | * Returns the value of the '<em><b>Annotations</b></em>' containment reference list. | ||
154 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation}. | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <p> | ||
157 | * If the meaning of the '<em>Annotations</em>' containment reference list isn't clear, | ||
158 | * there really should be more of a description here... | ||
159 | * </p> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @return the value of the '<em>Annotations</em>' containment reference list. | ||
162 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Annotations() | ||
163 | * @model containment="true" | ||
164 | * @generated | ||
165 | */ | ||
166 | EList<Annotation> getAnnotations(); | ||
167 | |||
168 | } // LogicProblem | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemFactory.java new file mode 100644 index 00000000..82e754b5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemFactory.java | |||
@@ -0,0 +1,96 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EFactory; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * The <b>Factory</b> for the model. | ||
10 | * It provides a create method for each non-abstract class of the model. | ||
11 | * <!-- end-user-doc --> | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface LogicproblemFactory extends EFactory { | ||
16 | /** | ||
17 | * The singleton instance of the factory. | ||
18 | * <!-- begin-user-doc --> | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | LogicproblemFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemFactoryImpl.init(); | ||
23 | |||
24 | /** | ||
25 | * Returns a new object of class '<em>Logic Problem</em>'. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return a new object of class '<em>Logic Problem</em>'. | ||
29 | * @generated | ||
30 | */ | ||
31 | LogicProblem createLogicProblem(); | ||
32 | |||
33 | /** | ||
34 | * Returns a new object of class '<em>Containment Hierarchy</em>'. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return a new object of class '<em>Containment Hierarchy</em>'. | ||
38 | * @generated | ||
39 | */ | ||
40 | ContainmentHierarchy createContainmentHierarchy(); | ||
41 | |||
42 | /** | ||
43 | * Returns a new object of class '<em>Relation Annotation</em>'. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @return a new object of class '<em>Relation Annotation</em>'. | ||
47 | * @generated | ||
48 | */ | ||
49 | RelationAnnotation createRelationAnnotation(); | ||
50 | |||
51 | /** | ||
52 | * Returns a new object of class '<em>Constant Annotation</em>'. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return a new object of class '<em>Constant Annotation</em>'. | ||
56 | * @generated | ||
57 | */ | ||
58 | ConstantAnnotation createConstantAnnotation(); | ||
59 | |||
60 | /** | ||
61 | * Returns a new object of class '<em>Function Annotation</em>'. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return a new object of class '<em>Function Annotation</em>'. | ||
65 | * @generated | ||
66 | */ | ||
67 | FunctionAnnotation createFunctionAnnotation(); | ||
68 | |||
69 | /** | ||
70 | * Returns a new object of class '<em>Assertion Annotation</em>'. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return a new object of class '<em>Assertion Annotation</em>'. | ||
74 | * @generated | ||
75 | */ | ||
76 | AssertionAnnotation createAssertionAnnotation(); | ||
77 | |||
78 | /** | ||
79 | * Returns a new object of class '<em>Annotation</em>'. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return a new object of class '<em>Annotation</em>'. | ||
83 | * @generated | ||
84 | */ | ||
85 | Annotation createAnnotation(); | ||
86 | |||
87 | /** | ||
88 | * Returns the package supported by this factory. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return the package supported by this factory. | ||
92 | * @generated | ||
93 | */ | ||
94 | LogicproblemPackage getLogicproblemPackage(); | ||
95 | |||
96 | } //LogicproblemFactory | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemPackage.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemPackage.java new file mode 100644 index 00000000..c02f189a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemPackage.java | |||
@@ -0,0 +1,867 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | import org.eclipse.emf.ecore.EPackage; | ||
7 | import org.eclipse.emf.ecore.EReference; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * The <b>Package</b> for the model. | ||
12 | * It contains accessors for the meta objects to represent | ||
13 | * <ul> | ||
14 | * <li>each class,</li> | ||
15 | * <li>each feature of each class,</li> | ||
16 | * <li>each operation of each class,</li> | ||
17 | * <li>each enum,</li> | ||
18 | * <li>and each data type</li> | ||
19 | * </ul> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemFactory | ||
22 | * @model kind="package" | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface LogicproblemPackage extends EPackage { | ||
26 | /** | ||
27 | * The package name. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | String eNAME = "logicproblem"; | ||
33 | |||
34 | /** | ||
35 | * The package namespace URI. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/logic/model/problem"; | ||
41 | |||
42 | /** | ||
43 | * The package namespace name. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | String eNS_PREFIX = "language"; | ||
49 | |||
50 | /** | ||
51 | * The singleton instance of the package. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | LogicproblemPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl.init(); | ||
57 | |||
58 | /** | ||
59 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl <em>Logic Problem</em>}' class. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl | ||
63 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getLogicProblem() | ||
64 | * @generated | ||
65 | */ | ||
66 | int LOGIC_PROBLEM = 0; | ||
67 | |||
68 | /** | ||
69 | * The feature id for the '<em><b>Types</b></em>' containment reference list. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | * @ordered | ||
74 | */ | ||
75 | int LOGIC_PROBLEM__TYPES = 0; | ||
76 | |||
77 | /** | ||
78 | * The feature id for the '<em><b>Functions</b></em>' containment reference list. | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | * @ordered | ||
83 | */ | ||
84 | int LOGIC_PROBLEM__FUNCTIONS = 1; | ||
85 | |||
86 | /** | ||
87 | * The feature id for the '<em><b>Assertions</b></em>' containment reference list. | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | * @ordered | ||
92 | */ | ||
93 | int LOGIC_PROBLEM__ASSERTIONS = 2; | ||
94 | |||
95 | /** | ||
96 | * The feature id for the '<em><b>Relations</b></em>' containment reference list. | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | * @ordered | ||
101 | */ | ||
102 | int LOGIC_PROBLEM__RELATIONS = 3; | ||
103 | |||
104 | /** | ||
105 | * The feature id for the '<em><b>Constants</b></em>' containment reference list. | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | * @ordered | ||
110 | */ | ||
111 | int LOGIC_PROBLEM__CONSTANTS = 4; | ||
112 | |||
113 | /** | ||
114 | * The feature id for the '<em><b>Elements</b></em>' containment reference list. | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | * @ordered | ||
119 | */ | ||
120 | int LOGIC_PROBLEM__ELEMENTS = 5; | ||
121 | |||
122 | /** | ||
123 | * The feature id for the '<em><b>Containment Hierarchies</b></em>' containment reference list. | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | * @ordered | ||
128 | */ | ||
129 | int LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES = 6; | ||
130 | |||
131 | /** | ||
132 | * The feature id for the '<em><b>Annotations</b></em>' containment reference list. | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | * @ordered | ||
137 | */ | ||
138 | int LOGIC_PROBLEM__ANNOTATIONS = 7; | ||
139 | |||
140 | /** | ||
141 | * The number of structural features of the '<em>Logic Problem</em>' class. | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | * @ordered | ||
146 | */ | ||
147 | int LOGIC_PROBLEM_FEATURE_COUNT = 8; | ||
148 | |||
149 | /** | ||
150 | * The number of operations of the '<em>Logic Problem</em>' class. | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | * @ordered | ||
155 | */ | ||
156 | int LOGIC_PROBLEM_OPERATION_COUNT = 0; | ||
157 | |||
158 | /** | ||
159 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl <em>Containment Hierarchy</em>}' class. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl | ||
163 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getContainmentHierarchy() | ||
164 | * @generated | ||
165 | */ | ||
166 | int CONTAINMENT_HIERARCHY = 1; | ||
167 | |||
168 | /** | ||
169 | * The feature id for the '<em><b>Types Ordered In Hierarchy</b></em>' reference list. | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | * @ordered | ||
174 | */ | ||
175 | int CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY = 0; | ||
176 | |||
177 | /** | ||
178 | * The feature id for the '<em><b>Containment Functions</b></em>' reference list. | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | * @ordered | ||
183 | */ | ||
184 | int CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS = 1; | ||
185 | |||
186 | /** | ||
187 | * The feature id for the '<em><b>Containment Relations</b></em>' reference list. | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | * @ordered | ||
192 | */ | ||
193 | int CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS = 2; | ||
194 | |||
195 | /** | ||
196 | * The feature id for the '<em><b>Root Constant</b></em>' reference. | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | * @ordered | ||
201 | */ | ||
202 | int CONTAINMENT_HIERARCHY__ROOT_CONSTANT = 3; | ||
203 | |||
204 | /** | ||
205 | * The number of structural features of the '<em>Containment Hierarchy</em>' class. | ||
206 | * <!-- begin-user-doc --> | ||
207 | * <!-- end-user-doc --> | ||
208 | * @generated | ||
209 | * @ordered | ||
210 | */ | ||
211 | int CONTAINMENT_HIERARCHY_FEATURE_COUNT = 4; | ||
212 | |||
213 | /** | ||
214 | * The number of operations of the '<em>Containment Hierarchy</em>' class. | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @generated | ||
218 | * @ordered | ||
219 | */ | ||
220 | int CONTAINMENT_HIERARCHY_OPERATION_COUNT = 0; | ||
221 | |||
222 | /** | ||
223 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AnnotationImpl <em>Annotation</em>}' class. | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AnnotationImpl | ||
227 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getAnnotation() | ||
228 | * @generated | ||
229 | */ | ||
230 | int ANNOTATION = 6; | ||
231 | |||
232 | /** | ||
233 | * The number of structural features of the '<em>Annotation</em>' class. | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @generated | ||
237 | * @ordered | ||
238 | */ | ||
239 | int ANNOTATION_FEATURE_COUNT = 0; | ||
240 | |||
241 | /** | ||
242 | * The number of operations of the '<em>Annotation</em>' class. | ||
243 | * <!-- begin-user-doc --> | ||
244 | * <!-- end-user-doc --> | ||
245 | * @generated | ||
246 | * @ordered | ||
247 | */ | ||
248 | int ANNOTATION_OPERATION_COUNT = 0; | ||
249 | |||
250 | /** | ||
251 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.RelationAnnotationImpl <em>Relation Annotation</em>}' class. | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.RelationAnnotationImpl | ||
255 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getRelationAnnotation() | ||
256 | * @generated | ||
257 | */ | ||
258 | int RELATION_ANNOTATION = 2; | ||
259 | |||
260 | /** | ||
261 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
262 | * <!-- begin-user-doc --> | ||
263 | * <!-- end-user-doc --> | ||
264 | * @generated | ||
265 | * @ordered | ||
266 | */ | ||
267 | int RELATION_ANNOTATION__TARGET = ANNOTATION_FEATURE_COUNT + 0; | ||
268 | |||
269 | /** | ||
270 | * The number of structural features of the '<em>Relation Annotation</em>' class. | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @generated | ||
274 | * @ordered | ||
275 | */ | ||
276 | int RELATION_ANNOTATION_FEATURE_COUNT = ANNOTATION_FEATURE_COUNT + 1; | ||
277 | |||
278 | /** | ||
279 | * The number of operations of the '<em>Relation Annotation</em>' class. | ||
280 | * <!-- begin-user-doc --> | ||
281 | * <!-- end-user-doc --> | ||
282 | * @generated | ||
283 | * @ordered | ||
284 | */ | ||
285 | int RELATION_ANNOTATION_OPERATION_COUNT = ANNOTATION_OPERATION_COUNT + 0; | ||
286 | |||
287 | /** | ||
288 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ConstantAnnotationImpl <em>Constant Annotation</em>}' class. | ||
289 | * <!-- begin-user-doc --> | ||
290 | * <!-- end-user-doc --> | ||
291 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ConstantAnnotationImpl | ||
292 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getConstantAnnotation() | ||
293 | * @generated | ||
294 | */ | ||
295 | int CONSTANT_ANNOTATION = 3; | ||
296 | |||
297 | /** | ||
298 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | * @ordered | ||
303 | */ | ||
304 | int CONSTANT_ANNOTATION__TARGET = ANNOTATION_FEATURE_COUNT + 0; | ||
305 | |||
306 | /** | ||
307 | * The number of structural features of the '<em>Constant Annotation</em>' class. | ||
308 | * <!-- begin-user-doc --> | ||
309 | * <!-- end-user-doc --> | ||
310 | * @generated | ||
311 | * @ordered | ||
312 | */ | ||
313 | int CONSTANT_ANNOTATION_FEATURE_COUNT = ANNOTATION_FEATURE_COUNT + 1; | ||
314 | |||
315 | /** | ||
316 | * The number of operations of the '<em>Constant Annotation</em>' class. | ||
317 | * <!-- begin-user-doc --> | ||
318 | * <!-- end-user-doc --> | ||
319 | * @generated | ||
320 | * @ordered | ||
321 | */ | ||
322 | int CONSTANT_ANNOTATION_OPERATION_COUNT = ANNOTATION_OPERATION_COUNT + 0; | ||
323 | |||
324 | /** | ||
325 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.FunctionAnnotationImpl <em>Function Annotation</em>}' class. | ||
326 | * <!-- begin-user-doc --> | ||
327 | * <!-- end-user-doc --> | ||
328 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.FunctionAnnotationImpl | ||
329 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getFunctionAnnotation() | ||
330 | * @generated | ||
331 | */ | ||
332 | int FUNCTION_ANNOTATION = 4; | ||
333 | |||
334 | /** | ||
335 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
336 | * <!-- begin-user-doc --> | ||
337 | * <!-- end-user-doc --> | ||
338 | * @generated | ||
339 | * @ordered | ||
340 | */ | ||
341 | int FUNCTION_ANNOTATION__TARGET = ANNOTATION_FEATURE_COUNT + 0; | ||
342 | |||
343 | /** | ||
344 | * The number of structural features of the '<em>Function Annotation</em>' class. | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | * @ordered | ||
349 | */ | ||
350 | int FUNCTION_ANNOTATION_FEATURE_COUNT = ANNOTATION_FEATURE_COUNT + 1; | ||
351 | |||
352 | /** | ||
353 | * The number of operations of the '<em>Function Annotation</em>' class. | ||
354 | * <!-- begin-user-doc --> | ||
355 | * <!-- end-user-doc --> | ||
356 | * @generated | ||
357 | * @ordered | ||
358 | */ | ||
359 | int FUNCTION_ANNOTATION_OPERATION_COUNT = ANNOTATION_OPERATION_COUNT + 0; | ||
360 | |||
361 | /** | ||
362 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotationImpl <em>Assertion Annotation</em>}' class. | ||
363 | * <!-- begin-user-doc --> | ||
364 | * <!-- end-user-doc --> | ||
365 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotationImpl | ||
366 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getAssertionAnnotation() | ||
367 | * @generated | ||
368 | */ | ||
369 | int ASSERTION_ANNOTATION = 5; | ||
370 | |||
371 | /** | ||
372 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
373 | * <!-- begin-user-doc --> | ||
374 | * <!-- end-user-doc --> | ||
375 | * @generated | ||
376 | * @ordered | ||
377 | */ | ||
378 | int ASSERTION_ANNOTATION__TARGET = ANNOTATION_FEATURE_COUNT + 0; | ||
379 | |||
380 | /** | ||
381 | * The number of structural features of the '<em>Assertion Annotation</em>' class. | ||
382 | * <!-- begin-user-doc --> | ||
383 | * <!-- end-user-doc --> | ||
384 | * @generated | ||
385 | * @ordered | ||
386 | */ | ||
387 | int ASSERTION_ANNOTATION_FEATURE_COUNT = ANNOTATION_FEATURE_COUNT + 1; | ||
388 | |||
389 | /** | ||
390 | * The number of operations of the '<em>Assertion Annotation</em>' class. | ||
391 | * <!-- begin-user-doc --> | ||
392 | * <!-- end-user-doc --> | ||
393 | * @generated | ||
394 | * @ordered | ||
395 | */ | ||
396 | int ASSERTION_ANNOTATION_OPERATION_COUNT = ANNOTATION_OPERATION_COUNT + 0; | ||
397 | |||
398 | /** | ||
399 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem <em>Logic Problem</em>}'. | ||
400 | * <!-- begin-user-doc --> | ||
401 | * <!-- end-user-doc --> | ||
402 | * @return the meta object for class '<em>Logic Problem</em>'. | ||
403 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem | ||
404 | * @generated | ||
405 | */ | ||
406 | EClass getLogicProblem(); | ||
407 | |||
408 | /** | ||
409 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getTypes <em>Types</em>}'. | ||
410 | * <!-- begin-user-doc --> | ||
411 | * <!-- end-user-doc --> | ||
412 | * @return the meta object for the containment reference list '<em>Types</em>'. | ||
413 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getTypes() | ||
414 | * @see #getLogicProblem() | ||
415 | * @generated | ||
416 | */ | ||
417 | EReference getLogicProblem_Types(); | ||
418 | |||
419 | /** | ||
420 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getFunctions <em>Functions</em>}'. | ||
421 | * <!-- begin-user-doc --> | ||
422 | * <!-- end-user-doc --> | ||
423 | * @return the meta object for the containment reference list '<em>Functions</em>'. | ||
424 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getFunctions() | ||
425 | * @see #getLogicProblem() | ||
426 | * @generated | ||
427 | */ | ||
428 | EReference getLogicProblem_Functions(); | ||
429 | |||
430 | /** | ||
431 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAssertions <em>Assertions</em>}'. | ||
432 | * <!-- begin-user-doc --> | ||
433 | * <!-- end-user-doc --> | ||
434 | * @return the meta object for the containment reference list '<em>Assertions</em>'. | ||
435 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAssertions() | ||
436 | * @see #getLogicProblem() | ||
437 | * @generated | ||
438 | */ | ||
439 | EReference getLogicProblem_Assertions(); | ||
440 | |||
441 | /** | ||
442 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getRelations <em>Relations</em>}'. | ||
443 | * <!-- begin-user-doc --> | ||
444 | * <!-- end-user-doc --> | ||
445 | * @return the meta object for the containment reference list '<em>Relations</em>'. | ||
446 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getRelations() | ||
447 | * @see #getLogicProblem() | ||
448 | * @generated | ||
449 | */ | ||
450 | EReference getLogicProblem_Relations(); | ||
451 | |||
452 | /** | ||
453 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getConstants <em>Constants</em>}'. | ||
454 | * <!-- begin-user-doc --> | ||
455 | * <!-- end-user-doc --> | ||
456 | * @return the meta object for the containment reference list '<em>Constants</em>'. | ||
457 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getConstants() | ||
458 | * @see #getLogicProblem() | ||
459 | * @generated | ||
460 | */ | ||
461 | EReference getLogicProblem_Constants(); | ||
462 | |||
463 | /** | ||
464 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getElements <em>Elements</em>}'. | ||
465 | * <!-- begin-user-doc --> | ||
466 | * <!-- end-user-doc --> | ||
467 | * @return the meta object for the containment reference list '<em>Elements</em>'. | ||
468 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getElements() | ||
469 | * @see #getLogicProblem() | ||
470 | * @generated | ||
471 | */ | ||
472 | EReference getLogicProblem_Elements(); | ||
473 | |||
474 | /** | ||
475 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getContainmentHierarchies <em>Containment Hierarchies</em>}'. | ||
476 | * <!-- begin-user-doc --> | ||
477 | * <!-- end-user-doc --> | ||
478 | * @return the meta object for the containment reference list '<em>Containment Hierarchies</em>'. | ||
479 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getContainmentHierarchies() | ||
480 | * @see #getLogicProblem() | ||
481 | * @generated | ||
482 | */ | ||
483 | EReference getLogicProblem_ContainmentHierarchies(); | ||
484 | |||
485 | /** | ||
486 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAnnotations <em>Annotations</em>}'. | ||
487 | * <!-- begin-user-doc --> | ||
488 | * <!-- end-user-doc --> | ||
489 | * @return the meta object for the containment reference list '<em>Annotations</em>'. | ||
490 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAnnotations() | ||
491 | * @see #getLogicProblem() | ||
492 | * @generated | ||
493 | */ | ||
494 | EReference getLogicProblem_Annotations(); | ||
495 | |||
496 | /** | ||
497 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy <em>Containment Hierarchy</em>}'. | ||
498 | * <!-- begin-user-doc --> | ||
499 | * <!-- end-user-doc --> | ||
500 | * @return the meta object for class '<em>Containment Hierarchy</em>'. | ||
501 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy | ||
502 | * @generated | ||
503 | */ | ||
504 | EClass getContainmentHierarchy(); | ||
505 | |||
506 | /** | ||
507 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getTypesOrderedInHierarchy <em>Types Ordered In Hierarchy</em>}'. | ||
508 | * <!-- begin-user-doc --> | ||
509 | * <!-- end-user-doc --> | ||
510 | * @return the meta object for the reference list '<em>Types Ordered In Hierarchy</em>'. | ||
511 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getTypesOrderedInHierarchy() | ||
512 | * @see #getContainmentHierarchy() | ||
513 | * @generated | ||
514 | */ | ||
515 | EReference getContainmentHierarchy_TypesOrderedInHierarchy(); | ||
516 | |||
517 | /** | ||
518 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentFunctions <em>Containment Functions</em>}'. | ||
519 | * <!-- begin-user-doc --> | ||
520 | * <!-- end-user-doc --> | ||
521 | * @return the meta object for the reference list '<em>Containment Functions</em>'. | ||
522 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentFunctions() | ||
523 | * @see #getContainmentHierarchy() | ||
524 | * @generated | ||
525 | */ | ||
526 | EReference getContainmentHierarchy_ContainmentFunctions(); | ||
527 | |||
528 | /** | ||
529 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentRelations <em>Containment Relations</em>}'. | ||
530 | * <!-- begin-user-doc --> | ||
531 | * <!-- end-user-doc --> | ||
532 | * @return the meta object for the reference list '<em>Containment Relations</em>'. | ||
533 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentRelations() | ||
534 | * @see #getContainmentHierarchy() | ||
535 | * @generated | ||
536 | */ | ||
537 | EReference getContainmentHierarchy_ContainmentRelations(); | ||
538 | |||
539 | /** | ||
540 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getRootConstant <em>Root Constant</em>}'. | ||
541 | * <!-- begin-user-doc --> | ||
542 | * <!-- end-user-doc --> | ||
543 | * @return the meta object for the reference '<em>Root Constant</em>'. | ||
544 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getRootConstant() | ||
545 | * @see #getContainmentHierarchy() | ||
546 | * @generated | ||
547 | */ | ||
548 | EReference getContainmentHierarchy_RootConstant(); | ||
549 | |||
550 | /** | ||
551 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation <em>Relation Annotation</em>}'. | ||
552 | * <!-- begin-user-doc --> | ||
553 | * <!-- end-user-doc --> | ||
554 | * @return the meta object for class '<em>Relation Annotation</em>'. | ||
555 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation | ||
556 | * @generated | ||
557 | */ | ||
558 | EClass getRelationAnnotation(); | ||
559 | |||
560 | /** | ||
561 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget <em>Target</em>}'. | ||
562 | * <!-- begin-user-doc --> | ||
563 | * <!-- end-user-doc --> | ||
564 | * @return the meta object for the reference '<em>Target</em>'. | ||
565 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget() | ||
566 | * @see #getRelationAnnotation() | ||
567 | * @generated | ||
568 | */ | ||
569 | EReference getRelationAnnotation_Target(); | ||
570 | |||
571 | /** | ||
572 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation <em>Constant Annotation</em>}'. | ||
573 | * <!-- begin-user-doc --> | ||
574 | * <!-- end-user-doc --> | ||
575 | * @return the meta object for class '<em>Constant Annotation</em>'. | ||
576 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation | ||
577 | * @generated | ||
578 | */ | ||
579 | EClass getConstantAnnotation(); | ||
580 | |||
581 | /** | ||
582 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget <em>Target</em>}'. | ||
583 | * <!-- begin-user-doc --> | ||
584 | * <!-- end-user-doc --> | ||
585 | * @return the meta object for the reference '<em>Target</em>'. | ||
586 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget() | ||
587 | * @see #getConstantAnnotation() | ||
588 | * @generated | ||
589 | */ | ||
590 | EReference getConstantAnnotation_Target(); | ||
591 | |||
592 | /** | ||
593 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation <em>Function Annotation</em>}'. | ||
594 | * <!-- begin-user-doc --> | ||
595 | * <!-- end-user-doc --> | ||
596 | * @return the meta object for class '<em>Function Annotation</em>'. | ||
597 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation | ||
598 | * @generated | ||
599 | */ | ||
600 | EClass getFunctionAnnotation(); | ||
601 | |||
602 | /** | ||
603 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget <em>Target</em>}'. | ||
604 | * <!-- begin-user-doc --> | ||
605 | * <!-- end-user-doc --> | ||
606 | * @return the meta object for the reference '<em>Target</em>'. | ||
607 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget() | ||
608 | * @see #getFunctionAnnotation() | ||
609 | * @generated | ||
610 | */ | ||
611 | EReference getFunctionAnnotation_Target(); | ||
612 | |||
613 | /** | ||
614 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation <em>Assertion Annotation</em>}'. | ||
615 | * <!-- begin-user-doc --> | ||
616 | * <!-- end-user-doc --> | ||
617 | * @return the meta object for class '<em>Assertion Annotation</em>'. | ||
618 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation | ||
619 | * @generated | ||
620 | */ | ||
621 | EClass getAssertionAnnotation(); | ||
622 | |||
623 | /** | ||
624 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget <em>Target</em>}'. | ||
625 | * <!-- begin-user-doc --> | ||
626 | * <!-- end-user-doc --> | ||
627 | * @return the meta object for the reference '<em>Target</em>'. | ||
628 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget() | ||
629 | * @see #getAssertionAnnotation() | ||
630 | * @generated | ||
631 | */ | ||
632 | EReference getAssertionAnnotation_Target(); | ||
633 | |||
634 | /** | ||
635 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation <em>Annotation</em>}'. | ||
636 | * <!-- begin-user-doc --> | ||
637 | * <!-- end-user-doc --> | ||
638 | * @return the meta object for class '<em>Annotation</em>'. | ||
639 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation | ||
640 | * @generated | ||
641 | */ | ||
642 | EClass getAnnotation(); | ||
643 | |||
644 | /** | ||
645 | * Returns the factory that creates the instances of the model. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * <!-- end-user-doc --> | ||
648 | * @return the factory that creates the instances of the model. | ||
649 | * @generated | ||
650 | */ | ||
651 | LogicproblemFactory getLogicproblemFactory(); | ||
652 | |||
653 | /** | ||
654 | * <!-- begin-user-doc --> | ||
655 | * Defines literals for the meta objects that represent | ||
656 | * <ul> | ||
657 | * <li>each class,</li> | ||
658 | * <li>each feature of each class,</li> | ||
659 | * <li>each operation of each class,</li> | ||
660 | * <li>each enum,</li> | ||
661 | * <li>and each data type</li> | ||
662 | * </ul> | ||
663 | * <!-- end-user-doc --> | ||
664 | * @generated | ||
665 | */ | ||
666 | interface Literals { | ||
667 | /** | ||
668 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl <em>Logic Problem</em>}' class. | ||
669 | * <!-- begin-user-doc --> | ||
670 | * <!-- end-user-doc --> | ||
671 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl | ||
672 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getLogicProblem() | ||
673 | * @generated | ||
674 | */ | ||
675 | EClass LOGIC_PROBLEM = eINSTANCE.getLogicProblem(); | ||
676 | |||
677 | /** | ||
678 | * The meta object literal for the '<em><b>Types</b></em>' containment reference list feature. | ||
679 | * <!-- begin-user-doc --> | ||
680 | * <!-- end-user-doc --> | ||
681 | * @generated | ||
682 | */ | ||
683 | EReference LOGIC_PROBLEM__TYPES = eINSTANCE.getLogicProblem_Types(); | ||
684 | |||
685 | /** | ||
686 | * The meta object literal for the '<em><b>Functions</b></em>' containment reference list feature. | ||
687 | * <!-- begin-user-doc --> | ||
688 | * <!-- end-user-doc --> | ||
689 | * @generated | ||
690 | */ | ||
691 | EReference LOGIC_PROBLEM__FUNCTIONS = eINSTANCE.getLogicProblem_Functions(); | ||
692 | |||
693 | /** | ||
694 | * The meta object literal for the '<em><b>Assertions</b></em>' containment reference list feature. | ||
695 | * <!-- begin-user-doc --> | ||
696 | * <!-- end-user-doc --> | ||
697 | * @generated | ||
698 | */ | ||
699 | EReference LOGIC_PROBLEM__ASSERTIONS = eINSTANCE.getLogicProblem_Assertions(); | ||
700 | |||
701 | /** | ||
702 | * The meta object literal for the '<em><b>Relations</b></em>' containment reference list feature. | ||
703 | * <!-- begin-user-doc --> | ||
704 | * <!-- end-user-doc --> | ||
705 | * @generated | ||
706 | */ | ||
707 | EReference LOGIC_PROBLEM__RELATIONS = eINSTANCE.getLogicProblem_Relations(); | ||
708 | |||
709 | /** | ||
710 | * The meta object literal for the '<em><b>Constants</b></em>' containment reference list feature. | ||
711 | * <!-- begin-user-doc --> | ||
712 | * <!-- end-user-doc --> | ||
713 | * @generated | ||
714 | */ | ||
715 | EReference LOGIC_PROBLEM__CONSTANTS = eINSTANCE.getLogicProblem_Constants(); | ||
716 | |||
717 | /** | ||
718 | * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature. | ||
719 | * <!-- begin-user-doc --> | ||
720 | * <!-- end-user-doc --> | ||
721 | * @generated | ||
722 | */ | ||
723 | EReference LOGIC_PROBLEM__ELEMENTS = eINSTANCE.getLogicProblem_Elements(); | ||
724 | |||
725 | /** | ||
726 | * The meta object literal for the '<em><b>Containment Hierarchies</b></em>' containment reference list feature. | ||
727 | * <!-- begin-user-doc --> | ||
728 | * <!-- end-user-doc --> | ||
729 | * @generated | ||
730 | */ | ||
731 | EReference LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES = eINSTANCE.getLogicProblem_ContainmentHierarchies(); | ||
732 | |||
733 | /** | ||
734 | * The meta object literal for the '<em><b>Annotations</b></em>' containment reference list feature. | ||
735 | * <!-- begin-user-doc --> | ||
736 | * <!-- end-user-doc --> | ||
737 | * @generated | ||
738 | */ | ||
739 | EReference LOGIC_PROBLEM__ANNOTATIONS = eINSTANCE.getLogicProblem_Annotations(); | ||
740 | |||
741 | /** | ||
742 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl <em>Containment Hierarchy</em>}' class. | ||
743 | * <!-- begin-user-doc --> | ||
744 | * <!-- end-user-doc --> | ||
745 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl | ||
746 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getContainmentHierarchy() | ||
747 | * @generated | ||
748 | */ | ||
749 | EClass CONTAINMENT_HIERARCHY = eINSTANCE.getContainmentHierarchy(); | ||
750 | |||
751 | /** | ||
752 | * The meta object literal for the '<em><b>Types Ordered In Hierarchy</b></em>' reference list feature. | ||
753 | * <!-- begin-user-doc --> | ||
754 | * <!-- end-user-doc --> | ||
755 | * @generated | ||
756 | */ | ||
757 | EReference CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY = eINSTANCE.getContainmentHierarchy_TypesOrderedInHierarchy(); | ||
758 | |||
759 | /** | ||
760 | * The meta object literal for the '<em><b>Containment Functions</b></em>' reference list feature. | ||
761 | * <!-- begin-user-doc --> | ||
762 | * <!-- end-user-doc --> | ||
763 | * @generated | ||
764 | */ | ||
765 | EReference CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS = eINSTANCE.getContainmentHierarchy_ContainmentFunctions(); | ||
766 | |||
767 | /** | ||
768 | * The meta object literal for the '<em><b>Containment Relations</b></em>' reference list feature. | ||
769 | * <!-- begin-user-doc --> | ||
770 | * <!-- end-user-doc --> | ||
771 | * @generated | ||
772 | */ | ||
773 | EReference CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS = eINSTANCE.getContainmentHierarchy_ContainmentRelations(); | ||
774 | |||
775 | /** | ||
776 | * The meta object literal for the '<em><b>Root Constant</b></em>' reference feature. | ||
777 | * <!-- begin-user-doc --> | ||
778 | * <!-- end-user-doc --> | ||
779 | * @generated | ||
780 | */ | ||
781 | EReference CONTAINMENT_HIERARCHY__ROOT_CONSTANT = eINSTANCE.getContainmentHierarchy_RootConstant(); | ||
782 | |||
783 | /** | ||
784 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.RelationAnnotationImpl <em>Relation Annotation</em>}' class. | ||
785 | * <!-- begin-user-doc --> | ||
786 | * <!-- end-user-doc --> | ||
787 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.RelationAnnotationImpl | ||
788 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getRelationAnnotation() | ||
789 | * @generated | ||
790 | */ | ||
791 | EClass RELATION_ANNOTATION = eINSTANCE.getRelationAnnotation(); | ||
792 | |||
793 | /** | ||
794 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
795 | * <!-- begin-user-doc --> | ||
796 | * <!-- end-user-doc --> | ||
797 | * @generated | ||
798 | */ | ||
799 | EReference RELATION_ANNOTATION__TARGET = eINSTANCE.getRelationAnnotation_Target(); | ||
800 | |||
801 | /** | ||
802 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ConstantAnnotationImpl <em>Constant Annotation</em>}' class. | ||
803 | * <!-- begin-user-doc --> | ||
804 | * <!-- end-user-doc --> | ||
805 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ConstantAnnotationImpl | ||
806 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getConstantAnnotation() | ||
807 | * @generated | ||
808 | */ | ||
809 | EClass CONSTANT_ANNOTATION = eINSTANCE.getConstantAnnotation(); | ||
810 | |||
811 | /** | ||
812 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
813 | * <!-- begin-user-doc --> | ||
814 | * <!-- end-user-doc --> | ||
815 | * @generated | ||
816 | */ | ||
817 | EReference CONSTANT_ANNOTATION__TARGET = eINSTANCE.getConstantAnnotation_Target(); | ||
818 | |||
819 | /** | ||
820 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.FunctionAnnotationImpl <em>Function Annotation</em>}' class. | ||
821 | * <!-- begin-user-doc --> | ||
822 | * <!-- end-user-doc --> | ||
823 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.FunctionAnnotationImpl | ||
824 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getFunctionAnnotation() | ||
825 | * @generated | ||
826 | */ | ||
827 | EClass FUNCTION_ANNOTATION = eINSTANCE.getFunctionAnnotation(); | ||
828 | |||
829 | /** | ||
830 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
831 | * <!-- begin-user-doc --> | ||
832 | * <!-- end-user-doc --> | ||
833 | * @generated | ||
834 | */ | ||
835 | EReference FUNCTION_ANNOTATION__TARGET = eINSTANCE.getFunctionAnnotation_Target(); | ||
836 | |||
837 | /** | ||
838 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotationImpl <em>Assertion Annotation</em>}' class. | ||
839 | * <!-- begin-user-doc --> | ||
840 | * <!-- end-user-doc --> | ||
841 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotationImpl | ||
842 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getAssertionAnnotation() | ||
843 | * @generated | ||
844 | */ | ||
845 | EClass ASSERTION_ANNOTATION = eINSTANCE.getAssertionAnnotation(); | ||
846 | |||
847 | /** | ||
848 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
849 | * <!-- begin-user-doc --> | ||
850 | * <!-- end-user-doc --> | ||
851 | * @generated | ||
852 | */ | ||
853 | EReference ASSERTION_ANNOTATION__TARGET = eINSTANCE.getAssertionAnnotation_Target(); | ||
854 | |||
855 | /** | ||
856 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AnnotationImpl <em>Annotation</em>}' class. | ||
857 | * <!-- begin-user-doc --> | ||
858 | * <!-- end-user-doc --> | ||
859 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AnnotationImpl | ||
860 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getAnnotation() | ||
861 | * @generated | ||
862 | */ | ||
863 | EClass ANNOTATION = eINSTANCE.getAnnotation(); | ||
864 | |||
865 | } | ||
866 | |||
867 | } //LogicproblemPackage | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/RelationAnnotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/RelationAnnotation.java new file mode 100644 index 00000000..588a8c10 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/RelationAnnotation.java | |||
@@ -0,0 +1,52 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Relation Annotation</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.logic.model.logicproblem.RelationAnnotation#getTarget <em>Target</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getRelationAnnotation() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface RelationAnnotation extends Annotation { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
26 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations <em>Annotations</em>}'. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Target</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>Target</em>' reference. | ||
34 | * @see #setTarget(Relation) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getRelationAnnotation_Target() | ||
36 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations | ||
37 | * @model opposite="annotations" required="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | Relation getTarget(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget <em>Target</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Target</em>' reference. | ||
47 | * @see #getTarget() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setTarget(Relation value); | ||
51 | |||
52 | } // RelationAnnotation | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AnnotationImpl.java new file mode 100644 index 00000000..365aa206 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AnnotationImpl.java | |||
@@ -0,0 +1,39 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>Annotation</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class AnnotationImpl extends MinimalEObjectImpl.Container implements Annotation { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected AnnotationImpl() { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() { | ||
36 | return LogicproblemPackage.Literals.ANNOTATION; | ||
37 | } | ||
38 | |||
39 | } //AnnotationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AssertionAnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AssertionAnnotationImpl.java new file mode 100644 index 00000000..1e015974 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AssertionAnnotationImpl.java | |||
@@ -0,0 +1,211 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; | ||
6 | |||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Notification; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | import org.eclipse.emf.ecore.EClass; | ||
15 | import org.eclipse.emf.ecore.InternalEObject; | ||
16 | |||
17 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Assertion Annotation</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.logic.model.logicproblem.impl.AssertionAnnotationImpl#getTarget <em>Target</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class AssertionAnnotationImpl extends AnnotationImpl implements AssertionAnnotation { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getTarget() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Assertion target; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected AssertionAnnotationImpl() { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() { | ||
59 | return LogicproblemPackage.Literals.ASSERTION_ANNOTATION; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | public Assertion getTarget() { | ||
68 | if (target != null && target.eIsProxy()) { | ||
69 | InternalEObject oldTarget = (InternalEObject)target; | ||
70 | target = (Assertion)eResolveProxy(oldTarget); | ||
71 | if (target != oldTarget) { | ||
72 | if (eNotificationRequired()) | ||
73 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.ASSERTION_ANNOTATION__TARGET, oldTarget, target)); | ||
74 | } | ||
75 | } | ||
76 | return target; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | public Assertion basicGetTarget() { | ||
85 | return target; | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | public NotificationChain basicSetTarget(Assertion newTarget, NotificationChain msgs) { | ||
94 | Assertion oldTarget = target; | ||
95 | target = newTarget; | ||
96 | if (eNotificationRequired()) { | ||
97 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicproblemPackage.ASSERTION_ANNOTATION__TARGET, oldTarget, newTarget); | ||
98 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
99 | } | ||
100 | return msgs; | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | public void setTarget(Assertion newTarget) { | ||
109 | if (newTarget != target) { | ||
110 | NotificationChain msgs = null; | ||
111 | if (target != null) | ||
112 | msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.ASSERTION__ANNOTATIONS, Assertion.class, msgs); | ||
113 | if (newTarget != null) | ||
114 | msgs = ((InternalEObject)newTarget).eInverseAdd(this, LogiclanguagePackage.ASSERTION__ANNOTATIONS, Assertion.class, msgs); | ||
115 | msgs = basicSetTarget(newTarget, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.ASSERTION_ANNOTATION__TARGET, newTarget, newTarget)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
129 | switch (featureID) { | ||
130 | case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: | ||
131 | if (target != null) | ||
132 | msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.ASSERTION__ANNOTATIONS, Assertion.class, msgs); | ||
133 | return basicSetTarget((Assertion)otherEnd, msgs); | ||
134 | } | ||
135 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
145 | switch (featureID) { | ||
146 | case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: | ||
147 | return basicSetTarget(null, msgs); | ||
148 | } | ||
149 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | */ | ||
157 | @Override | ||
158 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
159 | switch (featureID) { | ||
160 | case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: | ||
161 | if (resolve) return getTarget(); | ||
162 | return basicGetTarget(); | ||
163 | } | ||
164 | return super.eGet(featureID, resolve, coreType); | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | @Override | ||
173 | public void eSet(int featureID, Object newValue) { | ||
174 | switch (featureID) { | ||
175 | case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: | ||
176 | setTarget((Assertion)newValue); | ||
177 | return; | ||
178 | } | ||
179 | super.eSet(featureID, newValue); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | @Override | ||
188 | public void eUnset(int featureID) { | ||
189 | switch (featureID) { | ||
190 | case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: | ||
191 | setTarget((Assertion)null); | ||
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 | switch (featureID) { | ||
205 | case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: | ||
206 | return target != null; | ||
207 | } | ||
208 | return super.eIsSet(featureID); | ||
209 | } | ||
210 | |||
211 | } //AssertionAnnotationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ConstantAnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ConstantAnnotationImpl.java new file mode 100644 index 00000000..734ce70c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ConstantAnnotationImpl.java | |||
@@ -0,0 +1,211 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; | ||
6 | |||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Notification; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | import org.eclipse.emf.ecore.EClass; | ||
15 | import org.eclipse.emf.ecore.InternalEObject; | ||
16 | |||
17 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Constant Annotation</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.logic.model.logicproblem.impl.ConstantAnnotationImpl#getTarget <em>Target</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class ConstantAnnotationImpl extends AnnotationImpl implements ConstantAnnotation { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getTarget() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Constant target; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected ConstantAnnotationImpl() { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() { | ||
59 | return LogicproblemPackage.Literals.CONSTANT_ANNOTATION; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | public Constant getTarget() { | ||
68 | if (target != null && target.eIsProxy()) { | ||
69 | InternalEObject oldTarget = (InternalEObject)target; | ||
70 | target = (Constant)eResolveProxy(oldTarget); | ||
71 | if (target != oldTarget) { | ||
72 | if (eNotificationRequired()) | ||
73 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.CONSTANT_ANNOTATION__TARGET, oldTarget, target)); | ||
74 | } | ||
75 | } | ||
76 | return target; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | public Constant basicGetTarget() { | ||
85 | return target; | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | public NotificationChain basicSetTarget(Constant newTarget, NotificationChain msgs) { | ||
94 | Constant oldTarget = target; | ||
95 | target = newTarget; | ||
96 | if (eNotificationRequired()) { | ||
97 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicproblemPackage.CONSTANT_ANNOTATION__TARGET, oldTarget, newTarget); | ||
98 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
99 | } | ||
100 | return msgs; | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | public void setTarget(Constant newTarget) { | ||
109 | if (newTarget != target) { | ||
110 | NotificationChain msgs = null; | ||
111 | if (target != null) | ||
112 | msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.CONSTANT__ANNOTATIONS, Constant.class, msgs); | ||
113 | if (newTarget != null) | ||
114 | msgs = ((InternalEObject)newTarget).eInverseAdd(this, LogiclanguagePackage.CONSTANT__ANNOTATIONS, Constant.class, msgs); | ||
115 | msgs = basicSetTarget(newTarget, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.CONSTANT_ANNOTATION__TARGET, newTarget, newTarget)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
129 | switch (featureID) { | ||
130 | case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: | ||
131 | if (target != null) | ||
132 | msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.CONSTANT__ANNOTATIONS, Constant.class, msgs); | ||
133 | return basicSetTarget((Constant)otherEnd, msgs); | ||
134 | } | ||
135 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
145 | switch (featureID) { | ||
146 | case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: | ||
147 | return basicSetTarget(null, msgs); | ||
148 | } | ||
149 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | */ | ||
157 | @Override | ||
158 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
159 | switch (featureID) { | ||
160 | case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: | ||
161 | if (resolve) return getTarget(); | ||
162 | return basicGetTarget(); | ||
163 | } | ||
164 | return super.eGet(featureID, resolve, coreType); | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | @Override | ||
173 | public void eSet(int featureID, Object newValue) { | ||
174 | switch (featureID) { | ||
175 | case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: | ||
176 | setTarget((Constant)newValue); | ||
177 | return; | ||
178 | } | ||
179 | super.eSet(featureID, newValue); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | @Override | ||
188 | public void eUnset(int featureID) { | ||
189 | switch (featureID) { | ||
190 | case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: | ||
191 | setTarget((Constant)null); | ||
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 | switch (featureID) { | ||
205 | case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: | ||
206 | return target != null; | ||
207 | } | ||
208 | return super.eIsSet(featureID); | ||
209 | } | ||
210 | |||
211 | } //ConstantAnnotationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ContainmentHierarchyImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ContainmentHierarchyImpl.java new file mode 100644 index 00000000..909f49a5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ContainmentHierarchyImpl.java | |||
@@ -0,0 +1,270 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; | ||
9 | |||
10 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy; | ||
11 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
12 | |||
13 | import java.util.Collection; | ||
14 | |||
15 | import org.eclipse.emf.common.notify.Notification; | ||
16 | |||
17 | import org.eclipse.emf.common.util.EList; | ||
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 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
24 | |||
25 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * An implementation of the model object '<em><b>Containment Hierarchy</b></em>'. | ||
30 | * <!-- end-user-doc --> | ||
31 | * <p> | ||
32 | * The following features are implemented: | ||
33 | * </p> | ||
34 | * <ul> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl#getTypesOrderedInHierarchy <em>Types Ordered In Hierarchy</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl#getContainmentFunctions <em>Containment Functions</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl#getContainmentRelations <em>Containment Relations</em>}</li> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl#getRootConstant <em>Root Constant</em>}</li> | ||
39 | * </ul> | ||
40 | * | ||
41 | * @generated | ||
42 | */ | ||
43 | public class ContainmentHierarchyImpl extends MinimalEObjectImpl.Container implements ContainmentHierarchy { | ||
44 | /** | ||
45 | * The cached value of the '{@link #getTypesOrderedInHierarchy() <em>Types Ordered In Hierarchy</em>}' reference list. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getTypesOrderedInHierarchy() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected EList<Type> typesOrderedInHierarchy; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getContainmentFunctions() <em>Containment Functions</em>}' reference list. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getContainmentFunctions() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected EList<Function> containmentFunctions; | ||
63 | |||
64 | /** | ||
65 | * The cached value of the '{@link #getContainmentRelations() <em>Containment Relations</em>}' reference list. | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @see #getContainmentRelations() | ||
69 | * @generated | ||
70 | * @ordered | ||
71 | */ | ||
72 | protected EList<Relation> containmentRelations; | ||
73 | |||
74 | /** | ||
75 | * The cached value of the '{@link #getRootConstant() <em>Root Constant</em>}' reference. | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @see #getRootConstant() | ||
79 | * @generated | ||
80 | * @ordered | ||
81 | */ | ||
82 | protected Constant rootConstant; | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | protected ContainmentHierarchyImpl() { | ||
90 | super(); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | protected EClass eStaticClass() { | ||
100 | return LogicproblemPackage.Literals.CONTAINMENT_HIERARCHY; | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | public EList<Type> getTypesOrderedInHierarchy() { | ||
109 | if (typesOrderedInHierarchy == null) { | ||
110 | typesOrderedInHierarchy = new EObjectResolvingEList<Type>(Type.class, this, LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY); | ||
111 | } | ||
112 | return typesOrderedInHierarchy; | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | public EList<Function> getContainmentFunctions() { | ||
121 | if (containmentFunctions == null) { | ||
122 | containmentFunctions = new EObjectResolvingEList<Function>(Function.class, this, LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS); | ||
123 | } | ||
124 | return containmentFunctions; | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | public EList<Relation> getContainmentRelations() { | ||
133 | if (containmentRelations == null) { | ||
134 | containmentRelations = new EObjectResolvingEList<Relation>(Relation.class, this, LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS); | ||
135 | } | ||
136 | return containmentRelations; | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | public Constant getRootConstant() { | ||
145 | if (rootConstant != null && rootConstant.eIsProxy()) { | ||
146 | InternalEObject oldRootConstant = (InternalEObject)rootConstant; | ||
147 | rootConstant = (Constant)eResolveProxy(oldRootConstant); | ||
148 | if (rootConstant != oldRootConstant) { | ||
149 | if (eNotificationRequired()) | ||
150 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT, oldRootConstant, rootConstant)); | ||
151 | } | ||
152 | } | ||
153 | return rootConstant; | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | public Constant basicGetRootConstant() { | ||
162 | return rootConstant; | ||
163 | } | ||
164 | |||
165 | /** | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | public void setRootConstant(Constant newRootConstant) { | ||
171 | Constant oldRootConstant = rootConstant; | ||
172 | rootConstant = newRootConstant; | ||
173 | if (eNotificationRequired()) | ||
174 | eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT, oldRootConstant, rootConstant)); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
184 | switch (featureID) { | ||
185 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY: | ||
186 | return getTypesOrderedInHierarchy(); | ||
187 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS: | ||
188 | return getContainmentFunctions(); | ||
189 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS: | ||
190 | return getContainmentRelations(); | ||
191 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT: | ||
192 | if (resolve) return getRootConstant(); | ||
193 | return basicGetRootConstant(); | ||
194 | } | ||
195 | return super.eGet(featureID, resolve, coreType); | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | @SuppressWarnings("unchecked") | ||
204 | @Override | ||
205 | public void eSet(int featureID, Object newValue) { | ||
206 | switch (featureID) { | ||
207 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY: | ||
208 | getTypesOrderedInHierarchy().clear(); | ||
209 | getTypesOrderedInHierarchy().addAll((Collection<? extends Type>)newValue); | ||
210 | return; | ||
211 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS: | ||
212 | getContainmentFunctions().clear(); | ||
213 | getContainmentFunctions().addAll((Collection<? extends Function>)newValue); | ||
214 | return; | ||
215 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS: | ||
216 | getContainmentRelations().clear(); | ||
217 | getContainmentRelations().addAll((Collection<? extends Relation>)newValue); | ||
218 | return; | ||
219 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT: | ||
220 | setRootConstant((Constant)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) { | ||
233 | switch (featureID) { | ||
234 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY: | ||
235 | getTypesOrderedInHierarchy().clear(); | ||
236 | return; | ||
237 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS: | ||
238 | getContainmentFunctions().clear(); | ||
239 | return; | ||
240 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS: | ||
241 | getContainmentRelations().clear(); | ||
242 | return; | ||
243 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT: | ||
244 | setRootConstant((Constant)null); | ||
245 | return; | ||
246 | } | ||
247 | super.eUnset(featureID); | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * <!-- begin-user-doc --> | ||
252 | * <!-- end-user-doc --> | ||
253 | * @generated | ||
254 | */ | ||
255 | @Override | ||
256 | public boolean eIsSet(int featureID) { | ||
257 | switch (featureID) { | ||
258 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY: | ||
259 | return typesOrderedInHierarchy != null && !typesOrderedInHierarchy.isEmpty(); | ||
260 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS: | ||
261 | return containmentFunctions != null && !containmentFunctions.isEmpty(); | ||
262 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS: | ||
263 | return containmentRelations != null && !containmentRelations.isEmpty(); | ||
264 | case LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT: | ||
265 | return rootConstant != null; | ||
266 | } | ||
267 | return super.eIsSet(featureID); | ||
268 | } | ||
269 | |||
270 | } //ContainmentHierarchyImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/FunctionAnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/FunctionAnnotationImpl.java new file mode 100644 index 00000000..77ee58c2 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/FunctionAnnotationImpl.java | |||
@@ -0,0 +1,211 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; | ||
6 | |||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Notification; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | import org.eclipse.emf.ecore.EClass; | ||
15 | import org.eclipse.emf.ecore.InternalEObject; | ||
16 | |||
17 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Function Annotation</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.logic.model.logicproblem.impl.FunctionAnnotationImpl#getTarget <em>Target</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class FunctionAnnotationImpl extends AnnotationImpl implements FunctionAnnotation { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getTarget() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Function target; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected FunctionAnnotationImpl() { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() { | ||
59 | return LogicproblemPackage.Literals.FUNCTION_ANNOTATION; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | public Function getTarget() { | ||
68 | if (target != null && target.eIsProxy()) { | ||
69 | InternalEObject oldTarget = (InternalEObject)target; | ||
70 | target = (Function)eResolveProxy(oldTarget); | ||
71 | if (target != oldTarget) { | ||
72 | if (eNotificationRequired()) | ||
73 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.FUNCTION_ANNOTATION__TARGET, oldTarget, target)); | ||
74 | } | ||
75 | } | ||
76 | return target; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | public Function basicGetTarget() { | ||
85 | return target; | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | public NotificationChain basicSetTarget(Function newTarget, NotificationChain msgs) { | ||
94 | Function oldTarget = target; | ||
95 | target = newTarget; | ||
96 | if (eNotificationRequired()) { | ||
97 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicproblemPackage.FUNCTION_ANNOTATION__TARGET, oldTarget, newTarget); | ||
98 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
99 | } | ||
100 | return msgs; | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | public void setTarget(Function newTarget) { | ||
109 | if (newTarget != target) { | ||
110 | NotificationChain msgs = null; | ||
111 | if (target != null) | ||
112 | msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.FUNCTION__ANNOTATIONS, Function.class, msgs); | ||
113 | if (newTarget != null) | ||
114 | msgs = ((InternalEObject)newTarget).eInverseAdd(this, LogiclanguagePackage.FUNCTION__ANNOTATIONS, Function.class, msgs); | ||
115 | msgs = basicSetTarget(newTarget, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.FUNCTION_ANNOTATION__TARGET, newTarget, newTarget)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
129 | switch (featureID) { | ||
130 | case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: | ||
131 | if (target != null) | ||
132 | msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.FUNCTION__ANNOTATIONS, Function.class, msgs); | ||
133 | return basicSetTarget((Function)otherEnd, msgs); | ||
134 | } | ||
135 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
145 | switch (featureID) { | ||
146 | case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: | ||
147 | return basicSetTarget(null, msgs); | ||
148 | } | ||
149 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | */ | ||
157 | @Override | ||
158 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
159 | switch (featureID) { | ||
160 | case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: | ||
161 | if (resolve) return getTarget(); | ||
162 | return basicGetTarget(); | ||
163 | } | ||
164 | return super.eGet(featureID, resolve, coreType); | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | @Override | ||
173 | public void eSet(int featureID, Object newValue) { | ||
174 | switch (featureID) { | ||
175 | case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: | ||
176 | setTarget((Function)newValue); | ||
177 | return; | ||
178 | } | ||
179 | super.eSet(featureID, newValue); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | @Override | ||
188 | public void eUnset(int featureID) { | ||
189 | switch (featureID) { | ||
190 | case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: | ||
191 | setTarget((Function)null); | ||
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 | switch (featureID) { | ||
205 | case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: | ||
206 | return target != null; | ||
207 | } | ||
208 | return super.eIsSet(featureID); | ||
209 | } | ||
210 | |||
211 | } //FunctionAnnotationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicProblemImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicProblemImpl.java new file mode 100644 index 00000000..70b31163 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicProblemImpl.java | |||
@@ -0,0 +1,411 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | ||
10 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; | ||
11 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation; | ||
12 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy; | ||
13 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; | ||
14 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
15 | |||
16 | import java.util.Collection; | ||
17 | |||
18 | import org.eclipse.emf.common.notify.NotificationChain; | ||
19 | |||
20 | import org.eclipse.emf.common.util.EList; | ||
21 | |||
22 | import org.eclipse.emf.ecore.EClass; | ||
23 | import org.eclipse.emf.ecore.InternalEObject; | ||
24 | |||
25 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
26 | |||
27 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
28 | import org.eclipse.emf.ecore.util.InternalEList; | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * An implementation of the model object '<em><b>Logic Problem</b></em>'. | ||
33 | * <!-- end-user-doc --> | ||
34 | * <p> | ||
35 | * The following features are implemented: | ||
36 | * </p> | ||
37 | * <ul> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getTypes <em>Types</em>}</li> | ||
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getFunctions <em>Functions</em>}</li> | ||
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getAssertions <em>Assertions</em>}</li> | ||
41 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getRelations <em>Relations</em>}</li> | ||
42 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getConstants <em>Constants</em>}</li> | ||
43 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getElements <em>Elements</em>}</li> | ||
44 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getContainmentHierarchies <em>Containment Hierarchies</em>}</li> | ||
45 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getAnnotations <em>Annotations</em>}</li> | ||
46 | * </ul> | ||
47 | * | ||
48 | * @generated | ||
49 | */ | ||
50 | public class LogicProblemImpl extends MinimalEObjectImpl.Container implements LogicProblem { | ||
51 | /** | ||
52 | * The cached value of the '{@link #getTypes() <em>Types</em>}' containment reference list. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getTypes() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected EList<Type> types; | ||
60 | |||
61 | /** | ||
62 | * The cached value of the '{@link #getFunctions() <em>Functions</em>}' containment reference list. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @see #getFunctions() | ||
66 | * @generated | ||
67 | * @ordered | ||
68 | */ | ||
69 | protected EList<Function> functions; | ||
70 | |||
71 | /** | ||
72 | * The cached value of the '{@link #getAssertions() <em>Assertions</em>}' containment reference list. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @see #getAssertions() | ||
76 | * @generated | ||
77 | * @ordered | ||
78 | */ | ||
79 | protected EList<Assertion> assertions; | ||
80 | |||
81 | /** | ||
82 | * The cached value of the '{@link #getRelations() <em>Relations</em>}' containment reference list. | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @see #getRelations() | ||
86 | * @generated | ||
87 | * @ordered | ||
88 | */ | ||
89 | protected EList<Relation> relations; | ||
90 | |||
91 | /** | ||
92 | * The cached value of the '{@link #getConstants() <em>Constants</em>}' containment reference list. | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @see #getConstants() | ||
96 | * @generated | ||
97 | * @ordered | ||
98 | */ | ||
99 | protected EList<Constant> constants; | ||
100 | |||
101 | /** | ||
102 | * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @see #getElements() | ||
106 | * @generated | ||
107 | * @ordered | ||
108 | */ | ||
109 | protected EList<DefinedElement> elements; | ||
110 | |||
111 | /** | ||
112 | * The cached value of the '{@link #getContainmentHierarchies() <em>Containment Hierarchies</em>}' containment reference list. | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @see #getContainmentHierarchies() | ||
116 | * @generated | ||
117 | * @ordered | ||
118 | */ | ||
119 | protected EList<ContainmentHierarchy> containmentHierarchies; | ||
120 | |||
121 | /** | ||
122 | * The cached value of the '{@link #getAnnotations() <em>Annotations</em>}' containment reference list. | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @see #getAnnotations() | ||
126 | * @generated | ||
127 | * @ordered | ||
128 | */ | ||
129 | protected EList<Annotation> annotations; | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | protected LogicProblemImpl() { | ||
137 | super(); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | protected EClass eStaticClass() { | ||
147 | return LogicproblemPackage.Literals.LOGIC_PROBLEM; | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | public EList<Type> getTypes() { | ||
156 | if (types == null) { | ||
157 | types = new EObjectContainmentEList<Type>(Type.class, this, LogicproblemPackage.LOGIC_PROBLEM__TYPES); | ||
158 | } | ||
159 | return types; | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | public EList<Function> getFunctions() { | ||
168 | if (functions == null) { | ||
169 | functions = new EObjectContainmentEList<Function>(Function.class, this, LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS); | ||
170 | } | ||
171 | return functions; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | public EList<Assertion> getAssertions() { | ||
180 | if (assertions == null) { | ||
181 | assertions = new EObjectContainmentEList<Assertion>(Assertion.class, this, LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS); | ||
182 | } | ||
183 | return assertions; | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @generated | ||
190 | */ | ||
191 | public EList<Relation> getRelations() { | ||
192 | if (relations == null) { | ||
193 | relations = new EObjectContainmentEList<Relation>(Relation.class, this, LogicproblemPackage.LOGIC_PROBLEM__RELATIONS); | ||
194 | } | ||
195 | return relations; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | public EList<Constant> getConstants() { | ||
204 | if (constants == null) { | ||
205 | constants = new EObjectContainmentEList<Constant>(Constant.class, this, LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS); | ||
206 | } | ||
207 | return constants; | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | public EList<DefinedElement> getElements() { | ||
216 | if (elements == null) { | ||
217 | elements = new EObjectContainmentEList<DefinedElement>(DefinedElement.class, this, LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS); | ||
218 | } | ||
219 | return elements; | ||
220 | } | ||
221 | |||
222 | /** | ||
223 | * <!-- begin-user-doc --> | ||
224 | * <!-- end-user-doc --> | ||
225 | * @generated | ||
226 | */ | ||
227 | public EList<ContainmentHierarchy> getContainmentHierarchies() { | ||
228 | if (containmentHierarchies == null) { | ||
229 | containmentHierarchies = new EObjectContainmentEList<ContainmentHierarchy>(ContainmentHierarchy.class, this, LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES); | ||
230 | } | ||
231 | return containmentHierarchies; | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | */ | ||
239 | public EList<Annotation> getAnnotations() { | ||
240 | if (annotations == null) { | ||
241 | annotations = new EObjectContainmentEList<Annotation>(Annotation.class, this, LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS); | ||
242 | } | ||
243 | return annotations; | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
253 | switch (featureID) { | ||
254 | case LogicproblemPackage.LOGIC_PROBLEM__TYPES: | ||
255 | return ((InternalEList<?>)getTypes()).basicRemove(otherEnd, msgs); | ||
256 | case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: | ||
257 | return ((InternalEList<?>)getFunctions()).basicRemove(otherEnd, msgs); | ||
258 | case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: | ||
259 | return ((InternalEList<?>)getAssertions()).basicRemove(otherEnd, msgs); | ||
260 | case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: | ||
261 | return ((InternalEList<?>)getRelations()).basicRemove(otherEnd, msgs); | ||
262 | case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: | ||
263 | return ((InternalEList<?>)getConstants()).basicRemove(otherEnd, msgs); | ||
264 | case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: | ||
265 | return ((InternalEList<?>)getElements()).basicRemove(otherEnd, msgs); | ||
266 | case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: | ||
267 | return ((InternalEList<?>)getContainmentHierarchies()).basicRemove(otherEnd, msgs); | ||
268 | case LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS: | ||
269 | return ((InternalEList<?>)getAnnotations()).basicRemove(otherEnd, msgs); | ||
270 | } | ||
271 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
272 | } | ||
273 | |||
274 | /** | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @generated | ||
278 | */ | ||
279 | @Override | ||
280 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
281 | switch (featureID) { | ||
282 | case LogicproblemPackage.LOGIC_PROBLEM__TYPES: | ||
283 | return getTypes(); | ||
284 | case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: | ||
285 | return getFunctions(); | ||
286 | case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: | ||
287 | return getAssertions(); | ||
288 | case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: | ||
289 | return getRelations(); | ||
290 | case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: | ||
291 | return getConstants(); | ||
292 | case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: | ||
293 | return getElements(); | ||
294 | case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: | ||
295 | return getContainmentHierarchies(); | ||
296 | case LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS: | ||
297 | return getAnnotations(); | ||
298 | } | ||
299 | return super.eGet(featureID, resolve, coreType); | ||
300 | } | ||
301 | |||
302 | /** | ||
303 | * <!-- begin-user-doc --> | ||
304 | * <!-- end-user-doc --> | ||
305 | * @generated | ||
306 | */ | ||
307 | @SuppressWarnings("unchecked") | ||
308 | @Override | ||
309 | public void eSet(int featureID, Object newValue) { | ||
310 | switch (featureID) { | ||
311 | case LogicproblemPackage.LOGIC_PROBLEM__TYPES: | ||
312 | getTypes().clear(); | ||
313 | getTypes().addAll((Collection<? extends Type>)newValue); | ||
314 | return; | ||
315 | case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: | ||
316 | getFunctions().clear(); | ||
317 | getFunctions().addAll((Collection<? extends Function>)newValue); | ||
318 | return; | ||
319 | case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: | ||
320 | getAssertions().clear(); | ||
321 | getAssertions().addAll((Collection<? extends Assertion>)newValue); | ||
322 | return; | ||
323 | case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: | ||
324 | getRelations().clear(); | ||
325 | getRelations().addAll((Collection<? extends Relation>)newValue); | ||
326 | return; | ||
327 | case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: | ||
328 | getConstants().clear(); | ||
329 | getConstants().addAll((Collection<? extends Constant>)newValue); | ||
330 | return; | ||
331 | case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: | ||
332 | getElements().clear(); | ||
333 | getElements().addAll((Collection<? extends DefinedElement>)newValue); | ||
334 | return; | ||
335 | case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: | ||
336 | getContainmentHierarchies().clear(); | ||
337 | getContainmentHierarchies().addAll((Collection<? extends ContainmentHierarchy>)newValue); | ||
338 | return; | ||
339 | case LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS: | ||
340 | getAnnotations().clear(); | ||
341 | getAnnotations().addAll((Collection<? extends Annotation>)newValue); | ||
342 | return; | ||
343 | } | ||
344 | super.eSet(featureID, newValue); | ||
345 | } | ||
346 | |||
347 | /** | ||
348 | * <!-- begin-user-doc --> | ||
349 | * <!-- end-user-doc --> | ||
350 | * @generated | ||
351 | */ | ||
352 | @Override | ||
353 | public void eUnset(int featureID) { | ||
354 | switch (featureID) { | ||
355 | case LogicproblemPackage.LOGIC_PROBLEM__TYPES: | ||
356 | getTypes().clear(); | ||
357 | return; | ||
358 | case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: | ||
359 | getFunctions().clear(); | ||
360 | return; | ||
361 | case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: | ||
362 | getAssertions().clear(); | ||
363 | return; | ||
364 | case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: | ||
365 | getRelations().clear(); | ||
366 | return; | ||
367 | case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: | ||
368 | getConstants().clear(); | ||
369 | return; | ||
370 | case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: | ||
371 | getElements().clear(); | ||
372 | return; | ||
373 | case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: | ||
374 | getContainmentHierarchies().clear(); | ||
375 | return; | ||
376 | case LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS: | ||
377 | getAnnotations().clear(); | ||
378 | return; | ||
379 | } | ||
380 | super.eUnset(featureID); | ||
381 | } | ||
382 | |||
383 | /** | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | */ | ||
388 | @Override | ||
389 | public boolean eIsSet(int featureID) { | ||
390 | switch (featureID) { | ||
391 | case LogicproblemPackage.LOGIC_PROBLEM__TYPES: | ||
392 | return types != null && !types.isEmpty(); | ||
393 | case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: | ||
394 | return functions != null && !functions.isEmpty(); | ||
395 | case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: | ||
396 | return assertions != null && !assertions.isEmpty(); | ||
397 | case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: | ||
398 | return relations != null && !relations.isEmpty(); | ||
399 | case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: | ||
400 | return constants != null && !constants.isEmpty(); | ||
401 | case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: | ||
402 | return elements != null && !elements.isEmpty(); | ||
403 | case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: | ||
404 | return containmentHierarchies != null && !containmentHierarchies.isEmpty(); | ||
405 | case LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS: | ||
406 | return annotations != null && !annotations.isEmpty(); | ||
407 | } | ||
408 | return super.eIsSet(featureID); | ||
409 | } | ||
410 | |||
411 | } //LogicProblemImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java new file mode 100644 index 00000000..66a8f116 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java | |||
@@ -0,0 +1,161 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model <b>Factory</b>. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @generated | ||
20 | */ | ||
21 | public class LogicproblemFactoryImpl extends EFactoryImpl implements LogicproblemFactory { | ||
22 | /** | ||
23 | * Creates the default factory implementation. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | public static LogicproblemFactory init() { | ||
29 | try { | ||
30 | LogicproblemFactory theLogicproblemFactory = (LogicproblemFactory)EPackage.Registry.INSTANCE.getEFactory(LogicproblemPackage.eNS_URI); | ||
31 | if (theLogicproblemFactory != null) { | ||
32 | return theLogicproblemFactory; | ||
33 | } | ||
34 | } | ||
35 | catch (Exception exception) { | ||
36 | EcorePlugin.INSTANCE.log(exception); | ||
37 | } | ||
38 | return new LogicproblemFactoryImpl(); | ||
39 | } | ||
40 | |||
41 | /** | ||
42 | * Creates an instance of the factory. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | public LogicproblemFactoryImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | public EObject create(EClass eClass) { | ||
58 | switch (eClass.getClassifierID()) { | ||
59 | case LogicproblemPackage.LOGIC_PROBLEM: return createLogicProblem(); | ||
60 | case LogicproblemPackage.CONTAINMENT_HIERARCHY: return createContainmentHierarchy(); | ||
61 | case LogicproblemPackage.RELATION_ANNOTATION: return createRelationAnnotation(); | ||
62 | case LogicproblemPackage.CONSTANT_ANNOTATION: return createConstantAnnotation(); | ||
63 | case LogicproblemPackage.FUNCTION_ANNOTATION: return createFunctionAnnotation(); | ||
64 | case LogicproblemPackage.ASSERTION_ANNOTATION: return createAssertionAnnotation(); | ||
65 | case LogicproblemPackage.ANNOTATION: return createAnnotation(); | ||
66 | default: | ||
67 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
68 | } | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public LogicProblem createLogicProblem() { | ||
77 | LogicProblemImpl logicProblem = new LogicProblemImpl(); | ||
78 | return logicProblem; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public ContainmentHierarchy createContainmentHierarchy() { | ||
87 | ContainmentHierarchyImpl containmentHierarchy = new ContainmentHierarchyImpl(); | ||
88 | return containmentHierarchy; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public RelationAnnotation createRelationAnnotation() { | ||
97 | RelationAnnotationImpl relationAnnotation = new RelationAnnotationImpl(); | ||
98 | return relationAnnotation; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public ConstantAnnotation createConstantAnnotation() { | ||
107 | ConstantAnnotationImpl constantAnnotation = new ConstantAnnotationImpl(); | ||
108 | return constantAnnotation; | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | public FunctionAnnotation createFunctionAnnotation() { | ||
117 | FunctionAnnotationImpl functionAnnotation = new FunctionAnnotationImpl(); | ||
118 | return functionAnnotation; | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | public AssertionAnnotation createAssertionAnnotation() { | ||
127 | AssertionAnnotationImpl assertionAnnotation = new AssertionAnnotationImpl(); | ||
128 | return assertionAnnotation; | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | public Annotation createAnnotation() { | ||
137 | AnnotationImpl annotation = new AnnotationImpl(); | ||
138 | return annotation; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | public LogicproblemPackage getLogicproblemPackage() { | ||
147 | return (LogicproblemPackage)getEPackage(); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @deprecated | ||
154 | * @generated | ||
155 | */ | ||
156 | @Deprecated | ||
157 | public static LogicproblemPackage getPackage() { | ||
158 | return LogicproblemPackage.eINSTANCE; | ||
159 | } | ||
160 | |||
161 | } //LogicproblemFactoryImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemPackageImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemPackageImpl.java new file mode 100644 index 00000000..1dd429e7 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemPackageImpl.java | |||
@@ -0,0 +1,490 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | |||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation; | ||
10 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation; | ||
11 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy; | ||
12 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation; | ||
13 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; | ||
14 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemFactory; | ||
15 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
16 | |||
17 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation; | ||
18 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
19 | |||
20 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.EClass; | ||
23 | import org.eclipse.emf.ecore.EPackage; | ||
24 | import org.eclipse.emf.ecore.EReference; | ||
25 | |||
26 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * An implementation of the model <b>Package</b>. | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | public class LogicproblemPackageImpl extends EPackageImpl implements LogicproblemPackage { | ||
35 | /** | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | private EClass logicProblemEClass = null; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | private EClass containmentHierarchyEClass = null; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | private EClass relationAnnotationEClass = null; | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | private EClass constantAnnotationEClass = null; | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | private EClass functionAnnotationEClass = null; | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | private EClass assertionAnnotationEClass = null; | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | private EClass annotationEClass = null; | ||
83 | |||
84 | /** | ||
85 | * Creates an instance of the model <b>Package</b>, registered with | ||
86 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
87 | * package URI value. | ||
88 | * <p>Note: the correct way to create the package is via the static | ||
89 | * factory method {@link #init init()}, which also performs | ||
90 | * initialization of the package, or returns the registered package, | ||
91 | * if one already exists. | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
95 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#eNS_URI | ||
96 | * @see #init() | ||
97 | * @generated | ||
98 | */ | ||
99 | private LogicproblemPackageImpl() { | ||
100 | super(eNS_URI, LogicproblemFactory.eINSTANCE); | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | private static boolean isInited = false; | ||
109 | |||
110 | /** | ||
111 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
112 | * | ||
113 | * <p>This method is used to initialize {@link LogicproblemPackage#eINSTANCE} when that field is accessed. | ||
114 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @see #eNS_URI | ||
118 | * @see #createPackageContents() | ||
119 | * @see #initializePackageContents() | ||
120 | * @generated | ||
121 | */ | ||
122 | public static LogicproblemPackage init() { | ||
123 | if (isInited) return (LogicproblemPackage)EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI); | ||
124 | |||
125 | // Obtain or create and register package | ||
126 | LogicproblemPackageImpl theLogicproblemPackage = (LogicproblemPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LogicproblemPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LogicproblemPackageImpl()); | ||
127 | |||
128 | isInited = true; | ||
129 | |||
130 | // Obtain or create and register interdependencies | ||
131 | LogiclanguagePackageImpl theLogiclanguagePackage = (LogiclanguagePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI) instanceof LogiclanguagePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI) : LogiclanguagePackage.eINSTANCE); | ||
132 | LogicresultPackageImpl theLogicresultPackage = (LogicresultPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogicresultPackage.eNS_URI) instanceof LogicresultPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogicresultPackage.eNS_URI) : LogicresultPackage.eINSTANCE); | ||
133 | |||
134 | // Create package meta-data objects | ||
135 | theLogicproblemPackage.createPackageContents(); | ||
136 | theLogiclanguagePackage.createPackageContents(); | ||
137 | theLogicresultPackage.createPackageContents(); | ||
138 | |||
139 | // Initialize created meta-data | ||
140 | theLogicproblemPackage.initializePackageContents(); | ||
141 | theLogiclanguagePackage.initializePackageContents(); | ||
142 | theLogicresultPackage.initializePackageContents(); | ||
143 | |||
144 | // Mark meta-data to indicate it can't be changed | ||
145 | theLogicproblemPackage.freeze(); | ||
146 | |||
147 | |||
148 | // Update the registry and return the package | ||
149 | EPackage.Registry.INSTANCE.put(LogicproblemPackage.eNS_URI, theLogicproblemPackage); | ||
150 | return theLogicproblemPackage; | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | */ | ||
158 | public EClass getLogicProblem() { | ||
159 | return logicProblemEClass; | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | public EReference getLogicProblem_Types() { | ||
168 | return (EReference)logicProblemEClass.getEStructuralFeatures().get(0); | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | public EReference getLogicProblem_Functions() { | ||
177 | return (EReference)logicProblemEClass.getEStructuralFeatures().get(1); | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | public EReference getLogicProblem_Assertions() { | ||
186 | return (EReference)logicProblemEClass.getEStructuralFeatures().get(2); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | public EReference getLogicProblem_Relations() { | ||
195 | return (EReference)logicProblemEClass.getEStructuralFeatures().get(3); | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | public EReference getLogicProblem_Constants() { | ||
204 | return (EReference)logicProblemEClass.getEStructuralFeatures().get(4); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | public EReference getLogicProblem_Elements() { | ||
213 | return (EReference)logicProblemEClass.getEStructuralFeatures().get(5); | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | */ | ||
221 | public EReference getLogicProblem_ContainmentHierarchies() { | ||
222 | return (EReference)logicProblemEClass.getEStructuralFeatures().get(6); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | public EReference getLogicProblem_Annotations() { | ||
231 | return (EReference)logicProblemEClass.getEStructuralFeatures().get(7); | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | */ | ||
239 | public EClass getContainmentHierarchy() { | ||
240 | return containmentHierarchyEClass; | ||
241 | } | ||
242 | |||
243 | /** | ||
244 | * <!-- begin-user-doc --> | ||
245 | * <!-- end-user-doc --> | ||
246 | * @generated | ||
247 | */ | ||
248 | public EReference getContainmentHierarchy_TypesOrderedInHierarchy() { | ||
249 | return (EReference)containmentHierarchyEClass.getEStructuralFeatures().get(0); | ||
250 | } | ||
251 | |||
252 | /** | ||
253 | * <!-- begin-user-doc --> | ||
254 | * <!-- end-user-doc --> | ||
255 | * @generated | ||
256 | */ | ||
257 | public EReference getContainmentHierarchy_ContainmentFunctions() { | ||
258 | return (EReference)containmentHierarchyEClass.getEStructuralFeatures().get(1); | ||
259 | } | ||
260 | |||
261 | /** | ||
262 | * <!-- begin-user-doc --> | ||
263 | * <!-- end-user-doc --> | ||
264 | * @generated | ||
265 | */ | ||
266 | public EReference getContainmentHierarchy_ContainmentRelations() { | ||
267 | return (EReference)containmentHierarchyEClass.getEStructuralFeatures().get(2); | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @generated | ||
274 | */ | ||
275 | public EReference getContainmentHierarchy_RootConstant() { | ||
276 | return (EReference)containmentHierarchyEClass.getEStructuralFeatures().get(3); | ||
277 | } | ||
278 | |||
279 | /** | ||
280 | * <!-- begin-user-doc --> | ||
281 | * <!-- end-user-doc --> | ||
282 | * @generated | ||
283 | */ | ||
284 | public EClass getRelationAnnotation() { | ||
285 | return relationAnnotationEClass; | ||
286 | } | ||
287 | |||
288 | /** | ||
289 | * <!-- begin-user-doc --> | ||
290 | * <!-- end-user-doc --> | ||
291 | * @generated | ||
292 | */ | ||
293 | public EReference getRelationAnnotation_Target() { | ||
294 | return (EReference)relationAnnotationEClass.getEStructuralFeatures().get(0); | ||
295 | } | ||
296 | |||
297 | /** | ||
298 | * <!-- begin-user-doc --> | ||
299 | * <!-- end-user-doc --> | ||
300 | * @generated | ||
301 | */ | ||
302 | public EClass getConstantAnnotation() { | ||
303 | return constantAnnotationEClass; | ||
304 | } | ||
305 | |||
306 | /** | ||
307 | * <!-- begin-user-doc --> | ||
308 | * <!-- end-user-doc --> | ||
309 | * @generated | ||
310 | */ | ||
311 | public EReference getConstantAnnotation_Target() { | ||
312 | return (EReference)constantAnnotationEClass.getEStructuralFeatures().get(0); | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * <!-- begin-user-doc --> | ||
317 | * <!-- end-user-doc --> | ||
318 | * @generated | ||
319 | */ | ||
320 | public EClass getFunctionAnnotation() { | ||
321 | return functionAnnotationEClass; | ||
322 | } | ||
323 | |||
324 | /** | ||
325 | * <!-- begin-user-doc --> | ||
326 | * <!-- end-user-doc --> | ||
327 | * @generated | ||
328 | */ | ||
329 | public EReference getFunctionAnnotation_Target() { | ||
330 | return (EReference)functionAnnotationEClass.getEStructuralFeatures().get(0); | ||
331 | } | ||
332 | |||
333 | /** | ||
334 | * <!-- begin-user-doc --> | ||
335 | * <!-- end-user-doc --> | ||
336 | * @generated | ||
337 | */ | ||
338 | public EClass getAssertionAnnotation() { | ||
339 | return assertionAnnotationEClass; | ||
340 | } | ||
341 | |||
342 | /** | ||
343 | * <!-- begin-user-doc --> | ||
344 | * <!-- end-user-doc --> | ||
345 | * @generated | ||
346 | */ | ||
347 | public EReference getAssertionAnnotation_Target() { | ||
348 | return (EReference)assertionAnnotationEClass.getEStructuralFeatures().get(0); | ||
349 | } | ||
350 | |||
351 | /** | ||
352 | * <!-- begin-user-doc --> | ||
353 | * <!-- end-user-doc --> | ||
354 | * @generated | ||
355 | */ | ||
356 | public EClass getAnnotation() { | ||
357 | return annotationEClass; | ||
358 | } | ||
359 | |||
360 | /** | ||
361 | * <!-- begin-user-doc --> | ||
362 | * <!-- end-user-doc --> | ||
363 | * @generated | ||
364 | */ | ||
365 | public LogicproblemFactory getLogicproblemFactory() { | ||
366 | return (LogicproblemFactory)getEFactoryInstance(); | ||
367 | } | ||
368 | |||
369 | /** | ||
370 | * <!-- begin-user-doc --> | ||
371 | * <!-- end-user-doc --> | ||
372 | * @generated | ||
373 | */ | ||
374 | private boolean isCreated = false; | ||
375 | |||
376 | /** | ||
377 | * Creates the meta-model objects for the package. This method is | ||
378 | * guarded to have no affect on any invocation but its first. | ||
379 | * <!-- begin-user-doc --> | ||
380 | * <!-- end-user-doc --> | ||
381 | * @generated | ||
382 | */ | ||
383 | public void createPackageContents() { | ||
384 | if (isCreated) return; | ||
385 | isCreated = true; | ||
386 | |||
387 | // Create classes and their features | ||
388 | logicProblemEClass = createEClass(LOGIC_PROBLEM); | ||
389 | createEReference(logicProblemEClass, LOGIC_PROBLEM__TYPES); | ||
390 | createEReference(logicProblemEClass, LOGIC_PROBLEM__FUNCTIONS); | ||
391 | createEReference(logicProblemEClass, LOGIC_PROBLEM__ASSERTIONS); | ||
392 | createEReference(logicProblemEClass, LOGIC_PROBLEM__RELATIONS); | ||
393 | createEReference(logicProblemEClass, LOGIC_PROBLEM__CONSTANTS); | ||
394 | createEReference(logicProblemEClass, LOGIC_PROBLEM__ELEMENTS); | ||
395 | createEReference(logicProblemEClass, LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES); | ||
396 | createEReference(logicProblemEClass, LOGIC_PROBLEM__ANNOTATIONS); | ||
397 | |||
398 | containmentHierarchyEClass = createEClass(CONTAINMENT_HIERARCHY); | ||
399 | createEReference(containmentHierarchyEClass, CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY); | ||
400 | createEReference(containmentHierarchyEClass, CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS); | ||
401 | createEReference(containmentHierarchyEClass, CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS); | ||
402 | createEReference(containmentHierarchyEClass, CONTAINMENT_HIERARCHY__ROOT_CONSTANT); | ||
403 | |||
404 | relationAnnotationEClass = createEClass(RELATION_ANNOTATION); | ||
405 | createEReference(relationAnnotationEClass, RELATION_ANNOTATION__TARGET); | ||
406 | |||
407 | constantAnnotationEClass = createEClass(CONSTANT_ANNOTATION); | ||
408 | createEReference(constantAnnotationEClass, CONSTANT_ANNOTATION__TARGET); | ||
409 | |||
410 | functionAnnotationEClass = createEClass(FUNCTION_ANNOTATION); | ||
411 | createEReference(functionAnnotationEClass, FUNCTION_ANNOTATION__TARGET); | ||
412 | |||
413 | assertionAnnotationEClass = createEClass(ASSERTION_ANNOTATION); | ||
414 | createEReference(assertionAnnotationEClass, ASSERTION_ANNOTATION__TARGET); | ||
415 | |||
416 | annotationEClass = createEClass(ANNOTATION); | ||
417 | } | ||
418 | |||
419 | /** | ||
420 | * <!-- begin-user-doc --> | ||
421 | * <!-- end-user-doc --> | ||
422 | * @generated | ||
423 | */ | ||
424 | private boolean isInitialized = false; | ||
425 | |||
426 | /** | ||
427 | * Complete the initialization of the package and its meta-model. This | ||
428 | * method is guarded to have no affect on any invocation but its first. | ||
429 | * <!-- begin-user-doc --> | ||
430 | * <!-- end-user-doc --> | ||
431 | * @generated | ||
432 | */ | ||
433 | public void initializePackageContents() { | ||
434 | if (isInitialized) return; | ||
435 | isInitialized = true; | ||
436 | |||
437 | // Initialize package | ||
438 | setName(eNAME); | ||
439 | setNsPrefix(eNS_PREFIX); | ||
440 | setNsURI(eNS_URI); | ||
441 | |||
442 | // Obtain other dependent packages | ||
443 | LogiclanguagePackage theLogiclanguagePackage = (LogiclanguagePackage)EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI); | ||
444 | |||
445 | // Create type parameters | ||
446 | |||
447 | // Set bounds for type parameters | ||
448 | |||
449 | // Add supertypes to classes | ||
450 | relationAnnotationEClass.getESuperTypes().add(this.getAnnotation()); | ||
451 | constantAnnotationEClass.getESuperTypes().add(this.getAnnotation()); | ||
452 | functionAnnotationEClass.getESuperTypes().add(this.getAnnotation()); | ||
453 | assertionAnnotationEClass.getESuperTypes().add(this.getAnnotation()); | ||
454 | |||
455 | // Initialize classes, features, and operations; add parameters | ||
456 | initEClass(logicProblemEClass, LogicProblem.class, "LogicProblem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
457 | initEReference(getLogicProblem_Types(), theLogiclanguagePackage.getType(), null, "types", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
458 | initEReference(getLogicProblem_Functions(), theLogiclanguagePackage.getFunction(), null, "functions", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
459 | initEReference(getLogicProblem_Assertions(), theLogiclanguagePackage.getAssertion(), null, "assertions", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
460 | initEReference(getLogicProblem_Relations(), theLogiclanguagePackage.getRelation(), null, "relations", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
461 | initEReference(getLogicProblem_Constants(), theLogiclanguagePackage.getConstant(), null, "constants", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
462 | initEReference(getLogicProblem_Elements(), theLogiclanguagePackage.getDefinedElement(), null, "elements", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
463 | initEReference(getLogicProblem_ContainmentHierarchies(), this.getContainmentHierarchy(), null, "containmentHierarchies", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
464 | initEReference(getLogicProblem_Annotations(), this.getAnnotation(), null, "annotations", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
465 | |||
466 | initEClass(containmentHierarchyEClass, ContainmentHierarchy.class, "ContainmentHierarchy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
467 | initEReference(getContainmentHierarchy_TypesOrderedInHierarchy(), theLogiclanguagePackage.getType(), null, "typesOrderedInHierarchy", null, 0, -1, ContainmentHierarchy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
468 | initEReference(getContainmentHierarchy_ContainmentFunctions(), theLogiclanguagePackage.getFunction(), null, "containmentFunctions", null, 0, -1, ContainmentHierarchy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
469 | initEReference(getContainmentHierarchy_ContainmentRelations(), theLogiclanguagePackage.getRelation(), null, "containmentRelations", null, 0, -1, ContainmentHierarchy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
470 | initEReference(getContainmentHierarchy_RootConstant(), theLogiclanguagePackage.getConstant(), null, "rootConstant", null, 0, 1, ContainmentHierarchy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
471 | |||
472 | initEClass(relationAnnotationEClass, RelationAnnotation.class, "RelationAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
473 | initEReference(getRelationAnnotation_Target(), theLogiclanguagePackage.getRelation(), theLogiclanguagePackage.getRelation_Annotations(), "target", null, 1, 1, RelationAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
474 | |||
475 | initEClass(constantAnnotationEClass, ConstantAnnotation.class, "ConstantAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
476 | initEReference(getConstantAnnotation_Target(), theLogiclanguagePackage.getConstant(), theLogiclanguagePackage.getConstant_Annotations(), "target", null, 1, 1, ConstantAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
477 | |||
478 | initEClass(functionAnnotationEClass, FunctionAnnotation.class, "FunctionAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
479 | initEReference(getFunctionAnnotation_Target(), theLogiclanguagePackage.getFunction(), theLogiclanguagePackage.getFunction_Annotations(), "target", null, 1, 1, FunctionAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
480 | |||
481 | initEClass(assertionAnnotationEClass, AssertionAnnotation.class, "AssertionAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
482 | initEReference(getAssertionAnnotation_Target(), theLogiclanguagePackage.getAssertion(), theLogiclanguagePackage.getAssertion_Annotations(), "target", null, 1, 1, AssertionAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
483 | |||
484 | initEClass(annotationEClass, Annotation.class, "Annotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
485 | |||
486 | // Create resource | ||
487 | createResource(eNS_URI); | ||
488 | } | ||
489 | |||
490 | } //LogicproblemPackageImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/RelationAnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/RelationAnnotationImpl.java new file mode 100644 index 00000000..23fb6e5d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/RelationAnnotationImpl.java | |||
@@ -0,0 +1,211 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | ||
7 | |||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Notification; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | import org.eclipse.emf.ecore.EClass; | ||
15 | import org.eclipse.emf.ecore.InternalEObject; | ||
16 | |||
17 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Relation Annotation</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.logic.model.logicproblem.impl.RelationAnnotationImpl#getTarget <em>Target</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class RelationAnnotationImpl extends AnnotationImpl implements RelationAnnotation { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getTarget() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Relation target; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected RelationAnnotationImpl() { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() { | ||
59 | return LogicproblemPackage.Literals.RELATION_ANNOTATION; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | public Relation getTarget() { | ||
68 | if (target != null && target.eIsProxy()) { | ||
69 | InternalEObject oldTarget = (InternalEObject)target; | ||
70 | target = (Relation)eResolveProxy(oldTarget); | ||
71 | if (target != oldTarget) { | ||
72 | if (eNotificationRequired()) | ||
73 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.RELATION_ANNOTATION__TARGET, oldTarget, target)); | ||
74 | } | ||
75 | } | ||
76 | return target; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | public Relation basicGetTarget() { | ||
85 | return target; | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | public NotificationChain basicSetTarget(Relation newTarget, NotificationChain msgs) { | ||
94 | Relation oldTarget = target; | ||
95 | target = newTarget; | ||
96 | if (eNotificationRequired()) { | ||
97 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicproblemPackage.RELATION_ANNOTATION__TARGET, oldTarget, newTarget); | ||
98 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
99 | } | ||
100 | return msgs; | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | public void setTarget(Relation newTarget) { | ||
109 | if (newTarget != target) { | ||
110 | NotificationChain msgs = null; | ||
111 | if (target != null) | ||
112 | msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.RELATION__ANNOTATIONS, Relation.class, msgs); | ||
113 | if (newTarget != null) | ||
114 | msgs = ((InternalEObject)newTarget).eInverseAdd(this, LogiclanguagePackage.RELATION__ANNOTATIONS, Relation.class, msgs); | ||
115 | msgs = basicSetTarget(newTarget, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.RELATION_ANNOTATION__TARGET, newTarget, newTarget)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
129 | switch (featureID) { | ||
130 | case LogicproblemPackage.RELATION_ANNOTATION__TARGET: | ||
131 | if (target != null) | ||
132 | msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.RELATION__ANNOTATIONS, Relation.class, msgs); | ||
133 | return basicSetTarget((Relation)otherEnd, msgs); | ||
134 | } | ||
135 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
145 | switch (featureID) { | ||
146 | case LogicproblemPackage.RELATION_ANNOTATION__TARGET: | ||
147 | return basicSetTarget(null, msgs); | ||
148 | } | ||
149 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | */ | ||
157 | @Override | ||
158 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
159 | switch (featureID) { | ||
160 | case LogicproblemPackage.RELATION_ANNOTATION__TARGET: | ||
161 | if (resolve) return getTarget(); | ||
162 | return basicGetTarget(); | ||
163 | } | ||
164 | return super.eGet(featureID, resolve, coreType); | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | @Override | ||
173 | public void eSet(int featureID, Object newValue) { | ||
174 | switch (featureID) { | ||
175 | case LogicproblemPackage.RELATION_ANNOTATION__TARGET: | ||
176 | setTarget((Relation)newValue); | ||
177 | return; | ||
178 | } | ||
179 | super.eSet(featureID, newValue); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | @Override | ||
188 | public void eUnset(int featureID) { | ||
189 | switch (featureID) { | ||
190 | case LogicproblemPackage.RELATION_ANNOTATION__TARGET: | ||
191 | setTarget((Relation)null); | ||
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 | switch (featureID) { | ||
205 | case LogicproblemPackage.RELATION_ANNOTATION__TARGET: | ||
206 | return target != null; | ||
207 | } | ||
208 | return super.eIsSet(featureID); | ||
209 | } | ||
210 | |||
211 | } //RelationAnnotationImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemAdapterFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemAdapterFactory.java new file mode 100644 index 00000000..568a625c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemAdapterFactory.java | |||
@@ -0,0 +1,228 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.*; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Adapter; | ||
8 | import org.eclipse.emf.common.notify.Notifier; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class LogicproblemAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static LogicproblemPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public LogicproblemAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = LogicproblemPackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected LogicproblemSwitch<Adapter> modelSwitch = | ||
69 | new LogicproblemSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseLogicProblem(LogicProblem object) { | ||
72 | return createLogicProblemAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseContainmentHierarchy(ContainmentHierarchy object) { | ||
76 | return createContainmentHierarchyAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseRelationAnnotation(RelationAnnotation object) { | ||
80 | return createRelationAnnotationAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseConstantAnnotation(ConstantAnnotation object) { | ||
84 | return createConstantAnnotationAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseFunctionAnnotation(FunctionAnnotation object) { | ||
88 | return createFunctionAnnotationAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseAssertionAnnotation(AssertionAnnotation object) { | ||
92 | return createAssertionAnnotationAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseAnnotation(Annotation object) { | ||
96 | return createAnnotationAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter defaultCase(EObject object) { | ||
100 | return createEObjectAdapter(); | ||
101 | } | ||
102 | }; | ||
103 | |||
104 | /** | ||
105 | * Creates an adapter for the <code>target</code>. | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @param target the object to adapt. | ||
109 | * @return the adapter for the <code>target</code>. | ||
110 | * @generated | ||
111 | */ | ||
112 | @Override | ||
113 | public Adapter createAdapter(Notifier target) { | ||
114 | return modelSwitch.doSwitch((EObject)target); | ||
115 | } | ||
116 | |||
117 | |||
118 | /** | ||
119 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem <em>Logic Problem</em>}'. | ||
120 | * <!-- begin-user-doc --> | ||
121 | * This default implementation returns null so that we can easily ignore cases; | ||
122 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
123 | * <!-- end-user-doc --> | ||
124 | * @return the new adapter. | ||
125 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem | ||
126 | * @generated | ||
127 | */ | ||
128 | public Adapter createLogicProblemAdapter() { | ||
129 | return null; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy <em>Containment Hierarchy</em>}'. | ||
134 | * <!-- begin-user-doc --> | ||
135 | * This default implementation returns null so that we can easily ignore cases; | ||
136 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
137 | * <!-- end-user-doc --> | ||
138 | * @return the new adapter. | ||
139 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy | ||
140 | * @generated | ||
141 | */ | ||
142 | public Adapter createContainmentHierarchyAdapter() { | ||
143 | return null; | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation <em>Relation Annotation</em>}'. | ||
148 | * <!-- begin-user-doc --> | ||
149 | * This default implementation returns null so that we can easily ignore cases; | ||
150 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
151 | * <!-- end-user-doc --> | ||
152 | * @return the new adapter. | ||
153 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation | ||
154 | * @generated | ||
155 | */ | ||
156 | public Adapter createRelationAnnotationAdapter() { | ||
157 | return null; | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation <em>Constant Annotation</em>}'. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * This default implementation returns null so that we can easily ignore cases; | ||
164 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
165 | * <!-- end-user-doc --> | ||
166 | * @return the new adapter. | ||
167 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation | ||
168 | * @generated | ||
169 | */ | ||
170 | public Adapter createConstantAnnotationAdapter() { | ||
171 | return null; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation <em>Function Annotation</em>}'. | ||
176 | * <!-- begin-user-doc --> | ||
177 | * This default implementation returns null so that we can easily ignore cases; | ||
178 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
179 | * <!-- end-user-doc --> | ||
180 | * @return the new adapter. | ||
181 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation | ||
182 | * @generated | ||
183 | */ | ||
184 | public Adapter createFunctionAnnotationAdapter() { | ||
185 | return null; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation <em>Assertion Annotation</em>}'. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * This default implementation returns null so that we can easily ignore cases; | ||
192 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
193 | * <!-- end-user-doc --> | ||
194 | * @return the new adapter. | ||
195 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation | ||
196 | * @generated | ||
197 | */ | ||
198 | public Adapter createAssertionAnnotationAdapter() { | ||
199 | return null; | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation <em>Annotation</em>}'. | ||
204 | * <!-- begin-user-doc --> | ||
205 | * This default implementation returns null so that we can easily ignore cases; | ||
206 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
207 | * <!-- end-user-doc --> | ||
208 | * @return the new adapter. | ||
209 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation | ||
210 | * @generated | ||
211 | */ | ||
212 | public Adapter createAnnotationAdapter() { | ||
213 | return null; | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * Creates a new adapter for the default case. | ||
218 | * <!-- begin-user-doc --> | ||
219 | * This default implementation returns null. | ||
220 | * <!-- end-user-doc --> | ||
221 | * @return the new adapter. | ||
222 | * @generated | ||
223 | */ | ||
224 | public Adapter createEObjectAdapter() { | ||
225 | return null; | ||
226 | } | ||
227 | |||
228 | } //LogicproblemAdapterFactory | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemSwitch.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemSwitch.java new file mode 100644 index 00000000..4a79b4a0 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemSwitch.java | |||
@@ -0,0 +1,240 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class LogicproblemSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static LogicproblemPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public LogicproblemSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = LogicproblemPackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case LogicproblemPackage.LOGIC_PROBLEM: { | ||
70 | LogicProblem logicProblem = (LogicProblem)theEObject; | ||
71 | T result = caseLogicProblem(logicProblem); | ||
72 | if (result == null) result = defaultCase(theEObject); | ||
73 | return result; | ||
74 | } | ||
75 | case LogicproblemPackage.CONTAINMENT_HIERARCHY: { | ||
76 | ContainmentHierarchy containmentHierarchy = (ContainmentHierarchy)theEObject; | ||
77 | T result = caseContainmentHierarchy(containmentHierarchy); | ||
78 | if (result == null) result = defaultCase(theEObject); | ||
79 | return result; | ||
80 | } | ||
81 | case LogicproblemPackage.RELATION_ANNOTATION: { | ||
82 | RelationAnnotation relationAnnotation = (RelationAnnotation)theEObject; | ||
83 | T result = caseRelationAnnotation(relationAnnotation); | ||
84 | if (result == null) result = caseAnnotation(relationAnnotation); | ||
85 | if (result == null) result = defaultCase(theEObject); | ||
86 | return result; | ||
87 | } | ||
88 | case LogicproblemPackage.CONSTANT_ANNOTATION: { | ||
89 | ConstantAnnotation constantAnnotation = (ConstantAnnotation)theEObject; | ||
90 | T result = caseConstantAnnotation(constantAnnotation); | ||
91 | if (result == null) result = caseAnnotation(constantAnnotation); | ||
92 | if (result == null) result = defaultCase(theEObject); | ||
93 | return result; | ||
94 | } | ||
95 | case LogicproblemPackage.FUNCTION_ANNOTATION: { | ||
96 | FunctionAnnotation functionAnnotation = (FunctionAnnotation)theEObject; | ||
97 | T result = caseFunctionAnnotation(functionAnnotation); | ||
98 | if (result == null) result = caseAnnotation(functionAnnotation); | ||
99 | if (result == null) result = defaultCase(theEObject); | ||
100 | return result; | ||
101 | } | ||
102 | case LogicproblemPackage.ASSERTION_ANNOTATION: { | ||
103 | AssertionAnnotation assertionAnnotation = (AssertionAnnotation)theEObject; | ||
104 | T result = caseAssertionAnnotation(assertionAnnotation); | ||
105 | if (result == null) result = caseAnnotation(assertionAnnotation); | ||
106 | if (result == null) result = defaultCase(theEObject); | ||
107 | return result; | ||
108 | } | ||
109 | case LogicproblemPackage.ANNOTATION: { | ||
110 | Annotation annotation = (Annotation)theEObject; | ||
111 | T result = caseAnnotation(annotation); | ||
112 | if (result == null) result = defaultCase(theEObject); | ||
113 | return result; | ||
114 | } | ||
115 | default: return defaultCase(theEObject); | ||
116 | } | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * Returns the result of interpreting the object as an instance of '<em>Logic Problem</em>'. | ||
121 | * <!-- begin-user-doc --> | ||
122 | * This implementation returns null; | ||
123 | * returning a non-null result will terminate the switch. | ||
124 | * <!-- end-user-doc --> | ||
125 | * @param object the target of the switch. | ||
126 | * @return the result of interpreting the object as an instance of '<em>Logic Problem</em>'. | ||
127 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
128 | * @generated | ||
129 | */ | ||
130 | public T caseLogicProblem(LogicProblem object) { | ||
131 | return null; | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * Returns the result of interpreting the object as an instance of '<em>Containment Hierarchy</em>'. | ||
136 | * <!-- begin-user-doc --> | ||
137 | * This implementation returns null; | ||
138 | * returning a non-null result will terminate the switch. | ||
139 | * <!-- end-user-doc --> | ||
140 | * @param object the target of the switch. | ||
141 | * @return the result of interpreting the object as an instance of '<em>Containment Hierarchy</em>'. | ||
142 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
143 | * @generated | ||
144 | */ | ||
145 | public T caseContainmentHierarchy(ContainmentHierarchy object) { | ||
146 | return null; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * Returns the result of interpreting the object as an instance of '<em>Relation Annotation</em>'. | ||
151 | * <!-- begin-user-doc --> | ||
152 | * This implementation returns null; | ||
153 | * returning a non-null result will terminate the switch. | ||
154 | * <!-- end-user-doc --> | ||
155 | * @param object the target of the switch. | ||
156 | * @return the result of interpreting the object as an instance of '<em>Relation Annotation</em>'. | ||
157 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
158 | * @generated | ||
159 | */ | ||
160 | public T caseRelationAnnotation(RelationAnnotation object) { | ||
161 | return null; | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * Returns the result of interpreting the object as an instance of '<em>Constant Annotation</em>'. | ||
166 | * <!-- begin-user-doc --> | ||
167 | * This implementation returns null; | ||
168 | * returning a non-null result will terminate the switch. | ||
169 | * <!-- end-user-doc --> | ||
170 | * @param object the target of the switch. | ||
171 | * @return the result of interpreting the object as an instance of '<em>Constant Annotation</em>'. | ||
172 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
173 | * @generated | ||
174 | */ | ||
175 | public T caseConstantAnnotation(ConstantAnnotation object) { | ||
176 | return null; | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * Returns the result of interpreting the object as an instance of '<em>Function Annotation</em>'. | ||
181 | * <!-- begin-user-doc --> | ||
182 | * This implementation returns null; | ||
183 | * returning a non-null result will terminate the switch. | ||
184 | * <!-- end-user-doc --> | ||
185 | * @param object the target of the switch. | ||
186 | * @return the result of interpreting the object as an instance of '<em>Function Annotation</em>'. | ||
187 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
188 | * @generated | ||
189 | */ | ||
190 | public T caseFunctionAnnotation(FunctionAnnotation object) { | ||
191 | return null; | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * Returns the result of interpreting the object as an instance of '<em>Assertion Annotation</em>'. | ||
196 | * <!-- begin-user-doc --> | ||
197 | * This implementation returns null; | ||
198 | * returning a non-null result will terminate the switch. | ||
199 | * <!-- end-user-doc --> | ||
200 | * @param object the target of the switch. | ||
201 | * @return the result of interpreting the object as an instance of '<em>Assertion Annotation</em>'. | ||
202 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
203 | * @generated | ||
204 | */ | ||
205 | public T caseAssertionAnnotation(AssertionAnnotation object) { | ||
206 | return null; | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * Returns the result of interpreting the object as an instance of '<em>Annotation</em>'. | ||
211 | * <!-- begin-user-doc --> | ||
212 | * This implementation returns null; | ||
213 | * returning a non-null result will terminate the switch. | ||
214 | * <!-- end-user-doc --> | ||
215 | * @param object the target of the switch. | ||
216 | * @return the result of interpreting the object as an instance of '<em>Annotation</em>'. | ||
217 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
218 | * @generated | ||
219 | */ | ||
220 | public T caseAnnotation(Annotation object) { | ||
221 | return null; | ||
222 | } | ||
223 | |||
224 | /** | ||
225 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
226 | * <!-- begin-user-doc --> | ||
227 | * This implementation returns null; | ||
228 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
229 | * <!-- end-user-doc --> | ||
230 | * @param object the target of the switch. | ||
231 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
232 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public T defaultCase(EObject object) { | ||
237 | return null; | ||
238 | } | ||
239 | |||
240 | } //LogicproblemSwitch | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ErrorResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ErrorResult.java new file mode 100644 index 00000000..c3ff095c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ErrorResult.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Error Result</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult#getMessage <em>Message</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getErrorResult() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ErrorResult extends UnknownResult { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Message</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Message</em>' attribute isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Message</em>' attribute. | ||
32 | * @see #setMessage(String) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getErrorResult_Message() | ||
34 | * @model required="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | String getMessage(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult#getMessage <em>Message</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Message</em>' attribute. | ||
44 | * @see #getMessage() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setMessage(String value); | ||
48 | |||
49 | } // ErrorResult | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InconsistencyResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InconsistencyResult.java new file mode 100644 index 00000000..f2f452fc --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InconsistencyResult.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Inconsistency Result</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getInconsistencyResult() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface InconsistencyResult extends LogicResult { | ||
17 | } // InconsistencyResult | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InsuficientResourcesResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InsuficientResourcesResult.java new file mode 100644 index 00000000..20a92059 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InsuficientResourcesResult.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Insuficient Resources Result</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult#getResourceName <em>Resource Name</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getInsuficientResourcesResult() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface InsuficientResourcesResult extends UnknownResult { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Resource Name</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Resource Name</em>' attribute isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Resource Name</em>' attribute. | ||
32 | * @see #setResourceName(String) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getInsuficientResourcesResult_ResourceName() | ||
34 | * @model required="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | String getResourceName(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult#getResourceName <em>Resource Name</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Resource Name</em>' attribute. | ||
44 | * @see #getResourceName() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setResourceName(String value); | ||
48 | |||
49 | } // InsuficientResourcesResult | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/IntStatisticEntry.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/IntStatisticEntry.java new file mode 100644 index 00000000..4c005d4c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/IntStatisticEntry.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Int Statistic Entry</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry#getValue <em>Value</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getIntStatisticEntry() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface IntStatisticEntry extends StatisticEntry { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Value</em>' attribute. | ||
32 | * @see #setValue(int) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getIntStatisticEntry_Value() | ||
34 | * @model required="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | int getValue(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry#getValue <em>Value</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Value</em>' attribute. | ||
44 | * @see #getValue() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setValue(int value); | ||
48 | |||
49 | } // IntStatisticEntry | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicResult.java new file mode 100644 index 00000000..94644ffd --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicResult.java | |||
@@ -0,0 +1,124 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; | ||
6 | |||
7 | import org.eclipse.emf.common.util.EList; | ||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * A representation of the model object '<em><b>Logic Result</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.logic.model.logicresult.LogicResult#getProblem <em>Problem</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getStatistics <em>Statistics</em>}</li> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getTrace <em>Trace</em>}</li> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getRepresentation <em>Representation</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult() | ||
26 | * @model abstract="true" | ||
27 | * @generated | ||
28 | */ | ||
29 | public interface LogicResult extends EObject { | ||
30 | /** | ||
31 | * Returns the value of the '<em><b>Problem</b></em>' reference. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <p> | ||
34 | * If the meaning of the '<em>Problem</em>' reference isn't clear, | ||
35 | * there really should be more of a description here... | ||
36 | * </p> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @return the value of the '<em>Problem</em>' reference. | ||
39 | * @see #setProblem(LogicProblem) | ||
40 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult_Problem() | ||
41 | * @model | ||
42 | * @generated | ||
43 | */ | ||
44 | LogicProblem getProblem(); | ||
45 | |||
46 | /** | ||
47 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getProblem <em>Problem</em>}' reference. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param value the new value of the '<em>Problem</em>' reference. | ||
51 | * @see #getProblem() | ||
52 | * @generated | ||
53 | */ | ||
54 | void setProblem(LogicProblem value); | ||
55 | |||
56 | /** | ||
57 | * Returns the value of the '<em><b>Statistics</b></em>' containment reference. | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <p> | ||
60 | * If the meaning of the '<em>Statistics</em>' containment reference isn't clear, | ||
61 | * there really should be more of a description here... | ||
62 | * </p> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return the value of the '<em>Statistics</em>' containment reference. | ||
65 | * @see #setStatistics(Statistics) | ||
66 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult_Statistics() | ||
67 | * @model containment="true" | ||
68 | * @generated | ||
69 | */ | ||
70 | Statistics getStatistics(); | ||
71 | |||
72 | /** | ||
73 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getStatistics <em>Statistics</em>}' containment reference. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @param value the new value of the '<em>Statistics</em>' containment reference. | ||
77 | * @see #getStatistics() | ||
78 | * @generated | ||
79 | */ | ||
80 | void setStatistics(Statistics value); | ||
81 | |||
82 | /** | ||
83 | * Returns the value of the '<em><b>Trace</b></em>' attribute. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <p> | ||
86 | * If the meaning of the '<em>Trace</em>' attribute isn't clear, | ||
87 | * there really should be more of a description here... | ||
88 | * </p> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @return the value of the '<em>Trace</em>' attribute. | ||
91 | * @see #setTrace(Object) | ||
92 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult_Trace() | ||
93 | * @model transient="true" | ||
94 | * @generated | ||
95 | */ | ||
96 | Object getTrace(); | ||
97 | |||
98 | /** | ||
99 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getTrace <em>Trace</em>}' attribute. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @param value the new value of the '<em>Trace</em>' attribute. | ||
103 | * @see #getTrace() | ||
104 | * @generated | ||
105 | */ | ||
106 | void setTrace(Object value); | ||
107 | |||
108 | /** | ||
109 | * Returns the value of the '<em><b>Representation</b></em>' attribute list. | ||
110 | * The list contents are of type {@link java.lang.Object}. | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <p> | ||
113 | * If the meaning of the '<em>Representation</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>Representation</em>' attribute list. | ||
118 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult_Representation() | ||
119 | * @model transient="true" | ||
120 | * @generated | ||
121 | */ | ||
122 | EList<Object> getRepresentation(); | ||
123 | |||
124 | } // LogicResult | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultFactory.java new file mode 100644 index 00000000..24f62cc3 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultFactory.java | |||
@@ -0,0 +1,114 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EFactory; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * The <b>Factory</b> for the model. | ||
10 | * It provides a create method for each non-abstract class of the model. | ||
11 | * <!-- end-user-doc --> | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface LogicresultFactory extends EFactory { | ||
16 | /** | ||
17 | * The singleton instance of the factory. | ||
18 | * <!-- begin-user-doc --> | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | LogicresultFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultFactoryImpl.init(); | ||
23 | |||
24 | /** | ||
25 | * Returns a new object of class '<em>Model Result</em>'. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return a new object of class '<em>Model Result</em>'. | ||
29 | * @generated | ||
30 | */ | ||
31 | ModelResult createModelResult(); | ||
32 | |||
33 | /** | ||
34 | * Returns a new object of class '<em>Inconsistency Result</em>'. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return a new object of class '<em>Inconsistency Result</em>'. | ||
38 | * @generated | ||
39 | */ | ||
40 | InconsistencyResult createInconsistencyResult(); | ||
41 | |||
42 | /** | ||
43 | * Returns a new object of class '<em>Insuficient Resources Result</em>'. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @return a new object of class '<em>Insuficient Resources Result</em>'. | ||
47 | * @generated | ||
48 | */ | ||
49 | InsuficientResourcesResult createInsuficientResourcesResult(); | ||
50 | |||
51 | /** | ||
52 | * Returns a new object of class '<em>Error Result</em>'. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return a new object of class '<em>Error Result</em>'. | ||
56 | * @generated | ||
57 | */ | ||
58 | ErrorResult createErrorResult(); | ||
59 | |||
60 | /** | ||
61 | * Returns a new object of class '<em>Statistics</em>'. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return a new object of class '<em>Statistics</em>'. | ||
65 | * @generated | ||
66 | */ | ||
67 | Statistics createStatistics(); | ||
68 | |||
69 | /** | ||
70 | * Returns a new object of class '<em>Undecidable Result</em>'. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return a new object of class '<em>Undecidable Result</em>'. | ||
74 | * @generated | ||
75 | */ | ||
76 | UndecidableResult createUndecidableResult(); | ||
77 | |||
78 | /** | ||
79 | * Returns a new object of class '<em>Int Statistic Entry</em>'. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return a new object of class '<em>Int Statistic Entry</em>'. | ||
83 | * @generated | ||
84 | */ | ||
85 | IntStatisticEntry createIntStatisticEntry(); | ||
86 | |||
87 | /** | ||
88 | * Returns a new object of class '<em>Real Statistic Entry</em>'. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return a new object of class '<em>Real Statistic Entry</em>'. | ||
92 | * @generated | ||
93 | */ | ||
94 | RealStatisticEntry createRealStatisticEntry(); | ||
95 | |||
96 | /** | ||
97 | * Returns a new object of class '<em>String Statistic Entry</em>'. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @return a new object of class '<em>String Statistic Entry</em>'. | ||
101 | * @generated | ||
102 | */ | ||
103 | StringStatisticEntry createStringStatisticEntry(); | ||
104 | |||
105 | /** | ||
106 | * Returns the package supported by this factory. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @return the package supported by this factory. | ||
110 | * @generated | ||
111 | */ | ||
112 | LogicresultPackage getLogicresultPackage(); | ||
113 | |||
114 | } //LogicresultFactory | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultPackage.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultPackage.java new file mode 100644 index 00000000..cf171ab5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultPackage.java | |||
@@ -0,0 +1,1353 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | import org.eclipse.emf.ecore.EReference; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * The <b>Package</b> for the model. | ||
13 | * It contains accessors for the meta objects to represent | ||
14 | * <ul> | ||
15 | * <li>each class,</li> | ||
16 | * <li>each feature of each class,</li> | ||
17 | * <li>each operation of each class,</li> | ||
18 | * <li>each enum,</li> | ||
19 | * <li>and each data type</li> | ||
20 | * </ul> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultFactory | ||
23 | * @model kind="package" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface LogicresultPackage extends EPackage { | ||
27 | /** | ||
28 | * The package name. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | String eNAME = "logicresult"; | ||
34 | |||
35 | /** | ||
36 | * The package namespace URI. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/logic/model/result"; | ||
42 | |||
43 | /** | ||
44 | * The package namespace name. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | String eNS_PREFIX = "language"; | ||
50 | |||
51 | /** | ||
52 | * The singleton instance of the package. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | LogicresultPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl.init(); | ||
58 | |||
59 | /** | ||
60 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl <em>Logic Result</em>}' class. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl | ||
64 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getLogicResult() | ||
65 | * @generated | ||
66 | */ | ||
67 | int LOGIC_RESULT = 0; | ||
68 | |||
69 | /** | ||
70 | * The feature id for the '<em><b>Problem</b></em>' reference. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | int LOGIC_RESULT__PROBLEM = 0; | ||
77 | |||
78 | /** | ||
79 | * The feature id for the '<em><b>Statistics</b></em>' containment reference. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | * @ordered | ||
84 | */ | ||
85 | int LOGIC_RESULT__STATISTICS = 1; | ||
86 | |||
87 | /** | ||
88 | * The feature id for the '<em><b>Trace</b></em>' attribute. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | * @ordered | ||
93 | */ | ||
94 | int LOGIC_RESULT__TRACE = 2; | ||
95 | |||
96 | /** | ||
97 | * The feature id for the '<em><b>Representation</b></em>' attribute list. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | * @ordered | ||
102 | */ | ||
103 | int LOGIC_RESULT__REPRESENTATION = 3; | ||
104 | |||
105 | /** | ||
106 | * The number of structural features of the '<em>Logic Result</em>' class. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | * @ordered | ||
111 | */ | ||
112 | int LOGIC_RESULT_FEATURE_COUNT = 4; | ||
113 | |||
114 | /** | ||
115 | * The number of operations of the '<em>Logic Result</em>' class. | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | * @ordered | ||
120 | */ | ||
121 | int LOGIC_RESULT_OPERATION_COUNT = 0; | ||
122 | |||
123 | /** | ||
124 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl <em>Model Result</em>}' class. | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl | ||
128 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getModelResult() | ||
129 | * @generated | ||
130 | */ | ||
131 | int MODEL_RESULT = 1; | ||
132 | |||
133 | /** | ||
134 | * The feature id for the '<em><b>Problem</b></em>' reference. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | * @ordered | ||
139 | */ | ||
140 | int MODEL_RESULT__PROBLEM = LOGIC_RESULT__PROBLEM; | ||
141 | |||
142 | /** | ||
143 | * The feature id for the '<em><b>Statistics</b></em>' containment reference. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | * @ordered | ||
148 | */ | ||
149 | int MODEL_RESULT__STATISTICS = LOGIC_RESULT__STATISTICS; | ||
150 | |||
151 | /** | ||
152 | * The feature id for the '<em><b>Trace</b></em>' attribute. | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | * @ordered | ||
157 | */ | ||
158 | int MODEL_RESULT__TRACE = LOGIC_RESULT__TRACE; | ||
159 | |||
160 | /** | ||
161 | * The feature id for the '<em><b>Representation</b></em>' attribute list. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | * @ordered | ||
166 | */ | ||
167 | int MODEL_RESULT__REPRESENTATION = LOGIC_RESULT__REPRESENTATION; | ||
168 | |||
169 | /** | ||
170 | * The feature id for the '<em><b>Max Integer</b></em>' attribute. | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | * @ordered | ||
175 | */ | ||
176 | int MODEL_RESULT__MAX_INTEGER = LOGIC_RESULT_FEATURE_COUNT + 0; | ||
177 | |||
178 | /** | ||
179 | * The feature id for the '<em><b>Min Integer</b></em>' attribute. | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | * @ordered | ||
184 | */ | ||
185 | int MODEL_RESULT__MIN_INTEGER = LOGIC_RESULT_FEATURE_COUNT + 1; | ||
186 | |||
187 | /** | ||
188 | * The number of structural features of the '<em>Model Result</em>' class. | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | * @ordered | ||
193 | */ | ||
194 | int MODEL_RESULT_FEATURE_COUNT = LOGIC_RESULT_FEATURE_COUNT + 2; | ||
195 | |||
196 | /** | ||
197 | * The number of operations of the '<em>Model Result</em>' class. | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @generated | ||
201 | * @ordered | ||
202 | */ | ||
203 | int MODEL_RESULT_OPERATION_COUNT = LOGIC_RESULT_OPERATION_COUNT + 0; | ||
204 | |||
205 | /** | ||
206 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InconsistencyResultImpl <em>Inconsistency Result</em>}' class. | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InconsistencyResultImpl | ||
210 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getInconsistencyResult() | ||
211 | * @generated | ||
212 | */ | ||
213 | int INCONSISTENCY_RESULT = 2; | ||
214 | |||
215 | /** | ||
216 | * The feature id for the '<em><b>Problem</b></em>' reference. | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | * @ordered | ||
221 | */ | ||
222 | int INCONSISTENCY_RESULT__PROBLEM = LOGIC_RESULT__PROBLEM; | ||
223 | |||
224 | /** | ||
225 | * The feature id for the '<em><b>Statistics</b></em>' containment reference. | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | * @ordered | ||
230 | */ | ||
231 | int INCONSISTENCY_RESULT__STATISTICS = LOGIC_RESULT__STATISTICS; | ||
232 | |||
233 | /** | ||
234 | * The feature id for the '<em><b>Trace</b></em>' attribute. | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | * @ordered | ||
239 | */ | ||
240 | int INCONSISTENCY_RESULT__TRACE = LOGIC_RESULT__TRACE; | ||
241 | |||
242 | /** | ||
243 | * The feature id for the '<em><b>Representation</b></em>' attribute list. | ||
244 | * <!-- begin-user-doc --> | ||
245 | * <!-- end-user-doc --> | ||
246 | * @generated | ||
247 | * @ordered | ||
248 | */ | ||
249 | int INCONSISTENCY_RESULT__REPRESENTATION = LOGIC_RESULT__REPRESENTATION; | ||
250 | |||
251 | /** | ||
252 | * The number of structural features of the '<em>Inconsistency Result</em>' class. | ||
253 | * <!-- begin-user-doc --> | ||
254 | * <!-- end-user-doc --> | ||
255 | * @generated | ||
256 | * @ordered | ||
257 | */ | ||
258 | int INCONSISTENCY_RESULT_FEATURE_COUNT = LOGIC_RESULT_FEATURE_COUNT + 0; | ||
259 | |||
260 | /** | ||
261 | * The number of operations of the '<em>Inconsistency Result</em>' class. | ||
262 | * <!-- begin-user-doc --> | ||
263 | * <!-- end-user-doc --> | ||
264 | * @generated | ||
265 | * @ordered | ||
266 | */ | ||
267 | int INCONSISTENCY_RESULT_OPERATION_COUNT = LOGIC_RESULT_OPERATION_COUNT + 0; | ||
268 | |||
269 | /** | ||
270 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UnknownResultImpl <em>Unknown Result</em>}' class. | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UnknownResultImpl | ||
274 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getUnknownResult() | ||
275 | * @generated | ||
276 | */ | ||
277 | int UNKNOWN_RESULT = 3; | ||
278 | |||
279 | /** | ||
280 | * The feature id for the '<em><b>Problem</b></em>' reference. | ||
281 | * <!-- begin-user-doc --> | ||
282 | * <!-- end-user-doc --> | ||
283 | * @generated | ||
284 | * @ordered | ||
285 | */ | ||
286 | int UNKNOWN_RESULT__PROBLEM = LOGIC_RESULT__PROBLEM; | ||
287 | |||
288 | /** | ||
289 | * The feature id for the '<em><b>Statistics</b></em>' containment reference. | ||
290 | * <!-- begin-user-doc --> | ||
291 | * <!-- end-user-doc --> | ||
292 | * @generated | ||
293 | * @ordered | ||
294 | */ | ||
295 | int UNKNOWN_RESULT__STATISTICS = LOGIC_RESULT__STATISTICS; | ||
296 | |||
297 | /** | ||
298 | * The feature id for the '<em><b>Trace</b></em>' attribute. | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | * @ordered | ||
303 | */ | ||
304 | int UNKNOWN_RESULT__TRACE = LOGIC_RESULT__TRACE; | ||
305 | |||
306 | /** | ||
307 | * The feature id for the '<em><b>Representation</b></em>' attribute list. | ||
308 | * <!-- begin-user-doc --> | ||
309 | * <!-- end-user-doc --> | ||
310 | * @generated | ||
311 | * @ordered | ||
312 | */ | ||
313 | int UNKNOWN_RESULT__REPRESENTATION = LOGIC_RESULT__REPRESENTATION; | ||
314 | |||
315 | /** | ||
316 | * The number of structural features of the '<em>Unknown Result</em>' class. | ||
317 | * <!-- begin-user-doc --> | ||
318 | * <!-- end-user-doc --> | ||
319 | * @generated | ||
320 | * @ordered | ||
321 | */ | ||
322 | int UNKNOWN_RESULT_FEATURE_COUNT = LOGIC_RESULT_FEATURE_COUNT + 0; | ||
323 | |||
324 | /** | ||
325 | * The number of operations of the '<em>Unknown Result</em>' class. | ||
326 | * <!-- begin-user-doc --> | ||
327 | * <!-- end-user-doc --> | ||
328 | * @generated | ||
329 | * @ordered | ||
330 | */ | ||
331 | int UNKNOWN_RESULT_OPERATION_COUNT = LOGIC_RESULT_OPERATION_COUNT + 0; | ||
332 | |||
333 | /** | ||
334 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl <em>Insuficient Resources Result</em>}' class. | ||
335 | * <!-- begin-user-doc --> | ||
336 | * <!-- end-user-doc --> | ||
337 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl | ||
338 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getInsuficientResourcesResult() | ||
339 | * @generated | ||
340 | */ | ||
341 | int INSUFICIENT_RESOURCES_RESULT = 4; | ||
342 | |||
343 | /** | ||
344 | * The feature id for the '<em><b>Problem</b></em>' reference. | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | * @ordered | ||
349 | */ | ||
350 | int INSUFICIENT_RESOURCES_RESULT__PROBLEM = UNKNOWN_RESULT__PROBLEM; | ||
351 | |||
352 | /** | ||
353 | * The feature id for the '<em><b>Statistics</b></em>' containment reference. | ||
354 | * <!-- begin-user-doc --> | ||
355 | * <!-- end-user-doc --> | ||
356 | * @generated | ||
357 | * @ordered | ||
358 | */ | ||
359 | int INSUFICIENT_RESOURCES_RESULT__STATISTICS = UNKNOWN_RESULT__STATISTICS; | ||
360 | |||
361 | /** | ||
362 | * The feature id for the '<em><b>Trace</b></em>' attribute. | ||
363 | * <!-- begin-user-doc --> | ||
364 | * <!-- end-user-doc --> | ||
365 | * @generated | ||
366 | * @ordered | ||
367 | */ | ||
368 | int INSUFICIENT_RESOURCES_RESULT__TRACE = UNKNOWN_RESULT__TRACE; | ||
369 | |||
370 | /** | ||
371 | * The feature id for the '<em><b>Representation</b></em>' attribute list. | ||
372 | * <!-- begin-user-doc --> | ||
373 | * <!-- end-user-doc --> | ||
374 | * @generated | ||
375 | * @ordered | ||
376 | */ | ||
377 | int INSUFICIENT_RESOURCES_RESULT__REPRESENTATION = UNKNOWN_RESULT__REPRESENTATION; | ||
378 | |||
379 | /** | ||
380 | * The feature id for the '<em><b>Resource Name</b></em>' attribute. | ||
381 | * <!-- begin-user-doc --> | ||
382 | * <!-- end-user-doc --> | ||
383 | * @generated | ||
384 | * @ordered | ||
385 | */ | ||
386 | int INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME = UNKNOWN_RESULT_FEATURE_COUNT + 0; | ||
387 | |||
388 | /** | ||
389 | * The number of structural features of the '<em>Insuficient Resources Result</em>' class. | ||
390 | * <!-- begin-user-doc --> | ||
391 | * <!-- end-user-doc --> | ||
392 | * @generated | ||
393 | * @ordered | ||
394 | */ | ||
395 | int INSUFICIENT_RESOURCES_RESULT_FEATURE_COUNT = UNKNOWN_RESULT_FEATURE_COUNT + 1; | ||
396 | |||
397 | /** | ||
398 | * The number of operations of the '<em>Insuficient Resources Result</em>' class. | ||
399 | * <!-- begin-user-doc --> | ||
400 | * <!-- end-user-doc --> | ||
401 | * @generated | ||
402 | * @ordered | ||
403 | */ | ||
404 | int INSUFICIENT_RESOURCES_RESULT_OPERATION_COUNT = UNKNOWN_RESULT_OPERATION_COUNT + 0; | ||
405 | |||
406 | /** | ||
407 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl <em>Error Result</em>}' class. | ||
408 | * <!-- begin-user-doc --> | ||
409 | * <!-- end-user-doc --> | ||
410 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl | ||
411 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getErrorResult() | ||
412 | * @generated | ||
413 | */ | ||
414 | int ERROR_RESULT = 5; | ||
415 | |||
416 | /** | ||
417 | * The feature id for the '<em><b>Problem</b></em>' reference. | ||
418 | * <!-- begin-user-doc --> | ||
419 | * <!-- end-user-doc --> | ||
420 | * @generated | ||
421 | * @ordered | ||
422 | */ | ||
423 | int ERROR_RESULT__PROBLEM = UNKNOWN_RESULT__PROBLEM; | ||
424 | |||
425 | /** | ||
426 | * The feature id for the '<em><b>Statistics</b></em>' containment reference. | ||
427 | * <!-- begin-user-doc --> | ||
428 | * <!-- end-user-doc --> | ||
429 | * @generated | ||
430 | * @ordered | ||
431 | */ | ||
432 | int ERROR_RESULT__STATISTICS = UNKNOWN_RESULT__STATISTICS; | ||
433 | |||
434 | /** | ||
435 | * The feature id for the '<em><b>Trace</b></em>' attribute. | ||
436 | * <!-- begin-user-doc --> | ||
437 | * <!-- end-user-doc --> | ||
438 | * @generated | ||
439 | * @ordered | ||
440 | */ | ||
441 | int ERROR_RESULT__TRACE = UNKNOWN_RESULT__TRACE; | ||
442 | |||
443 | /** | ||
444 | * The feature id for the '<em><b>Representation</b></em>' attribute list. | ||
445 | * <!-- begin-user-doc --> | ||
446 | * <!-- end-user-doc --> | ||
447 | * @generated | ||
448 | * @ordered | ||
449 | */ | ||
450 | int ERROR_RESULT__REPRESENTATION = UNKNOWN_RESULT__REPRESENTATION; | ||
451 | |||
452 | /** | ||
453 | * The feature id for the '<em><b>Message</b></em>' attribute. | ||
454 | * <!-- begin-user-doc --> | ||
455 | * <!-- end-user-doc --> | ||
456 | * @generated | ||
457 | * @ordered | ||
458 | */ | ||
459 | int ERROR_RESULT__MESSAGE = UNKNOWN_RESULT_FEATURE_COUNT + 0; | ||
460 | |||
461 | /** | ||
462 | * The number of structural features of the '<em>Error Result</em>' class. | ||
463 | * <!-- begin-user-doc --> | ||
464 | * <!-- end-user-doc --> | ||
465 | * @generated | ||
466 | * @ordered | ||
467 | */ | ||
468 | int ERROR_RESULT_FEATURE_COUNT = UNKNOWN_RESULT_FEATURE_COUNT + 1; | ||
469 | |||
470 | /** | ||
471 | * The number of operations of the '<em>Error Result</em>' class. | ||
472 | * <!-- begin-user-doc --> | ||
473 | * <!-- end-user-doc --> | ||
474 | * @generated | ||
475 | * @ordered | ||
476 | */ | ||
477 | int ERROR_RESULT_OPERATION_COUNT = UNKNOWN_RESULT_OPERATION_COUNT + 0; | ||
478 | |||
479 | /** | ||
480 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl <em>Statistics</em>}' class. | ||
481 | * <!-- begin-user-doc --> | ||
482 | * <!-- end-user-doc --> | ||
483 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl | ||
484 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStatistics() | ||
485 | * @generated | ||
486 | */ | ||
487 | int STATISTICS = 6; | ||
488 | |||
489 | /** | ||
490 | * The feature id for the '<em><b>Entries</b></em>' containment reference list. | ||
491 | * <!-- begin-user-doc --> | ||
492 | * <!-- end-user-doc --> | ||
493 | * @generated | ||
494 | * @ordered | ||
495 | */ | ||
496 | int STATISTICS__ENTRIES = 0; | ||
497 | |||
498 | /** | ||
499 | * The feature id for the '<em><b>Transformation Time</b></em>' attribute. | ||
500 | * <!-- begin-user-doc --> | ||
501 | * <!-- end-user-doc --> | ||
502 | * @generated | ||
503 | * @ordered | ||
504 | */ | ||
505 | int STATISTICS__TRANSFORMATION_TIME = 1; | ||
506 | |||
507 | /** | ||
508 | * The feature id for the '<em><b>Solver Time</b></em>' attribute. | ||
509 | * <!-- begin-user-doc --> | ||
510 | * <!-- end-user-doc --> | ||
511 | * @generated | ||
512 | * @ordered | ||
513 | */ | ||
514 | int STATISTICS__SOLVER_TIME = 2; | ||
515 | |||
516 | /** | ||
517 | * The feature id for the '<em><b>Solver Memory</b></em>' attribute. | ||
518 | * <!-- begin-user-doc --> | ||
519 | * <!-- end-user-doc --> | ||
520 | * @generated | ||
521 | * @ordered | ||
522 | */ | ||
523 | int STATISTICS__SOLVER_MEMORY = 3; | ||
524 | |||
525 | /** | ||
526 | * The number of structural features of the '<em>Statistics</em>' class. | ||
527 | * <!-- begin-user-doc --> | ||
528 | * <!-- end-user-doc --> | ||
529 | * @generated | ||
530 | * @ordered | ||
531 | */ | ||
532 | int STATISTICS_FEATURE_COUNT = 4; | ||
533 | |||
534 | /** | ||
535 | * The number of operations of the '<em>Statistics</em>' class. | ||
536 | * <!-- begin-user-doc --> | ||
537 | * <!-- end-user-doc --> | ||
538 | * @generated | ||
539 | * @ordered | ||
540 | */ | ||
541 | int STATISTICS_OPERATION_COUNT = 0; | ||
542 | |||
543 | /** | ||
544 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticEntryImpl <em>Statistic Entry</em>}' class. | ||
545 | * <!-- begin-user-doc --> | ||
546 | * <!-- end-user-doc --> | ||
547 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticEntryImpl | ||
548 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStatisticEntry() | ||
549 | * @generated | ||
550 | */ | ||
551 | int STATISTIC_ENTRY = 7; | ||
552 | |||
553 | /** | ||
554 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
555 | * <!-- begin-user-doc --> | ||
556 | * <!-- end-user-doc --> | ||
557 | * @generated | ||
558 | * @ordered | ||
559 | */ | ||
560 | int STATISTIC_ENTRY__NAME = 0; | ||
561 | |||
562 | /** | ||
563 | * The number of structural features of the '<em>Statistic Entry</em>' class. | ||
564 | * <!-- begin-user-doc --> | ||
565 | * <!-- end-user-doc --> | ||
566 | * @generated | ||
567 | * @ordered | ||
568 | */ | ||
569 | int STATISTIC_ENTRY_FEATURE_COUNT = 1; | ||
570 | |||
571 | /** | ||
572 | * The number of operations of the '<em>Statistic Entry</em>' class. | ||
573 | * <!-- begin-user-doc --> | ||
574 | * <!-- end-user-doc --> | ||
575 | * @generated | ||
576 | * @ordered | ||
577 | */ | ||
578 | int STATISTIC_ENTRY_OPERATION_COUNT = 0; | ||
579 | |||
580 | /** | ||
581 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UndecidableResultImpl <em>Undecidable Result</em>}' class. | ||
582 | * <!-- begin-user-doc --> | ||
583 | * <!-- end-user-doc --> | ||
584 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UndecidableResultImpl | ||
585 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getUndecidableResult() | ||
586 | * @generated | ||
587 | */ | ||
588 | int UNDECIDABLE_RESULT = 8; | ||
589 | |||
590 | /** | ||
591 | * The feature id for the '<em><b>Problem</b></em>' reference. | ||
592 | * <!-- begin-user-doc --> | ||
593 | * <!-- end-user-doc --> | ||
594 | * @generated | ||
595 | * @ordered | ||
596 | */ | ||
597 | int UNDECIDABLE_RESULT__PROBLEM = UNKNOWN_RESULT__PROBLEM; | ||
598 | |||
599 | /** | ||
600 | * The feature id for the '<em><b>Statistics</b></em>' containment reference. | ||
601 | * <!-- begin-user-doc --> | ||
602 | * <!-- end-user-doc --> | ||
603 | * @generated | ||
604 | * @ordered | ||
605 | */ | ||
606 | int UNDECIDABLE_RESULT__STATISTICS = UNKNOWN_RESULT__STATISTICS; | ||
607 | |||
608 | /** | ||
609 | * The feature id for the '<em><b>Trace</b></em>' attribute. | ||
610 | * <!-- begin-user-doc --> | ||
611 | * <!-- end-user-doc --> | ||
612 | * @generated | ||
613 | * @ordered | ||
614 | */ | ||
615 | int UNDECIDABLE_RESULT__TRACE = UNKNOWN_RESULT__TRACE; | ||
616 | |||
617 | /** | ||
618 | * The feature id for the '<em><b>Representation</b></em>' attribute list. | ||
619 | * <!-- begin-user-doc --> | ||
620 | * <!-- end-user-doc --> | ||
621 | * @generated | ||
622 | * @ordered | ||
623 | */ | ||
624 | int UNDECIDABLE_RESULT__REPRESENTATION = UNKNOWN_RESULT__REPRESENTATION; | ||
625 | |||
626 | /** | ||
627 | * The number of structural features of the '<em>Undecidable Result</em>' class. | ||
628 | * <!-- begin-user-doc --> | ||
629 | * <!-- end-user-doc --> | ||
630 | * @generated | ||
631 | * @ordered | ||
632 | */ | ||
633 | int UNDECIDABLE_RESULT_FEATURE_COUNT = UNKNOWN_RESULT_FEATURE_COUNT + 0; | ||
634 | |||
635 | /** | ||
636 | * The number of operations of the '<em>Undecidable Result</em>' class. | ||
637 | * <!-- begin-user-doc --> | ||
638 | * <!-- end-user-doc --> | ||
639 | * @generated | ||
640 | * @ordered | ||
641 | */ | ||
642 | int UNDECIDABLE_RESULT_OPERATION_COUNT = UNKNOWN_RESULT_OPERATION_COUNT + 0; | ||
643 | |||
644 | /** | ||
645 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl <em>Int Statistic Entry</em>}' class. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * <!-- end-user-doc --> | ||
648 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl | ||
649 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getIntStatisticEntry() | ||
650 | * @generated | ||
651 | */ | ||
652 | int INT_STATISTIC_ENTRY = 9; | ||
653 | |||
654 | /** | ||
655 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
656 | * <!-- begin-user-doc --> | ||
657 | * <!-- end-user-doc --> | ||
658 | * @generated | ||
659 | * @ordered | ||
660 | */ | ||
661 | int INT_STATISTIC_ENTRY__NAME = STATISTIC_ENTRY__NAME; | ||
662 | |||
663 | /** | ||
664 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
665 | * <!-- begin-user-doc --> | ||
666 | * <!-- end-user-doc --> | ||
667 | * @generated | ||
668 | * @ordered | ||
669 | */ | ||
670 | int INT_STATISTIC_ENTRY__VALUE = STATISTIC_ENTRY_FEATURE_COUNT + 0; | ||
671 | |||
672 | /** | ||
673 | * The number of structural features of the '<em>Int Statistic Entry</em>' class. | ||
674 | * <!-- begin-user-doc --> | ||
675 | * <!-- end-user-doc --> | ||
676 | * @generated | ||
677 | * @ordered | ||
678 | */ | ||
679 | int INT_STATISTIC_ENTRY_FEATURE_COUNT = STATISTIC_ENTRY_FEATURE_COUNT + 1; | ||
680 | |||
681 | /** | ||
682 | * The number of operations of the '<em>Int Statistic Entry</em>' class. | ||
683 | * <!-- begin-user-doc --> | ||
684 | * <!-- end-user-doc --> | ||
685 | * @generated | ||
686 | * @ordered | ||
687 | */ | ||
688 | int INT_STATISTIC_ENTRY_OPERATION_COUNT = STATISTIC_ENTRY_OPERATION_COUNT + 0; | ||
689 | |||
690 | /** | ||
691 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl <em>Real Statistic Entry</em>}' class. | ||
692 | * <!-- begin-user-doc --> | ||
693 | * <!-- end-user-doc --> | ||
694 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl | ||
695 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getRealStatisticEntry() | ||
696 | * @generated | ||
697 | */ | ||
698 | int REAL_STATISTIC_ENTRY = 10; | ||
699 | |||
700 | /** | ||
701 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
702 | * <!-- begin-user-doc --> | ||
703 | * <!-- end-user-doc --> | ||
704 | * @generated | ||
705 | * @ordered | ||
706 | */ | ||
707 | int REAL_STATISTIC_ENTRY__NAME = STATISTIC_ENTRY__NAME; | ||
708 | |||
709 | /** | ||
710 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
711 | * <!-- begin-user-doc --> | ||
712 | * <!-- end-user-doc --> | ||
713 | * @generated | ||
714 | * @ordered | ||
715 | */ | ||
716 | int REAL_STATISTIC_ENTRY__VALUE = STATISTIC_ENTRY_FEATURE_COUNT + 0; | ||
717 | |||
718 | /** | ||
719 | * The number of structural features of the '<em>Real Statistic Entry</em>' class. | ||
720 | * <!-- begin-user-doc --> | ||
721 | * <!-- end-user-doc --> | ||
722 | * @generated | ||
723 | * @ordered | ||
724 | */ | ||
725 | int REAL_STATISTIC_ENTRY_FEATURE_COUNT = STATISTIC_ENTRY_FEATURE_COUNT + 1; | ||
726 | |||
727 | /** | ||
728 | * The number of operations of the '<em>Real Statistic Entry</em>' class. | ||
729 | * <!-- begin-user-doc --> | ||
730 | * <!-- end-user-doc --> | ||
731 | * @generated | ||
732 | * @ordered | ||
733 | */ | ||
734 | int REAL_STATISTIC_ENTRY_OPERATION_COUNT = STATISTIC_ENTRY_OPERATION_COUNT + 0; | ||
735 | |||
736 | |||
737 | /** | ||
738 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl <em>String Statistic Entry</em>}' class. | ||
739 | * <!-- begin-user-doc --> | ||
740 | * <!-- end-user-doc --> | ||
741 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl | ||
742 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStringStatisticEntry() | ||
743 | * @generated | ||
744 | */ | ||
745 | int STRING_STATISTIC_ENTRY = 11; | ||
746 | |||
747 | /** | ||
748 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
749 | * <!-- begin-user-doc --> | ||
750 | * <!-- end-user-doc --> | ||
751 | * @generated | ||
752 | * @ordered | ||
753 | */ | ||
754 | int STRING_STATISTIC_ENTRY__NAME = STATISTIC_ENTRY__NAME; | ||
755 | |||
756 | /** | ||
757 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
758 | * <!-- begin-user-doc --> | ||
759 | * <!-- end-user-doc --> | ||
760 | * @generated | ||
761 | * @ordered | ||
762 | */ | ||
763 | int STRING_STATISTIC_ENTRY__VALUE = STATISTIC_ENTRY_FEATURE_COUNT + 0; | ||
764 | |||
765 | /** | ||
766 | * The number of structural features of the '<em>String Statistic Entry</em>' class. | ||
767 | * <!-- begin-user-doc --> | ||
768 | * <!-- end-user-doc --> | ||
769 | * @generated | ||
770 | * @ordered | ||
771 | */ | ||
772 | int STRING_STATISTIC_ENTRY_FEATURE_COUNT = STATISTIC_ENTRY_FEATURE_COUNT + 1; | ||
773 | |||
774 | /** | ||
775 | * The number of operations of the '<em>String Statistic Entry</em>' class. | ||
776 | * <!-- begin-user-doc --> | ||
777 | * <!-- end-user-doc --> | ||
778 | * @generated | ||
779 | * @ordered | ||
780 | */ | ||
781 | int STRING_STATISTIC_ENTRY_OPERATION_COUNT = STATISTIC_ENTRY_OPERATION_COUNT + 0; | ||
782 | |||
783 | |||
784 | /** | ||
785 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult <em>Logic Result</em>}'. | ||
786 | * <!-- begin-user-doc --> | ||
787 | * <!-- end-user-doc --> | ||
788 | * @return the meta object for class '<em>Logic Result</em>'. | ||
789 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult | ||
790 | * @generated | ||
791 | */ | ||
792 | EClass getLogicResult(); | ||
793 | |||
794 | /** | ||
795 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getProblem <em>Problem</em>}'. | ||
796 | * <!-- begin-user-doc --> | ||
797 | * <!-- end-user-doc --> | ||
798 | * @return the meta object for the reference '<em>Problem</em>'. | ||
799 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getProblem() | ||
800 | * @see #getLogicResult() | ||
801 | * @generated | ||
802 | */ | ||
803 | EReference getLogicResult_Problem(); | ||
804 | |||
805 | /** | ||
806 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getStatistics <em>Statistics</em>}'. | ||
807 | * <!-- begin-user-doc --> | ||
808 | * <!-- end-user-doc --> | ||
809 | * @return the meta object for the containment reference '<em>Statistics</em>'. | ||
810 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getStatistics() | ||
811 | * @see #getLogicResult() | ||
812 | * @generated | ||
813 | */ | ||
814 | EReference getLogicResult_Statistics(); | ||
815 | |||
816 | /** | ||
817 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getTrace <em>Trace</em>}'. | ||
818 | * <!-- begin-user-doc --> | ||
819 | * <!-- end-user-doc --> | ||
820 | * @return the meta object for the attribute '<em>Trace</em>'. | ||
821 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getTrace() | ||
822 | * @see #getLogicResult() | ||
823 | * @generated | ||
824 | */ | ||
825 | EAttribute getLogicResult_Trace(); | ||
826 | |||
827 | /** | ||
828 | * Returns the meta object for the attribute list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getRepresentation <em>Representation</em>}'. | ||
829 | * <!-- begin-user-doc --> | ||
830 | * <!-- end-user-doc --> | ||
831 | * @return the meta object for the attribute list '<em>Representation</em>'. | ||
832 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getRepresentation() | ||
833 | * @see #getLogicResult() | ||
834 | * @generated | ||
835 | */ | ||
836 | EAttribute getLogicResult_Representation(); | ||
837 | |||
838 | /** | ||
839 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult <em>Model Result</em>}'. | ||
840 | * <!-- begin-user-doc --> | ||
841 | * <!-- end-user-doc --> | ||
842 | * @return the meta object for class '<em>Model Result</em>'. | ||
843 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult | ||
844 | * @generated | ||
845 | */ | ||
846 | EClass getModelResult(); | ||
847 | |||
848 | /** | ||
849 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMaxInteger <em>Max Integer</em>}'. | ||
850 | * <!-- begin-user-doc --> | ||
851 | * <!-- end-user-doc --> | ||
852 | * @return the meta object for the attribute '<em>Max Integer</em>'. | ||
853 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMaxInteger() | ||
854 | * @see #getModelResult() | ||
855 | * @generated | ||
856 | */ | ||
857 | EAttribute getModelResult_MaxInteger(); | ||
858 | |||
859 | /** | ||
860 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMinInteger <em>Min Integer</em>}'. | ||
861 | * <!-- begin-user-doc --> | ||
862 | * <!-- end-user-doc --> | ||
863 | * @return the meta object for the attribute '<em>Min Integer</em>'. | ||
864 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMinInteger() | ||
865 | * @see #getModelResult() | ||
866 | * @generated | ||
867 | */ | ||
868 | EAttribute getModelResult_MinInteger(); | ||
869 | |||
870 | /** | ||
871 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult <em>Inconsistency Result</em>}'. | ||
872 | * <!-- begin-user-doc --> | ||
873 | * <!-- end-user-doc --> | ||
874 | * @return the meta object for class '<em>Inconsistency Result</em>'. | ||
875 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult | ||
876 | * @generated | ||
877 | */ | ||
878 | EClass getInconsistencyResult(); | ||
879 | |||
880 | /** | ||
881 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult <em>Unknown Result</em>}'. | ||
882 | * <!-- begin-user-doc --> | ||
883 | * <!-- end-user-doc --> | ||
884 | * @return the meta object for class '<em>Unknown Result</em>'. | ||
885 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult | ||
886 | * @generated | ||
887 | */ | ||
888 | EClass getUnknownResult(); | ||
889 | |||
890 | /** | ||
891 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult <em>Insuficient Resources Result</em>}'. | ||
892 | * <!-- begin-user-doc --> | ||
893 | * <!-- end-user-doc --> | ||
894 | * @return the meta object for class '<em>Insuficient Resources Result</em>'. | ||
895 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult | ||
896 | * @generated | ||
897 | */ | ||
898 | EClass getInsuficientResourcesResult(); | ||
899 | |||
900 | /** | ||
901 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult#getResourceName <em>Resource Name</em>}'. | ||
902 | * <!-- begin-user-doc --> | ||
903 | * <!-- end-user-doc --> | ||
904 | * @return the meta object for the attribute '<em>Resource Name</em>'. | ||
905 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult#getResourceName() | ||
906 | * @see #getInsuficientResourcesResult() | ||
907 | * @generated | ||
908 | */ | ||
909 | EAttribute getInsuficientResourcesResult_ResourceName(); | ||
910 | |||
911 | /** | ||
912 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult <em>Error Result</em>}'. | ||
913 | * <!-- begin-user-doc --> | ||
914 | * <!-- end-user-doc --> | ||
915 | * @return the meta object for class '<em>Error Result</em>'. | ||
916 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult | ||
917 | * @generated | ||
918 | */ | ||
919 | EClass getErrorResult(); | ||
920 | |||
921 | /** | ||
922 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult#getMessage <em>Message</em>}'. | ||
923 | * <!-- begin-user-doc --> | ||
924 | * <!-- end-user-doc --> | ||
925 | * @return the meta object for the attribute '<em>Message</em>'. | ||
926 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult#getMessage() | ||
927 | * @see #getErrorResult() | ||
928 | * @generated | ||
929 | */ | ||
930 | EAttribute getErrorResult_Message(); | ||
931 | |||
932 | /** | ||
933 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics <em>Statistics</em>}'. | ||
934 | * <!-- begin-user-doc --> | ||
935 | * <!-- end-user-doc --> | ||
936 | * @return the meta object for class '<em>Statistics</em>'. | ||
937 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics | ||
938 | * @generated | ||
939 | */ | ||
940 | EClass getStatistics(); | ||
941 | |||
942 | /** | ||
943 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getEntries <em>Entries</em>}'. | ||
944 | * <!-- begin-user-doc --> | ||
945 | * <!-- end-user-doc --> | ||
946 | * @return the meta object for the containment reference list '<em>Entries</em>'. | ||
947 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getEntries() | ||
948 | * @see #getStatistics() | ||
949 | * @generated | ||
950 | */ | ||
951 | EReference getStatistics_Entries(); | ||
952 | |||
953 | /** | ||
954 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getTransformationTime <em>Transformation Time</em>}'. | ||
955 | * <!-- begin-user-doc --> | ||
956 | * <!-- end-user-doc --> | ||
957 | * @return the meta object for the attribute '<em>Transformation Time</em>'. | ||
958 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getTransformationTime() | ||
959 | * @see #getStatistics() | ||
960 | * @generated | ||
961 | */ | ||
962 | EAttribute getStatistics_TransformationTime(); | ||
963 | |||
964 | /** | ||
965 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverTime <em>Solver Time</em>}'. | ||
966 | * <!-- begin-user-doc --> | ||
967 | * <!-- end-user-doc --> | ||
968 | * @return the meta object for the attribute '<em>Solver Time</em>'. | ||
969 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverTime() | ||
970 | * @see #getStatistics() | ||
971 | * @generated | ||
972 | */ | ||
973 | EAttribute getStatistics_SolverTime(); | ||
974 | |||
975 | /** | ||
976 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverMemory <em>Solver Memory</em>}'. | ||
977 | * <!-- begin-user-doc --> | ||
978 | * <!-- end-user-doc --> | ||
979 | * @return the meta object for the attribute '<em>Solver Memory</em>'. | ||
980 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverMemory() | ||
981 | * @see #getStatistics() | ||
982 | * @generated | ||
983 | */ | ||
984 | EAttribute getStatistics_SolverMemory(); | ||
985 | |||
986 | /** | ||
987 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry <em>Statistic Entry</em>}'. | ||
988 | * <!-- begin-user-doc --> | ||
989 | * <!-- end-user-doc --> | ||
990 | * @return the meta object for class '<em>Statistic Entry</em>'. | ||
991 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry | ||
992 | * @generated | ||
993 | */ | ||
994 | EClass getStatisticEntry(); | ||
995 | |||
996 | /** | ||
997 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry#getName <em>Name</em>}'. | ||
998 | * <!-- begin-user-doc --> | ||
999 | * <!-- end-user-doc --> | ||
1000 | * @return the meta object for the attribute '<em>Name</em>'. | ||
1001 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry#getName() | ||
1002 | * @see #getStatisticEntry() | ||
1003 | * @generated | ||
1004 | */ | ||
1005 | EAttribute getStatisticEntry_Name(); | ||
1006 | |||
1007 | /** | ||
1008 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult <em>Undecidable Result</em>}'. | ||
1009 | * <!-- begin-user-doc --> | ||
1010 | * <!-- end-user-doc --> | ||
1011 | * @return the meta object for class '<em>Undecidable Result</em>'. | ||
1012 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult | ||
1013 | * @generated | ||
1014 | */ | ||
1015 | EClass getUndecidableResult(); | ||
1016 | |||
1017 | /** | ||
1018 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry <em>Int Statistic Entry</em>}'. | ||
1019 | * <!-- begin-user-doc --> | ||
1020 | * <!-- end-user-doc --> | ||
1021 | * @return the meta object for class '<em>Int Statistic Entry</em>'. | ||
1022 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry | ||
1023 | * @generated | ||
1024 | */ | ||
1025 | EClass getIntStatisticEntry(); | ||
1026 | |||
1027 | /** | ||
1028 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry#getValue <em>Value</em>}'. | ||
1029 | * <!-- begin-user-doc --> | ||
1030 | * <!-- end-user-doc --> | ||
1031 | * @return the meta object for the attribute '<em>Value</em>'. | ||
1032 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry#getValue() | ||
1033 | * @see #getIntStatisticEntry() | ||
1034 | * @generated | ||
1035 | */ | ||
1036 | EAttribute getIntStatisticEntry_Value(); | ||
1037 | |||
1038 | /** | ||
1039 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry <em>Real Statistic Entry</em>}'. | ||
1040 | * <!-- begin-user-doc --> | ||
1041 | * <!-- end-user-doc --> | ||
1042 | * @return the meta object for class '<em>Real Statistic Entry</em>'. | ||
1043 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry | ||
1044 | * @generated | ||
1045 | */ | ||
1046 | EClass getRealStatisticEntry(); | ||
1047 | |||
1048 | /** | ||
1049 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry#getValue <em>Value</em>}'. | ||
1050 | * <!-- begin-user-doc --> | ||
1051 | * <!-- end-user-doc --> | ||
1052 | * @return the meta object for the attribute '<em>Value</em>'. | ||
1053 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry#getValue() | ||
1054 | * @see #getRealStatisticEntry() | ||
1055 | * @generated | ||
1056 | */ | ||
1057 | EAttribute getRealStatisticEntry_Value(); | ||
1058 | |||
1059 | /** | ||
1060 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry <em>String Statistic Entry</em>}'. | ||
1061 | * <!-- begin-user-doc --> | ||
1062 | * <!-- end-user-doc --> | ||
1063 | * @return the meta object for class '<em>String Statistic Entry</em>'. | ||
1064 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry | ||
1065 | * @generated | ||
1066 | */ | ||
1067 | EClass getStringStatisticEntry(); | ||
1068 | |||
1069 | /** | ||
1070 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry#getValue <em>Value</em>}'. | ||
1071 | * <!-- begin-user-doc --> | ||
1072 | * <!-- end-user-doc --> | ||
1073 | * @return the meta object for the attribute '<em>Value</em>'. | ||
1074 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry#getValue() | ||
1075 | * @see #getStringStatisticEntry() | ||
1076 | * @generated | ||
1077 | */ | ||
1078 | EAttribute getStringStatisticEntry_Value(); | ||
1079 | |||
1080 | /** | ||
1081 | * Returns the factory that creates the instances of the model. | ||
1082 | * <!-- begin-user-doc --> | ||
1083 | * <!-- end-user-doc --> | ||
1084 | * @return the factory that creates the instances of the model. | ||
1085 | * @generated | ||
1086 | */ | ||
1087 | LogicresultFactory getLogicresultFactory(); | ||
1088 | |||
1089 | /** | ||
1090 | * <!-- begin-user-doc --> | ||
1091 | * Defines literals for the meta objects that represent | ||
1092 | * <ul> | ||
1093 | * <li>each class,</li> | ||
1094 | * <li>each feature of each class,</li> | ||
1095 | * <li>each operation of each class,</li> | ||
1096 | * <li>each enum,</li> | ||
1097 | * <li>and each data type</li> | ||
1098 | * </ul> | ||
1099 | * <!-- end-user-doc --> | ||
1100 | * @generated | ||
1101 | */ | ||
1102 | interface Literals { | ||
1103 | /** | ||
1104 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl <em>Logic Result</em>}' class. | ||
1105 | * <!-- begin-user-doc --> | ||
1106 | * <!-- end-user-doc --> | ||
1107 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl | ||
1108 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getLogicResult() | ||
1109 | * @generated | ||
1110 | */ | ||
1111 | EClass LOGIC_RESULT = eINSTANCE.getLogicResult(); | ||
1112 | |||
1113 | /** | ||
1114 | * The meta object literal for the '<em><b>Problem</b></em>' reference feature. | ||
1115 | * <!-- begin-user-doc --> | ||
1116 | * <!-- end-user-doc --> | ||
1117 | * @generated | ||
1118 | */ | ||
1119 | EReference LOGIC_RESULT__PROBLEM = eINSTANCE.getLogicResult_Problem(); | ||
1120 | |||
1121 | /** | ||
1122 | * The meta object literal for the '<em><b>Statistics</b></em>' containment reference feature. | ||
1123 | * <!-- begin-user-doc --> | ||
1124 | * <!-- end-user-doc --> | ||
1125 | * @generated | ||
1126 | */ | ||
1127 | EReference LOGIC_RESULT__STATISTICS = eINSTANCE.getLogicResult_Statistics(); | ||
1128 | |||
1129 | /** | ||
1130 | * The meta object literal for the '<em><b>Trace</b></em>' attribute feature. | ||
1131 | * <!-- begin-user-doc --> | ||
1132 | * <!-- end-user-doc --> | ||
1133 | * @generated | ||
1134 | */ | ||
1135 | EAttribute LOGIC_RESULT__TRACE = eINSTANCE.getLogicResult_Trace(); | ||
1136 | |||
1137 | /** | ||
1138 | * The meta object literal for the '<em><b>Representation</b></em>' attribute list feature. | ||
1139 | * <!-- begin-user-doc --> | ||
1140 | * <!-- end-user-doc --> | ||
1141 | * @generated | ||
1142 | */ | ||
1143 | EAttribute LOGIC_RESULT__REPRESENTATION = eINSTANCE.getLogicResult_Representation(); | ||
1144 | |||
1145 | /** | ||
1146 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl <em>Model Result</em>}' class. | ||
1147 | * <!-- begin-user-doc --> | ||
1148 | * <!-- end-user-doc --> | ||
1149 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl | ||
1150 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getModelResult() | ||
1151 | * @generated | ||
1152 | */ | ||
1153 | EClass MODEL_RESULT = eINSTANCE.getModelResult(); | ||
1154 | |||
1155 | /** | ||
1156 | * The meta object literal for the '<em><b>Max Integer</b></em>' attribute feature. | ||
1157 | * <!-- begin-user-doc --> | ||
1158 | * <!-- end-user-doc --> | ||
1159 | * @generated | ||
1160 | */ | ||
1161 | EAttribute MODEL_RESULT__MAX_INTEGER = eINSTANCE.getModelResult_MaxInteger(); | ||
1162 | |||
1163 | /** | ||
1164 | * The meta object literal for the '<em><b>Min Integer</b></em>' attribute feature. | ||
1165 | * <!-- begin-user-doc --> | ||
1166 | * <!-- end-user-doc --> | ||
1167 | * @generated | ||
1168 | */ | ||
1169 | EAttribute MODEL_RESULT__MIN_INTEGER = eINSTANCE.getModelResult_MinInteger(); | ||
1170 | |||
1171 | /** | ||
1172 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InconsistencyResultImpl <em>Inconsistency Result</em>}' class. | ||
1173 | * <!-- begin-user-doc --> | ||
1174 | * <!-- end-user-doc --> | ||
1175 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InconsistencyResultImpl | ||
1176 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getInconsistencyResult() | ||
1177 | * @generated | ||
1178 | */ | ||
1179 | EClass INCONSISTENCY_RESULT = eINSTANCE.getInconsistencyResult(); | ||
1180 | |||
1181 | /** | ||
1182 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UnknownResultImpl <em>Unknown Result</em>}' class. | ||
1183 | * <!-- begin-user-doc --> | ||
1184 | * <!-- end-user-doc --> | ||
1185 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UnknownResultImpl | ||
1186 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getUnknownResult() | ||
1187 | * @generated | ||
1188 | */ | ||
1189 | EClass UNKNOWN_RESULT = eINSTANCE.getUnknownResult(); | ||
1190 | |||
1191 | /** | ||
1192 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl <em>Insuficient Resources Result</em>}' class. | ||
1193 | * <!-- begin-user-doc --> | ||
1194 | * <!-- end-user-doc --> | ||
1195 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl | ||
1196 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getInsuficientResourcesResult() | ||
1197 | * @generated | ||
1198 | */ | ||
1199 | EClass INSUFICIENT_RESOURCES_RESULT = eINSTANCE.getInsuficientResourcesResult(); | ||
1200 | |||
1201 | /** | ||
1202 | * The meta object literal for the '<em><b>Resource Name</b></em>' attribute feature. | ||
1203 | * <!-- begin-user-doc --> | ||
1204 | * <!-- end-user-doc --> | ||
1205 | * @generated | ||
1206 | */ | ||
1207 | EAttribute INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME = eINSTANCE.getInsuficientResourcesResult_ResourceName(); | ||
1208 | |||
1209 | /** | ||
1210 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl <em>Error Result</em>}' class. | ||
1211 | * <!-- begin-user-doc --> | ||
1212 | * <!-- end-user-doc --> | ||
1213 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl | ||
1214 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getErrorResult() | ||
1215 | * @generated | ||
1216 | */ | ||
1217 | EClass ERROR_RESULT = eINSTANCE.getErrorResult(); | ||
1218 | |||
1219 | /** | ||
1220 | * The meta object literal for the '<em><b>Message</b></em>' attribute feature. | ||
1221 | * <!-- begin-user-doc --> | ||
1222 | * <!-- end-user-doc --> | ||
1223 | * @generated | ||
1224 | */ | ||
1225 | EAttribute ERROR_RESULT__MESSAGE = eINSTANCE.getErrorResult_Message(); | ||
1226 | |||
1227 | /** | ||
1228 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl <em>Statistics</em>}' class. | ||
1229 | * <!-- begin-user-doc --> | ||
1230 | * <!-- end-user-doc --> | ||
1231 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl | ||
1232 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStatistics() | ||
1233 | * @generated | ||
1234 | */ | ||
1235 | EClass STATISTICS = eINSTANCE.getStatistics(); | ||
1236 | |||
1237 | /** | ||
1238 | * The meta object literal for the '<em><b>Entries</b></em>' containment reference list feature. | ||
1239 | * <!-- begin-user-doc --> | ||
1240 | * <!-- end-user-doc --> | ||
1241 | * @generated | ||
1242 | */ | ||
1243 | EReference STATISTICS__ENTRIES = eINSTANCE.getStatistics_Entries(); | ||
1244 | |||
1245 | /** | ||
1246 | * The meta object literal for the '<em><b>Transformation Time</b></em>' attribute feature. | ||
1247 | * <!-- begin-user-doc --> | ||
1248 | * <!-- end-user-doc --> | ||
1249 | * @generated | ||
1250 | */ | ||
1251 | EAttribute STATISTICS__TRANSFORMATION_TIME = eINSTANCE.getStatistics_TransformationTime(); | ||
1252 | |||
1253 | /** | ||
1254 | * The meta object literal for the '<em><b>Solver Time</b></em>' attribute feature. | ||
1255 | * <!-- begin-user-doc --> | ||
1256 | * <!-- end-user-doc --> | ||
1257 | * @generated | ||
1258 | */ | ||
1259 | EAttribute STATISTICS__SOLVER_TIME = eINSTANCE.getStatistics_SolverTime(); | ||
1260 | |||
1261 | /** | ||
1262 | * The meta object literal for the '<em><b>Solver Memory</b></em>' attribute feature. | ||
1263 | * <!-- begin-user-doc --> | ||
1264 | * <!-- end-user-doc --> | ||
1265 | * @generated | ||
1266 | */ | ||
1267 | EAttribute STATISTICS__SOLVER_MEMORY = eINSTANCE.getStatistics_SolverMemory(); | ||
1268 | |||
1269 | /** | ||
1270 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticEntryImpl <em>Statistic Entry</em>}' class. | ||
1271 | * <!-- begin-user-doc --> | ||
1272 | * <!-- end-user-doc --> | ||
1273 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticEntryImpl | ||
1274 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStatisticEntry() | ||
1275 | * @generated | ||
1276 | */ | ||
1277 | EClass STATISTIC_ENTRY = eINSTANCE.getStatisticEntry(); | ||
1278 | |||
1279 | /** | ||
1280 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
1281 | * <!-- begin-user-doc --> | ||
1282 | * <!-- end-user-doc --> | ||
1283 | * @generated | ||
1284 | */ | ||
1285 | EAttribute STATISTIC_ENTRY__NAME = eINSTANCE.getStatisticEntry_Name(); | ||
1286 | |||
1287 | /** | ||
1288 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UndecidableResultImpl <em>Undecidable Result</em>}' class. | ||
1289 | * <!-- begin-user-doc --> | ||
1290 | * <!-- end-user-doc --> | ||
1291 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UndecidableResultImpl | ||
1292 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getUndecidableResult() | ||
1293 | * @generated | ||
1294 | */ | ||
1295 | EClass UNDECIDABLE_RESULT = eINSTANCE.getUndecidableResult(); | ||
1296 | |||
1297 | /** | ||
1298 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl <em>Int Statistic Entry</em>}' class. | ||
1299 | * <!-- begin-user-doc --> | ||
1300 | * <!-- end-user-doc --> | ||
1301 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl | ||
1302 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getIntStatisticEntry() | ||
1303 | * @generated | ||
1304 | */ | ||
1305 | EClass INT_STATISTIC_ENTRY = eINSTANCE.getIntStatisticEntry(); | ||
1306 | |||
1307 | /** | ||
1308 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
1309 | * <!-- begin-user-doc --> | ||
1310 | * <!-- end-user-doc --> | ||
1311 | * @generated | ||
1312 | */ | ||
1313 | EAttribute INT_STATISTIC_ENTRY__VALUE = eINSTANCE.getIntStatisticEntry_Value(); | ||
1314 | |||
1315 | /** | ||
1316 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl <em>Real Statistic Entry</em>}' class. | ||
1317 | * <!-- begin-user-doc --> | ||
1318 | * <!-- end-user-doc --> | ||
1319 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl | ||
1320 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getRealStatisticEntry() | ||
1321 | * @generated | ||
1322 | */ | ||
1323 | EClass REAL_STATISTIC_ENTRY = eINSTANCE.getRealStatisticEntry(); | ||
1324 | |||
1325 | /** | ||
1326 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
1327 | * <!-- begin-user-doc --> | ||
1328 | * <!-- end-user-doc --> | ||
1329 | * @generated | ||
1330 | */ | ||
1331 | EAttribute REAL_STATISTIC_ENTRY__VALUE = eINSTANCE.getRealStatisticEntry_Value(); | ||
1332 | |||
1333 | /** | ||
1334 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl <em>String Statistic Entry</em>}' class. | ||
1335 | * <!-- begin-user-doc --> | ||
1336 | * <!-- end-user-doc --> | ||
1337 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl | ||
1338 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStringStatisticEntry() | ||
1339 | * @generated | ||
1340 | */ | ||
1341 | EClass STRING_STATISTIC_ENTRY = eINSTANCE.getStringStatisticEntry(); | ||
1342 | |||
1343 | /** | ||
1344 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
1345 | * <!-- begin-user-doc --> | ||
1346 | * <!-- end-user-doc --> | ||
1347 | * @generated | ||
1348 | */ | ||
1349 | EAttribute STRING_STATISTIC_ENTRY__VALUE = eINSTANCE.getStringStatisticEntry_Value(); | ||
1350 | |||
1351 | } | ||
1352 | |||
1353 | } //LogicresultPackage | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ModelResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ModelResult.java new file mode 100644 index 00000000..6cef941d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ModelResult.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Model Result</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMaxInteger <em>Max Integer</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMinInteger <em>Min Integer</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getModelResult() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ModelResult extends LogicResult { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Max Integer</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Max Integer</em>' attribute isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Max Integer</em>' attribute. | ||
33 | * @see #setMaxInteger(int) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getModelResult_MaxInteger() | ||
35 | * @model required="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | int getMaxInteger(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMaxInteger <em>Max Integer</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Max Integer</em>' attribute. | ||
45 | * @see #getMaxInteger() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setMaxInteger(int value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Min Integer</b></em>' attribute. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>Min Integer</em>' attribute isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Min Integer</em>' attribute. | ||
59 | * @see #setMinInteger(int) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getModelResult_MinInteger() | ||
61 | * @model required="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | int getMinInteger(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMinInteger <em>Min Integer</em>}' attribute. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>Min Integer</em>' attribute. | ||
71 | * @see #getMinInteger() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setMinInteger(int value); | ||
75 | |||
76 | } // ModelResult | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/RealStatisticEntry.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/RealStatisticEntry.java new file mode 100644 index 00000000..427416bf --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/RealStatisticEntry.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Real Statistic Entry</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry#getValue <em>Value</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getRealStatisticEntry() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface RealStatisticEntry extends StatisticEntry { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Value</em>' attribute. | ||
32 | * @see #setValue(double) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getRealStatisticEntry_Value() | ||
34 | * @model required="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | double getValue(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry#getValue <em>Value</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Value</em>' attribute. | ||
44 | * @see #getValue() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setValue(double value); | ||
48 | |||
49 | } // RealStatisticEntry | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StatisticEntry.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StatisticEntry.java new file mode 100644 index 00000000..f805c781 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StatisticEntry.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Statistic Entry</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.logic.model.logicresult.StatisticEntry#getName <em>Name</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatisticEntry() | ||
20 | * @model abstract="true" | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface StatisticEntry extends EObject { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Name</em>' attribute. | ||
33 | * @see #setName(String) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatisticEntry_Name() | ||
35 | * @model required="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | String getName(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry#getName <em>Name</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Name</em>' attribute. | ||
45 | * @see #getName() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setName(String value); | ||
49 | |||
50 | } // StatisticEntry | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/Statistics.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/Statistics.java new file mode 100644 index 00000000..5b14d009 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/Statistics.java | |||
@@ -0,0 +1,126 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Statistics</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getEntries <em>Entries</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getTransformationTime <em>Transformation Time</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverTime <em>Solver Time</em>}</li> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverMemory <em>Solver Memory</em>}</li> | ||
22 | * </ul> | ||
23 | * | ||
24 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics() | ||
25 | * @model | ||
26 | * @generated | ||
27 | */ | ||
28 | public interface Statistics extends EObject { | ||
29 | /** | ||
30 | * Returns the value of the '<em><b>Entries</b></em>' containment reference list. | ||
31 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry}. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <p> | ||
34 | * If the meaning of the '<em>Entries</em>' containment reference list isn't clear, | ||
35 | * there really should be more of a description here... | ||
36 | * </p> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @return the value of the '<em>Entries</em>' containment reference list. | ||
39 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics_Entries() | ||
40 | * @model containment="true" | ||
41 | * @generated | ||
42 | */ | ||
43 | EList<StatisticEntry> getEntries(); | ||
44 | |||
45 | /** | ||
46 | * Returns the value of the '<em><b>Transformation Time</b></em>' attribute. | ||
47 | * The default value is <code>"-1"</code>. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <p> | ||
50 | * If the meaning of the '<em>Transformation Time</em>' attribute isn't clear, | ||
51 | * there really should be more of a description here... | ||
52 | * </p> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @return the value of the '<em>Transformation Time</em>' attribute. | ||
55 | * @see #setTransformationTime(int) | ||
56 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics_TransformationTime() | ||
57 | * @model default="-1" required="true" | ||
58 | * @generated | ||
59 | */ | ||
60 | int getTransformationTime(); | ||
61 | |||
62 | /** | ||
63 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getTransformationTime <em>Transformation Time</em>}' attribute. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @param value the new value of the '<em>Transformation Time</em>' attribute. | ||
67 | * @see #getTransformationTime() | ||
68 | * @generated | ||
69 | */ | ||
70 | void setTransformationTime(int value); | ||
71 | |||
72 | /** | ||
73 | * Returns the value of the '<em><b>Solver Time</b></em>' attribute. | ||
74 | * The default value is <code>"-1"</code>. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <p> | ||
77 | * If the meaning of the '<em>Solver Time</em>' attribute isn't clear, | ||
78 | * there really should be more of a description here... | ||
79 | * </p> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @return the value of the '<em>Solver Time</em>' attribute. | ||
82 | * @see #setSolverTime(int) | ||
83 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics_SolverTime() | ||
84 | * @model default="-1" required="true" | ||
85 | * @generated | ||
86 | */ | ||
87 | int getSolverTime(); | ||
88 | |||
89 | /** | ||
90 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverTime <em>Solver Time</em>}' attribute. | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @param value the new value of the '<em>Solver Time</em>' attribute. | ||
94 | * @see #getSolverTime() | ||
95 | * @generated | ||
96 | */ | ||
97 | void setSolverTime(int value); | ||
98 | |||
99 | /** | ||
100 | * Returns the value of the '<em><b>Solver Memory</b></em>' attribute. | ||
101 | * The default value is <code>"-1"</code>. | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <p> | ||
104 | * If the meaning of the '<em>Solver Memory</em>' attribute isn't clear, | ||
105 | * there really should be more of a description here... | ||
106 | * </p> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @return the value of the '<em>Solver Memory</em>' attribute. | ||
109 | * @see #setSolverMemory(int) | ||
110 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics_SolverMemory() | ||
111 | * @model default="-1" | ||
112 | * @generated | ||
113 | */ | ||
114 | int getSolverMemory(); | ||
115 | |||
116 | /** | ||
117 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverMemory <em>Solver Memory</em>}' attribute. | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @param value the new value of the '<em>Solver Memory</em>' attribute. | ||
121 | * @see #getSolverMemory() | ||
122 | * @generated | ||
123 | */ | ||
124 | void setSolverMemory(int value); | ||
125 | |||
126 | } // Statistics | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StringStatisticEntry.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StringStatisticEntry.java new file mode 100644 index 00000000..7d9208fa --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StringStatisticEntry.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>String Statistic Entry</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry#getValue <em>Value</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStringStatisticEntry() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface StringStatisticEntry extends StatisticEntry { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
25 | * The default value is <code>"Unfilled"</code>. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Value</em>' attribute. | ||
33 | * @see #setValue(String) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStringStatisticEntry_Value() | ||
35 | * @model default="Unfilled" required="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | String getValue(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry#getValue <em>Value</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Value</em>' attribute. | ||
45 | * @see #getValue() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setValue(String value); | ||
49 | |||
50 | } // StringStatisticEntry | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UndecidableResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UndecidableResult.java new file mode 100644 index 00000000..e820eb4f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UndecidableResult.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Undecidable Result</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getUndecidableResult() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface UndecidableResult extends UnknownResult { | ||
17 | } // UndecidableResult | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UnknownResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UnknownResult.java new file mode 100644 index 00000000..25afa286 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UnknownResult.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Unknown Result</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getUnknownResult() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface UnknownResult extends LogicResult { | ||
17 | } // UnknownResult | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ErrorResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ErrorResultImpl.java new file mode 100644 index 00000000..579bc772 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ErrorResultImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Error Result</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl#getMessage <em>Message</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class ErrorResultImpl extends UnknownResultImpl implements ErrorResult { | ||
28 | /** | ||
29 | * The default value of the '{@link #getMessage() <em>Message</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getMessage() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final String MESSAGE_EDEFAULT = null; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getMessage() <em>Message</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getMessage() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected String message = MESSAGE_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected ErrorResultImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return LogicresultPackage.Literals.ERROR_RESULT; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public String getMessage() { | ||
73 | return message; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public void setMessage(String newMessage) { | ||
82 | String oldMessage = message; | ||
83 | message = newMessage; | ||
84 | if (eNotificationRequired()) | ||
85 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.ERROR_RESULT__MESSAGE, oldMessage, message)); | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
95 | switch (featureID) { | ||
96 | case LogicresultPackage.ERROR_RESULT__MESSAGE: | ||
97 | return getMessage(); | ||
98 | } | ||
99 | return super.eGet(featureID, resolve, coreType); | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | @Override | ||
108 | public void eSet(int featureID, Object newValue) { | ||
109 | switch (featureID) { | ||
110 | case LogicresultPackage.ERROR_RESULT__MESSAGE: | ||
111 | setMessage((String)newValue); | ||
112 | return; | ||
113 | } | ||
114 | super.eSet(featureID, newValue); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public void eUnset(int featureID) { | ||
124 | switch (featureID) { | ||
125 | case LogicresultPackage.ERROR_RESULT__MESSAGE: | ||
126 | setMessage(MESSAGE_EDEFAULT); | ||
127 | return; | ||
128 | } | ||
129 | super.eUnset(featureID); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public boolean eIsSet(int featureID) { | ||
139 | switch (featureID) { | ||
140 | case LogicresultPackage.ERROR_RESULT__MESSAGE: | ||
141 | return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message); | ||
142 | } | ||
143 | return super.eIsSet(featureID); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public String toString() { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (message: "); | ||
157 | result.append(message); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //ErrorResultImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InconsistencyResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InconsistencyResultImpl.java new file mode 100644 index 00000000..de24477d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InconsistencyResultImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Inconsistency Result</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class InconsistencyResultImpl extends LogicResultImpl implements InconsistencyResult { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected InconsistencyResultImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogicresultPackage.Literals.INCONSISTENCY_RESULT; | ||
35 | } | ||
36 | |||
37 | } //InconsistencyResultImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InsuficientResourcesResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InsuficientResourcesResultImpl.java new file mode 100644 index 00000000..3f8d7ebf --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InsuficientResourcesResultImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Insuficient Resources Result</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl#getResourceName <em>Resource Name</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class InsuficientResourcesResultImpl extends UnknownResultImpl implements InsuficientResourcesResult { | ||
28 | /** | ||
29 | * The default value of the '{@link #getResourceName() <em>Resource Name</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getResourceName() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final String RESOURCE_NAME_EDEFAULT = null; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getResourceName() <em>Resource Name</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getResourceName() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected String resourceName = RESOURCE_NAME_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected InsuficientResourcesResultImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return LogicresultPackage.Literals.INSUFICIENT_RESOURCES_RESULT; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public String getResourceName() { | ||
73 | return resourceName; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public void setResourceName(String newResourceName) { | ||
82 | String oldResourceName = resourceName; | ||
83 | resourceName = newResourceName; | ||
84 | if (eNotificationRequired()) | ||
85 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME, oldResourceName, resourceName)); | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
95 | switch (featureID) { | ||
96 | case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME: | ||
97 | return getResourceName(); | ||
98 | } | ||
99 | return super.eGet(featureID, resolve, coreType); | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | @Override | ||
108 | public void eSet(int featureID, Object newValue) { | ||
109 | switch (featureID) { | ||
110 | case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME: | ||
111 | setResourceName((String)newValue); | ||
112 | return; | ||
113 | } | ||
114 | super.eSet(featureID, newValue); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public void eUnset(int featureID) { | ||
124 | switch (featureID) { | ||
125 | case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME: | ||
126 | setResourceName(RESOURCE_NAME_EDEFAULT); | ||
127 | return; | ||
128 | } | ||
129 | super.eUnset(featureID); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public boolean eIsSet(int featureID) { | ||
139 | switch (featureID) { | ||
140 | case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME: | ||
141 | return RESOURCE_NAME_EDEFAULT == null ? resourceName != null : !RESOURCE_NAME_EDEFAULT.equals(resourceName); | ||
142 | } | ||
143 | return super.eIsSet(featureID); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public String toString() { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (resourceName: "); | ||
157 | result.append(resourceName); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //InsuficientResourcesResultImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/IntStatisticEntryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/IntStatisticEntryImpl.java new file mode 100644 index 00000000..e8bedf70 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/IntStatisticEntryImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Int Statistic Entry</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl#getValue <em>Value</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class IntStatisticEntryImpl extends StatisticEntryImpl implements IntStatisticEntry { | ||
28 | /** | ||
29 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getValue() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final int VALUE_EDEFAULT = 0; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getValue() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected int value = VALUE_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected IntStatisticEntryImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return LogicresultPackage.Literals.INT_STATISTIC_ENTRY; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public int getValue() { | ||
73 | return value; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public void setValue(int newValue) { | ||
82 | int oldValue = value; | ||
83 | value = newValue; | ||
84 | if (eNotificationRequired()) | ||
85 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.INT_STATISTIC_ENTRY__VALUE, oldValue, value)); | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
95 | switch (featureID) { | ||
96 | case LogicresultPackage.INT_STATISTIC_ENTRY__VALUE: | ||
97 | return getValue(); | ||
98 | } | ||
99 | return super.eGet(featureID, resolve, coreType); | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | @Override | ||
108 | public void eSet(int featureID, Object newValue) { | ||
109 | switch (featureID) { | ||
110 | case LogicresultPackage.INT_STATISTIC_ENTRY__VALUE: | ||
111 | setValue((Integer)newValue); | ||
112 | return; | ||
113 | } | ||
114 | super.eSet(featureID, newValue); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public void eUnset(int featureID) { | ||
124 | switch (featureID) { | ||
125 | case LogicresultPackage.INT_STATISTIC_ENTRY__VALUE: | ||
126 | setValue(VALUE_EDEFAULT); | ||
127 | return; | ||
128 | } | ||
129 | super.eUnset(featureID); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public boolean eIsSet(int featureID) { | ||
139 | switch (featureID) { | ||
140 | case LogicresultPackage.INT_STATISTIC_ENTRY__VALUE: | ||
141 | return value != VALUE_EDEFAULT; | ||
142 | } | ||
143 | return super.eIsSet(featureID); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public String toString() { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (value: "); | ||
157 | result.append(value); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //IntStatisticEntryImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicResultImpl.java new file mode 100644 index 00000000..1bd5c833 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicResultImpl.java | |||
@@ -0,0 +1,346 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; | ||
6 | |||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; | ||
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
20 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
21 | import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; | ||
22 | |||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * An implementation of the model object '<em><b>Logic Result</b></em>'. | ||
26 | * <!-- end-user-doc --> | ||
27 | * <p> | ||
28 | * The following features are implemented: | ||
29 | * </p> | ||
30 | * <ul> | ||
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl#getProblem <em>Problem</em>}</li> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl#getStatistics <em>Statistics</em>}</li> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl#getTrace <em>Trace</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl#getRepresentation <em>Representation</em>}</li> | ||
35 | * </ul> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public abstract class LogicResultImpl extends MinimalEObjectImpl.Container implements LogicResult { | ||
40 | /** | ||
41 | * The cached value of the '{@link #getProblem() <em>Problem</em>}' reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getProblem() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected LogicProblem problem; | ||
49 | |||
50 | /** | ||
51 | * The cached value of the '{@link #getStatistics() <em>Statistics</em>}' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getStatistics() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected Statistics statistics; | ||
59 | |||
60 | /** | ||
61 | * The default value of the '{@link #getTrace() <em>Trace</em>}' attribute. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see #getTrace() | ||
65 | * @generated | ||
66 | * @ordered | ||
67 | */ | ||
68 | protected static final Object TRACE_EDEFAULT = null; | ||
69 | |||
70 | /** | ||
71 | * The cached value of the '{@link #getTrace() <em>Trace</em>}' attribute. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @see #getTrace() | ||
75 | * @generated | ||
76 | * @ordered | ||
77 | */ | ||
78 | protected Object trace = TRACE_EDEFAULT; | ||
79 | |||
80 | /** | ||
81 | * The cached value of the '{@link #getRepresentation() <em>Representation</em>}' attribute list. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @see #getRepresentation() | ||
85 | * @generated | ||
86 | * @ordered | ||
87 | */ | ||
88 | protected EList<Object> representation; | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | protected LogicResultImpl() { | ||
96 | super(); | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | protected EClass eStaticClass() { | ||
106 | return LogicresultPackage.Literals.LOGIC_RESULT; | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | public LogicProblem getProblem() { | ||
115 | if (problem != null && problem.eIsProxy()) { | ||
116 | InternalEObject oldProblem = (InternalEObject)problem; | ||
117 | problem = (LogicProblem)eResolveProxy(oldProblem); | ||
118 | if (problem != oldProblem) { | ||
119 | if (eNotificationRequired()) | ||
120 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicresultPackage.LOGIC_RESULT__PROBLEM, oldProblem, problem)); | ||
121 | } | ||
122 | } | ||
123 | return problem; | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | public LogicProblem basicGetProblem() { | ||
132 | return problem; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public void setProblem(LogicProblem newProblem) { | ||
141 | LogicProblem oldProblem = problem; | ||
142 | problem = newProblem; | ||
143 | if (eNotificationRequired()) | ||
144 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.LOGIC_RESULT__PROBLEM, oldProblem, problem)); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | public Statistics getStatistics() { | ||
153 | return statistics; | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | public NotificationChain basicSetStatistics(Statistics newStatistics, NotificationChain msgs) { | ||
162 | Statistics oldStatistics = statistics; | ||
163 | statistics = newStatistics; | ||
164 | if (eNotificationRequired()) { | ||
165 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicresultPackage.LOGIC_RESULT__STATISTICS, oldStatistics, newStatistics); | ||
166 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
167 | } | ||
168 | return msgs; | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | public void setStatistics(Statistics newStatistics) { | ||
177 | if (newStatistics != statistics) { | ||
178 | NotificationChain msgs = null; | ||
179 | if (statistics != null) | ||
180 | msgs = ((InternalEObject)statistics).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogicresultPackage.LOGIC_RESULT__STATISTICS, null, msgs); | ||
181 | if (newStatistics != null) | ||
182 | msgs = ((InternalEObject)newStatistics).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogicresultPackage.LOGIC_RESULT__STATISTICS, null, msgs); | ||
183 | msgs = basicSetStatistics(newStatistics, msgs); | ||
184 | if (msgs != null) msgs.dispatch(); | ||
185 | } | ||
186 | else if (eNotificationRequired()) | ||
187 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.LOGIC_RESULT__STATISTICS, newStatistics, newStatistics)); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | public Object getTrace() { | ||
196 | return trace; | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | public void setTrace(Object newTrace) { | ||
205 | Object oldTrace = trace; | ||
206 | trace = newTrace; | ||
207 | if (eNotificationRequired()) | ||
208 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.LOGIC_RESULT__TRACE, oldTrace, trace)); | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | public EList<Object> getRepresentation() { | ||
217 | if (representation == null) { | ||
218 | representation = new EDataTypeUniqueEList<Object>(Object.class, this, LogicresultPackage.LOGIC_RESULT__REPRESENTATION); | ||
219 | } | ||
220 | return representation; | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
230 | switch (featureID) { | ||
231 | case LogicresultPackage.LOGIC_RESULT__STATISTICS: | ||
232 | return basicSetStatistics(null, msgs); | ||
233 | } | ||
234 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
235 | } | ||
236 | |||
237 | /** | ||
238 | * <!-- begin-user-doc --> | ||
239 | * <!-- end-user-doc --> | ||
240 | * @generated | ||
241 | */ | ||
242 | @Override | ||
243 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
244 | switch (featureID) { | ||
245 | case LogicresultPackage.LOGIC_RESULT__PROBLEM: | ||
246 | if (resolve) return getProblem(); | ||
247 | return basicGetProblem(); | ||
248 | case LogicresultPackage.LOGIC_RESULT__STATISTICS: | ||
249 | return getStatistics(); | ||
250 | case LogicresultPackage.LOGIC_RESULT__TRACE: | ||
251 | return getTrace(); | ||
252 | case LogicresultPackage.LOGIC_RESULT__REPRESENTATION: | ||
253 | return getRepresentation(); | ||
254 | } | ||
255 | return super.eGet(featureID, resolve, coreType); | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @generated | ||
262 | */ | ||
263 | @SuppressWarnings("unchecked") | ||
264 | @Override | ||
265 | public void eSet(int featureID, Object newValue) { | ||
266 | switch (featureID) { | ||
267 | case LogicresultPackage.LOGIC_RESULT__PROBLEM: | ||
268 | setProblem((LogicProblem)newValue); | ||
269 | return; | ||
270 | case LogicresultPackage.LOGIC_RESULT__STATISTICS: | ||
271 | setStatistics((Statistics)newValue); | ||
272 | return; | ||
273 | case LogicresultPackage.LOGIC_RESULT__TRACE: | ||
274 | setTrace(newValue); | ||
275 | return; | ||
276 | case LogicresultPackage.LOGIC_RESULT__REPRESENTATION: | ||
277 | getRepresentation().clear(); | ||
278 | getRepresentation().addAll((Collection<? extends Object>)newValue); | ||
279 | return; | ||
280 | } | ||
281 | super.eSet(featureID, newValue); | ||
282 | } | ||
283 | |||
284 | /** | ||
285 | * <!-- begin-user-doc --> | ||
286 | * <!-- end-user-doc --> | ||
287 | * @generated | ||
288 | */ | ||
289 | @Override | ||
290 | public void eUnset(int featureID) { | ||
291 | switch (featureID) { | ||
292 | case LogicresultPackage.LOGIC_RESULT__PROBLEM: | ||
293 | setProblem((LogicProblem)null); | ||
294 | return; | ||
295 | case LogicresultPackage.LOGIC_RESULT__STATISTICS: | ||
296 | setStatistics((Statistics)null); | ||
297 | return; | ||
298 | case LogicresultPackage.LOGIC_RESULT__TRACE: | ||
299 | setTrace(TRACE_EDEFAULT); | ||
300 | return; | ||
301 | case LogicresultPackage.LOGIC_RESULT__REPRESENTATION: | ||
302 | getRepresentation().clear(); | ||
303 | return; | ||
304 | } | ||
305 | super.eUnset(featureID); | ||
306 | } | ||
307 | |||
308 | /** | ||
309 | * <!-- begin-user-doc --> | ||
310 | * <!-- end-user-doc --> | ||
311 | * @generated | ||
312 | */ | ||
313 | @Override | ||
314 | public boolean eIsSet(int featureID) { | ||
315 | switch (featureID) { | ||
316 | case LogicresultPackage.LOGIC_RESULT__PROBLEM: | ||
317 | return problem != null; | ||
318 | case LogicresultPackage.LOGIC_RESULT__STATISTICS: | ||
319 | return statistics != null; | ||
320 | case LogicresultPackage.LOGIC_RESULT__TRACE: | ||
321 | return TRACE_EDEFAULT == null ? trace != null : !TRACE_EDEFAULT.equals(trace); | ||
322 | case LogicresultPackage.LOGIC_RESULT__REPRESENTATION: | ||
323 | return representation != null && !representation.isEmpty(); | ||
324 | } | ||
325 | return super.eIsSet(featureID); | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | */ | ||
333 | @Override | ||
334 | public String toString() { | ||
335 | if (eIsProxy()) return super.toString(); | ||
336 | |||
337 | StringBuffer result = new StringBuffer(super.toString()); | ||
338 | result.append(" (trace: "); | ||
339 | result.append(trace); | ||
340 | result.append(", representation: "); | ||
341 | result.append(representation); | ||
342 | result.append(')'); | ||
343 | return result.toString(); | ||
344 | } | ||
345 | |||
346 | } //LogicResultImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultFactoryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultFactoryImpl.java new file mode 100644 index 00000000..5a102523 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultFactoryImpl.java | |||
@@ -0,0 +1,183 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model <b>Factory</b>. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @generated | ||
20 | */ | ||
21 | public class LogicresultFactoryImpl extends EFactoryImpl implements LogicresultFactory { | ||
22 | /** | ||
23 | * Creates the default factory implementation. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | public static LogicresultFactory init() { | ||
29 | try { | ||
30 | LogicresultFactory theLogicresultFactory = (LogicresultFactory)EPackage.Registry.INSTANCE.getEFactory(LogicresultPackage.eNS_URI); | ||
31 | if (theLogicresultFactory != null) { | ||
32 | return theLogicresultFactory; | ||
33 | } | ||
34 | } | ||
35 | catch (Exception exception) { | ||
36 | EcorePlugin.INSTANCE.log(exception); | ||
37 | } | ||
38 | return new LogicresultFactoryImpl(); | ||
39 | } | ||
40 | |||
41 | /** | ||
42 | * Creates an instance of the factory. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | public LogicresultFactoryImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | public EObject create(EClass eClass) { | ||
58 | switch (eClass.getClassifierID()) { | ||
59 | case LogicresultPackage.MODEL_RESULT: return createModelResult(); | ||
60 | case LogicresultPackage.INCONSISTENCY_RESULT: return createInconsistencyResult(); | ||
61 | case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT: return createInsuficientResourcesResult(); | ||
62 | case LogicresultPackage.ERROR_RESULT: return createErrorResult(); | ||
63 | case LogicresultPackage.STATISTICS: return createStatistics(); | ||
64 | case LogicresultPackage.UNDECIDABLE_RESULT: return createUndecidableResult(); | ||
65 | case LogicresultPackage.INT_STATISTIC_ENTRY: return createIntStatisticEntry(); | ||
66 | case LogicresultPackage.REAL_STATISTIC_ENTRY: return createRealStatisticEntry(); | ||
67 | case LogicresultPackage.STRING_STATISTIC_ENTRY: return createStringStatisticEntry(); | ||
68 | default: | ||
69 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
70 | } | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public ModelResult createModelResult() { | ||
79 | ModelResultImpl modelResult = new ModelResultImpl(); | ||
80 | return modelResult; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public InconsistencyResult createInconsistencyResult() { | ||
89 | InconsistencyResultImpl inconsistencyResult = new InconsistencyResultImpl(); | ||
90 | return inconsistencyResult; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public InsuficientResourcesResult createInsuficientResourcesResult() { | ||
99 | InsuficientResourcesResultImpl insuficientResourcesResult = new InsuficientResourcesResultImpl(); | ||
100 | return insuficientResourcesResult; | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | public ErrorResult createErrorResult() { | ||
109 | ErrorResultImpl errorResult = new ErrorResultImpl(); | ||
110 | return errorResult; | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | public Statistics createStatistics() { | ||
119 | StatisticsImpl statistics = new StatisticsImpl(); | ||
120 | return statistics; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public UndecidableResult createUndecidableResult() { | ||
129 | UndecidableResultImpl undecidableResult = new UndecidableResultImpl(); | ||
130 | return undecidableResult; | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | public IntStatisticEntry createIntStatisticEntry() { | ||
139 | IntStatisticEntryImpl intStatisticEntry = new IntStatisticEntryImpl(); | ||
140 | return intStatisticEntry; | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | public RealStatisticEntry createRealStatisticEntry() { | ||
149 | RealStatisticEntryImpl realStatisticEntry = new RealStatisticEntryImpl(); | ||
150 | return realStatisticEntry; | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | */ | ||
158 | public StringStatisticEntry createStringStatisticEntry() { | ||
159 | StringStatisticEntryImpl stringStatisticEntry = new StringStatisticEntryImpl(); | ||
160 | return stringStatisticEntry; | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | public LogicresultPackage getLogicresultPackage() { | ||
169 | return (LogicresultPackage)getEPackage(); | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @deprecated | ||
176 | * @generated | ||
177 | */ | ||
178 | @Deprecated | ||
179 | public static LogicresultPackage getPackage() { | ||
180 | return LogicresultPackage.eINSTANCE; | ||
181 | } | ||
182 | |||
183 | } //LogicresultFactoryImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultPackageImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultPackageImpl.java new file mode 100644 index 00000000..8b0e0605 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultPackageImpl.java | |||
@@ -0,0 +1,602 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; | ||
6 | |||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl; | ||
8 | |||
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; | ||
10 | |||
11 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl; | ||
12 | |||
13 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult; | ||
14 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult; | ||
15 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult; | ||
16 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry; | ||
17 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; | ||
18 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultFactory; | ||
19 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
20 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; | ||
21 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry; | ||
22 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry; | ||
23 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics; | ||
24 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry; | ||
25 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult; | ||
26 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult; | ||
27 | |||
28 | import org.eclipse.emf.ecore.EAttribute; | ||
29 | import org.eclipse.emf.ecore.EClass; | ||
30 | import org.eclipse.emf.ecore.EPackage; | ||
31 | import org.eclipse.emf.ecore.EReference; | ||
32 | |||
33 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
34 | |||
35 | /** | ||
36 | * <!-- begin-user-doc --> | ||
37 | * An implementation of the model <b>Package</b>. | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | public class LogicresultPackageImpl extends EPackageImpl implements LogicresultPackage { | ||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | private EClass logicResultEClass = null; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | private EClass modelResultEClass = null; | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | private EClass inconsistencyResultEClass = null; | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | private EClass unknownResultEClass = null; | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | private EClass insuficientResourcesResultEClass = null; | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | private EClass errorResultEClass = null; | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | private EClass statisticsEClass = null; | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | private EClass statisticEntryEClass = null; | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | private EClass undecidableResultEClass = null; | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | private EClass intStatisticEntryEClass = null; | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | private EClass realStatisticEntryEClass = null; | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | private EClass stringStatisticEntryEClass = null; | ||
125 | |||
126 | /** | ||
127 | * Creates an instance of the model <b>Package</b>, registered with | ||
128 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
129 | * package URI value. | ||
130 | * <p>Note: the correct way to create the package is via the static | ||
131 | * factory method {@link #init init()}, which also performs | ||
132 | * initialization of the package, or returns the registered package, | ||
133 | * if one already exists. | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
137 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#eNS_URI | ||
138 | * @see #init() | ||
139 | * @generated | ||
140 | */ | ||
141 | private LogicresultPackageImpl() { | ||
142 | super(eNS_URI, LogicresultFactory.eINSTANCE); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | private static boolean isInited = false; | ||
151 | |||
152 | /** | ||
153 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
154 | * | ||
155 | * <p>This method is used to initialize {@link LogicresultPackage#eINSTANCE} when that field is accessed. | ||
156 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @see #eNS_URI | ||
160 | * @see #createPackageContents() | ||
161 | * @see #initializePackageContents() | ||
162 | * @generated | ||
163 | */ | ||
164 | public static LogicresultPackage init() { | ||
165 | if (isInited) return (LogicresultPackage)EPackage.Registry.INSTANCE.getEPackage(LogicresultPackage.eNS_URI); | ||
166 | |||
167 | // Obtain or create and register package | ||
168 | LogicresultPackageImpl theLogicresultPackage = (LogicresultPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LogicresultPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LogicresultPackageImpl()); | ||
169 | |||
170 | isInited = true; | ||
171 | |||
172 | // Obtain or create and register interdependencies | ||
173 | LogiclanguagePackageImpl theLogiclanguagePackage = (LogiclanguagePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI) instanceof LogiclanguagePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI) : LogiclanguagePackage.eINSTANCE); | ||
174 | LogicproblemPackageImpl theLogicproblemPackage = (LogicproblemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI) instanceof LogicproblemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI) : LogicproblemPackage.eINSTANCE); | ||
175 | |||
176 | // Create package meta-data objects | ||
177 | theLogicresultPackage.createPackageContents(); | ||
178 | theLogiclanguagePackage.createPackageContents(); | ||
179 | theLogicproblemPackage.createPackageContents(); | ||
180 | |||
181 | // Initialize created meta-data | ||
182 | theLogicresultPackage.initializePackageContents(); | ||
183 | theLogiclanguagePackage.initializePackageContents(); | ||
184 | theLogicproblemPackage.initializePackageContents(); | ||
185 | |||
186 | // Mark meta-data to indicate it can't be changed | ||
187 | theLogicresultPackage.freeze(); | ||
188 | |||
189 | |||
190 | // Update the registry and return the package | ||
191 | EPackage.Registry.INSTANCE.put(LogicresultPackage.eNS_URI, theLogicresultPackage); | ||
192 | return theLogicresultPackage; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | public EClass getLogicResult() { | ||
201 | return logicResultEClass; | ||
202 | } | ||
203 | |||
204 | /** | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @generated | ||
208 | */ | ||
209 | public EReference getLogicResult_Problem() { | ||
210 | return (EReference)logicResultEClass.getEStructuralFeatures().get(0); | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @generated | ||
217 | */ | ||
218 | public EReference getLogicResult_Statistics() { | ||
219 | return (EReference)logicResultEClass.getEStructuralFeatures().get(1); | ||
220 | } | ||
221 | |||
222 | /** | ||
223 | * <!-- begin-user-doc --> | ||
224 | * <!-- end-user-doc --> | ||
225 | * @generated | ||
226 | */ | ||
227 | public EAttribute getLogicResult_Trace() { | ||
228 | return (EAttribute)logicResultEClass.getEStructuralFeatures().get(2); | ||
229 | } | ||
230 | |||
231 | /** | ||
232 | * <!-- begin-user-doc --> | ||
233 | * <!-- end-user-doc --> | ||
234 | * @generated | ||
235 | */ | ||
236 | public EAttribute getLogicResult_Representation() { | ||
237 | return (EAttribute)logicResultEClass.getEStructuralFeatures().get(3); | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @generated | ||
244 | */ | ||
245 | public EClass getModelResult() { | ||
246 | return modelResultEClass; | ||
247 | } | ||
248 | |||
249 | /** | ||
250 | * <!-- begin-user-doc --> | ||
251 | * <!-- end-user-doc --> | ||
252 | * @generated | ||
253 | */ | ||
254 | public EAttribute getModelResult_MaxInteger() { | ||
255 | return (EAttribute)modelResultEClass.getEStructuralFeatures().get(0); | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @generated | ||
262 | */ | ||
263 | public EAttribute getModelResult_MinInteger() { | ||
264 | return (EAttribute)modelResultEClass.getEStructuralFeatures().get(1); | ||
265 | } | ||
266 | |||
267 | /** | ||
268 | * <!-- begin-user-doc --> | ||
269 | * <!-- end-user-doc --> | ||
270 | * @generated | ||
271 | */ | ||
272 | public EClass getInconsistencyResult() { | ||
273 | return inconsistencyResultEClass; | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | public EClass getUnknownResult() { | ||
282 | return unknownResultEClass; | ||
283 | } | ||
284 | |||
285 | /** | ||
286 | * <!-- begin-user-doc --> | ||
287 | * <!-- end-user-doc --> | ||
288 | * @generated | ||
289 | */ | ||
290 | public EClass getInsuficientResourcesResult() { | ||
291 | return insuficientResourcesResultEClass; | ||
292 | } | ||
293 | |||
294 | /** | ||
295 | * <!-- begin-user-doc --> | ||
296 | * <!-- end-user-doc --> | ||
297 | * @generated | ||
298 | */ | ||
299 | public EAttribute getInsuficientResourcesResult_ResourceName() { | ||
300 | return (EAttribute)insuficientResourcesResultEClass.getEStructuralFeatures().get(0); | ||
301 | } | ||
302 | |||
303 | /** | ||
304 | * <!-- begin-user-doc --> | ||
305 | * <!-- end-user-doc --> | ||
306 | * @generated | ||
307 | */ | ||
308 | public EClass getErrorResult() { | ||
309 | return errorResultEClass; | ||
310 | } | ||
311 | |||
312 | /** | ||
313 | * <!-- begin-user-doc --> | ||
314 | * <!-- end-user-doc --> | ||
315 | * @generated | ||
316 | */ | ||
317 | public EAttribute getErrorResult_Message() { | ||
318 | return (EAttribute)errorResultEClass.getEStructuralFeatures().get(0); | ||
319 | } | ||
320 | |||
321 | /** | ||
322 | * <!-- begin-user-doc --> | ||
323 | * <!-- end-user-doc --> | ||
324 | * @generated | ||
325 | */ | ||
326 | public EClass getStatistics() { | ||
327 | return statisticsEClass; | ||
328 | } | ||
329 | |||
330 | /** | ||
331 | * <!-- begin-user-doc --> | ||
332 | * <!-- end-user-doc --> | ||
333 | * @generated | ||
334 | */ | ||
335 | public EReference getStatistics_Entries() { | ||
336 | return (EReference)statisticsEClass.getEStructuralFeatures().get(0); | ||
337 | } | ||
338 | |||
339 | /** | ||
340 | * <!-- begin-user-doc --> | ||
341 | * <!-- end-user-doc --> | ||
342 | * @generated | ||
343 | */ | ||
344 | public EAttribute getStatistics_TransformationTime() { | ||
345 | return (EAttribute)statisticsEClass.getEStructuralFeatures().get(1); | ||
346 | } | ||
347 | |||
348 | /** | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | */ | ||
353 | public EAttribute getStatistics_SolverTime() { | ||
354 | return (EAttribute)statisticsEClass.getEStructuralFeatures().get(2); | ||
355 | } | ||
356 | |||
357 | /** | ||
358 | * <!-- begin-user-doc --> | ||
359 | * <!-- end-user-doc --> | ||
360 | * @generated | ||
361 | */ | ||
362 | public EAttribute getStatistics_SolverMemory() { | ||
363 | return (EAttribute)statisticsEClass.getEStructuralFeatures().get(3); | ||
364 | } | ||
365 | |||
366 | /** | ||
367 | * <!-- begin-user-doc --> | ||
368 | * <!-- end-user-doc --> | ||
369 | * @generated | ||
370 | */ | ||
371 | public EClass getStatisticEntry() { | ||
372 | return statisticEntryEClass; | ||
373 | } | ||
374 | |||
375 | /** | ||
376 | * <!-- begin-user-doc --> | ||
377 | * <!-- end-user-doc --> | ||
378 | * @generated | ||
379 | */ | ||
380 | public EAttribute getStatisticEntry_Name() { | ||
381 | return (EAttribute)statisticEntryEClass.getEStructuralFeatures().get(0); | ||
382 | } | ||
383 | |||
384 | /** | ||
385 | * <!-- begin-user-doc --> | ||
386 | * <!-- end-user-doc --> | ||
387 | * @generated | ||
388 | */ | ||
389 | public EClass getUndecidableResult() { | ||
390 | return undecidableResultEClass; | ||
391 | } | ||
392 | |||
393 | /** | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | */ | ||
398 | public EClass getIntStatisticEntry() { | ||
399 | return intStatisticEntryEClass; | ||
400 | } | ||
401 | |||
402 | /** | ||
403 | * <!-- begin-user-doc --> | ||
404 | * <!-- end-user-doc --> | ||
405 | * @generated | ||
406 | */ | ||
407 | public EAttribute getIntStatisticEntry_Value() { | ||
408 | return (EAttribute)intStatisticEntryEClass.getEStructuralFeatures().get(0); | ||
409 | } | ||
410 | |||
411 | /** | ||
412 | * <!-- begin-user-doc --> | ||
413 | * <!-- end-user-doc --> | ||
414 | * @generated | ||
415 | */ | ||
416 | public EClass getRealStatisticEntry() { | ||
417 | return realStatisticEntryEClass; | ||
418 | } | ||
419 | |||
420 | /** | ||
421 | * <!-- begin-user-doc --> | ||
422 | * <!-- end-user-doc --> | ||
423 | * @generated | ||
424 | */ | ||
425 | public EAttribute getRealStatisticEntry_Value() { | ||
426 | return (EAttribute)realStatisticEntryEClass.getEStructuralFeatures().get(0); | ||
427 | } | ||
428 | |||
429 | /** | ||
430 | * <!-- begin-user-doc --> | ||
431 | * <!-- end-user-doc --> | ||
432 | * @generated | ||
433 | */ | ||
434 | public EClass getStringStatisticEntry() { | ||
435 | return stringStatisticEntryEClass; | ||
436 | } | ||
437 | |||
438 | /** | ||
439 | * <!-- begin-user-doc --> | ||
440 | * <!-- end-user-doc --> | ||
441 | * @generated | ||
442 | */ | ||
443 | public EAttribute getStringStatisticEntry_Value() { | ||
444 | return (EAttribute)stringStatisticEntryEClass.getEStructuralFeatures().get(0); | ||
445 | } | ||
446 | |||
447 | /** | ||
448 | * <!-- begin-user-doc --> | ||
449 | * <!-- end-user-doc --> | ||
450 | * @generated | ||
451 | */ | ||
452 | public LogicresultFactory getLogicresultFactory() { | ||
453 | return (LogicresultFactory)getEFactoryInstance(); | ||
454 | } | ||
455 | |||
456 | /** | ||
457 | * <!-- begin-user-doc --> | ||
458 | * <!-- end-user-doc --> | ||
459 | * @generated | ||
460 | */ | ||
461 | private boolean isCreated = false; | ||
462 | |||
463 | /** | ||
464 | * Creates the meta-model objects for the package. This method is | ||
465 | * guarded to have no affect on any invocation but its first. | ||
466 | * <!-- begin-user-doc --> | ||
467 | * <!-- end-user-doc --> | ||
468 | * @generated | ||
469 | */ | ||
470 | public void createPackageContents() { | ||
471 | if (isCreated) return; | ||
472 | isCreated = true; | ||
473 | |||
474 | // Create classes and their features | ||
475 | logicResultEClass = createEClass(LOGIC_RESULT); | ||
476 | createEReference(logicResultEClass, LOGIC_RESULT__PROBLEM); | ||
477 | createEReference(logicResultEClass, LOGIC_RESULT__STATISTICS); | ||
478 | createEAttribute(logicResultEClass, LOGIC_RESULT__TRACE); | ||
479 | createEAttribute(logicResultEClass, LOGIC_RESULT__REPRESENTATION); | ||
480 | |||
481 | modelResultEClass = createEClass(MODEL_RESULT); | ||
482 | createEAttribute(modelResultEClass, MODEL_RESULT__MAX_INTEGER); | ||
483 | createEAttribute(modelResultEClass, MODEL_RESULT__MIN_INTEGER); | ||
484 | |||
485 | inconsistencyResultEClass = createEClass(INCONSISTENCY_RESULT); | ||
486 | |||
487 | unknownResultEClass = createEClass(UNKNOWN_RESULT); | ||
488 | |||
489 | insuficientResourcesResultEClass = createEClass(INSUFICIENT_RESOURCES_RESULT); | ||
490 | createEAttribute(insuficientResourcesResultEClass, INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME); | ||
491 | |||
492 | errorResultEClass = createEClass(ERROR_RESULT); | ||
493 | createEAttribute(errorResultEClass, ERROR_RESULT__MESSAGE); | ||
494 | |||
495 | statisticsEClass = createEClass(STATISTICS); | ||
496 | createEReference(statisticsEClass, STATISTICS__ENTRIES); | ||
497 | createEAttribute(statisticsEClass, STATISTICS__TRANSFORMATION_TIME); | ||
498 | createEAttribute(statisticsEClass, STATISTICS__SOLVER_TIME); | ||
499 | createEAttribute(statisticsEClass, STATISTICS__SOLVER_MEMORY); | ||
500 | |||
501 | statisticEntryEClass = createEClass(STATISTIC_ENTRY); | ||
502 | createEAttribute(statisticEntryEClass, STATISTIC_ENTRY__NAME); | ||
503 | |||
504 | undecidableResultEClass = createEClass(UNDECIDABLE_RESULT); | ||
505 | |||
506 | intStatisticEntryEClass = createEClass(INT_STATISTIC_ENTRY); | ||
507 | createEAttribute(intStatisticEntryEClass, INT_STATISTIC_ENTRY__VALUE); | ||
508 | |||
509 | realStatisticEntryEClass = createEClass(REAL_STATISTIC_ENTRY); | ||
510 | createEAttribute(realStatisticEntryEClass, REAL_STATISTIC_ENTRY__VALUE); | ||
511 | |||
512 | stringStatisticEntryEClass = createEClass(STRING_STATISTIC_ENTRY); | ||
513 | createEAttribute(stringStatisticEntryEClass, STRING_STATISTIC_ENTRY__VALUE); | ||
514 | } | ||
515 | |||
516 | /** | ||
517 | * <!-- begin-user-doc --> | ||
518 | * <!-- end-user-doc --> | ||
519 | * @generated | ||
520 | */ | ||
521 | private boolean isInitialized = false; | ||
522 | |||
523 | /** | ||
524 | * Complete the initialization of the package and its meta-model. This | ||
525 | * method is guarded to have no affect on any invocation but its first. | ||
526 | * <!-- begin-user-doc --> | ||
527 | * <!-- end-user-doc --> | ||
528 | * @generated | ||
529 | */ | ||
530 | public void initializePackageContents() { | ||
531 | if (isInitialized) return; | ||
532 | isInitialized = true; | ||
533 | |||
534 | // Initialize package | ||
535 | setName(eNAME); | ||
536 | setNsPrefix(eNS_PREFIX); | ||
537 | setNsURI(eNS_URI); | ||
538 | |||
539 | // Obtain other dependent packages | ||
540 | LogicproblemPackage theLogicproblemPackage = (LogicproblemPackage)EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI); | ||
541 | |||
542 | // Create type parameters | ||
543 | |||
544 | // Set bounds for type parameters | ||
545 | |||
546 | // Add supertypes to classes | ||
547 | modelResultEClass.getESuperTypes().add(this.getLogicResult()); | ||
548 | inconsistencyResultEClass.getESuperTypes().add(this.getLogicResult()); | ||
549 | unknownResultEClass.getESuperTypes().add(this.getLogicResult()); | ||
550 | insuficientResourcesResultEClass.getESuperTypes().add(this.getUnknownResult()); | ||
551 | errorResultEClass.getESuperTypes().add(this.getUnknownResult()); | ||
552 | undecidableResultEClass.getESuperTypes().add(this.getUnknownResult()); | ||
553 | intStatisticEntryEClass.getESuperTypes().add(this.getStatisticEntry()); | ||
554 | realStatisticEntryEClass.getESuperTypes().add(this.getStatisticEntry()); | ||
555 | stringStatisticEntryEClass.getESuperTypes().add(this.getStatisticEntry()); | ||
556 | |||
557 | // Initialize classes, features, and operations; add parameters | ||
558 | initEClass(logicResultEClass, LogicResult.class, "LogicResult", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
559 | initEReference(getLogicResult_Problem(), theLogicproblemPackage.getLogicProblem(), null, "problem", null, 0, 1, LogicResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
560 | initEReference(getLogicResult_Statistics(), this.getStatistics(), null, "statistics", null, 0, 1, LogicResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
561 | initEAttribute(getLogicResult_Trace(), ecorePackage.getEJavaObject(), "trace", null, 0, 1, LogicResult.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
562 | initEAttribute(getLogicResult_Representation(), ecorePackage.getEJavaObject(), "representation", null, 0, -1, LogicResult.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
563 | |||
564 | initEClass(modelResultEClass, ModelResult.class, "ModelResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
565 | initEAttribute(getModelResult_MaxInteger(), ecorePackage.getEInt(), "maxInteger", null, 1, 1, ModelResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
566 | initEAttribute(getModelResult_MinInteger(), ecorePackage.getEInt(), "minInteger", null, 1, 1, ModelResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
567 | |||
568 | initEClass(inconsistencyResultEClass, InconsistencyResult.class, "InconsistencyResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
569 | |||
570 | initEClass(unknownResultEClass, UnknownResult.class, "UnknownResult", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
571 | |||
572 | initEClass(insuficientResourcesResultEClass, InsuficientResourcesResult.class, "InsuficientResourcesResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
573 | initEAttribute(getInsuficientResourcesResult_ResourceName(), ecorePackage.getEString(), "resourceName", null, 1, 1, InsuficientResourcesResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
574 | |||
575 | initEClass(errorResultEClass, ErrorResult.class, "ErrorResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
576 | initEAttribute(getErrorResult_Message(), ecorePackage.getEString(), "message", null, 1, 1, ErrorResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
577 | |||
578 | initEClass(statisticsEClass, Statistics.class, "Statistics", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
579 | initEReference(getStatistics_Entries(), this.getStatisticEntry(), null, "entries", null, 0, -1, Statistics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
580 | initEAttribute(getStatistics_TransformationTime(), ecorePackage.getEInt(), "transformationTime", "-1", 1, 1, Statistics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
581 | initEAttribute(getStatistics_SolverTime(), ecorePackage.getEInt(), "solverTime", "-1", 1, 1, Statistics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
582 | initEAttribute(getStatistics_SolverMemory(), ecorePackage.getEInt(), "solverMemory", "-1", 0, 1, Statistics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
583 | |||
584 | initEClass(statisticEntryEClass, StatisticEntry.class, "StatisticEntry", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
585 | initEAttribute(getStatisticEntry_Name(), ecorePackage.getEString(), "name", null, 1, 1, StatisticEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
586 | |||
587 | initEClass(undecidableResultEClass, UndecidableResult.class, "UndecidableResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
588 | |||
589 | initEClass(intStatisticEntryEClass, IntStatisticEntry.class, "IntStatisticEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
590 | initEAttribute(getIntStatisticEntry_Value(), ecorePackage.getEInt(), "value", null, 1, 1, IntStatisticEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
591 | |||
592 | initEClass(realStatisticEntryEClass, RealStatisticEntry.class, "RealStatisticEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
593 | initEAttribute(getRealStatisticEntry_Value(), ecorePackage.getEDouble(), "value", null, 1, 1, RealStatisticEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
594 | |||
595 | initEClass(stringStatisticEntryEClass, StringStatisticEntry.class, "StringStatisticEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
596 | initEAttribute(getStringStatisticEntry_Value(), ecorePackage.getEString(), "value", "Unfilled", 1, 1, StringStatisticEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
597 | |||
598 | // Create resource | ||
599 | createResource(eNS_URI); | ||
600 | } | ||
601 | |||
602 | } //LogicresultPackageImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ModelResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ModelResultImpl.java new file mode 100644 index 00000000..63a15a81 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ModelResultImpl.java | |||
@@ -0,0 +1,216 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Model Result</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl#getMaxInteger <em>Max Integer</em>}</li> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl#getMinInteger <em>Min Integer</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class ModelResultImpl extends LogicResultImpl implements ModelResult { | ||
29 | /** | ||
30 | * The default value of the '{@link #getMaxInteger() <em>Max Integer</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getMaxInteger() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final int MAX_INTEGER_EDEFAULT = 0; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getMaxInteger() <em>Max Integer</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getMaxInteger() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected int maxInteger = MAX_INTEGER_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * The default value of the '{@link #getMinInteger() <em>Min Integer</em>}' attribute. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @see #getMinInteger() | ||
54 | * @generated | ||
55 | * @ordered | ||
56 | */ | ||
57 | protected static final int MIN_INTEGER_EDEFAULT = 0; | ||
58 | |||
59 | /** | ||
60 | * The cached value of the '{@link #getMinInteger() <em>Min Integer</em>}' attribute. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see #getMinInteger() | ||
64 | * @generated | ||
65 | * @ordered | ||
66 | */ | ||
67 | protected int minInteger = MIN_INTEGER_EDEFAULT; | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | protected ModelResultImpl() { | ||
75 | super(); | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | protected EClass eStaticClass() { | ||
85 | return LogicresultPackage.Literals.MODEL_RESULT; | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | public int getMaxInteger() { | ||
94 | return maxInteger; | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | public void setMaxInteger(int newMaxInteger) { | ||
103 | int oldMaxInteger = maxInteger; | ||
104 | maxInteger = newMaxInteger; | ||
105 | if (eNotificationRequired()) | ||
106 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.MODEL_RESULT__MAX_INTEGER, oldMaxInteger, maxInteger)); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | public int getMinInteger() { | ||
115 | return minInteger; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | public void setMinInteger(int newMinInteger) { | ||
124 | int oldMinInteger = minInteger; | ||
125 | minInteger = newMinInteger; | ||
126 | if (eNotificationRequired()) | ||
127 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.MODEL_RESULT__MIN_INTEGER, oldMinInteger, minInteger)); | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
137 | switch (featureID) { | ||
138 | case LogicresultPackage.MODEL_RESULT__MAX_INTEGER: | ||
139 | return getMaxInteger(); | ||
140 | case LogicresultPackage.MODEL_RESULT__MIN_INTEGER: | ||
141 | return getMinInteger(); | ||
142 | } | ||
143 | return super.eGet(featureID, resolve, coreType); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public void eSet(int featureID, Object newValue) { | ||
153 | switch (featureID) { | ||
154 | case LogicresultPackage.MODEL_RESULT__MAX_INTEGER: | ||
155 | setMaxInteger((Integer)newValue); | ||
156 | return; | ||
157 | case LogicresultPackage.MODEL_RESULT__MIN_INTEGER: | ||
158 | setMinInteger((Integer)newValue); | ||
159 | return; | ||
160 | } | ||
161 | super.eSet(featureID, newValue); | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | @Override | ||
170 | public void eUnset(int featureID) { | ||
171 | switch (featureID) { | ||
172 | case LogicresultPackage.MODEL_RESULT__MAX_INTEGER: | ||
173 | setMaxInteger(MAX_INTEGER_EDEFAULT); | ||
174 | return; | ||
175 | case LogicresultPackage.MODEL_RESULT__MIN_INTEGER: | ||
176 | setMinInteger(MIN_INTEGER_EDEFAULT); | ||
177 | return; | ||
178 | } | ||
179 | super.eUnset(featureID); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | @Override | ||
188 | public boolean eIsSet(int featureID) { | ||
189 | switch (featureID) { | ||
190 | case LogicresultPackage.MODEL_RESULT__MAX_INTEGER: | ||
191 | return maxInteger != MAX_INTEGER_EDEFAULT; | ||
192 | case LogicresultPackage.MODEL_RESULT__MIN_INTEGER: | ||
193 | return minInteger != MIN_INTEGER_EDEFAULT; | ||
194 | } | ||
195 | return super.eIsSet(featureID); | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | @Override | ||
204 | public String toString() { | ||
205 | if (eIsProxy()) return super.toString(); | ||
206 | |||
207 | StringBuffer result = new StringBuffer(super.toString()); | ||
208 | result.append(" (maxInteger: "); | ||
209 | result.append(maxInteger); | ||
210 | result.append(", minInteger: "); | ||
211 | result.append(minInteger); | ||
212 | result.append(')'); | ||
213 | return result.toString(); | ||
214 | } | ||
215 | |||
216 | } //ModelResultImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/RealStatisticEntryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/RealStatisticEntryImpl.java new file mode 100644 index 00000000..ed09f0df --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/RealStatisticEntryImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Real Statistic Entry</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl#getValue <em>Value</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class RealStatisticEntryImpl extends StatisticEntryImpl implements RealStatisticEntry { | ||
28 | /** | ||
29 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getValue() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final double VALUE_EDEFAULT = 0.0; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getValue() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected double value = VALUE_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected RealStatisticEntryImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return LogicresultPackage.Literals.REAL_STATISTIC_ENTRY; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public double getValue() { | ||
73 | return value; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public void setValue(double newValue) { | ||
82 | double oldValue = value; | ||
83 | value = newValue; | ||
84 | if (eNotificationRequired()) | ||
85 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.REAL_STATISTIC_ENTRY__VALUE, oldValue, value)); | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
95 | switch (featureID) { | ||
96 | case LogicresultPackage.REAL_STATISTIC_ENTRY__VALUE: | ||
97 | return getValue(); | ||
98 | } | ||
99 | return super.eGet(featureID, resolve, coreType); | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | @Override | ||
108 | public void eSet(int featureID, Object newValue) { | ||
109 | switch (featureID) { | ||
110 | case LogicresultPackage.REAL_STATISTIC_ENTRY__VALUE: | ||
111 | setValue((Double)newValue); | ||
112 | return; | ||
113 | } | ||
114 | super.eSet(featureID, newValue); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public void eUnset(int featureID) { | ||
124 | switch (featureID) { | ||
125 | case LogicresultPackage.REAL_STATISTIC_ENTRY__VALUE: | ||
126 | setValue(VALUE_EDEFAULT); | ||
127 | return; | ||
128 | } | ||
129 | super.eUnset(featureID); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public boolean eIsSet(int featureID) { | ||
139 | switch (featureID) { | ||
140 | case LogicresultPackage.REAL_STATISTIC_ENTRY__VALUE: | ||
141 | return value != VALUE_EDEFAULT; | ||
142 | } | ||
143 | return super.eIsSet(featureID); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public String toString() { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (value: "); | ||
157 | result.append(value); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //RealStatisticEntryImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticEntryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticEntryImpl.java new file mode 100644 index 00000000..bc1c5a92 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticEntryImpl.java | |||
@@ -0,0 +1,163 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Statistic Entry</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.logic.model.logicresult.impl.StatisticEntryImpl#getName <em>Name</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public abstract class StatisticEntryImpl extends MinimalEObjectImpl.Container implements StatisticEntry { | ||
29 | /** | ||
30 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getName() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final String NAME_EDEFAULT = null; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getName() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected String name = NAME_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected StatisticEntryImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return LogicresultPackage.Literals.STATISTIC_ENTRY; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | public String getName() { | ||
74 | return name; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | public void setName(String newName) { | ||
83 | String oldName = name; | ||
84 | name = newName; | ||
85 | if (eNotificationRequired()) | ||
86 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.STATISTIC_ENTRY__NAME, oldName, name)); | ||
87 | } | ||
88 | |||
89 | /** | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | */ | ||
94 | @Override | ||
95 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
96 | switch (featureID) { | ||
97 | case LogicresultPackage.STATISTIC_ENTRY__NAME: | ||
98 | return getName(); | ||
99 | } | ||
100 | return super.eGet(featureID, resolve, coreType); | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | @Override | ||
109 | public void eSet(int featureID, Object newValue) { | ||
110 | switch (featureID) { | ||
111 | case LogicresultPackage.STATISTIC_ENTRY__NAME: | ||
112 | setName((String)newValue); | ||
113 | return; | ||
114 | } | ||
115 | super.eSet(featureID, newValue); | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | @Override | ||
124 | public void eUnset(int featureID) { | ||
125 | switch (featureID) { | ||
126 | case LogicresultPackage.STATISTIC_ENTRY__NAME: | ||
127 | setName(NAME_EDEFAULT); | ||
128 | return; | ||
129 | } | ||
130 | super.eUnset(featureID); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public boolean eIsSet(int featureID) { | ||
140 | switch (featureID) { | ||
141 | case LogicresultPackage.STATISTIC_ENTRY__NAME: | ||
142 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
143 | } | ||
144 | return super.eIsSet(featureID); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | @Override | ||
153 | public String toString() { | ||
154 | if (eIsProxy()) return super.toString(); | ||
155 | |||
156 | StringBuffer result = new StringBuffer(super.toString()); | ||
157 | result.append(" (name: "); | ||
158 | result.append(name); | ||
159 | result.append(')'); | ||
160 | return result.toString(); | ||
161 | } | ||
162 | |||
163 | } //StatisticEntryImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticsImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticsImpl.java new file mode 100644 index 00000000..77d43c97 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticsImpl.java | |||
@@ -0,0 +1,330 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Notification; | ||
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.impl.ENotificationImpl; | ||
20 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>Statistics</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * </p> | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl#getEntries <em>Entries</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl#getTransformationTime <em>Transformation Time</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl#getSolverTime <em>Solver Time</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl#getSolverMemory <em>Solver Memory</em>}</li> | ||
37 | * </ul> | ||
38 | * | ||
39 | * @generated | ||
40 | */ | ||
41 | public class StatisticsImpl extends MinimalEObjectImpl.Container implements Statistics { | ||
42 | /** | ||
43 | * The cached value of the '{@link #getEntries() <em>Entries</em>}' containment reference list. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getEntries() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected EList<StatisticEntry> entries; | ||
51 | |||
52 | /** | ||
53 | * The default value of the '{@link #getTransformationTime() <em>Transformation Time</em>}' attribute. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #getTransformationTime() | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | protected static final int TRANSFORMATION_TIME_EDEFAULT = -1; | ||
61 | |||
62 | /** | ||
63 | * The cached value of the '{@link #getTransformationTime() <em>Transformation Time</em>}' attribute. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #getTransformationTime() | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | protected int transformationTime = TRANSFORMATION_TIME_EDEFAULT; | ||
71 | |||
72 | /** | ||
73 | * The default value of the '{@link #getSolverTime() <em>Solver Time</em>}' attribute. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @see #getSolverTime() | ||
77 | * @generated | ||
78 | * @ordered | ||
79 | */ | ||
80 | protected static final int SOLVER_TIME_EDEFAULT = -1; | ||
81 | |||
82 | /** | ||
83 | * The cached value of the '{@link #getSolverTime() <em>Solver Time</em>}' attribute. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @see #getSolverTime() | ||
87 | * @generated | ||
88 | * @ordered | ||
89 | */ | ||
90 | protected int solverTime = SOLVER_TIME_EDEFAULT; | ||
91 | |||
92 | /** | ||
93 | * The default value of the '{@link #getSolverMemory() <em>Solver Memory</em>}' attribute. | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @see #getSolverMemory() | ||
97 | * @generated | ||
98 | * @ordered | ||
99 | */ | ||
100 | protected static final int SOLVER_MEMORY_EDEFAULT = -1; | ||
101 | |||
102 | /** | ||
103 | * The cached value of the '{@link #getSolverMemory() <em>Solver Memory</em>}' attribute. | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @see #getSolverMemory() | ||
107 | * @generated | ||
108 | * @ordered | ||
109 | */ | ||
110 | protected int solverMemory = SOLVER_MEMORY_EDEFAULT; | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | protected StatisticsImpl() { | ||
118 | super(); | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | protected EClass eStaticClass() { | ||
128 | return LogicresultPackage.Literals.STATISTICS; | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | public EList<StatisticEntry> getEntries() { | ||
137 | if (entries == null) { | ||
138 | entries = new EObjectContainmentEList<StatisticEntry>(StatisticEntry.class, this, LogicresultPackage.STATISTICS__ENTRIES); | ||
139 | } | ||
140 | return entries; | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | public int getTransformationTime() { | ||
149 | return transformationTime; | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | */ | ||
157 | public void setTransformationTime(int newTransformationTime) { | ||
158 | int oldTransformationTime = transformationTime; | ||
159 | transformationTime = newTransformationTime; | ||
160 | if (eNotificationRequired()) | ||
161 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.STATISTICS__TRANSFORMATION_TIME, oldTransformationTime, transformationTime)); | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | public int getSolverTime() { | ||
170 | return solverTime; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | public void setSolverTime(int newSolverTime) { | ||
179 | int oldSolverTime = solverTime; | ||
180 | solverTime = newSolverTime; | ||
181 | if (eNotificationRequired()) | ||
182 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.STATISTICS__SOLVER_TIME, oldSolverTime, solverTime)); | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | public int getSolverMemory() { | ||
191 | return solverMemory; | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * <!-- begin-user-doc --> | ||
196 | * <!-- end-user-doc --> | ||
197 | * @generated | ||
198 | */ | ||
199 | public void setSolverMemory(int newSolverMemory) { | ||
200 | int oldSolverMemory = solverMemory; | ||
201 | solverMemory = newSolverMemory; | ||
202 | if (eNotificationRequired()) | ||
203 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.STATISTICS__SOLVER_MEMORY, oldSolverMemory, solverMemory)); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
213 | switch (featureID) { | ||
214 | case LogicresultPackage.STATISTICS__ENTRIES: | ||
215 | return ((InternalEList<?>)getEntries()).basicRemove(otherEnd, msgs); | ||
216 | } | ||
217 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * <!-- begin-user-doc --> | ||
222 | * <!-- end-user-doc --> | ||
223 | * @generated | ||
224 | */ | ||
225 | @Override | ||
226 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
227 | switch (featureID) { | ||
228 | case LogicresultPackage.STATISTICS__ENTRIES: | ||
229 | return getEntries(); | ||
230 | case LogicresultPackage.STATISTICS__TRANSFORMATION_TIME: | ||
231 | return getTransformationTime(); | ||
232 | case LogicresultPackage.STATISTICS__SOLVER_TIME: | ||
233 | return getSolverTime(); | ||
234 | case LogicresultPackage.STATISTICS__SOLVER_MEMORY: | ||
235 | return getSolverMemory(); | ||
236 | } | ||
237 | return super.eGet(featureID, resolve, coreType); | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @generated | ||
244 | */ | ||
245 | @SuppressWarnings("unchecked") | ||
246 | @Override | ||
247 | public void eSet(int featureID, Object newValue) { | ||
248 | switch (featureID) { | ||
249 | case LogicresultPackage.STATISTICS__ENTRIES: | ||
250 | getEntries().clear(); | ||
251 | getEntries().addAll((Collection<? extends StatisticEntry>)newValue); | ||
252 | return; | ||
253 | case LogicresultPackage.STATISTICS__TRANSFORMATION_TIME: | ||
254 | setTransformationTime((Integer)newValue); | ||
255 | return; | ||
256 | case LogicresultPackage.STATISTICS__SOLVER_TIME: | ||
257 | setSolverTime((Integer)newValue); | ||
258 | return; | ||
259 | case LogicresultPackage.STATISTICS__SOLVER_MEMORY: | ||
260 | setSolverMemory((Integer)newValue); | ||
261 | return; | ||
262 | } | ||
263 | super.eSet(featureID, newValue); | ||
264 | } | ||
265 | |||
266 | /** | ||
267 | * <!-- begin-user-doc --> | ||
268 | * <!-- end-user-doc --> | ||
269 | * @generated | ||
270 | */ | ||
271 | @Override | ||
272 | public void eUnset(int featureID) { | ||
273 | switch (featureID) { | ||
274 | case LogicresultPackage.STATISTICS__ENTRIES: | ||
275 | getEntries().clear(); | ||
276 | return; | ||
277 | case LogicresultPackage.STATISTICS__TRANSFORMATION_TIME: | ||
278 | setTransformationTime(TRANSFORMATION_TIME_EDEFAULT); | ||
279 | return; | ||
280 | case LogicresultPackage.STATISTICS__SOLVER_TIME: | ||
281 | setSolverTime(SOLVER_TIME_EDEFAULT); | ||
282 | return; | ||
283 | case LogicresultPackage.STATISTICS__SOLVER_MEMORY: | ||
284 | setSolverMemory(SOLVER_MEMORY_EDEFAULT); | ||
285 | return; | ||
286 | } | ||
287 | super.eUnset(featureID); | ||
288 | } | ||
289 | |||
290 | /** | ||
291 | * <!-- begin-user-doc --> | ||
292 | * <!-- end-user-doc --> | ||
293 | * @generated | ||
294 | */ | ||
295 | @Override | ||
296 | public boolean eIsSet(int featureID) { | ||
297 | switch (featureID) { | ||
298 | case LogicresultPackage.STATISTICS__ENTRIES: | ||
299 | return entries != null && !entries.isEmpty(); | ||
300 | case LogicresultPackage.STATISTICS__TRANSFORMATION_TIME: | ||
301 | return transformationTime != TRANSFORMATION_TIME_EDEFAULT; | ||
302 | case LogicresultPackage.STATISTICS__SOLVER_TIME: | ||
303 | return solverTime != SOLVER_TIME_EDEFAULT; | ||
304 | case LogicresultPackage.STATISTICS__SOLVER_MEMORY: | ||
305 | return solverMemory != SOLVER_MEMORY_EDEFAULT; | ||
306 | } | ||
307 | return super.eIsSet(featureID); | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * <!-- begin-user-doc --> | ||
312 | * <!-- end-user-doc --> | ||
313 | * @generated | ||
314 | */ | ||
315 | @Override | ||
316 | public String toString() { | ||
317 | if (eIsProxy()) return super.toString(); | ||
318 | |||
319 | StringBuffer result = new StringBuffer(super.toString()); | ||
320 | result.append(" (transformationTime: "); | ||
321 | result.append(transformationTime); | ||
322 | result.append(", solverTime: "); | ||
323 | result.append(solverTime); | ||
324 | result.append(", solverMemory: "); | ||
325 | result.append(solverMemory); | ||
326 | result.append(')'); | ||
327 | return result.toString(); | ||
328 | } | ||
329 | |||
330 | } //StatisticsImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StringStatisticEntryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StringStatisticEntryImpl.java new file mode 100644 index 00000000..8698f73b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StringStatisticEntryImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>String Statistic Entry</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl#getValue <em>Value</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class StringStatisticEntryImpl extends StatisticEntryImpl implements StringStatisticEntry { | ||
28 | /** | ||
29 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getValue() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final String VALUE_EDEFAULT = "Unfilled"; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getValue() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected String value = VALUE_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected StringStatisticEntryImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return LogicresultPackage.Literals.STRING_STATISTIC_ENTRY; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public String getValue() { | ||
73 | return value; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public void setValue(String newValue) { | ||
82 | String oldValue = value; | ||
83 | value = newValue; | ||
84 | if (eNotificationRequired()) | ||
85 | eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.STRING_STATISTIC_ENTRY__VALUE, oldValue, value)); | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
95 | switch (featureID) { | ||
96 | case LogicresultPackage.STRING_STATISTIC_ENTRY__VALUE: | ||
97 | return getValue(); | ||
98 | } | ||
99 | return super.eGet(featureID, resolve, coreType); | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | @Override | ||
108 | public void eSet(int featureID, Object newValue) { | ||
109 | switch (featureID) { | ||
110 | case LogicresultPackage.STRING_STATISTIC_ENTRY__VALUE: | ||
111 | setValue((String)newValue); | ||
112 | return; | ||
113 | } | ||
114 | super.eSet(featureID, newValue); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public void eUnset(int featureID) { | ||
124 | switch (featureID) { | ||
125 | case LogicresultPackage.STRING_STATISTIC_ENTRY__VALUE: | ||
126 | setValue(VALUE_EDEFAULT); | ||
127 | return; | ||
128 | } | ||
129 | super.eUnset(featureID); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public boolean eIsSet(int featureID) { | ||
139 | switch (featureID) { | ||
140 | case LogicresultPackage.STRING_STATISTIC_ENTRY__VALUE: | ||
141 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); | ||
142 | } | ||
143 | return super.eIsSet(featureID); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public String toString() { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (value: "); | ||
157 | result.append(value); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //StringStatisticEntryImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UndecidableResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UndecidableResultImpl.java new file mode 100644 index 00000000..12da9c45 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UndecidableResultImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Undecidable Result</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class UndecidableResultImpl extends UnknownResultImpl implements UndecidableResult { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected UndecidableResultImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogicresultPackage.Literals.UNDECIDABLE_RESULT; | ||
35 | } | ||
36 | |||
37 | } //UndecidableResultImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UnknownResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UnknownResultImpl.java new file mode 100644 index 00000000..2f8b416e --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UnknownResultImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Unknown Result</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class UnknownResultImpl extends LogicResultImpl implements UnknownResult { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected UnknownResultImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return LogicresultPackage.Literals.UNKNOWN_RESULT; | ||
35 | } | ||
36 | |||
37 | } //UnknownResultImpl | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java new file mode 100644 index 00000000..4b624c4d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java | |||
@@ -0,0 +1,318 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.*; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Adapter; | ||
8 | import org.eclipse.emf.common.notify.Notifier; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class LogicresultAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static LogicresultPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public LogicresultAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = LogicresultPackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected LogicresultSwitch<Adapter> modelSwitch = | ||
69 | new LogicresultSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseLogicResult(LogicResult object) { | ||
72 | return createLogicResultAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseModelResult(ModelResult object) { | ||
76 | return createModelResultAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseInconsistencyResult(InconsistencyResult object) { | ||
80 | return createInconsistencyResultAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseUnknownResult(UnknownResult object) { | ||
84 | return createUnknownResultAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseInsuficientResourcesResult(InsuficientResourcesResult object) { | ||
88 | return createInsuficientResourcesResultAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseErrorResult(ErrorResult object) { | ||
92 | return createErrorResultAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseStatistics(Statistics object) { | ||
96 | return createStatisticsAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseStatisticEntry(StatisticEntry object) { | ||
100 | return createStatisticEntryAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseUndecidableResult(UndecidableResult object) { | ||
104 | return createUndecidableResultAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseIntStatisticEntry(IntStatisticEntry object) { | ||
108 | return createIntStatisticEntryAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter caseRealStatisticEntry(RealStatisticEntry object) { | ||
112 | return createRealStatisticEntryAdapter(); | ||
113 | } | ||
114 | @Override | ||
115 | public Adapter caseStringStatisticEntry(StringStatisticEntry object) { | ||
116 | return createStringStatisticEntryAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter defaultCase(EObject object) { | ||
120 | return createEObjectAdapter(); | ||
121 | } | ||
122 | }; | ||
123 | |||
124 | /** | ||
125 | * Creates an adapter for the <code>target</code>. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @param target the object to adapt. | ||
129 | * @return the adapter for the <code>target</code>. | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Adapter createAdapter(Notifier target) { | ||
134 | return modelSwitch.doSwitch((EObject)target); | ||
135 | } | ||
136 | |||
137 | |||
138 | /** | ||
139 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult <em>Logic Result</em>}'. | ||
140 | * <!-- begin-user-doc --> | ||
141 | * This default implementation returns null so that we can easily ignore cases; | ||
142 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
143 | * <!-- end-user-doc --> | ||
144 | * @return the new adapter. | ||
145 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult | ||
146 | * @generated | ||
147 | */ | ||
148 | public Adapter createLogicResultAdapter() { | ||
149 | return null; | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult <em>Model Result</em>}'. | ||
154 | * <!-- begin-user-doc --> | ||
155 | * This default implementation returns null so that we can easily ignore cases; | ||
156 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
157 | * <!-- end-user-doc --> | ||
158 | * @return the new adapter. | ||
159 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult | ||
160 | * @generated | ||
161 | */ | ||
162 | public Adapter createModelResultAdapter() { | ||
163 | return null; | ||
164 | } | ||
165 | |||
166 | /** | ||
167 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult <em>Inconsistency Result</em>}'. | ||
168 | * <!-- begin-user-doc --> | ||
169 | * This default implementation returns null so that we can easily ignore cases; | ||
170 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
171 | * <!-- end-user-doc --> | ||
172 | * @return the new adapter. | ||
173 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult | ||
174 | * @generated | ||
175 | */ | ||
176 | public Adapter createInconsistencyResultAdapter() { | ||
177 | return null; | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult <em>Unknown Result</em>}'. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * This default implementation returns null so that we can easily ignore cases; | ||
184 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
185 | * <!-- end-user-doc --> | ||
186 | * @return the new adapter. | ||
187 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult | ||
188 | * @generated | ||
189 | */ | ||
190 | public Adapter createUnknownResultAdapter() { | ||
191 | return null; | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult <em>Insuficient Resources Result</em>}'. | ||
196 | * <!-- begin-user-doc --> | ||
197 | * This default implementation returns null so that we can easily ignore cases; | ||
198 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
199 | * <!-- end-user-doc --> | ||
200 | * @return the new adapter. | ||
201 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult | ||
202 | * @generated | ||
203 | */ | ||
204 | public Adapter createInsuficientResourcesResultAdapter() { | ||
205 | return null; | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult <em>Error Result</em>}'. | ||
210 | * <!-- begin-user-doc --> | ||
211 | * This default implementation returns null so that we can easily ignore cases; | ||
212 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
213 | * <!-- end-user-doc --> | ||
214 | * @return the new adapter. | ||
215 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult | ||
216 | * @generated | ||
217 | */ | ||
218 | public Adapter createErrorResultAdapter() { | ||
219 | return null; | ||
220 | } | ||
221 | |||
222 | /** | ||
223 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics <em>Statistics</em>}'. | ||
224 | * <!-- begin-user-doc --> | ||
225 | * This default implementation returns null so that we can easily ignore cases; | ||
226 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
227 | * <!-- end-user-doc --> | ||
228 | * @return the new adapter. | ||
229 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics | ||
230 | * @generated | ||
231 | */ | ||
232 | public Adapter createStatisticsAdapter() { | ||
233 | return null; | ||
234 | } | ||
235 | |||
236 | /** | ||
237 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry <em>Statistic Entry</em>}'. | ||
238 | * <!-- begin-user-doc --> | ||
239 | * This default implementation returns null so that we can easily ignore cases; | ||
240 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
241 | * <!-- end-user-doc --> | ||
242 | * @return the new adapter. | ||
243 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry | ||
244 | * @generated | ||
245 | */ | ||
246 | public Adapter createStatisticEntryAdapter() { | ||
247 | return null; | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult <em>Undecidable Result</em>}'. | ||
252 | * <!-- begin-user-doc --> | ||
253 | * This default implementation returns null so that we can easily ignore cases; | ||
254 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
255 | * <!-- end-user-doc --> | ||
256 | * @return the new adapter. | ||
257 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult | ||
258 | * @generated | ||
259 | */ | ||
260 | public Adapter createUndecidableResultAdapter() { | ||
261 | return null; | ||
262 | } | ||
263 | |||
264 | /** | ||
265 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry <em>Int Statistic Entry</em>}'. | ||
266 | * <!-- begin-user-doc --> | ||
267 | * This default implementation returns null so that we can easily ignore cases; | ||
268 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
269 | * <!-- end-user-doc --> | ||
270 | * @return the new adapter. | ||
271 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry | ||
272 | * @generated | ||
273 | */ | ||
274 | public Adapter createIntStatisticEntryAdapter() { | ||
275 | return null; | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry <em>Real Statistic Entry</em>}'. | ||
280 | * <!-- begin-user-doc --> | ||
281 | * This default implementation returns null so that we can easily ignore cases; | ||
282 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
283 | * <!-- end-user-doc --> | ||
284 | * @return the new adapter. | ||
285 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry | ||
286 | * @generated | ||
287 | */ | ||
288 | public Adapter createRealStatisticEntryAdapter() { | ||
289 | return null; | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry <em>String Statistic Entry</em>}'. | ||
294 | * <!-- begin-user-doc --> | ||
295 | * This default implementation returns null so that we can easily ignore cases; | ||
296 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
297 | * <!-- end-user-doc --> | ||
298 | * @return the new adapter. | ||
299 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry | ||
300 | * @generated | ||
301 | */ | ||
302 | public Adapter createStringStatisticEntryAdapter() { | ||
303 | return null; | ||
304 | } | ||
305 | |||
306 | /** | ||
307 | * Creates a new adapter for the default case. | ||
308 | * <!-- begin-user-doc --> | ||
309 | * This default implementation returns null. | ||
310 | * <!-- end-user-doc --> | ||
311 | * @return the new adapter. | ||
312 | * @generated | ||
313 | */ | ||
314 | public Adapter createEObjectAdapter() { | ||
315 | return null; | ||
316 | } | ||
317 | |||
318 | } //LogicresultAdapterFactory | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java new file mode 100644 index 00000000..2cdf142b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java | |||
@@ -0,0 +1,353 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class LogicresultSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static LogicresultPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public LogicresultSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = LogicresultPackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case LogicresultPackage.LOGIC_RESULT: { | ||
70 | LogicResult logicResult = (LogicResult)theEObject; | ||
71 | T result = caseLogicResult(logicResult); | ||
72 | if (result == null) result = defaultCase(theEObject); | ||
73 | return result; | ||
74 | } | ||
75 | case LogicresultPackage.MODEL_RESULT: { | ||
76 | ModelResult modelResult = (ModelResult)theEObject; | ||
77 | T result = caseModelResult(modelResult); | ||
78 | if (result == null) result = caseLogicResult(modelResult); | ||
79 | if (result == null) result = defaultCase(theEObject); | ||
80 | return result; | ||
81 | } | ||
82 | case LogicresultPackage.INCONSISTENCY_RESULT: { | ||
83 | InconsistencyResult inconsistencyResult = (InconsistencyResult)theEObject; | ||
84 | T result = caseInconsistencyResult(inconsistencyResult); | ||
85 | if (result == null) result = caseLogicResult(inconsistencyResult); | ||
86 | if (result == null) result = defaultCase(theEObject); | ||
87 | return result; | ||
88 | } | ||
89 | case LogicresultPackage.UNKNOWN_RESULT: { | ||
90 | UnknownResult unknownResult = (UnknownResult)theEObject; | ||
91 | T result = caseUnknownResult(unknownResult); | ||
92 | if (result == null) result = caseLogicResult(unknownResult); | ||
93 | if (result == null) result = defaultCase(theEObject); | ||
94 | return result; | ||
95 | } | ||
96 | case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT: { | ||
97 | InsuficientResourcesResult insuficientResourcesResult = (InsuficientResourcesResult)theEObject; | ||
98 | T result = caseInsuficientResourcesResult(insuficientResourcesResult); | ||
99 | if (result == null) result = caseUnknownResult(insuficientResourcesResult); | ||
100 | if (result == null) result = caseLogicResult(insuficientResourcesResult); | ||
101 | if (result == null) result = defaultCase(theEObject); | ||
102 | return result; | ||
103 | } | ||
104 | case LogicresultPackage.ERROR_RESULT: { | ||
105 | ErrorResult errorResult = (ErrorResult)theEObject; | ||
106 | T result = caseErrorResult(errorResult); | ||
107 | if (result == null) result = caseUnknownResult(errorResult); | ||
108 | if (result == null) result = caseLogicResult(errorResult); | ||
109 | if (result == null) result = defaultCase(theEObject); | ||
110 | return result; | ||
111 | } | ||
112 | case LogicresultPackage.STATISTICS: { | ||
113 | Statistics statistics = (Statistics)theEObject; | ||
114 | T result = caseStatistics(statistics); | ||
115 | if (result == null) result = defaultCase(theEObject); | ||
116 | return result; | ||
117 | } | ||
118 | case LogicresultPackage.STATISTIC_ENTRY: { | ||
119 | StatisticEntry statisticEntry = (StatisticEntry)theEObject; | ||
120 | T result = caseStatisticEntry(statisticEntry); | ||
121 | if (result == null) result = defaultCase(theEObject); | ||
122 | return result; | ||
123 | } | ||
124 | case LogicresultPackage.UNDECIDABLE_RESULT: { | ||
125 | UndecidableResult undecidableResult = (UndecidableResult)theEObject; | ||
126 | T result = caseUndecidableResult(undecidableResult); | ||
127 | if (result == null) result = caseUnknownResult(undecidableResult); | ||
128 | if (result == null) result = caseLogicResult(undecidableResult); | ||
129 | if (result == null) result = defaultCase(theEObject); | ||
130 | return result; | ||
131 | } | ||
132 | case LogicresultPackage.INT_STATISTIC_ENTRY: { | ||
133 | IntStatisticEntry intStatisticEntry = (IntStatisticEntry)theEObject; | ||
134 | T result = caseIntStatisticEntry(intStatisticEntry); | ||
135 | if (result == null) result = caseStatisticEntry(intStatisticEntry); | ||
136 | if (result == null) result = defaultCase(theEObject); | ||
137 | return result; | ||
138 | } | ||
139 | case LogicresultPackage.REAL_STATISTIC_ENTRY: { | ||
140 | RealStatisticEntry realStatisticEntry = (RealStatisticEntry)theEObject; | ||
141 | T result = caseRealStatisticEntry(realStatisticEntry); | ||
142 | if (result == null) result = caseStatisticEntry(realStatisticEntry); | ||
143 | if (result == null) result = defaultCase(theEObject); | ||
144 | return result; | ||
145 | } | ||
146 | case LogicresultPackage.STRING_STATISTIC_ENTRY: { | ||
147 | StringStatisticEntry stringStatisticEntry = (StringStatisticEntry)theEObject; | ||
148 | T result = caseStringStatisticEntry(stringStatisticEntry); | ||
149 | if (result == null) result = caseStatisticEntry(stringStatisticEntry); | ||
150 | if (result == null) result = defaultCase(theEObject); | ||
151 | return result; | ||
152 | } | ||
153 | default: return defaultCase(theEObject); | ||
154 | } | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * Returns the result of interpreting the object as an instance of '<em>Logic Result</em>'. | ||
159 | * <!-- begin-user-doc --> | ||
160 | * This implementation returns null; | ||
161 | * returning a non-null result will terminate the switch. | ||
162 | * <!-- end-user-doc --> | ||
163 | * @param object the target of the switch. | ||
164 | * @return the result of interpreting the object as an instance of '<em>Logic Result</em>'. | ||
165 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
166 | * @generated | ||
167 | */ | ||
168 | public T caseLogicResult(LogicResult object) { | ||
169 | return null; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * Returns the result of interpreting the object as an instance of '<em>Model Result</em>'. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * This implementation returns null; | ||
176 | * returning a non-null result will terminate the switch. | ||
177 | * <!-- end-user-doc --> | ||
178 | * @param object the target of the switch. | ||
179 | * @return the result of interpreting the object as an instance of '<em>Model Result</em>'. | ||
180 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
181 | * @generated | ||
182 | */ | ||
183 | public T caseModelResult(ModelResult object) { | ||
184 | return null; | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * Returns the result of interpreting the object as an instance of '<em>Inconsistency Result</em>'. | ||
189 | * <!-- begin-user-doc --> | ||
190 | * This implementation returns null; | ||
191 | * returning a non-null result will terminate the switch. | ||
192 | * <!-- end-user-doc --> | ||
193 | * @param object the target of the switch. | ||
194 | * @return the result of interpreting the object as an instance of '<em>Inconsistency Result</em>'. | ||
195 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
196 | * @generated | ||
197 | */ | ||
198 | public T caseInconsistencyResult(InconsistencyResult object) { | ||
199 | return null; | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * Returns the result of interpreting the object as an instance of '<em>Unknown Result</em>'. | ||
204 | * <!-- begin-user-doc --> | ||
205 | * This implementation returns null; | ||
206 | * returning a non-null result will terminate the switch. | ||
207 | * <!-- end-user-doc --> | ||
208 | * @param object the target of the switch. | ||
209 | * @return the result of interpreting the object as an instance of '<em>Unknown Result</em>'. | ||
210 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
211 | * @generated | ||
212 | */ | ||
213 | public T caseUnknownResult(UnknownResult object) { | ||
214 | return null; | ||
215 | } | ||
216 | |||
217 | /** | ||
218 | * Returns the result of interpreting the object as an instance of '<em>Insuficient Resources Result</em>'. | ||
219 | * <!-- begin-user-doc --> | ||
220 | * This implementation returns null; | ||
221 | * returning a non-null result will terminate the switch. | ||
222 | * <!-- end-user-doc --> | ||
223 | * @param object the target of the switch. | ||
224 | * @return the result of interpreting the object as an instance of '<em>Insuficient Resources Result</em>'. | ||
225 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
226 | * @generated | ||
227 | */ | ||
228 | public T caseInsuficientResourcesResult(InsuficientResourcesResult object) { | ||
229 | return null; | ||
230 | } | ||
231 | |||
232 | /** | ||
233 | * Returns the result of interpreting the object as an instance of '<em>Error Result</em>'. | ||
234 | * <!-- begin-user-doc --> | ||
235 | * This implementation returns null; | ||
236 | * returning a non-null result will terminate the switch. | ||
237 | * <!-- end-user-doc --> | ||
238 | * @param object the target of the switch. | ||
239 | * @return the result of interpreting the object as an instance of '<em>Error Result</em>'. | ||
240 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
241 | * @generated | ||
242 | */ | ||
243 | public T caseErrorResult(ErrorResult object) { | ||
244 | return null; | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * Returns the result of interpreting the object as an instance of '<em>Statistics</em>'. | ||
249 | * <!-- begin-user-doc --> | ||
250 | * This implementation returns null; | ||
251 | * returning a non-null result will terminate the switch. | ||
252 | * <!-- end-user-doc --> | ||
253 | * @param object the target of the switch. | ||
254 | * @return the result of interpreting the object as an instance of '<em>Statistics</em>'. | ||
255 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
256 | * @generated | ||
257 | */ | ||
258 | public T caseStatistics(Statistics object) { | ||
259 | return null; | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * Returns the result of interpreting the object as an instance of '<em>Statistic Entry</em>'. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * This implementation returns null; | ||
266 | * returning a non-null result will terminate the switch. | ||
267 | * <!-- end-user-doc --> | ||
268 | * @param object the target of the switch. | ||
269 | * @return the result of interpreting the object as an instance of '<em>Statistic Entry</em>'. | ||
270 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
271 | * @generated | ||
272 | */ | ||
273 | public T caseStatisticEntry(StatisticEntry object) { | ||
274 | return null; | ||
275 | } | ||
276 | |||
277 | /** | ||
278 | * Returns the result of interpreting the object as an instance of '<em>Undecidable Result</em>'. | ||
279 | * <!-- begin-user-doc --> | ||
280 | * This implementation returns null; | ||
281 | * returning a non-null result will terminate the switch. | ||
282 | * <!-- end-user-doc --> | ||
283 | * @param object the target of the switch. | ||
284 | * @return the result of interpreting the object as an instance of '<em>Undecidable Result</em>'. | ||
285 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
286 | * @generated | ||
287 | */ | ||
288 | public T caseUndecidableResult(UndecidableResult object) { | ||
289 | return null; | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * Returns the result of interpreting the object as an instance of '<em>Int Statistic Entry</em>'. | ||
294 | * <!-- begin-user-doc --> | ||
295 | * This implementation returns null; | ||
296 | * returning a non-null result will terminate the switch. | ||
297 | * <!-- end-user-doc --> | ||
298 | * @param object the target of the switch. | ||
299 | * @return the result of interpreting the object as an instance of '<em>Int Statistic Entry</em>'. | ||
300 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
301 | * @generated | ||
302 | */ | ||
303 | public T caseIntStatisticEntry(IntStatisticEntry object) { | ||
304 | return null; | ||
305 | } | ||
306 | |||
307 | /** | ||
308 | * Returns the result of interpreting the object as an instance of '<em>Real Statistic Entry</em>'. | ||
309 | * <!-- begin-user-doc --> | ||
310 | * This implementation returns null; | ||
311 | * returning a non-null result will terminate the switch. | ||
312 | * <!-- end-user-doc --> | ||
313 | * @param object the target of the switch. | ||
314 | * @return the result of interpreting the object as an instance of '<em>Real Statistic Entry</em>'. | ||
315 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
316 | * @generated | ||
317 | */ | ||
318 | public T caseRealStatisticEntry(RealStatisticEntry object) { | ||
319 | return null; | ||
320 | } | ||
321 | |||
322 | /** | ||
323 | * Returns the result of interpreting the object as an instance of '<em>String Statistic Entry</em>'. | ||
324 | * <!-- begin-user-doc --> | ||
325 | * This implementation returns null; | ||
326 | * returning a non-null result will terminate the switch. | ||
327 | * <!-- end-user-doc --> | ||
328 | * @param object the target of the switch. | ||
329 | * @return the result of interpreting the object as an instance of '<em>String Statistic Entry</em>'. | ||
330 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
331 | * @generated | ||
332 | */ | ||
333 | public T caseStringStatisticEntry(StringStatisticEntry object) { | ||
334 | return null; | ||
335 | } | ||
336 | |||
337 | /** | ||
338 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
339 | * <!-- begin-user-doc --> | ||
340 | * This implementation returns null; | ||
341 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
342 | * <!-- end-user-doc --> | ||
343 | * @param object the target of the switch. | ||
344 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
345 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
346 | * @generated | ||
347 | */ | ||
348 | @Override | ||
349 | public T defaultCase(EObject object) { | ||
350 | return null; | ||
351 | } | ||
352 | |||
353 | } //LogicresultSwitch | ||