diff options
author | 2021-01-14 13:07:08 -0500 | |
---|---|---|
committer | 2021-01-14 13:07:08 -0500 | |
commit | 0de1dbfaed208ba70863abe3671f868f168bc9cd (patch) | |
tree | 24961120f0d94d4da6fd1ac03e6776e224d493b0 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java | |
parent | Add aird file for crossingScenario Ecore (diff) | |
download | VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.gz VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.zst VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.zip |
Adjust vsconfig xtext to consider reals as EDouble rather than EBigDecimals
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java | 326 |
1 files changed, 163 insertions, 163 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java index fcc1e5bf..d7099377 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java | |||
@@ -1,163 +1,163 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.21.0 | 2 | * generated by Xtext 2.21.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | 4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | 6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; |
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; |
8 | 8 | ||
9 | import java.util.Collection; | 9 | import java.util.Collection; |
10 | 10 | ||
11 | import org.eclipse.emf.common.util.EList; | 11 | import org.eclipse.emf.common.util.EList; |
12 | 12 | ||
13 | import org.eclipse.emf.ecore.EClass; | 13 | import org.eclipse.emf.ecore.EClass; |
14 | 14 | ||
15 | import org.eclipse.emf.ecore.util.EDataTypeEList; | 15 | import org.eclipse.emf.ecore.util.EDataTypeEList; |
16 | 16 | ||
17 | /** | 17 | /** |
18 | * <!-- begin-user-doc --> | 18 | * <!-- begin-user-doc --> |
19 | * An implementation of the model object '<em><b>String Enumeration</b></em>'. | 19 | * An implementation of the model object '<em><b>String Enumeration</b></em>'. |
20 | * <!-- end-user-doc --> | 20 | * <!-- end-user-doc --> |
21 | * <p> | 21 | * <p> |
22 | * The following features are implemented: | 22 | * The following features are implemented: |
23 | * </p> | 23 | * </p> |
24 | * <ul> | 24 | * <ul> |
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl#getEntry <em>Entry</em>}</li> | 25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl#getEntry <em>Entry</em>}</li> |
26 | * </ul> | 26 | * </ul> |
27 | * | 27 | * |
28 | * @generated | 28 | * @generated |
29 | */ | 29 | */ |
30 | public class StringEnumerationImpl extends NumberSpecificationImpl implements StringEnumeration | 30 | public class StringEnumerationImpl extends NumberSpecificationImpl implements StringEnumeration |
31 | { | 31 | { |
32 | /** | 32 | /** |
33 | * The cached value of the '{@link #getEntry() <em>Entry</em>}' attribute list. | 33 | * The cached value of the '{@link #getEntry() <em>Entry</em>}' attribute list. |
34 | * <!-- begin-user-doc --> | 34 | * <!-- begin-user-doc --> |
35 | * <!-- end-user-doc --> | 35 | * <!-- end-user-doc --> |
36 | * @see #getEntry() | 36 | * @see #getEntry() |
37 | * @generated | 37 | * @generated |
38 | * @ordered | 38 | * @ordered |
39 | */ | 39 | */ |
40 | protected EList<String> entry; | 40 | protected EList<String> entry; |
41 | 41 | ||
42 | /** | 42 | /** |
43 | * <!-- begin-user-doc --> | 43 | * <!-- begin-user-doc --> |
44 | * <!-- end-user-doc --> | 44 | * <!-- end-user-doc --> |
45 | * @generated | 45 | * @generated |
46 | */ | 46 | */ |
47 | protected StringEnumerationImpl() | 47 | protected StringEnumerationImpl() |
48 | { | 48 | { |
49 | super(); | 49 | super(); |
50 | } | 50 | } |
51 | 51 | ||
52 | /** | 52 | /** |
53 | * <!-- begin-user-doc --> | 53 | * <!-- begin-user-doc --> |
54 | * <!-- end-user-doc --> | 54 | * <!-- end-user-doc --> |
55 | * @generated | 55 | * @generated |
56 | */ | 56 | */ |
57 | @Override | 57 | @Override |
58 | protected EClass eStaticClass() | 58 | protected EClass eStaticClass() |
59 | { | 59 | { |
60 | return ApplicationConfigurationPackage.Literals.STRING_ENUMERATION; | 60 | return ApplicationConfigurationPackage.Literals.STRING_ENUMERATION; |
61 | } | 61 | } |
62 | 62 | ||
63 | /** | 63 | /** |
64 | * <!-- begin-user-doc --> | 64 | * <!-- begin-user-doc --> |
65 | * <!-- end-user-doc --> | 65 | * <!-- end-user-doc --> |
66 | * @generated | 66 | * @generated |
67 | */ | 67 | */ |
68 | @Override | 68 | @Override |
69 | public EList<String> getEntry() | 69 | public EList<String> getEntry() |
70 | { | 70 | { |
71 | if (entry == null) | 71 | if (entry == null) |
72 | { | 72 | { |
73 | entry = new EDataTypeEList<String>(String.class, this, ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY); | 73 | entry = new EDataTypeEList<String>(String.class, this, ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY); |
74 | } | 74 | } |
75 | return entry; | 75 | return entry; |
76 | } | 76 | } |
77 | 77 | ||
78 | /** | 78 | /** |
79 | * <!-- begin-user-doc --> | 79 | * <!-- begin-user-doc --> |
80 | * <!-- end-user-doc --> | 80 | * <!-- end-user-doc --> |
81 | * @generated | 81 | * @generated |
82 | */ | 82 | */ |
83 | @Override | 83 | @Override |
84 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 84 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
85 | { | 85 | { |
86 | switch (featureID) | 86 | switch (featureID) |
87 | { | 87 | { |
88 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: | 88 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: |
89 | return getEntry(); | 89 | return getEntry(); |
90 | } | 90 | } |
91 | return super.eGet(featureID, resolve, coreType); | 91 | return super.eGet(featureID, resolve, coreType); |
92 | } | 92 | } |
93 | 93 | ||
94 | /** | 94 | /** |
95 | * <!-- begin-user-doc --> | 95 | * <!-- begin-user-doc --> |
96 | * <!-- end-user-doc --> | 96 | * <!-- end-user-doc --> |
97 | * @generated | 97 | * @generated |
98 | */ | 98 | */ |
99 | @SuppressWarnings("unchecked") | 99 | @SuppressWarnings("unchecked") |
100 | @Override | 100 | @Override |
101 | public void eSet(int featureID, Object newValue) | 101 | public void eSet(int featureID, Object newValue) |
102 | { | 102 | { |
103 | switch (featureID) | 103 | switch (featureID) |
104 | { | 104 | { |
105 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: | 105 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: |
106 | getEntry().clear(); | 106 | getEntry().clear(); |
107 | getEntry().addAll((Collection<? extends String>)newValue); | 107 | getEntry().addAll((Collection<? extends String>)newValue); |
108 | return; | 108 | return; |
109 | } | 109 | } |
110 | super.eSet(featureID, newValue); | 110 | super.eSet(featureID, newValue); |
111 | } | 111 | } |
112 | 112 | ||
113 | /** | 113 | /** |
114 | * <!-- begin-user-doc --> | 114 | * <!-- begin-user-doc --> |
115 | * <!-- end-user-doc --> | 115 | * <!-- end-user-doc --> |
116 | * @generated | 116 | * @generated |
117 | */ | 117 | */ |
118 | @Override | 118 | @Override |
119 | public void eUnset(int featureID) | 119 | public void eUnset(int featureID) |
120 | { | 120 | { |
121 | switch (featureID) | 121 | switch (featureID) |
122 | { | 122 | { |
123 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: | 123 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: |
124 | getEntry().clear(); | 124 | getEntry().clear(); |
125 | return; | 125 | return; |
126 | } | 126 | } |
127 | super.eUnset(featureID); | 127 | super.eUnset(featureID); |
128 | } | 128 | } |
129 | 129 | ||
130 | /** | 130 | /** |
131 | * <!-- begin-user-doc --> | 131 | * <!-- begin-user-doc --> |
132 | * <!-- end-user-doc --> | 132 | * <!-- end-user-doc --> |
133 | * @generated | 133 | * @generated |
134 | */ | 134 | */ |
135 | @Override | 135 | @Override |
136 | public boolean eIsSet(int featureID) | 136 | public boolean eIsSet(int featureID) |
137 | { | 137 | { |
138 | switch (featureID) | 138 | switch (featureID) |
139 | { | 139 | { |
140 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: | 140 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: |
141 | return entry != null && !entry.isEmpty(); | 141 | return entry != null && !entry.isEmpty(); |
142 | } | 142 | } |
143 | return super.eIsSet(featureID); | 143 | return super.eIsSet(featureID); |
144 | } | 144 | } |
145 | 145 | ||
146 | /** | 146 | /** |
147 | * <!-- begin-user-doc --> | 147 | * <!-- begin-user-doc --> |
148 | * <!-- end-user-doc --> | 148 | * <!-- end-user-doc --> |
149 | * @generated | 149 | * @generated |
150 | */ | 150 | */ |
151 | @Override | 151 | @Override |
152 | public String toString() | 152 | public String toString() |
153 | { | 153 | { |
154 | if (eIsProxy()) return super.toString(); | 154 | if (eIsProxy()) return super.toString(); |
155 | 155 | ||
156 | StringBuilder result = new StringBuilder(super.toString()); | 156 | StringBuilder result = new StringBuilder(super.toString()); |
157 | result.append(" (entry: "); | 157 | result.append(" (entry: "); |
158 | result.append(entry); | 158 | result.append(entry); |
159 | result.append(')'); | 159 | result.append(')'); |
160 | return result.toString(); | 160 | return result.toString(); |
161 | } | 161 | } |
162 | 162 | ||
163 | } //StringEnumerationImpl | 163 | } //StringEnumerationImpl |