diff options
author | 2020-05-06 00:27:55 +0200 | |
---|---|---|
committer | 2020-05-06 00:27:55 +0200 | |
commit | 820151b6d27643ba0927ca84d1bccadbd695a55d (patch) | |
tree | 9d3a5786b7f90723a6af967875f861a89e5b897e /Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java | |
parent | color update (diff) | |
download | VIATRA-Generator-820151b6d27643ba0927ca84d1bccadbd695a55d.tar.gz VIATRA-Generator-820151b6d27643ba0927ca84d1bccadbd695a55d.tar.zst VIATRA-Generator-820151b6d27643ba0927ca84d1bccadbd695a55d.zip |
PS language update
Diffstat (limited to 'Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java')
-rw-r--r-- | Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java | 71 |
1 files changed, 12 insertions, 59 deletions
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java index 9e5d391b..f617be3f 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java | |||
@@ -28,7 +28,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.DataSymbol; | |||
28 | import org.eclipse.viatra.solver.language.solverLanguage.DefaultInterpretation; | 28 | import org.eclipse.viatra.solver.language.solverLanguage.DefaultInterpretation; |
29 | import org.eclipse.viatra.solver.language.solverLanguage.EnumInterpretation; | 29 | import org.eclipse.viatra.solver.language.solverLanguage.EnumInterpretation; |
30 | import org.eclipse.viatra.solver.language.solverLanguage.EqualsSymbol; | 30 | import org.eclipse.viatra.solver.language.solverLanguage.EqualsSymbol; |
31 | import org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate; | ||
32 | import org.eclipse.viatra.solver.language.solverLanguage.ExistSymbol; | 31 | import org.eclipse.viatra.solver.language.solverLanguage.ExistSymbol; |
33 | import org.eclipse.viatra.solver.language.solverLanguage.False; | 32 | import org.eclipse.viatra.solver.language.solverLanguage.False; |
34 | import org.eclipse.viatra.solver.language.solverLanguage.FieldRelationInterpretation; | 33 | import org.eclipse.viatra.solver.language.solverLanguage.FieldRelationInterpretation; |
@@ -48,7 +47,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.PatternBody; | |||
48 | import org.eclipse.viatra.solver.language.solverLanguage.Polarity; | 47 | import org.eclipse.viatra.solver.language.solverLanguage.Polarity; |
49 | import org.eclipse.viatra.solver.language.solverLanguage.Positive; | 48 | import org.eclipse.viatra.solver.language.solverLanguage.Positive; |
50 | import org.eclipse.viatra.solver.language.solverLanguage.Predicate; | 49 | import org.eclipse.viatra.solver.language.solverLanguage.Predicate; |
51 | import org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol; | ||
52 | import org.eclipse.viatra.solver.language.solverLanguage.Problem; | 50 | import org.eclipse.viatra.solver.language.solverLanguage.Problem; |
53 | import org.eclipse.viatra.solver.language.solverLanguage.RealObject; | 51 | import org.eclipse.viatra.solver.language.solverLanguage.RealObject; |
54 | import org.eclipse.viatra.solver.language.solverLanguage.RealSymbol; | 52 | import org.eclipse.viatra.solver.language.solverLanguage.RealSymbol; |
@@ -260,20 +258,6 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan | |||
260 | * <!-- end-user-doc --> | 258 | * <!-- end-user-doc --> |
261 | * @generated | 259 | * @generated |
262 | */ | 260 | */ |
263 | private EClass predicateSymbolEClass = null; | ||
264 | |||
265 | /** | ||
266 | * <!-- begin-user-doc --> | ||
267 | * <!-- end-user-doc --> | ||
268 | * @generated | ||
269 | */ | ||
270 | private EClass errorPredicateEClass = null; | ||
271 | |||
272 | /** | ||
273 | * <!-- begin-user-doc --> | ||
274 | * <!-- end-user-doc --> | ||
275 | * @generated | ||
276 | */ | ||
277 | private EClass parameterEClass = null; | 261 | private EClass parameterEClass = null; |
278 | 262 | ||
279 | /** | 263 | /** |
@@ -927,9 +911,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan | |||
927 | * @generated | 911 | * @generated |
928 | */ | 912 | */ |
929 | @Override | 913 | @Override |
930 | public EReference getPredicate_Parameters() | 914 | public EAttribute getPredicate_IsError() |
931 | { | 915 | { |
932 | return (EReference)predicateEClass.getEStructuralFeatures().get(0); | 916 | return (EAttribute)predicateEClass.getEStructuralFeatures().get(0); |
933 | } | 917 | } |
934 | 918 | ||
935 | /** | 919 | /** |
@@ -938,7 +922,7 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan | |||
938 | * @generated | 922 | * @generated |
939 | */ | 923 | */ |
940 | @Override | 924 | @Override |
941 | public EReference getPredicate_Bodies() | 925 | public EReference getPredicate_Symbol() |
942 | { | 926 | { |
943 | return (EReference)predicateEClass.getEStructuralFeatures().get(1); | 927 | return (EReference)predicateEClass.getEStructuralFeatures().get(1); |
944 | } | 928 | } |
@@ -949,31 +933,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan | |||
949 | * @generated | 933 | * @generated |
950 | */ | 934 | */ |
951 | @Override | 935 | @Override |
952 | public EClass getPredicateSymbol() | 936 | public EReference getPredicate_Parameters() |
953 | { | ||
954 | return predicateSymbolEClass; | ||
955 | } | ||
956 | |||
957 | /** | ||
958 | * <!-- begin-user-doc --> | ||
959 | * <!-- end-user-doc --> | ||
960 | * @generated | ||
961 | */ | ||
962 | @Override | ||
963 | public EReference getPredicateSymbol_Symbol() | ||
964 | { | ||
965 | return (EReference)predicateSymbolEClass.getEStructuralFeatures().get(0); | ||
966 | } | ||
967 | |||
968 | /** | ||
969 | * <!-- begin-user-doc --> | ||
970 | * <!-- end-user-doc --> | ||
971 | * @generated | ||
972 | */ | ||
973 | @Override | ||
974 | public EClass getErrorPredicate() | ||
975 | { | 937 | { |
976 | return errorPredicateEClass; | 938 | return (EReference)predicateEClass.getEStructuralFeatures().get(2); |
977 | } | 939 | } |
978 | 940 | ||
979 | /** | 941 | /** |
@@ -982,9 +944,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan | |||
982 | * @generated | 944 | * @generated |
983 | */ | 945 | */ |
984 | @Override | 946 | @Override |
985 | public EAttribute getErrorPredicate_Name() | 947 | public EReference getPredicate_Bodies() |
986 | { | 948 | { |
987 | return (EAttribute)errorPredicateEClass.getEStructuralFeatures().get(0); | 949 | return (EReference)predicateEClass.getEStructuralFeatures().get(3); |
988 | } | 950 | } |
989 | 951 | ||
990 | /** | 952 | /** |
@@ -1685,15 +1647,11 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan | |||
1685 | createEAttribute(stringObjectEClass, STRING_OBJECT__VALUE); | 1647 | createEAttribute(stringObjectEClass, STRING_OBJECT__VALUE); |
1686 | 1648 | ||
1687 | predicateEClass = createEClass(PREDICATE); | 1649 | predicateEClass = createEClass(PREDICATE); |
1650 | createEAttribute(predicateEClass, PREDICATE__IS_ERROR); | ||
1651 | createEReference(predicateEClass, PREDICATE__SYMBOL); | ||
1688 | createEReference(predicateEClass, PREDICATE__PARAMETERS); | 1652 | createEReference(predicateEClass, PREDICATE__PARAMETERS); |
1689 | createEReference(predicateEClass, PREDICATE__BODIES); | 1653 | createEReference(predicateEClass, PREDICATE__BODIES); |
1690 | 1654 | ||
1691 | predicateSymbolEClass = createEClass(PREDICATE_SYMBOL); | ||
1692 | createEReference(predicateSymbolEClass, PREDICATE_SYMBOL__SYMBOL); | ||
1693 | |||
1694 | errorPredicateEClass = createEClass(ERROR_PREDICATE); | ||
1695 | createEAttribute(errorPredicateEClass, ERROR_PREDICATE__NAME); | ||
1696 | |||
1697 | parameterEClass = createEClass(PARAMETER); | 1655 | parameterEClass = createEClass(PARAMETER); |
1698 | createEReference(parameterEClass, PARAMETER__VARIABLE); | 1656 | createEReference(parameterEClass, PARAMETER__VARIABLE); |
1699 | createEReference(parameterEClass, PARAMETER__TYPE); | 1657 | createEReference(parameterEClass, PARAMETER__TYPE); |
@@ -1818,6 +1776,7 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan | |||
1818 | stringSymbolEClass.getESuperTypes().add(this.getDataSymbol()); | 1776 | stringSymbolEClass.getESuperTypes().add(this.getDataSymbol()); |
1819 | objectEClass.getESuperTypes().add(this.getComplexObject()); | 1777 | objectEClass.getESuperTypes().add(this.getComplexObject()); |
1820 | namedObjectEClass.getESuperTypes().add(this.getObject()); | 1778 | namedObjectEClass.getESuperTypes().add(this.getObject()); |
1779 | namedObjectEClass.getESuperTypes().add(this.getLiteral()); | ||
1821 | unnamedObjectEClass.getESuperTypes().add(this.getObject()); | 1780 | unnamedObjectEClass.getESuperTypes().add(this.getObject()); |
1822 | dataObjectEClass.getESuperTypes().add(this.getObject()); | 1781 | dataObjectEClass.getESuperTypes().add(this.getObject()); |
1823 | dataObjectEClass.getESuperTypes().add(this.getLiteral()); | 1782 | dataObjectEClass.getESuperTypes().add(this.getLiteral()); |
@@ -1826,8 +1785,6 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan | |||
1826 | realObjectEClass.getESuperTypes().add(this.getDataObject()); | 1785 | realObjectEClass.getESuperTypes().add(this.getDataObject()); |
1827 | stringObjectEClass.getESuperTypes().add(this.getDataObject()); | 1786 | stringObjectEClass.getESuperTypes().add(this.getDataObject()); |
1828 | predicateEClass.getESuperTypes().add(this.getStatement()); | 1787 | predicateEClass.getESuperTypes().add(this.getStatement()); |
1829 | predicateSymbolEClass.getESuperTypes().add(this.getPredicate()); | ||
1830 | errorPredicateEClass.getESuperTypes().add(this.getPredicate()); | ||
1831 | variableEClass.getESuperTypes().add(this.getLiteral()); | 1788 | variableEClass.getESuperTypes().add(this.getLiteral()); |
1832 | allInstancesEClass.getESuperTypes().add(this.getComplexObject()); | 1789 | allInstancesEClass.getESuperTypes().add(this.getComplexObject()); |
1833 | allObjectsEClass.getESuperTypes().add(this.getComplexObject()); | 1790 | allObjectsEClass.getESuperTypes().add(this.getComplexObject()); |
@@ -1910,15 +1867,11 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan | |||
1910 | initEAttribute(getStringObject_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1867 | initEAttribute(getStringObject_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1911 | 1868 | ||
1912 | initEClass(predicateEClass, Predicate.class, "Predicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1869 | initEClass(predicateEClass, Predicate.class, "Predicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1870 | initEAttribute(getPredicate_IsError(), ecorePackage.getEBoolean(), "isError", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1871 | initEReference(getPredicate_Symbol(), this.getModelSymbol(), null, "symbol", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1913 | initEReference(getPredicate_Parameters(), this.getParameter(), null, "parameters", null, 0, -1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1872 | initEReference(getPredicate_Parameters(), this.getParameter(), null, "parameters", null, 0, -1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1914 | initEReference(getPredicate_Bodies(), this.getPatternBody(), null, "bodies", null, 0, -1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1873 | initEReference(getPredicate_Bodies(), this.getPatternBody(), null, "bodies", null, 0, -1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1915 | 1874 | ||
1916 | initEClass(predicateSymbolEClass, PredicateSymbol.class, "PredicateSymbol", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1917 | initEReference(getPredicateSymbol_Symbol(), this.getModelSymbol(), null, "symbol", null, 0, 1, PredicateSymbol.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1918 | |||
1919 | initEClass(errorPredicateEClass, ErrorPredicate.class, "ErrorPredicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1920 | initEAttribute(getErrorPredicate_Name(), ecorePackage.getEString(), "name", null, 0, 1, ErrorPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1921 | |||
1922 | initEClass(parameterEClass, Parameter.class, "Parameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1875 | initEClass(parameterEClass, Parameter.class, "Parameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1923 | initEReference(getParameter_Variable(), this.getVariable(), null, "variable", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1876 | initEReference(getParameter_Variable(), this.getVariable(), null, "variable", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1924 | initEReference(getParameter_Type(), this.getSymbol(), null, "type", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1877 | initEReference(getParameter_Type(), this.getSymbol(), null, "type", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |