diff options
author | 2017-08-16 19:11:40 +0200 | |
---|---|---|
committer | 2017-08-16 19:11:40 +0200 | |
commit | 7b8aa9c1364a555e8e64e19b64e30868dc7358de (patch) | |
tree | 290b1641251004752cba783cea9a7aca92e9fb5b /Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen | |
parent | Adding transitive closure to the logic language (diff) | |
download | VIATRA-Generator-7b8aa9c1364a555e8e64e19b64e30868dc7358de.tar.gz VIATRA-Generator-7b8aa9c1364a555e8e64e19b64e30868dc7358de.tar.zst VIATRA-Generator-7b8aa9c1364a555e8e64e19b64e30868dc7358de.zip |
Transitive closure
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen')
5 files changed, 10 insertions, 10 deletions
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 index 59bb841a..0e80dc1a 100644 --- 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 | |||
@@ -2646,7 +2646,7 @@ public interface LogiclanguagePackage extends EPackage { | |||
2646 | * @generated | 2646 | * @generated |
2647 | * @ordered | 2647 | * @ordered |
2648 | */ | 2648 | */ |
2649 | int TRANSITIVE_CLOSURE__LEFT_OPERAND = 0; | 2649 | int TRANSITIVE_CLOSURE__LEFT_OPERAND = TERM_FEATURE_COUNT + 0; |
2650 | 2650 | ||
2651 | /** | 2651 | /** |
2652 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | 2652 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. |
@@ -2655,7 +2655,7 @@ public interface LogiclanguagePackage extends EPackage { | |||
2655 | * @generated | 2655 | * @generated |
2656 | * @ordered | 2656 | * @ordered |
2657 | */ | 2657 | */ |
2658 | int TRANSITIVE_CLOSURE__RIGHT_OPERAND = 1; | 2658 | int TRANSITIVE_CLOSURE__RIGHT_OPERAND = TERM_FEATURE_COUNT + 1; |
2659 | 2659 | ||
2660 | /** | 2660 | /** |
2661 | * The feature id for the '<em><b>Relation</b></em>' reference. | 2661 | * The feature id for the '<em><b>Relation</b></em>' reference. |
@@ -2664,7 +2664,7 @@ public interface LogiclanguagePackage extends EPackage { | |||
2664 | * @generated | 2664 | * @generated |
2665 | * @ordered | 2665 | * @ordered |
2666 | */ | 2666 | */ |
2667 | int TRANSITIVE_CLOSURE__RELATION = 2; | 2667 | int TRANSITIVE_CLOSURE__RELATION = TERM_FEATURE_COUNT + 2; |
2668 | 2668 | ||
2669 | /** | 2669 | /** |
2670 | * The number of structural features of the '<em>Transitive Closure</em>' class. | 2670 | * The number of structural features of the '<em>Transitive Closure</em>' class. |
@@ -2673,7 +2673,7 @@ public interface LogiclanguagePackage extends EPackage { | |||
2673 | * @generated | 2673 | * @generated |
2674 | * @ordered | 2674 | * @ordered |
2675 | */ | 2675 | */ |
2676 | int TRANSITIVE_CLOSURE_FEATURE_COUNT = 3; | 2676 | int TRANSITIVE_CLOSURE_FEATURE_COUNT = TERM_FEATURE_COUNT + 3; |
2677 | 2677 | ||
2678 | /** | 2678 | /** |
2679 | * The number of operations of the '<em>Transitive Closure</em>' class. | 2679 | * The number of operations of the '<em>Transitive Closure</em>' class. |
@@ -2682,7 +2682,7 @@ public interface LogiclanguagePackage extends EPackage { | |||
2682 | * @generated | 2682 | * @generated |
2683 | * @ordered | 2683 | * @ordered |
2684 | */ | 2684 | */ |
2685 | int TRANSITIVE_CLOSURE_OPERATION_COUNT = 0; | 2685 | int TRANSITIVE_CLOSURE_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; |
2686 | 2686 | ||
2687 | 2687 | ||
2688 | /** | 2688 | /** |
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TransitiveClosure.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TransitiveClosure.java index 92c80341..ca3da373 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TransitiveClosure.java +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TransitiveClosure.java | |||
@@ -2,8 +2,6 @@ | |||
2 | */ | 2 | */ |
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; | 3 | package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; |
4 | 4 | ||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | 5 | /** |
8 | * <!-- begin-user-doc --> | 6 | * <!-- begin-user-doc --> |
9 | * A representation of the model object '<em><b>Transitive Closure</b></em>'. | 7 | * A representation of the model object '<em><b>Transitive Closure</b></em>'. |
@@ -22,7 +20,7 @@ import org.eclipse.emf.ecore.EObject; | |||
22 | * @model | 20 | * @model |
23 | * @generated | 21 | * @generated |
24 | */ | 22 | */ |
25 | public interface TransitiveClosure extends EObject { | 23 | public interface TransitiveClosure extends Term { |
26 | /** | 24 | /** |
27 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | 25 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. |
28 | * <!-- begin-user-doc --> | 26 | * <!-- begin-user-doc --> |
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 index 73560344..7e4c4f23 100644 --- 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 | |||
@@ -1952,6 +1952,7 @@ public class LogiclanguagePackageImpl extends EPackageImpl implements Logiclangu | |||
1952 | instanceOfEClass.getESuperTypes().add(this.getTerm()); | 1952 | instanceOfEClass.getESuperTypes().add(this.getTerm()); |
1953 | stringTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); | 1953 | stringTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); |
1954 | stringLiteralEClass.getESuperTypes().add(this.getAtomicTerm()); | 1954 | stringLiteralEClass.getESuperTypes().add(this.getAtomicTerm()); |
1955 | transitiveClosureEClass.getESuperTypes().add(this.getTerm()); | ||
1955 | 1956 | ||
1956 | // Initialize classes, features, and operations; add parameters | 1957 | // Initialize classes, features, and operations; add parameters |
1957 | initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1958 | initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TransitiveClosureImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TransitiveClosureImpl.java index 9633334b..ecd0eeaf 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TransitiveClosureImpl.java +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TransitiveClosureImpl.java | |||
@@ -14,7 +14,6 @@ import org.eclipse.emf.ecore.EClass; | |||
14 | import org.eclipse.emf.ecore.InternalEObject; | 14 | import org.eclipse.emf.ecore.InternalEObject; |
15 | 15 | ||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
17 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
18 | 17 | ||
19 | /** | 18 | /** |
20 | * <!-- begin-user-doc --> | 19 | * <!-- begin-user-doc --> |
@@ -31,7 +30,7 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | |||
31 | * | 30 | * |
32 | * @generated | 31 | * @generated |
33 | */ | 32 | */ |
34 | public class TransitiveClosureImpl extends MinimalEObjectImpl.Container implements TransitiveClosure { | 33 | public class TransitiveClosureImpl extends TermImpl implements TransitiveClosure { |
35 | /** | 34 | /** |
36 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | 35 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. |
37 | * <!-- begin-user-doc --> | 36 | * <!-- begin-user-doc --> |
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 index 74575fb6..07554514 100644 --- 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 | |||
@@ -547,6 +547,8 @@ public class LogiclanguageSwitch<T> extends Switch<T> { | |||
547 | case LogiclanguagePackage.TRANSITIVE_CLOSURE: { | 547 | case LogiclanguagePackage.TRANSITIVE_CLOSURE: { |
548 | TransitiveClosure transitiveClosure = (TransitiveClosure)theEObject; | 548 | TransitiveClosure transitiveClosure = (TransitiveClosure)theEObject; |
549 | T result = caseTransitiveClosure(transitiveClosure); | 549 | T result = caseTransitiveClosure(transitiveClosure); |
550 | if (result == null) result = caseTerm(transitiveClosure); | ||
551 | if (result == null) result = caseTermDescription(transitiveClosure); | ||
550 | if (result == null) result = defaultCase(theEObject); | 552 | if (result == null) result = defaultCase(theEObject); |
551 | return result; | 553 | return result; |
552 | } | 554 | } |