diff options
author | 2017-08-15 02:07:49 +0200 | |
---|---|---|
committer | 2017-08-15 02:07:49 +0200 | |
commit | 3018d134f07bfd1cca5f1aa585c6f9bbc166dc93 (patch) | |
tree | 7ef0bd901931fd68e747f7f2f77baad6fa263fed | |
parent | Type scope cleanup (diff) | |
download | VIATRA-Generator-3018d134f07bfd1cca5f1aa585c6f9bbc166dc93.tar.gz VIATRA-Generator-3018d134f07bfd1cca5f1aa585c6f9bbc166dc93.tar.zst VIATRA-Generator-3018d134f07bfd1cca5f1aa585c6f9bbc166dc93.zip |
Generated code for the modified logic model
9 files changed, 178 insertions, 6 deletions
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 index c48665a9..704927cd 100644 --- 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 | |||
@@ -31,7 +31,7 @@ public interface BoolLiteral extends AtomicTerm { | |||
31 | * @return the value of the '<em>Value</em>' attribute. | 31 | * @return the value of the '<em>Value</em>' attribute. |
32 | * @see #setValue(boolean) | 32 | * @see #setValue(boolean) |
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolLiteral_Value() | 33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolLiteral_Value() |
34 | * @model | 34 | * @model required="true" |
35 | * @generated | 35 | * @generated |
36 | */ | 36 | */ |
37 | boolean isValue(); | 37 | boolean isValue(); |
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 index 87eb946d..e82653b9 100644 --- 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 | |||
@@ -31,7 +31,7 @@ public interface IntLiteral extends AtomicTerm { | |||
31 | * @return the value of the '<em>Value</em>' attribute. | 31 | * @return the value of the '<em>Value</em>' attribute. |
32 | * @see #setValue(int) | 32 | * @see #setValue(int) |
33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntLiteral_Value() | 33 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntLiteral_Value() |
34 | * @model | 34 | * @model required="true" |
35 | * @generated | 35 | * @generated |
36 | */ | 36 | */ |
37 | int getValue(); | 37 | int getValue(); |
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 index f6977b13..0d1061d7 100644 --- 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 | |||
@@ -391,6 +391,15 @@ public interface LogiclanguageFactory extends EFactory { | |||
391 | StringTypeReference createStringTypeReference(); | 391 | StringTypeReference createStringTypeReference(); |
392 | 392 | ||
393 | /** | 393 | /** |
394 | * Returns a new object of class '<em>String Literal</em>'. | ||
395 | * <!-- begin-user-doc --> | ||
396 | * <!-- end-user-doc --> | ||
397 | * @return a new object of class '<em>String Literal</em>'. | ||
398 | * @generated | ||
399 | */ | ||
400 | StringLiteral createStringLiteral(); | ||
401 | |||
402 | /** | ||
394 | * Returns the package supported by this factory. | 403 | * Returns the package supported by this factory. |
395 | * <!-- begin-user-doc --> | 404 | * <!-- begin-user-doc --> |
396 | * <!-- end-user-doc --> | 405 | * <!-- end-user-doc --> |
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 d3a789e2..4e8cdcdc 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 | |||
@@ -2592,6 +2592,44 @@ public interface LogiclanguagePackage extends EPackage { | |||
2592 | 2592 | ||
2593 | 2593 | ||
2594 | /** | 2594 | /** |
2595 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.StringLiteralImpl <em>String Literal</em>}' class. | ||
2596 | * <!-- begin-user-doc --> | ||
2597 | * <!-- end-user-doc --> | ||
2598 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.StringLiteralImpl | ||
2599 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getStringLiteral() | ||
2600 | * @generated | ||
2601 | */ | ||
2602 | int STRING_LITERAL = 56; | ||
2603 | |||
2604 | /** | ||
2605 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
2606 | * <!-- begin-user-doc --> | ||
2607 | * <!-- end-user-doc --> | ||
2608 | * @generated | ||
2609 | * @ordered | ||
2610 | */ | ||
2611 | int STRING_LITERAL__VALUE = ATOMIC_TERM_FEATURE_COUNT + 0; | ||
2612 | |||
2613 | /** | ||
2614 | * The number of structural features of the '<em>String Literal</em>' class. | ||
2615 | * <!-- begin-user-doc --> | ||
2616 | * <!-- end-user-doc --> | ||
2617 | * @generated | ||
2618 | * @ordered | ||
2619 | */ | ||
2620 | int STRING_LITERAL_FEATURE_COUNT = ATOMIC_TERM_FEATURE_COUNT + 1; | ||
2621 | |||
2622 | /** | ||
2623 | * The number of operations of the '<em>String Literal</em>' class. | ||
2624 | * <!-- begin-user-doc --> | ||
2625 | * <!-- end-user-doc --> | ||
2626 | * @generated | ||
2627 | * @ordered | ||
2628 | */ | ||
2629 | int STRING_LITERAL_OPERATION_COUNT = ATOMIC_TERM_OPERATION_COUNT + 0; | ||
2630 | |||
2631 | |||
2632 | /** | ||
2595 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type <em>Type</em>}'. | 2633 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type <em>Type</em>}'. |
2596 | * <!-- begin-user-doc --> | 2634 | * <!-- begin-user-doc --> |
2597 | * <!-- end-user-doc --> | 2635 | * <!-- end-user-doc --> |
@@ -3812,6 +3850,27 @@ public interface LogiclanguagePackage extends EPackage { | |||
3812 | EClass getStringTypeReference(); | 3850 | EClass getStringTypeReference(); |
3813 | 3851 | ||
3814 | /** | 3852 | /** |
3853 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral <em>String Literal</em>}'. | ||
3854 | * <!-- begin-user-doc --> | ||
3855 | * <!-- end-user-doc --> | ||
3856 | * @return the meta object for class '<em>String Literal</em>'. | ||
3857 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral | ||
3858 | * @generated | ||
3859 | */ | ||
3860 | EClass getStringLiteral(); | ||
3861 | |||
3862 | /** | ||
3863 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral#getValue <em>Value</em>}'. | ||
3864 | * <!-- begin-user-doc --> | ||
3865 | * <!-- end-user-doc --> | ||
3866 | * @return the meta object for the attribute '<em>Value</em>'. | ||
3867 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral#getValue() | ||
3868 | * @see #getStringLiteral() | ||
3869 | * @generated | ||
3870 | */ | ||
3871 | EAttribute getStringLiteral_Value(); | ||
3872 | |||
3873 | /** | ||
3815 | * Returns the factory that creates the instances of the model. | 3874 | * Returns the factory that creates the instances of the model. |
3816 | * <!-- begin-user-doc --> | 3875 | * <!-- begin-user-doc --> |
3817 | * <!-- end-user-doc --> | 3876 | * <!-- end-user-doc --> |
@@ -4874,6 +4933,24 @@ public interface LogiclanguagePackage extends EPackage { | |||
4874 | */ | 4933 | */ |
4875 | EClass STRING_TYPE_REFERENCE = eINSTANCE.getStringTypeReference(); | 4934 | EClass STRING_TYPE_REFERENCE = eINSTANCE.getStringTypeReference(); |
4876 | 4935 | ||
4936 | /** | ||
4937 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.StringLiteralImpl <em>String Literal</em>}' class. | ||
4938 | * <!-- begin-user-doc --> | ||
4939 | * <!-- end-user-doc --> | ||
4940 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.StringLiteralImpl | ||
4941 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getStringLiteral() | ||
4942 | * @generated | ||
4943 | */ | ||
4944 | EClass STRING_LITERAL = eINSTANCE.getStringLiteral(); | ||
4945 | |||
4946 | /** | ||
4947 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
4948 | * <!-- begin-user-doc --> | ||
4949 | * <!-- end-user-doc --> | ||
4950 | * @generated | ||
4951 | */ | ||
4952 | EAttribute STRING_LITERAL__VALUE = eINSTANCE.getStringLiteral_Value(); | ||
4953 | |||
4877 | } | 4954 | } |
4878 | 4955 | ||
4879 | } //LogiclanguagePackage | 4956 | } //LogiclanguagePackage |
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 index 88dcb04b..0ba0a6ca 100644 --- 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 | |||
@@ -32,7 +32,7 @@ public interface RealLiteral extends AtomicTerm { | |||
32 | * @return the value of the '<em>Value</em>' attribute. | 32 | * @return the value of the '<em>Value</em>' attribute. |
33 | * @see #setValue(BigDecimal) | 33 | * @see #setValue(BigDecimal) |
34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRealLiteral_Value() | 34 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRealLiteral_Value() |
35 | * @model | 35 | * @model required="true" |
36 | * @generated | 36 | * @generated |
37 | */ | 37 | */ |
38 | BigDecimal getValue(); | 38 | BigDecimal getValue(); |
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 index 593e1fc0..b4d03cfd 100644 --- 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 | |||
@@ -97,6 +97,7 @@ public class LogiclanguageFactoryImpl extends EFactoryImpl implements Logiclangu | |||
97 | case LogiclanguagePackage.UNKNOWN_BECAUSE_UNINTERPRETED: return createUnknownBecauseUninterpreted(); | 97 | case LogiclanguagePackage.UNKNOWN_BECAUSE_UNINTERPRETED: return createUnknownBecauseUninterpreted(); |
98 | case LogiclanguagePackage.INSTANCE_OF: return createInstanceOf(); | 98 | case LogiclanguagePackage.INSTANCE_OF: return createInstanceOf(); |
99 | case LogiclanguagePackage.STRING_TYPE_REFERENCE: return createStringTypeReference(); | 99 | case LogiclanguagePackage.STRING_TYPE_REFERENCE: return createStringTypeReference(); |
100 | case LogiclanguagePackage.STRING_LITERAL: return createStringLiteral(); | ||
100 | default: | 101 | default: |
101 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | 102 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); |
102 | } | 103 | } |
@@ -517,6 +518,16 @@ public class LogiclanguageFactoryImpl extends EFactoryImpl implements Logiclangu | |||
517 | * <!-- end-user-doc --> | 518 | * <!-- end-user-doc --> |
518 | * @generated | 519 | * @generated |
519 | */ | 520 | */ |
521 | public StringLiteral createStringLiteral() { | ||
522 | StringLiteralImpl stringLiteral = new StringLiteralImpl(); | ||
523 | return stringLiteral; | ||
524 | } | ||
525 | |||
526 | /** | ||
527 | * <!-- begin-user-doc --> | ||
528 | * <!-- end-user-doc --> | ||
529 | * @generated | ||
530 | */ | ||
520 | public LogiclanguagePackage getLogiclanguagePackage() { | 531 | public LogiclanguagePackage getLogiclanguagePackage() { |
521 | return (LogiclanguagePackage)getEPackage(); | 532 | return (LogiclanguagePackage)getEPackage(); |
522 | } | 533 | } |
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 9628e3d7..8bc329d5 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 | |||
@@ -48,6 +48,7 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference; | |||
48 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | 48 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; |
49 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration; | 49 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration; |
50 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition; | 50 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition; |
51 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral; | ||
51 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringTypeReference; | 52 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringTypeReference; |
52 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration; | 53 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration; |
53 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue; | 54 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue; |
@@ -476,6 +477,13 @@ public class LogiclanguagePackageImpl extends EPackageImpl implements Logiclangu | |||
476 | private EClass stringTypeReferenceEClass = null; | 477 | private EClass stringTypeReferenceEClass = null; |
477 | 478 | ||
478 | /** | 479 | /** |
480 | * <!-- begin-user-doc --> | ||
481 | * <!-- end-user-doc --> | ||
482 | * @generated | ||
483 | */ | ||
484 | private EClass stringLiteralEClass = null; | ||
485 | |||
486 | /** | ||
479 | * Creates an instance of the model <b>Package</b>, registered with | 487 | * Creates an instance of the model <b>Package</b>, registered with |
480 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | 488 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
481 | * package URI value. | 489 | * package URI value. |
@@ -1593,6 +1601,24 @@ public class LogiclanguagePackageImpl extends EPackageImpl implements Logiclangu | |||
1593 | * <!-- end-user-doc --> | 1601 | * <!-- end-user-doc --> |
1594 | * @generated | 1602 | * @generated |
1595 | */ | 1603 | */ |
1604 | public EClass getStringLiteral() { | ||
1605 | return stringLiteralEClass; | ||
1606 | } | ||
1607 | |||
1608 | /** | ||
1609 | * <!-- begin-user-doc --> | ||
1610 | * <!-- end-user-doc --> | ||
1611 | * @generated | ||
1612 | */ | ||
1613 | public EAttribute getStringLiteral_Value() { | ||
1614 | return (EAttribute)stringLiteralEClass.getEStructuralFeatures().get(0); | ||
1615 | } | ||
1616 | |||
1617 | /** | ||
1618 | * <!-- begin-user-doc --> | ||
1619 | * <!-- end-user-doc --> | ||
1620 | * @generated | ||
1621 | */ | ||
1596 | public LogiclanguageFactory getLogiclanguageFactory() { | 1622 | public LogiclanguageFactory getLogiclanguageFactory() { |
1597 | return (LogiclanguageFactory)getEFactoryInstance(); | 1623 | return (LogiclanguageFactory)getEFactoryInstance(); |
1598 | } | 1624 | } |
@@ -1787,6 +1813,9 @@ public class LogiclanguagePackageImpl extends EPackageImpl implements Logiclangu | |||
1787 | createEReference(instanceOfEClass, INSTANCE_OF__RANGE); | 1813 | createEReference(instanceOfEClass, INSTANCE_OF__RANGE); |
1788 | 1814 | ||
1789 | stringTypeReferenceEClass = createEClass(STRING_TYPE_REFERENCE); | 1815 | stringTypeReferenceEClass = createEClass(STRING_TYPE_REFERENCE); |
1816 | |||
1817 | stringLiteralEClass = createEClass(STRING_LITERAL); | ||
1818 | createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE); | ||
1790 | } | 1819 | } |
1791 | 1820 | ||
1792 | /** | 1821 | /** |
@@ -1873,6 +1902,7 @@ public class LogiclanguagePackageImpl extends EPackageImpl implements Logiclangu | |||
1873 | unknownBecauseUninterpretedEClass.getESuperTypes().add(this.getTerm()); | 1902 | unknownBecauseUninterpretedEClass.getESuperTypes().add(this.getTerm()); |
1874 | instanceOfEClass.getESuperTypes().add(this.getTerm()); | 1903 | instanceOfEClass.getESuperTypes().add(this.getTerm()); |
1875 | stringTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); | 1904 | stringTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); |
1905 | stringLiteralEClass.getESuperTypes().add(this.getAtomicTerm()); | ||
1876 | 1906 | ||
1877 | // Initialize classes, features, and operations; add parameters | 1907 | // Initialize classes, features, and operations; add parameters |
1878 | initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1908 | initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
@@ -1918,13 +1948,13 @@ public class LogiclanguagePackageImpl extends EPackageImpl implements Logiclangu | |||
1918 | initEClass(atomicTermEClass, AtomicTerm.class, "AtomicTerm", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1948 | initEClass(atomicTermEClass, AtomicTerm.class, "AtomicTerm", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1919 | 1949 | ||
1920 | initEClass(intLiteralEClass, IntLiteral.class, "IntLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1950 | initEClass(intLiteralEClass, IntLiteral.class, "IntLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1921 | 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); | 1951 | initEAttribute(getIntLiteral_Value(), ecorePackage.getEInt(), "value", null, 1, 1, IntLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1922 | 1952 | ||
1923 | initEClass(boolLiteralEClass, BoolLiteral.class, "BoolLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1953 | initEClass(boolLiteralEClass, BoolLiteral.class, "BoolLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1924 | 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); | 1954 | initEAttribute(getBoolLiteral_Value(), ecorePackage.getEBoolean(), "value", null, 1, 1, BoolLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1925 | 1955 | ||
1926 | initEClass(realLiteralEClass, RealLiteral.class, "RealLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1956 | initEClass(realLiteralEClass, RealLiteral.class, "RealLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1927 | 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); | 1957 | initEAttribute(getRealLiteral_Value(), ecorePackage.getEBigDecimal(), "value", null, 1, 1, RealLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1928 | 1958 | ||
1929 | initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1959 | initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1930 | 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); | 1960 | 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); |
@@ -2047,6 +2077,9 @@ public class LogiclanguagePackageImpl extends EPackageImpl implements Logiclangu | |||
2047 | 2077 | ||
2048 | initEClass(stringTypeReferenceEClass, StringTypeReference.class, "StringTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 2078 | initEClass(stringTypeReferenceEClass, StringTypeReference.class, "StringTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
2049 | 2079 | ||
2080 | initEClass(stringLiteralEClass, StringLiteral.class, "StringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2081 | initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), "value", null, 1, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2082 | |||
2050 | // Create resource | 2083 | // Create resource |
2051 | createResource(eNS_URI); | 2084 | createResource(eNS_URI); |
2052 | } | 2085 | } |
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 index b056117f..c756cf31 100644 --- 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 | |||
@@ -292,6 +292,10 @@ public class LogiclanguageAdapterFactory extends AdapterFactoryImpl { | |||
292 | return createStringTypeReferenceAdapter(); | 292 | return createStringTypeReferenceAdapter(); |
293 | } | 293 | } |
294 | @Override | 294 | @Override |
295 | public Adapter caseStringLiteral(StringLiteral object) { | ||
296 | return createStringLiteralAdapter(); | ||
297 | } | ||
298 | @Override | ||
295 | public Adapter defaultCase(EObject object) { | 299 | public Adapter defaultCase(EObject object) { |
296 | return createEObjectAdapter(); | 300 | return createEObjectAdapter(); |
297 | } | 301 | } |
@@ -1096,6 +1100,20 @@ public class LogiclanguageAdapterFactory extends AdapterFactoryImpl { | |||
1096 | } | 1100 | } |
1097 | 1101 | ||
1098 | /** | 1102 | /** |
1103 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral <em>String Literal</em>}'. | ||
1104 | * <!-- begin-user-doc --> | ||
1105 | * This default implementation returns null so that we can easily ignore cases; | ||
1106 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1107 | * <!-- end-user-doc --> | ||
1108 | * @return the new adapter. | ||
1109 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral | ||
1110 | * @generated | ||
1111 | */ | ||
1112 | public Adapter createStringLiteralAdapter() { | ||
1113 | return null; | ||
1114 | } | ||
1115 | |||
1116 | /** | ||
1099 | * Creates a new adapter for the default case. | 1117 | * Creates a new adapter for the default case. |
1100 | * <!-- begin-user-doc --> | 1118 | * <!-- begin-user-doc --> |
1101 | * This default implementation returns null. | 1119 | * This default implementation returns null. |
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 4a89a3d0..43376940 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 | |||
@@ -535,6 +535,15 @@ public class LogiclanguageSwitch<T> extends Switch<T> { | |||
535 | if (result == null) result = defaultCase(theEObject); | 535 | if (result == null) result = defaultCase(theEObject); |
536 | return result; | 536 | return result; |
537 | } | 537 | } |
538 | case LogiclanguagePackage.STRING_LITERAL: { | ||
539 | StringLiteral stringLiteral = (StringLiteral)theEObject; | ||
540 | T result = caseStringLiteral(stringLiteral); | ||
541 | if (result == null) result = caseAtomicTerm(stringLiteral); | ||
542 | if (result == null) result = caseTerm(stringLiteral); | ||
543 | if (result == null) result = caseTermDescription(stringLiteral); | ||
544 | if (result == null) result = defaultCase(theEObject); | ||
545 | return result; | ||
546 | } | ||
538 | default: return defaultCase(theEObject); | 547 | default: return defaultCase(theEObject); |
539 | } | 548 | } |
540 | } | 549 | } |
@@ -1380,6 +1389,21 @@ public class LogiclanguageSwitch<T> extends Switch<T> { | |||
1380 | } | 1389 | } |
1381 | 1390 | ||
1382 | /** | 1391 | /** |
1392 | * Returns the result of interpreting the object as an instance of '<em>String Literal</em>'. | ||
1393 | * <!-- begin-user-doc --> | ||
1394 | * This implementation returns null; | ||
1395 | * returning a non-null result will terminate the switch. | ||
1396 | * <!-- end-user-doc --> | ||
1397 | * @param object the target of the switch. | ||
1398 | * @return the result of interpreting the object as an instance of '<em>String Literal</em>'. | ||
1399 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1400 | * @generated | ||
1401 | */ | ||
1402 | public T caseStringLiteral(StringLiteral object) { | ||
1403 | return null; | ||
1404 | } | ||
1405 | |||
1406 | /** | ||
1383 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | 1407 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
1384 | * <!-- begin-user-doc --> | 1408 | * <!-- begin-user-doc --> |
1385 | * This implementation returns null; | 1409 | * This implementation returns null; |