diff options
author | Aren Babikian <aren.babikian@mail.mcgill.ca> | 2021-01-14 13:07:08 -0500 |
---|---|---|
committer | Aren Babikian <aren.babikian@mail.mcgill.ca> | 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/RuntimeEntryImpl.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/RuntimeEntryImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java | 358 |
1 files changed, 179 insertions, 179 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java index e2728fe9..cf1f7277 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java | |||
@@ -1,179 +1,179 @@ | |||
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.RuntimeEntry; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; |
8 | 8 | ||
9 | import org.eclipse.emf.common.notify.Notification; | 9 | import org.eclipse.emf.common.notify.Notification; |
10 | 10 | ||
11 | import org.eclipse.emf.ecore.EClass; | 11 | import org.eclipse.emf.ecore.EClass; |
12 | 12 | ||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
14 | 14 | ||
15 | /** | 15 | /** |
16 | * <!-- begin-user-doc --> | 16 | * <!-- begin-user-doc --> |
17 | * An implementation of the model object '<em><b>Runtime Entry</b></em>'. | 17 | * An implementation of the model object '<em><b>Runtime Entry</b></em>'. |
18 | * <!-- end-user-doc --> | 18 | * <!-- end-user-doc --> |
19 | * <p> | 19 | * <p> |
20 | * The following features are implemented: | 20 | * The following features are implemented: |
21 | * </p> | 21 | * </p> |
22 | * <ul> | 22 | * <ul> |
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl#getMillisecLimit <em>Millisec Limit</em>}</li> | 23 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl#getMillisecLimit <em>Millisec Limit</em>}</li> |
24 | * </ul> | 24 | * </ul> |
25 | * | 25 | * |
26 | * @generated | 26 | * @generated |
27 | */ | 27 | */ |
28 | public class RuntimeEntryImpl extends ConfigEntryImpl implements RuntimeEntry | 28 | public class RuntimeEntryImpl extends ConfigEntryImpl implements RuntimeEntry |
29 | { | 29 | { |
30 | /** | 30 | /** |
31 | * The default value of the '{@link #getMillisecLimit() <em>Millisec Limit</em>}' attribute. | 31 | * The default value of the '{@link #getMillisecLimit() <em>Millisec Limit</em>}' attribute. |
32 | * <!-- begin-user-doc --> | 32 | * <!-- begin-user-doc --> |
33 | * <!-- end-user-doc --> | 33 | * <!-- end-user-doc --> |
34 | * @see #getMillisecLimit() | 34 | * @see #getMillisecLimit() |
35 | * @generated | 35 | * @generated |
36 | * @ordered | 36 | * @ordered |
37 | */ | 37 | */ |
38 | protected static final int MILLISEC_LIMIT_EDEFAULT = 0; | 38 | protected static final int MILLISEC_LIMIT_EDEFAULT = 0; |
39 | 39 | ||
40 | /** | 40 | /** |
41 | * The cached value of the '{@link #getMillisecLimit() <em>Millisec Limit</em>}' attribute. | 41 | * The cached value of the '{@link #getMillisecLimit() <em>Millisec Limit</em>}' attribute. |
42 | * <!-- begin-user-doc --> | 42 | * <!-- begin-user-doc --> |
43 | * <!-- end-user-doc --> | 43 | * <!-- end-user-doc --> |
44 | * @see #getMillisecLimit() | 44 | * @see #getMillisecLimit() |
45 | * @generated | 45 | * @generated |
46 | * @ordered | 46 | * @ordered |
47 | */ | 47 | */ |
48 | protected int millisecLimit = MILLISEC_LIMIT_EDEFAULT; | 48 | protected int millisecLimit = MILLISEC_LIMIT_EDEFAULT; |
49 | 49 | ||
50 | /** | 50 | /** |
51 | * <!-- begin-user-doc --> | 51 | * <!-- begin-user-doc --> |
52 | * <!-- end-user-doc --> | 52 | * <!-- end-user-doc --> |
53 | * @generated | 53 | * @generated |
54 | */ | 54 | */ |
55 | protected RuntimeEntryImpl() | 55 | protected RuntimeEntryImpl() |
56 | { | 56 | { |
57 | super(); | 57 | super(); |
58 | } | 58 | } |
59 | 59 | ||
60 | /** | 60 | /** |
61 | * <!-- begin-user-doc --> | 61 | * <!-- begin-user-doc --> |
62 | * <!-- end-user-doc --> | 62 | * <!-- end-user-doc --> |
63 | * @generated | 63 | * @generated |
64 | */ | 64 | */ |
65 | @Override | 65 | @Override |
66 | protected EClass eStaticClass() | 66 | protected EClass eStaticClass() |
67 | { | 67 | { |
68 | return ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY; | 68 | return ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY; |
69 | } | 69 | } |
70 | 70 | ||
71 | /** | 71 | /** |
72 | * <!-- begin-user-doc --> | 72 | * <!-- begin-user-doc --> |
73 | * <!-- end-user-doc --> | 73 | * <!-- end-user-doc --> |
74 | * @generated | 74 | * @generated |
75 | */ | 75 | */ |
76 | @Override | 76 | @Override |
77 | public int getMillisecLimit() | 77 | public int getMillisecLimit() |
78 | { | 78 | { |
79 | return millisecLimit; | 79 | return millisecLimit; |
80 | } | 80 | } |
81 | 81 | ||
82 | /** | 82 | /** |
83 | * <!-- begin-user-doc --> | 83 | * <!-- begin-user-doc --> |
84 | * <!-- end-user-doc --> | 84 | * <!-- end-user-doc --> |
85 | * @generated | 85 | * @generated |
86 | */ | 86 | */ |
87 | @Override | 87 | @Override |
88 | public void setMillisecLimit(int newMillisecLimit) | 88 | public void setMillisecLimit(int newMillisecLimit) |
89 | { | 89 | { |
90 | int oldMillisecLimit = millisecLimit; | 90 | int oldMillisecLimit = millisecLimit; |
91 | millisecLimit = newMillisecLimit; | 91 | millisecLimit = newMillisecLimit; |
92 | if (eNotificationRequired()) | 92 | if (eNotificationRequired()) |
93 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT, oldMillisecLimit, millisecLimit)); | 93 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT, oldMillisecLimit, millisecLimit)); |
94 | } | 94 | } |
95 | 95 | ||
96 | /** | 96 | /** |
97 | * <!-- begin-user-doc --> | 97 | * <!-- begin-user-doc --> |
98 | * <!-- end-user-doc --> | 98 | * <!-- end-user-doc --> |
99 | * @generated | 99 | * @generated |
100 | */ | 100 | */ |
101 | @Override | 101 | @Override |
102 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 102 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
103 | { | 103 | { |
104 | switch (featureID) | 104 | switch (featureID) |
105 | { | 105 | { |
106 | case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: | 106 | case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: |
107 | return getMillisecLimit(); | 107 | return getMillisecLimit(); |
108 | } | 108 | } |
109 | return super.eGet(featureID, resolve, coreType); | 109 | return super.eGet(featureID, resolve, coreType); |
110 | } | 110 | } |
111 | 111 | ||
112 | /** | 112 | /** |
113 | * <!-- begin-user-doc --> | 113 | * <!-- begin-user-doc --> |
114 | * <!-- end-user-doc --> | 114 | * <!-- end-user-doc --> |
115 | * @generated | 115 | * @generated |
116 | */ | 116 | */ |
117 | @Override | 117 | @Override |
118 | public void eSet(int featureID, Object newValue) | 118 | public void eSet(int featureID, Object newValue) |
119 | { | 119 | { |
120 | switch (featureID) | 120 | switch (featureID) |
121 | { | 121 | { |
122 | case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: | 122 | case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: |
123 | setMillisecLimit((Integer)newValue); | 123 | setMillisecLimit((Integer)newValue); |
124 | return; | 124 | return; |
125 | } | 125 | } |
126 | super.eSet(featureID, newValue); | 126 | super.eSet(featureID, newValue); |
127 | } | 127 | } |
128 | 128 | ||
129 | /** | 129 | /** |
130 | * <!-- begin-user-doc --> | 130 | * <!-- begin-user-doc --> |
131 | * <!-- end-user-doc --> | 131 | * <!-- end-user-doc --> |
132 | * @generated | 132 | * @generated |
133 | */ | 133 | */ |
134 | @Override | 134 | @Override |
135 | public void eUnset(int featureID) | 135 | public void eUnset(int featureID) |
136 | { | 136 | { |
137 | switch (featureID) | 137 | switch (featureID) |
138 | { | 138 | { |
139 | case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: | 139 | case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: |
140 | setMillisecLimit(MILLISEC_LIMIT_EDEFAULT); | 140 | setMillisecLimit(MILLISEC_LIMIT_EDEFAULT); |
141 | return; | 141 | return; |
142 | } | 142 | } |
143 | super.eUnset(featureID); | 143 | super.eUnset(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 boolean eIsSet(int featureID) | 152 | public boolean eIsSet(int featureID) |
153 | { | 153 | { |
154 | switch (featureID) | 154 | switch (featureID) |
155 | { | 155 | { |
156 | case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: | 156 | case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: |
157 | return millisecLimit != MILLISEC_LIMIT_EDEFAULT; | 157 | return millisecLimit != MILLISEC_LIMIT_EDEFAULT; |
158 | } | 158 | } |
159 | return super.eIsSet(featureID); | 159 | return super.eIsSet(featureID); |
160 | } | 160 | } |
161 | 161 | ||
162 | /** | 162 | /** |
163 | * <!-- begin-user-doc --> | 163 | * <!-- begin-user-doc --> |
164 | * <!-- end-user-doc --> | 164 | * <!-- end-user-doc --> |
165 | * @generated | 165 | * @generated |
166 | */ | 166 | */ |
167 | @Override | 167 | @Override |
168 | public String toString() | 168 | public String toString() |
169 | { | 169 | { |
170 | if (eIsProxy()) return super.toString(); | 170 | if (eIsProxy()) return super.toString(); |
171 | 171 | ||
172 | StringBuilder result = new StringBuilder(super.toString()); | 172 | StringBuilder result = new StringBuilder(super.toString()); |
173 | result.append(" (millisecLimit: "); | 173 | result.append(" (millisecLimit: "); |
174 | result.append(millisecLimit); | 174 | result.append(millisecLimit); |
175 | result.append(')'); | 175 | result.append(')'); |
176 | return result.toString(); | 176 | return result.toString(); |
177 | } | 177 | } |
178 | 178 | ||
179 | } //RuntimeEntryImpl | 179 | } //RuntimeEntryImpl |