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/DeclarationImpl.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/DeclarationImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.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/DeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java index 8d760550..5eae552b 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.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.Declaration; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; |
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>Declaration</b></em>'. | 17 | * An implementation of the model object '<em><b>Declaration</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.DeclarationImpl#getName <em>Name</em>}</li> | 23 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl#getName <em>Name</em>}</li> |
24 | * </ul> | 24 | * </ul> |
25 | * | 25 | * |
26 | * @generated | 26 | * @generated |
27 | */ | 27 | */ |
28 | public class DeclarationImpl extends CommandImpl implements Declaration | 28 | public class DeclarationImpl extends CommandImpl implements Declaration |
29 | { | 29 | { |
30 | /** | 30 | /** |
31 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | 31 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. |
32 | * <!-- begin-user-doc --> | 32 | * <!-- begin-user-doc --> |
33 | * <!-- end-user-doc --> | 33 | * <!-- end-user-doc --> |
34 | * @see #getName() | 34 | * @see #getName() |
35 | * @generated | 35 | * @generated |
36 | * @ordered | 36 | * @ordered |
37 | */ | 37 | */ |
38 | protected static final String NAME_EDEFAULT = null; | 38 | protected static final String NAME_EDEFAULT = null; |
39 | 39 | ||
40 | /** | 40 | /** |
41 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | 41 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. |
42 | * <!-- begin-user-doc --> | 42 | * <!-- begin-user-doc --> |
43 | * <!-- end-user-doc --> | 43 | * <!-- end-user-doc --> |
44 | * @see #getName() | 44 | * @see #getName() |
45 | * @generated | 45 | * @generated |
46 | * @ordered | 46 | * @ordered |
47 | */ | 47 | */ |
48 | protected String name = NAME_EDEFAULT; | 48 | protected String name = NAME_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 DeclarationImpl() | 55 | protected DeclarationImpl() |
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.DECLARATION; | 68 | return ApplicationConfigurationPackage.Literals.DECLARATION; |
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 String getName() | 77 | public String getName() |
78 | { | 78 | { |
79 | return name; | 79 | return name; |
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 setName(String newName) | 88 | public void setName(String newName) |
89 | { | 89 | { |
90 | String oldName = name; | 90 | String oldName = name; |
91 | name = newName; | 91 | name = newName; |
92 | if (eNotificationRequired()) | 92 | if (eNotificationRequired()) |
93 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DECLARATION__NAME, oldName, name)); | 93 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DECLARATION__NAME, oldName, name)); |
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.DECLARATION__NAME: | 106 | case ApplicationConfigurationPackage.DECLARATION__NAME: |
107 | return getName(); | 107 | return getName(); |
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.DECLARATION__NAME: | 122 | case ApplicationConfigurationPackage.DECLARATION__NAME: |
123 | setName((String)newValue); | 123 | setName((String)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.DECLARATION__NAME: | 139 | case ApplicationConfigurationPackage.DECLARATION__NAME: |
140 | setName(NAME_EDEFAULT); | 140 | setName(NAME_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.DECLARATION__NAME: | 156 | case ApplicationConfigurationPackage.DECLARATION__NAME: |
157 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | 157 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); |
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(" (name: "); | 173 | result.append(" (name: "); |
174 | result.append(name); | 174 | result.append(name); |
175 | result.append(')'); | 175 | result.append(')'); |
176 | return result.toString(); | 176 | return result.toString(); |
177 | } | 177 | } |
178 | 178 | ||
179 | } //DeclarationImpl | 179 | } //DeclarationImpl |