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/RealTypeScopeImpl.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/RealTypeScopeImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java | 392 |
1 files changed, 196 insertions, 196 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java index cb2576d5..d0e208ea 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java | |||
@@ -1,196 +1,196 @@ | |||
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.RealReference; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; |
9 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | 10 | import org.eclipse.emf.common.notify.Notification; |
11 | import org.eclipse.emf.common.notify.NotificationChain; | 11 | import org.eclipse.emf.common.notify.NotificationChain; |
12 | 12 | ||
13 | import org.eclipse.emf.ecore.EClass; | 13 | 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 | 17 | ||
18 | /** | 18 | /** |
19 | * <!-- begin-user-doc --> | 19 | * <!-- begin-user-doc --> |
20 | * An implementation of the model object '<em><b>Real Type Scope</b></em>'. | 20 | * An implementation of the model object '<em><b>Real Type Scope</b></em>'. |
21 | * <!-- end-user-doc --> | 21 | * <!-- end-user-doc --> |
22 | * <p> | 22 | * <p> |
23 | * The following features are implemented: | 23 | * The following features are implemented: |
24 | * </p> | 24 | * </p> |
25 | * <ul> | 25 | * <ul> |
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl#getType <em>Type</em>}</li> | 26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl#getType <em>Type</em>}</li> |
27 | * </ul> | 27 | * </ul> |
28 | * | 28 | * |
29 | * @generated | 29 | * @generated |
30 | */ | 30 | */ |
31 | public class RealTypeScopeImpl extends TypeScopeImpl implements RealTypeScope | 31 | public class RealTypeScopeImpl extends TypeScopeImpl implements RealTypeScope |
32 | { | 32 | { |
33 | /** | 33 | /** |
34 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | 34 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. |
35 | * <!-- begin-user-doc --> | 35 | * <!-- begin-user-doc --> |
36 | * <!-- end-user-doc --> | 36 | * <!-- end-user-doc --> |
37 | * @see #getType() | 37 | * @see #getType() |
38 | * @generated | 38 | * @generated |
39 | * @ordered | 39 | * @ordered |
40 | */ | 40 | */ |
41 | protected RealReference type; | 41 | protected RealReference type; |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * <!-- begin-user-doc --> | 44 | * <!-- begin-user-doc --> |
45 | * <!-- end-user-doc --> | 45 | * <!-- end-user-doc --> |
46 | * @generated | 46 | * @generated |
47 | */ | 47 | */ |
48 | protected RealTypeScopeImpl() | 48 | protected RealTypeScopeImpl() |
49 | { | 49 | { |
50 | super(); | 50 | super(); |
51 | } | 51 | } |
52 | 52 | ||
53 | /** | 53 | /** |
54 | * <!-- begin-user-doc --> | 54 | * <!-- begin-user-doc --> |
55 | * <!-- end-user-doc --> | 55 | * <!-- end-user-doc --> |
56 | * @generated | 56 | * @generated |
57 | */ | 57 | */ |
58 | @Override | 58 | @Override |
59 | protected EClass eStaticClass() | 59 | protected EClass eStaticClass() |
60 | { | 60 | { |
61 | return ApplicationConfigurationPackage.Literals.REAL_TYPE_SCOPE; | 61 | return ApplicationConfigurationPackage.Literals.REAL_TYPE_SCOPE; |
62 | } | 62 | } |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * <!-- begin-user-doc --> | 65 | * <!-- begin-user-doc --> |
66 | * <!-- end-user-doc --> | 66 | * <!-- end-user-doc --> |
67 | * @generated | 67 | * @generated |
68 | */ | 68 | */ |
69 | @Override | 69 | @Override |
70 | public RealReference getType() | 70 | public RealReference getType() |
71 | { | 71 | { |
72 | return type; | 72 | return type; |
73 | } | 73 | } |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * <!-- begin-user-doc --> | 76 | * <!-- begin-user-doc --> |
77 | * <!-- end-user-doc --> | 77 | * <!-- end-user-doc --> |
78 | * @generated | 78 | * @generated |
79 | */ | 79 | */ |
80 | public NotificationChain basicSetType(RealReference newType, NotificationChain msgs) | 80 | public NotificationChain basicSetType(RealReference newType, NotificationChain msgs) |
81 | { | 81 | { |
82 | RealReference oldType = type; | 82 | RealReference oldType = type; |
83 | type = newType; | 83 | type = newType; |
84 | if (eNotificationRequired()) | 84 | if (eNotificationRequired()) |
85 | { | 85 | { |
86 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, oldType, newType); | 86 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, oldType, newType); |
87 | if (msgs == null) msgs = notification; else msgs.add(notification); | 87 | if (msgs == null) msgs = notification; else msgs.add(notification); |
88 | } | 88 | } |
89 | return msgs; | 89 | return msgs; |
90 | } | 90 | } |
91 | 91 | ||
92 | /** | 92 | /** |
93 | * <!-- begin-user-doc --> | 93 | * <!-- begin-user-doc --> |
94 | * <!-- end-user-doc --> | 94 | * <!-- end-user-doc --> |
95 | * @generated | 95 | * @generated |
96 | */ | 96 | */ |
97 | @Override | 97 | @Override |
98 | public void setType(RealReference newType) | 98 | public void setType(RealReference newType) |
99 | { | 99 | { |
100 | if (newType != type) | 100 | if (newType != type) |
101 | { | 101 | { |
102 | NotificationChain msgs = null; | 102 | NotificationChain msgs = null; |
103 | if (type != null) | 103 | if (type != null) |
104 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); | 104 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); |
105 | if (newType != null) | 105 | if (newType != null) |
106 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); | 106 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); |
107 | msgs = basicSetType(newType, msgs); | 107 | msgs = basicSetType(newType, msgs); |
108 | if (msgs != null) msgs.dispatch(); | 108 | if (msgs != null) msgs.dispatch(); |
109 | } | 109 | } |
110 | else if (eNotificationRequired()) | 110 | else if (eNotificationRequired()) |
111 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, newType, newType)); | 111 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, newType, newType)); |
112 | } | 112 | } |
113 | 113 | ||
114 | /** | 114 | /** |
115 | * <!-- begin-user-doc --> | 115 | * <!-- begin-user-doc --> |
116 | * <!-- end-user-doc --> | 116 | * <!-- end-user-doc --> |
117 | * @generated | 117 | * @generated |
118 | */ | 118 | */ |
119 | @Override | 119 | @Override |
120 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | 120 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) |
121 | { | 121 | { |
122 | switch (featureID) | 122 | switch (featureID) |
123 | { | 123 | { |
124 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | 124 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: |
125 | return basicSetType(null, msgs); | 125 | return basicSetType(null, msgs); |
126 | } | 126 | } |
127 | return super.eInverseRemove(otherEnd, featureID, msgs); | 127 | return super.eInverseRemove(otherEnd, featureID, msgs); |
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 Object eGet(int featureID, boolean resolve, boolean coreType) | 136 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
137 | { | 137 | { |
138 | switch (featureID) | 138 | switch (featureID) |
139 | { | 139 | { |
140 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | 140 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: |
141 | return getType(); | 141 | return getType(); |
142 | } | 142 | } |
143 | return super.eGet(featureID, resolve, coreType); | 143 | return super.eGet(featureID, resolve, coreType); |
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 void eSet(int featureID, Object newValue) | 152 | public void eSet(int featureID, Object newValue) |
153 | { | 153 | { |
154 | switch (featureID) | 154 | switch (featureID) |
155 | { | 155 | { |
156 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | 156 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: |
157 | setType((RealReference)newValue); | 157 | setType((RealReference)newValue); |
158 | return; | 158 | return; |
159 | } | 159 | } |
160 | super.eSet(featureID, newValue); | 160 | super.eSet(featureID, newValue); |
161 | } | 161 | } |
162 | 162 | ||
163 | /** | 163 | /** |
164 | * <!-- begin-user-doc --> | 164 | * <!-- begin-user-doc --> |
165 | * <!-- end-user-doc --> | 165 | * <!-- end-user-doc --> |
166 | * @generated | 166 | * @generated |
167 | */ | 167 | */ |
168 | @Override | 168 | @Override |
169 | public void eUnset(int featureID) | 169 | public void eUnset(int featureID) |
170 | { | 170 | { |
171 | switch (featureID) | 171 | switch (featureID) |
172 | { | 172 | { |
173 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | 173 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: |
174 | setType((RealReference)null); | 174 | setType((RealReference)null); |
175 | return; | 175 | return; |
176 | } | 176 | } |
177 | super.eUnset(featureID); | 177 | super.eUnset(featureID); |
178 | } | 178 | } |
179 | 179 | ||
180 | /** | 180 | /** |
181 | * <!-- begin-user-doc --> | 181 | * <!-- begin-user-doc --> |
182 | * <!-- end-user-doc --> | 182 | * <!-- end-user-doc --> |
183 | * @generated | 183 | * @generated |
184 | */ | 184 | */ |
185 | @Override | 185 | @Override |
186 | public boolean eIsSet(int featureID) | 186 | public boolean eIsSet(int featureID) |
187 | { | 187 | { |
188 | switch (featureID) | 188 | switch (featureID) |
189 | { | 189 | { |
190 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | 190 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: |
191 | return type != null; | 191 | return type != null; |
192 | } | 192 | } |
193 | return super.eIsSet(featureID); | 193 | return super.eIsSet(featureID); |
194 | } | 194 | } |
195 | 195 | ||
196 | } //RealTypeScopeImpl | 196 | } //RealTypeScopeImpl |