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/ConfigReferenceImpl.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/ConfigReferenceImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java | 350 |
1 files changed, 175 insertions, 175 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java index 3e543afd..5bae4cf5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java | |||
@@ -1,175 +1,175 @@ | |||
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.ConfigDeclaration; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; |
9 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | 10 | import org.eclipse.emf.common.notify.Notification; |
11 | 11 | ||
12 | import org.eclipse.emf.ecore.EClass; | 12 | import org.eclipse.emf.ecore.EClass; |
13 | import org.eclipse.emf.ecore.InternalEObject; | 13 | import org.eclipse.emf.ecore.InternalEObject; |
14 | 14 | ||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
16 | 16 | ||
17 | /** | 17 | /** |
18 | * <!-- begin-user-doc --> | 18 | * <!-- begin-user-doc --> |
19 | * An implementation of the model object '<em><b>Config Reference</b></em>'. | 19 | * An implementation of the model object '<em><b>Config Reference</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.ConfigReferenceImpl#getConfig <em>Config</em>}</li> | 25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl#getConfig <em>Config</em>}</li> |
26 | * </ul> | 26 | * </ul> |
27 | * | 27 | * |
28 | * @generated | 28 | * @generated |
29 | */ | 29 | */ |
30 | public class ConfigReferenceImpl extends ConfigImpl implements ConfigReference | 30 | public class ConfigReferenceImpl extends ConfigImpl implements ConfigReference |
31 | { | 31 | { |
32 | /** | 32 | /** |
33 | * The cached value of the '{@link #getConfig() <em>Config</em>}' reference. | 33 | * The cached value of the '{@link #getConfig() <em>Config</em>}' reference. |
34 | * <!-- begin-user-doc --> | 34 | * <!-- begin-user-doc --> |
35 | * <!-- end-user-doc --> | 35 | * <!-- end-user-doc --> |
36 | * @see #getConfig() | 36 | * @see #getConfig() |
37 | * @generated | 37 | * @generated |
38 | * @ordered | 38 | * @ordered |
39 | */ | 39 | */ |
40 | protected ConfigDeclaration config; | 40 | protected ConfigDeclaration config; |
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 ConfigReferenceImpl() | 47 | protected ConfigReferenceImpl() |
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.CONFIG_REFERENCE; | 60 | return ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE; |
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 ConfigDeclaration getConfig() | 69 | public ConfigDeclaration getConfig() |
70 | { | 70 | { |
71 | if (config != null && config.eIsProxy()) | 71 | if (config != null && config.eIsProxy()) |
72 | { | 72 | { |
73 | InternalEObject oldConfig = (InternalEObject)config; | 73 | InternalEObject oldConfig = (InternalEObject)config; |
74 | config = (ConfigDeclaration)eResolveProxy(oldConfig); | 74 | config = (ConfigDeclaration)eResolveProxy(oldConfig); |
75 | if (config != oldConfig) | 75 | if (config != oldConfig) |
76 | { | 76 | { |
77 | if (eNotificationRequired()) | 77 | if (eNotificationRequired()) |
78 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG, oldConfig, config)); | 78 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG, oldConfig, config)); |
79 | } | 79 | } |
80 | } | 80 | } |
81 | return config; | 81 | return config; |
82 | } | 82 | } |
83 | 83 | ||
84 | /** | 84 | /** |
85 | * <!-- begin-user-doc --> | 85 | * <!-- begin-user-doc --> |
86 | * <!-- end-user-doc --> | 86 | * <!-- end-user-doc --> |
87 | * @generated | 87 | * @generated |
88 | */ | 88 | */ |
89 | public ConfigDeclaration basicGetConfig() | 89 | public ConfigDeclaration basicGetConfig() |
90 | { | 90 | { |
91 | return config; | 91 | return config; |
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 | @Override | 99 | @Override |
100 | public void setConfig(ConfigDeclaration newConfig) | 100 | public void setConfig(ConfigDeclaration newConfig) |
101 | { | 101 | { |
102 | ConfigDeclaration oldConfig = config; | 102 | ConfigDeclaration oldConfig = config; |
103 | config = newConfig; | 103 | config = newConfig; |
104 | if (eNotificationRequired()) | 104 | if (eNotificationRequired()) |
105 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG, oldConfig, config)); | 105 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG, oldConfig, config)); |
106 | } | 106 | } |
107 | 107 | ||
108 | /** | 108 | /** |
109 | * <!-- begin-user-doc --> | 109 | * <!-- begin-user-doc --> |
110 | * <!-- end-user-doc --> | 110 | * <!-- end-user-doc --> |
111 | * @generated | 111 | * @generated |
112 | */ | 112 | */ |
113 | @Override | 113 | @Override |
114 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 114 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
115 | { | 115 | { |
116 | switch (featureID) | 116 | switch (featureID) |
117 | { | 117 | { |
118 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: | 118 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: |
119 | if (resolve) return getConfig(); | 119 | if (resolve) return getConfig(); |
120 | return basicGetConfig(); | 120 | return basicGetConfig(); |
121 | } | 121 | } |
122 | return super.eGet(featureID, resolve, coreType); | 122 | return super.eGet(featureID, resolve, coreType); |
123 | } | 123 | } |
124 | 124 | ||
125 | /** | 125 | /** |
126 | * <!-- begin-user-doc --> | 126 | * <!-- begin-user-doc --> |
127 | * <!-- end-user-doc --> | 127 | * <!-- end-user-doc --> |
128 | * @generated | 128 | * @generated |
129 | */ | 129 | */ |
130 | @Override | 130 | @Override |
131 | public void eSet(int featureID, Object newValue) | 131 | public void eSet(int featureID, Object newValue) |
132 | { | 132 | { |
133 | switch (featureID) | 133 | switch (featureID) |
134 | { | 134 | { |
135 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: | 135 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: |
136 | setConfig((ConfigDeclaration)newValue); | 136 | setConfig((ConfigDeclaration)newValue); |
137 | return; | 137 | return; |
138 | } | 138 | } |
139 | super.eSet(featureID, newValue); | 139 | super.eSet(featureID, newValue); |
140 | } | 140 | } |
141 | 141 | ||
142 | /** | 142 | /** |
143 | * <!-- begin-user-doc --> | 143 | * <!-- begin-user-doc --> |
144 | * <!-- end-user-doc --> | 144 | * <!-- end-user-doc --> |
145 | * @generated | 145 | * @generated |
146 | */ | 146 | */ |
147 | @Override | 147 | @Override |
148 | public void eUnset(int featureID) | 148 | public void eUnset(int featureID) |
149 | { | 149 | { |
150 | switch (featureID) | 150 | switch (featureID) |
151 | { | 151 | { |
152 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: | 152 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: |
153 | setConfig((ConfigDeclaration)null); | 153 | setConfig((ConfigDeclaration)null); |
154 | return; | 154 | return; |
155 | } | 155 | } |
156 | super.eUnset(featureID); | 156 | super.eUnset(featureID); |
157 | } | 157 | } |
158 | 158 | ||
159 | /** | 159 | /** |
160 | * <!-- begin-user-doc --> | 160 | * <!-- begin-user-doc --> |
161 | * <!-- end-user-doc --> | 161 | * <!-- end-user-doc --> |
162 | * @generated | 162 | * @generated |
163 | */ | 163 | */ |
164 | @Override | 164 | @Override |
165 | public boolean eIsSet(int featureID) | 165 | public boolean eIsSet(int featureID) |
166 | { | 166 | { |
167 | switch (featureID) | 167 | switch (featureID) |
168 | { | 168 | { |
169 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: | 169 | case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: |
170 | return config != null; | 170 | return config != null; |
171 | } | 171 | } |
172 | return super.eIsSet(featureID); | 172 | return super.eIsSet(featureID); |
173 | } | 173 | } |
174 | 174 | ||
175 | } //ConfigReferenceImpl | 175 | } //ConfigReferenceImpl |