diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java | 2228 |
1 files changed, 1165 insertions, 1063 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java index 41874b35..31353783 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java | |||
@@ -1,1063 +1,1165 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.17.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.Config; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; |
9 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; | 9 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; |
10 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern; | 10 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern; |
11 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; | 11 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; |
12 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; | 12 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Objective; |
13 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; | 13 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; |
14 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver; | 14 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; |
15 | 15 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver; | |
16 | import org.eclipse.emf.common.notify.Notification; | 16 | |
17 | import org.eclipse.emf.common.notify.NotificationChain; | 17 | import org.eclipse.emf.common.notify.Notification; |
18 | 18 | import org.eclipse.emf.common.notify.NotificationChain; | |
19 | import org.eclipse.emf.ecore.EClass; | 19 | |
20 | import org.eclipse.emf.ecore.InternalEObject; | 20 | import org.eclipse.emf.ecore.EClass; |
21 | 21 | import org.eclipse.emf.ecore.InternalEObject; | |
22 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 22 | |
23 | 23 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | |
24 | /** | 24 | |
25 | * <!-- begin-user-doc --> | 25 | /** |
26 | * An implementation of the model object '<em><b>Generation Task</b></em>'. | 26 | * <!-- begin-user-doc --> |
27 | * <!-- end-user-doc --> | 27 | * An implementation of the model object '<em><b>Generation Task</b></em>'. |
28 | * <p> | 28 | * <!-- end-user-doc --> |
29 | * The following features are implemented: | 29 | * <p> |
30 | * </p> | 30 | * The following features are implemented: |
31 | * <ul> | 31 | * </p> |
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getMetamodel <em>Metamodel</em>}</li> | 32 | * <ul> |
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPartialModel <em>Partial Model</em>}</li> | 33 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getMetamodel <em>Metamodel</em>}</li> |
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPatterns <em>Patterns</em>}</li> | 34 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPartialModel <em>Partial Model</em>}</li> |
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getScope <em>Scope</em>}</li> | 35 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPatterns <em>Patterns</em>}</li> |
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#isNumberSpecified <em>Number Specified</em>}</li> | 36 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getObjectives <em>Objectives</em>}</li> |
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getNumber <em>Number</em>}</li> | 37 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getScope <em>Scope</em>}</li> |
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#isRunSpecified <em>Run Specified</em>}</li> | 38 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#isNumberSpecified <em>Number Specified</em>}</li> |
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getRuns <em>Runs</em>}</li> | 39 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getNumber <em>Number</em>}</li> |
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getSolver <em>Solver</em>}</li> | 40 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#isRunSpecified <em>Run Specified</em>}</li> |
41 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getConfig <em>Config</em>}</li> | 41 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getRuns <em>Runs</em>}</li> |
42 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getDebugFolder <em>Debug Folder</em>}</li> | 42 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getSolver <em>Solver</em>}</li> |
43 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetLogFile <em>Target Log File</em>}</li> | 43 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getConfig <em>Config</em>}</li> |
44 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetStatisticsFile <em>Target Statistics File</em>}</li> | 44 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getDebugFolder <em>Debug Folder</em>}</li> |
45 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTagetFolder <em>Taget Folder</em>}</li> | 45 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetLogFile <em>Target Log File</em>}</li> |
46 | * </ul> | 46 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetStatisticsFile <em>Target Statistics File</em>}</li> |
47 | * | 47 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTagetFolder <em>Taget Folder</em>}</li> |
48 | * @generated | 48 | * </ul> |
49 | */ | 49 | * |
50 | public class GenerationTaskImpl extends TaskImpl implements GenerationTask | 50 | * @generated |
51 | { | 51 | */ |
52 | /** | 52 | public class GenerationTaskImpl extends TaskImpl implements GenerationTask |
53 | * The cached value of the '{@link #getMetamodel() <em>Metamodel</em>}' containment reference. | 53 | { |
54 | * <!-- begin-user-doc --> | 54 | /** |
55 | * <!-- end-user-doc --> | 55 | * The cached value of the '{@link #getMetamodel() <em>Metamodel</em>}' containment reference. |
56 | * @see #getMetamodel() | 56 | * <!-- begin-user-doc --> |
57 | * @generated | 57 | * <!-- end-user-doc --> |
58 | * @ordered | 58 | * @see #getMetamodel() |
59 | */ | 59 | * @generated |
60 | protected Metamodel metamodel; | 60 | * @ordered |
61 | 61 | */ | |
62 | /** | 62 | protected Metamodel metamodel; |
63 | * The cached value of the '{@link #getPartialModel() <em>Partial Model</em>}' containment reference. | 63 | |
64 | * <!-- begin-user-doc --> | 64 | /** |
65 | * <!-- end-user-doc --> | 65 | * The cached value of the '{@link #getPartialModel() <em>Partial Model</em>}' containment reference. |
66 | * @see #getPartialModel() | 66 | * <!-- begin-user-doc --> |
67 | * @generated | 67 | * <!-- end-user-doc --> |
68 | * @ordered | 68 | * @see #getPartialModel() |
69 | */ | 69 | * @generated |
70 | protected PartialModel partialModel; | 70 | * @ordered |
71 | 71 | */ | |
72 | /** | 72 | protected PartialModel partialModel; |
73 | * The cached value of the '{@link #getPatterns() <em>Patterns</em>}' containment reference. | 73 | |
74 | * <!-- begin-user-doc --> | 74 | /** |
75 | * <!-- end-user-doc --> | 75 | * The cached value of the '{@link #getPatterns() <em>Patterns</em>}' containment reference. |
76 | * @see #getPatterns() | 76 | * <!-- begin-user-doc --> |
77 | * @generated | 77 | * <!-- end-user-doc --> |
78 | * @ordered | 78 | * @see #getPatterns() |
79 | */ | 79 | * @generated |
80 | protected GraphPattern patterns; | 80 | * @ordered |
81 | 81 | */ | |
82 | /** | 82 | protected GraphPattern patterns; |
83 | * The cached value of the '{@link #getScope() <em>Scope</em>}' containment reference. | 83 | |
84 | * <!-- begin-user-doc --> | 84 | /** |
85 | * <!-- end-user-doc --> | 85 | * The cached value of the '{@link #getObjectives() <em>Objectives</em>}' containment reference. |
86 | * @see #getScope() | 86 | * <!-- begin-user-doc --> |
87 | * @generated | 87 | * <!-- end-user-doc --> |
88 | * @ordered | 88 | * @see #getObjectives() |
89 | */ | 89 | * @generated |
90 | protected Scope scope; | 90 | * @ordered |
91 | 91 | */ | |
92 | /** | 92 | protected Objective objectives; |
93 | * The default value of the '{@link #isNumberSpecified() <em>Number Specified</em>}' attribute. | 93 | |
94 | * <!-- begin-user-doc --> | 94 | /** |
95 | * <!-- end-user-doc --> | 95 | * The cached value of the '{@link #getScope() <em>Scope</em>}' containment reference. |
96 | * @see #isNumberSpecified() | 96 | * <!-- begin-user-doc --> |
97 | * @generated | 97 | * <!-- end-user-doc --> |
98 | * @ordered | 98 | * @see #getScope() |
99 | */ | 99 | * @generated |
100 | protected static final boolean NUMBER_SPECIFIED_EDEFAULT = false; | 100 | * @ordered |
101 | 101 | */ | |
102 | /** | 102 | protected Scope scope; |
103 | * The cached value of the '{@link #isNumberSpecified() <em>Number Specified</em>}' attribute. | 103 | |
104 | * <!-- begin-user-doc --> | 104 | /** |
105 | * <!-- end-user-doc --> | 105 | * The default value of the '{@link #isNumberSpecified() <em>Number Specified</em>}' attribute. |
106 | * @see #isNumberSpecified() | 106 | * <!-- begin-user-doc --> |
107 | * @generated | 107 | * <!-- end-user-doc --> |
108 | * @ordered | 108 | * @see #isNumberSpecified() |
109 | */ | 109 | * @generated |
110 | protected boolean numberSpecified = NUMBER_SPECIFIED_EDEFAULT; | 110 | * @ordered |
111 | 111 | */ | |
112 | /** | 112 | protected static final boolean NUMBER_SPECIFIED_EDEFAULT = false; |
113 | * The default value of the '{@link #getNumber() <em>Number</em>}' attribute. | 113 | |
114 | * <!-- begin-user-doc --> | 114 | /** |
115 | * <!-- end-user-doc --> | 115 | * The cached value of the '{@link #isNumberSpecified() <em>Number Specified</em>}' attribute. |
116 | * @see #getNumber() | 116 | * <!-- begin-user-doc --> |
117 | * @generated | 117 | * <!-- end-user-doc --> |
118 | * @ordered | 118 | * @see #isNumberSpecified() |
119 | */ | 119 | * @generated |
120 | protected static final int NUMBER_EDEFAULT = 0; | 120 | * @ordered |
121 | 121 | */ | |
122 | /** | 122 | protected boolean numberSpecified = NUMBER_SPECIFIED_EDEFAULT; |
123 | * The cached value of the '{@link #getNumber() <em>Number</em>}' attribute. | 123 | |
124 | * <!-- begin-user-doc --> | 124 | /** |
125 | * <!-- end-user-doc --> | 125 | * The default value of the '{@link #getNumber() <em>Number</em>}' attribute. |
126 | * @see #getNumber() | 126 | * <!-- begin-user-doc --> |
127 | * @generated | 127 | * <!-- end-user-doc --> |
128 | * @ordered | 128 | * @see #getNumber() |
129 | */ | 129 | * @generated |
130 | protected int number = NUMBER_EDEFAULT; | 130 | * @ordered |
131 | 131 | */ | |
132 | /** | 132 | protected static final int NUMBER_EDEFAULT = 0; |
133 | * The default value of the '{@link #isRunSpecified() <em>Run Specified</em>}' attribute. | 133 | |
134 | * <!-- begin-user-doc --> | 134 | /** |
135 | * <!-- end-user-doc --> | 135 | * The cached value of the '{@link #getNumber() <em>Number</em>}' attribute. |
136 | * @see #isRunSpecified() | 136 | * <!-- begin-user-doc --> |
137 | * @generated | 137 | * <!-- end-user-doc --> |
138 | * @ordered | 138 | * @see #getNumber() |
139 | */ | 139 | * @generated |
140 | protected static final boolean RUN_SPECIFIED_EDEFAULT = false; | 140 | * @ordered |
141 | 141 | */ | |
142 | /** | 142 | protected int number = NUMBER_EDEFAULT; |
143 | * The cached value of the '{@link #isRunSpecified() <em>Run Specified</em>}' attribute. | 143 | |
144 | * <!-- begin-user-doc --> | 144 | /** |
145 | * <!-- end-user-doc --> | 145 | * The default value of the '{@link #isRunSpecified() <em>Run Specified</em>}' attribute. |
146 | * @see #isRunSpecified() | 146 | * <!-- begin-user-doc --> |
147 | * @generated | 147 | * <!-- end-user-doc --> |
148 | * @ordered | 148 | * @see #isRunSpecified() |
149 | */ | 149 | * @generated |
150 | protected boolean runSpecified = RUN_SPECIFIED_EDEFAULT; | 150 | * @ordered |
151 | 151 | */ | |
152 | /** | 152 | protected static final boolean RUN_SPECIFIED_EDEFAULT = false; |
153 | * The default value of the '{@link #getRuns() <em>Runs</em>}' attribute. | 153 | |
154 | * <!-- begin-user-doc --> | 154 | /** |
155 | * <!-- end-user-doc --> | 155 | * The cached value of the '{@link #isRunSpecified() <em>Run Specified</em>}' attribute. |
156 | * @see #getRuns() | 156 | * <!-- begin-user-doc --> |
157 | * @generated | 157 | * <!-- end-user-doc --> |
158 | * @ordered | 158 | * @see #isRunSpecified() |
159 | */ | 159 | * @generated |
160 | protected static final int RUNS_EDEFAULT = 0; | 160 | * @ordered |
161 | 161 | */ | |
162 | /** | 162 | protected boolean runSpecified = RUN_SPECIFIED_EDEFAULT; |
163 | * The cached value of the '{@link #getRuns() <em>Runs</em>}' attribute. | 163 | |
164 | * <!-- begin-user-doc --> | 164 | /** |
165 | * <!-- end-user-doc --> | 165 | * The default value of the '{@link #getRuns() <em>Runs</em>}' attribute. |
166 | * @see #getRuns() | 166 | * <!-- begin-user-doc --> |
167 | * @generated | 167 | * <!-- end-user-doc --> |
168 | * @ordered | 168 | * @see #getRuns() |
169 | */ | 169 | * @generated |
170 | protected int runs = RUNS_EDEFAULT; | 170 | * @ordered |
171 | 171 | */ | |
172 | /** | 172 | protected static final int RUNS_EDEFAULT = 0; |
173 | * The default value of the '{@link #getSolver() <em>Solver</em>}' attribute. | 173 | |
174 | * <!-- begin-user-doc --> | 174 | /** |
175 | * <!-- end-user-doc --> | 175 | * The cached value of the '{@link #getRuns() <em>Runs</em>}' attribute. |
176 | * @see #getSolver() | 176 | * <!-- begin-user-doc --> |
177 | * @generated | 177 | * <!-- end-user-doc --> |
178 | * @ordered | 178 | * @see #getRuns() |
179 | */ | 179 | * @generated |
180 | protected static final Solver SOLVER_EDEFAULT = Solver.SMT_SOLVER; | 180 | * @ordered |
181 | 181 | */ | |
182 | /** | 182 | protected int runs = RUNS_EDEFAULT; |
183 | * The cached value of the '{@link #getSolver() <em>Solver</em>}' attribute. | 183 | |
184 | * <!-- begin-user-doc --> | 184 | /** |
185 | * <!-- end-user-doc --> | 185 | * The default value of the '{@link #getSolver() <em>Solver</em>}' attribute. |
186 | * @see #getSolver() | 186 | * <!-- begin-user-doc --> |
187 | * @generated | 187 | * <!-- end-user-doc --> |
188 | * @ordered | 188 | * @see #getSolver() |
189 | */ | 189 | * @generated |
190 | protected Solver solver = SOLVER_EDEFAULT; | 190 | * @ordered |
191 | 191 | */ | |
192 | /** | 192 | protected static final Solver SOLVER_EDEFAULT = Solver.SMT_SOLVER; |
193 | * The cached value of the '{@link #getConfig() <em>Config</em>}' containment reference. | 193 | |
194 | * <!-- begin-user-doc --> | 194 | /** |
195 | * <!-- end-user-doc --> | 195 | * The cached value of the '{@link #getSolver() <em>Solver</em>}' attribute. |
196 | * @see #getConfig() | 196 | * <!-- begin-user-doc --> |
197 | * @generated | 197 | * <!-- end-user-doc --> |
198 | * @ordered | 198 | * @see #getSolver() |
199 | */ | 199 | * @generated |
200 | protected Config config; | 200 | * @ordered |
201 | 201 | */ | |
202 | /** | 202 | protected Solver solver = SOLVER_EDEFAULT; |
203 | * The cached value of the '{@link #getDebugFolder() <em>Debug Folder</em>}' containment reference. | 203 | |
204 | * <!-- begin-user-doc --> | 204 | /** |
205 | * <!-- end-user-doc --> | 205 | * The cached value of the '{@link #getConfig() <em>Config</em>}' containment reference. |
206 | * @see #getDebugFolder() | 206 | * <!-- begin-user-doc --> |
207 | * @generated | 207 | * <!-- end-user-doc --> |
208 | * @ordered | 208 | * @see #getConfig() |
209 | */ | 209 | * @generated |
210 | protected File debugFolder; | 210 | * @ordered |
211 | 211 | */ | |
212 | /** | 212 | protected Config config; |
213 | * The cached value of the '{@link #getTargetLogFile() <em>Target Log File</em>}' containment reference. | 213 | |
214 | * <!-- begin-user-doc --> | 214 | /** |
215 | * <!-- end-user-doc --> | 215 | * The cached value of the '{@link #getDebugFolder() <em>Debug Folder</em>}' containment reference. |
216 | * @see #getTargetLogFile() | 216 | * <!-- begin-user-doc --> |
217 | * @generated | 217 | * <!-- end-user-doc --> |
218 | * @ordered | 218 | * @see #getDebugFolder() |
219 | */ | 219 | * @generated |
220 | protected File targetLogFile; | 220 | * @ordered |
221 | 221 | */ | |
222 | /** | 222 | protected File debugFolder; |
223 | * The cached value of the '{@link #getTargetStatisticsFile() <em>Target Statistics File</em>}' containment reference. | 223 | |
224 | * <!-- begin-user-doc --> | 224 | /** |
225 | * <!-- end-user-doc --> | 225 | * The cached value of the '{@link #getTargetLogFile() <em>Target Log File</em>}' containment reference. |
226 | * @see #getTargetStatisticsFile() | 226 | * <!-- begin-user-doc --> |
227 | * @generated | 227 | * <!-- end-user-doc --> |
228 | * @ordered | 228 | * @see #getTargetLogFile() |
229 | */ | 229 | * @generated |
230 | protected File targetStatisticsFile; | 230 | * @ordered |
231 | 231 | */ | |
232 | /** | 232 | protected File targetLogFile; |
233 | * The cached value of the '{@link #getTagetFolder() <em>Taget Folder</em>}' containment reference. | 233 | |
234 | * <!-- begin-user-doc --> | 234 | /** |
235 | * <!-- end-user-doc --> | 235 | * The cached value of the '{@link #getTargetStatisticsFile() <em>Target Statistics File</em>}' containment reference. |
236 | * @see #getTagetFolder() | 236 | * <!-- begin-user-doc --> |
237 | * @generated | 237 | * <!-- end-user-doc --> |
238 | * @ordered | 238 | * @see #getTargetStatisticsFile() |
239 | */ | 239 | * @generated |
240 | protected File tagetFolder; | 240 | * @ordered |
241 | 241 | */ | |
242 | /** | 242 | protected File targetStatisticsFile; |
243 | * <!-- begin-user-doc --> | 243 | |
244 | * <!-- end-user-doc --> | 244 | /** |
245 | * @generated | 245 | * The cached value of the '{@link #getTagetFolder() <em>Taget Folder</em>}' containment reference. |
246 | */ | 246 | * <!-- begin-user-doc --> |
247 | protected GenerationTaskImpl() | 247 | * <!-- end-user-doc --> |
248 | { | 248 | * @see #getTagetFolder() |
249 | super(); | 249 | * @generated |
250 | } | 250 | * @ordered |
251 | 251 | */ | |
252 | /** | 252 | protected File tagetFolder; |
253 | * <!-- begin-user-doc --> | 253 | |
254 | * <!-- end-user-doc --> | 254 | /** |
255 | * @generated | 255 | * <!-- begin-user-doc --> |
256 | */ | 256 | * <!-- end-user-doc --> |
257 | @Override | 257 | * @generated |
258 | protected EClass eStaticClass() | 258 | */ |
259 | { | 259 | protected GenerationTaskImpl() |
260 | return ApplicationConfigurationPackage.Literals.GENERATION_TASK; | 260 | { |
261 | } | 261 | super(); |
262 | 262 | } | |
263 | /** | 263 | |
264 | * <!-- begin-user-doc --> | 264 | /** |
265 | * <!-- end-user-doc --> | 265 | * <!-- begin-user-doc --> |
266 | * @generated | 266 | * <!-- end-user-doc --> |
267 | */ | 267 | * @generated |
268 | public Metamodel getMetamodel() | 268 | */ |
269 | { | 269 | @Override |
270 | return metamodel; | 270 | protected EClass eStaticClass() |
271 | } | 271 | { |
272 | 272 | return ApplicationConfigurationPackage.Literals.GENERATION_TASK; | |
273 | /** | 273 | } |
274 | * <!-- begin-user-doc --> | 274 | |
275 | * <!-- end-user-doc --> | 275 | /** |
276 | * @generated | 276 | * <!-- begin-user-doc --> |
277 | */ | 277 | * <!-- end-user-doc --> |
278 | public NotificationChain basicSetMetamodel(Metamodel newMetamodel, NotificationChain msgs) | 278 | * @generated |
279 | { | 279 | */ |
280 | Metamodel oldMetamodel = metamodel; | 280 | @Override |
281 | metamodel = newMetamodel; | 281 | public Metamodel getMetamodel() |
282 | if (eNotificationRequired()) | 282 | { |
283 | { | 283 | return metamodel; |
284 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, oldMetamodel, newMetamodel); | 284 | } |
285 | if (msgs == null) msgs = notification; else msgs.add(notification); | 285 | |
286 | } | 286 | /** |
287 | return msgs; | 287 | * <!-- begin-user-doc --> |
288 | } | 288 | * <!-- end-user-doc --> |
289 | 289 | * @generated | |
290 | /** | 290 | */ |
291 | * <!-- begin-user-doc --> | 291 | public NotificationChain basicSetMetamodel(Metamodel newMetamodel, NotificationChain msgs) |
292 | * <!-- end-user-doc --> | 292 | { |
293 | * @generated | 293 | Metamodel oldMetamodel = metamodel; |
294 | */ | 294 | metamodel = newMetamodel; |
295 | public void setMetamodel(Metamodel newMetamodel) | 295 | if (eNotificationRequired()) |
296 | { | 296 | { |
297 | if (newMetamodel != metamodel) | 297 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, oldMetamodel, newMetamodel); |
298 | { | 298 | if (msgs == null) msgs = notification; else msgs.add(notification); |
299 | NotificationChain msgs = null; | 299 | } |
300 | if (metamodel != null) | 300 | return msgs; |
301 | msgs = ((InternalEObject)metamodel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, null, msgs); | 301 | } |
302 | if (newMetamodel != null) | 302 | |
303 | msgs = ((InternalEObject)newMetamodel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, null, msgs); | 303 | /** |
304 | msgs = basicSetMetamodel(newMetamodel, msgs); | 304 | * <!-- begin-user-doc --> |
305 | if (msgs != null) msgs.dispatch(); | 305 | * <!-- end-user-doc --> |
306 | } | 306 | * @generated |
307 | else if (eNotificationRequired()) | 307 | */ |
308 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, newMetamodel, newMetamodel)); | 308 | @Override |
309 | } | 309 | public void setMetamodel(Metamodel newMetamodel) |
310 | 310 | { | |
311 | /** | 311 | if (newMetamodel != metamodel) |
312 | * <!-- begin-user-doc --> | 312 | { |
313 | * <!-- end-user-doc --> | 313 | NotificationChain msgs = null; |
314 | * @generated | 314 | if (metamodel != null) |
315 | */ | 315 | msgs = ((InternalEObject)metamodel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, null, msgs); |
316 | public PartialModel getPartialModel() | 316 | if (newMetamodel != null) |
317 | { | 317 | msgs = ((InternalEObject)newMetamodel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, null, msgs); |
318 | return partialModel; | 318 | msgs = basicSetMetamodel(newMetamodel, msgs); |
319 | } | 319 | if (msgs != null) msgs.dispatch(); |
320 | 320 | } | |
321 | /** | 321 | else if (eNotificationRequired()) |
322 | * <!-- begin-user-doc --> | 322 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, newMetamodel, newMetamodel)); |
323 | * <!-- end-user-doc --> | 323 | } |
324 | * @generated | 324 | |
325 | */ | 325 | /** |
326 | public NotificationChain basicSetPartialModel(PartialModel newPartialModel, NotificationChain msgs) | 326 | * <!-- begin-user-doc --> |
327 | { | 327 | * <!-- end-user-doc --> |
328 | PartialModel oldPartialModel = partialModel; | 328 | * @generated |
329 | partialModel = newPartialModel; | 329 | */ |
330 | if (eNotificationRequired()) | 330 | @Override |
331 | { | 331 | public PartialModel getPartialModel() |
332 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, oldPartialModel, newPartialModel); | 332 | { |
333 | if (msgs == null) msgs = notification; else msgs.add(notification); | 333 | return partialModel; |
334 | } | 334 | } |
335 | return msgs; | 335 | |
336 | } | 336 | /** |
337 | 337 | * <!-- begin-user-doc --> | |
338 | /** | 338 | * <!-- end-user-doc --> |
339 | * <!-- begin-user-doc --> | 339 | * @generated |
340 | * <!-- end-user-doc --> | 340 | */ |
341 | * @generated | 341 | public NotificationChain basicSetPartialModel(PartialModel newPartialModel, NotificationChain msgs) |
342 | */ | 342 | { |
343 | public void setPartialModel(PartialModel newPartialModel) | 343 | PartialModel oldPartialModel = partialModel; |
344 | { | 344 | partialModel = newPartialModel; |
345 | if (newPartialModel != partialModel) | 345 | if (eNotificationRequired()) |
346 | { | 346 | { |
347 | NotificationChain msgs = null; | 347 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, oldPartialModel, newPartialModel); |
348 | if (partialModel != null) | 348 | if (msgs == null) msgs = notification; else msgs.add(notification); |
349 | msgs = ((InternalEObject)partialModel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, null, msgs); | 349 | } |
350 | if (newPartialModel != null) | 350 | return msgs; |
351 | msgs = ((InternalEObject)newPartialModel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, null, msgs); | 351 | } |
352 | msgs = basicSetPartialModel(newPartialModel, msgs); | 352 | |
353 | if (msgs != null) msgs.dispatch(); | 353 | /** |
354 | } | 354 | * <!-- begin-user-doc --> |
355 | else if (eNotificationRequired()) | 355 | * <!-- end-user-doc --> |
356 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, newPartialModel, newPartialModel)); | 356 | * @generated |
357 | } | 357 | */ |
358 | 358 | @Override | |
359 | /** | 359 | public void setPartialModel(PartialModel newPartialModel) |
360 | * <!-- begin-user-doc --> | 360 | { |
361 | * <!-- end-user-doc --> | 361 | if (newPartialModel != partialModel) |
362 | * @generated | 362 | { |
363 | */ | 363 | NotificationChain msgs = null; |
364 | public GraphPattern getPatterns() | 364 | if (partialModel != null) |
365 | { | 365 | msgs = ((InternalEObject)partialModel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, null, msgs); |
366 | return patterns; | 366 | if (newPartialModel != null) |
367 | } | 367 | msgs = ((InternalEObject)newPartialModel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, null, msgs); |
368 | 368 | msgs = basicSetPartialModel(newPartialModel, msgs); | |
369 | /** | 369 | if (msgs != null) msgs.dispatch(); |
370 | * <!-- begin-user-doc --> | 370 | } |
371 | * <!-- end-user-doc --> | 371 | else if (eNotificationRequired()) |
372 | * @generated | 372 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, newPartialModel, newPartialModel)); |
373 | */ | 373 | } |
374 | public NotificationChain basicSetPatterns(GraphPattern newPatterns, NotificationChain msgs) | 374 | |
375 | { | 375 | /** |
376 | GraphPattern oldPatterns = patterns; | 376 | * <!-- begin-user-doc --> |
377 | patterns = newPatterns; | 377 | * <!-- end-user-doc --> |
378 | if (eNotificationRequired()) | 378 | * @generated |
379 | { | 379 | */ |
380 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, oldPatterns, newPatterns); | 380 | @Override |
381 | if (msgs == null) msgs = notification; else msgs.add(notification); | 381 | public GraphPattern getPatterns() |
382 | } | 382 | { |
383 | return msgs; | 383 | return patterns; |
384 | } | 384 | } |
385 | 385 | ||
386 | /** | 386 | /** |
387 | * <!-- begin-user-doc --> | 387 | * <!-- begin-user-doc --> |
388 | * <!-- end-user-doc --> | 388 | * <!-- end-user-doc --> |
389 | * @generated | 389 | * @generated |
390 | */ | 390 | */ |
391 | public void setPatterns(GraphPattern newPatterns) | 391 | public NotificationChain basicSetPatterns(GraphPattern newPatterns, NotificationChain msgs) |
392 | { | 392 | { |
393 | if (newPatterns != patterns) | 393 | GraphPattern oldPatterns = patterns; |
394 | { | 394 | patterns = newPatterns; |
395 | NotificationChain msgs = null; | 395 | if (eNotificationRequired()) |
396 | if (patterns != null) | 396 | { |
397 | msgs = ((InternalEObject)patterns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, null, msgs); | 397 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, oldPatterns, newPatterns); |
398 | if (newPatterns != null) | 398 | if (msgs == null) msgs = notification; else msgs.add(notification); |
399 | msgs = ((InternalEObject)newPatterns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, null, msgs); | 399 | } |
400 | msgs = basicSetPatterns(newPatterns, msgs); | 400 | return msgs; |
401 | if (msgs != null) msgs.dispatch(); | 401 | } |
402 | } | 402 | |
403 | else if (eNotificationRequired()) | 403 | /** |
404 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, newPatterns, newPatterns)); | 404 | * <!-- begin-user-doc --> |
405 | } | 405 | * <!-- end-user-doc --> |
406 | 406 | * @generated | |
407 | /** | 407 | */ |
408 | * <!-- begin-user-doc --> | 408 | @Override |
409 | * <!-- end-user-doc --> | 409 | public void setPatterns(GraphPattern newPatterns) |
410 | * @generated | 410 | { |
411 | */ | 411 | if (newPatterns != patterns) |
412 | public Scope getScope() | 412 | { |
413 | { | 413 | NotificationChain msgs = null; |
414 | return scope; | 414 | if (patterns != null) |
415 | } | 415 | msgs = ((InternalEObject)patterns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, null, msgs); |
416 | 416 | if (newPatterns != null) | |
417 | /** | 417 | msgs = ((InternalEObject)newPatterns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, null, msgs); |
418 | * <!-- begin-user-doc --> | 418 | msgs = basicSetPatterns(newPatterns, msgs); |
419 | * <!-- end-user-doc --> | 419 | if (msgs != null) msgs.dispatch(); |
420 | * @generated | 420 | } |
421 | */ | 421 | else if (eNotificationRequired()) |
422 | public NotificationChain basicSetScope(Scope newScope, NotificationChain msgs) | 422 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, newPatterns, newPatterns)); |
423 | { | 423 | } |
424 | Scope oldScope = scope; | 424 | |
425 | scope = newScope; | 425 | /** |
426 | if (eNotificationRequired()) | 426 | * <!-- begin-user-doc --> |
427 | { | 427 | * <!-- end-user-doc --> |
428 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, oldScope, newScope); | 428 | * @generated |
429 | if (msgs == null) msgs = notification; else msgs.add(notification); | 429 | */ |
430 | } | 430 | @Override |
431 | return msgs; | 431 | public Objective getObjectives() |
432 | } | 432 | { |
433 | 433 | return objectives; | |
434 | /** | 434 | } |
435 | * <!-- begin-user-doc --> | 435 | |
436 | * <!-- end-user-doc --> | 436 | /** |
437 | * @generated | 437 | * <!-- begin-user-doc --> |
438 | */ | 438 | * <!-- end-user-doc --> |
439 | public void setScope(Scope newScope) | 439 | * @generated |
440 | { | 440 | */ |
441 | if (newScope != scope) | 441 | public NotificationChain basicSetObjectives(Objective newObjectives, NotificationChain msgs) |
442 | { | 442 | { |
443 | NotificationChain msgs = null; | 443 | Objective oldObjectives = objectives; |
444 | if (scope != null) | 444 | objectives = newObjectives; |
445 | msgs = ((InternalEObject)scope).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, null, msgs); | 445 | if (eNotificationRequired()) |
446 | if (newScope != null) | 446 | { |
447 | msgs = ((InternalEObject)newScope).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, null, msgs); | 447 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES, oldObjectives, newObjectives); |
448 | msgs = basicSetScope(newScope, msgs); | 448 | if (msgs == null) msgs = notification; else msgs.add(notification); |
449 | if (msgs != null) msgs.dispatch(); | 449 | } |
450 | } | 450 | return msgs; |
451 | else if (eNotificationRequired()) | 451 | } |
452 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, newScope, newScope)); | 452 | |
453 | } | 453 | /** |
454 | 454 | * <!-- begin-user-doc --> | |
455 | /** | 455 | * <!-- end-user-doc --> |
456 | * <!-- begin-user-doc --> | 456 | * @generated |
457 | * <!-- end-user-doc --> | 457 | */ |
458 | * @generated | 458 | @Override |
459 | */ | 459 | public void setObjectives(Objective newObjectives) |
460 | public boolean isNumberSpecified() | 460 | { |
461 | { | 461 | if (newObjectives != objectives) |
462 | return numberSpecified; | 462 | { |
463 | } | 463 | NotificationChain msgs = null; |
464 | 464 | if (objectives != null) | |
465 | /** | 465 | msgs = ((InternalEObject)objectives).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES, null, msgs); |
466 | * <!-- begin-user-doc --> | 466 | if (newObjectives != null) |
467 | * <!-- end-user-doc --> | 467 | msgs = ((InternalEObject)newObjectives).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES, null, msgs); |
468 | * @generated | 468 | msgs = basicSetObjectives(newObjectives, msgs); |
469 | */ | 469 | if (msgs != null) msgs.dispatch(); |
470 | public void setNumberSpecified(boolean newNumberSpecified) | 470 | } |
471 | { | 471 | else if (eNotificationRequired()) |
472 | boolean oldNumberSpecified = numberSpecified; | 472 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES, newObjectives, newObjectives)); |
473 | numberSpecified = newNumberSpecified; | 473 | } |
474 | if (eNotificationRequired()) | 474 | |
475 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED, oldNumberSpecified, numberSpecified)); | 475 | /** |
476 | } | 476 | * <!-- begin-user-doc --> |
477 | 477 | * <!-- end-user-doc --> | |
478 | /** | 478 | * @generated |
479 | * <!-- begin-user-doc --> | 479 | */ |
480 | * <!-- end-user-doc --> | 480 | @Override |
481 | * @generated | 481 | public Scope getScope() |
482 | */ | 482 | { |
483 | public int getNumber() | 483 | return scope; |
484 | { | 484 | } |
485 | return number; | 485 | |
486 | } | 486 | /** |
487 | 487 | * <!-- begin-user-doc --> | |
488 | /** | 488 | * <!-- end-user-doc --> |
489 | * <!-- begin-user-doc --> | 489 | * @generated |
490 | * <!-- end-user-doc --> | 490 | */ |
491 | * @generated | 491 | public NotificationChain basicSetScope(Scope newScope, NotificationChain msgs) |
492 | */ | 492 | { |
493 | public void setNumber(int newNumber) | 493 | Scope oldScope = scope; |
494 | { | 494 | scope = newScope; |
495 | int oldNumber = number; | 495 | if (eNotificationRequired()) |
496 | number = newNumber; | 496 | { |
497 | if (eNotificationRequired()) | 497 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, oldScope, newScope); |
498 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__NUMBER, oldNumber, number)); | 498 | if (msgs == null) msgs = notification; else msgs.add(notification); |
499 | } | 499 | } |
500 | 500 | return msgs; | |
501 | /** | 501 | } |
502 | * <!-- begin-user-doc --> | 502 | |
503 | * <!-- end-user-doc --> | 503 | /** |
504 | * @generated | 504 | * <!-- begin-user-doc --> |
505 | */ | 505 | * <!-- end-user-doc --> |
506 | public boolean isRunSpecified() | 506 | * @generated |
507 | { | 507 | */ |
508 | return runSpecified; | 508 | @Override |
509 | } | 509 | public void setScope(Scope newScope) |
510 | 510 | { | |
511 | /** | 511 | if (newScope != scope) |
512 | * <!-- begin-user-doc --> | 512 | { |
513 | * <!-- end-user-doc --> | 513 | NotificationChain msgs = null; |
514 | * @generated | 514 | if (scope != null) |
515 | */ | 515 | msgs = ((InternalEObject)scope).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, null, msgs); |
516 | public void setRunSpecified(boolean newRunSpecified) | 516 | if (newScope != null) |
517 | { | 517 | msgs = ((InternalEObject)newScope).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, null, msgs); |
518 | boolean oldRunSpecified = runSpecified; | 518 | msgs = basicSetScope(newScope, msgs); |
519 | runSpecified = newRunSpecified; | 519 | if (msgs != null) msgs.dispatch(); |
520 | if (eNotificationRequired()) | 520 | } |
521 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED, oldRunSpecified, runSpecified)); | 521 | else if (eNotificationRequired()) |
522 | } | 522 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, newScope, newScope)); |
523 | 523 | } | |
524 | /** | 524 | |
525 | * <!-- begin-user-doc --> | 525 | /** |
526 | * <!-- end-user-doc --> | 526 | * <!-- begin-user-doc --> |
527 | * @generated | 527 | * <!-- end-user-doc --> |
528 | */ | 528 | * @generated |
529 | public int getRuns() | 529 | */ |
530 | { | 530 | @Override |
531 | return runs; | 531 | public boolean isNumberSpecified() |
532 | } | 532 | { |
533 | 533 | return numberSpecified; | |
534 | /** | 534 | } |
535 | * <!-- begin-user-doc --> | 535 | |
536 | * <!-- end-user-doc --> | 536 | /** |
537 | * @generated | 537 | * <!-- begin-user-doc --> |
538 | */ | 538 | * <!-- end-user-doc --> |
539 | public void setRuns(int newRuns) | 539 | * @generated |
540 | { | 540 | */ |
541 | int oldRuns = runs; | 541 | @Override |
542 | runs = newRuns; | 542 | public void setNumberSpecified(boolean newNumberSpecified) |
543 | if (eNotificationRequired()) | 543 | { |
544 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__RUNS, oldRuns, runs)); | 544 | boolean oldNumberSpecified = numberSpecified; |
545 | } | 545 | numberSpecified = newNumberSpecified; |
546 | 546 | if (eNotificationRequired()) | |
547 | /** | 547 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED, oldNumberSpecified, numberSpecified)); |
548 | * <!-- begin-user-doc --> | 548 | } |
549 | * <!-- end-user-doc --> | 549 | |
550 | * @generated | 550 | /** |
551 | */ | 551 | * <!-- begin-user-doc --> |
552 | public Solver getSolver() | 552 | * <!-- end-user-doc --> |
553 | { | 553 | * @generated |
554 | return solver; | 554 | */ |
555 | } | 555 | @Override |
556 | 556 | public int getNumber() | |
557 | /** | 557 | { |
558 | * <!-- begin-user-doc --> | 558 | return number; |
559 | * <!-- end-user-doc --> | 559 | } |
560 | * @generated | 560 | |
561 | */ | 561 | /** |
562 | public void setSolver(Solver newSolver) | 562 | * <!-- begin-user-doc --> |
563 | { | 563 | * <!-- end-user-doc --> |
564 | Solver oldSolver = solver; | 564 | * @generated |
565 | solver = newSolver == null ? SOLVER_EDEFAULT : newSolver; | 565 | */ |
566 | if (eNotificationRequired()) | 566 | @Override |
567 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SOLVER, oldSolver, solver)); | 567 | public void setNumber(int newNumber) |
568 | } | 568 | { |
569 | 569 | int oldNumber = number; | |
570 | /** | 570 | number = newNumber; |
571 | * <!-- begin-user-doc --> | 571 | if (eNotificationRequired()) |
572 | * <!-- end-user-doc --> | 572 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__NUMBER, oldNumber, number)); |
573 | * @generated | 573 | } |
574 | */ | 574 | |
575 | public Config getConfig() | 575 | /** |
576 | { | 576 | * <!-- begin-user-doc --> |
577 | return config; | 577 | * <!-- end-user-doc --> |
578 | } | 578 | * @generated |
579 | 579 | */ | |
580 | /** | 580 | @Override |
581 | * <!-- begin-user-doc --> | 581 | public boolean isRunSpecified() |
582 | * <!-- end-user-doc --> | 582 | { |
583 | * @generated | 583 | return runSpecified; |
584 | */ | 584 | } |
585 | public NotificationChain basicSetConfig(Config newConfig, NotificationChain msgs) | 585 | |
586 | { | 586 | /** |
587 | Config oldConfig = config; | 587 | * <!-- begin-user-doc --> |
588 | config = newConfig; | 588 | * <!-- end-user-doc --> |
589 | if (eNotificationRequired()) | 589 | * @generated |
590 | { | 590 | */ |
591 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, oldConfig, newConfig); | 591 | @Override |
592 | if (msgs == null) msgs = notification; else msgs.add(notification); | 592 | public void setRunSpecified(boolean newRunSpecified) |
593 | } | 593 | { |
594 | return msgs; | 594 | boolean oldRunSpecified = runSpecified; |
595 | } | 595 | runSpecified = newRunSpecified; |
596 | 596 | if (eNotificationRequired()) | |
597 | /** | 597 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED, oldRunSpecified, runSpecified)); |
598 | * <!-- begin-user-doc --> | 598 | } |
599 | * <!-- end-user-doc --> | 599 | |
600 | * @generated | 600 | /** |
601 | */ | 601 | * <!-- begin-user-doc --> |
602 | public void setConfig(Config newConfig) | 602 | * <!-- end-user-doc --> |
603 | { | 603 | * @generated |
604 | if (newConfig != config) | 604 | */ |
605 | { | 605 | @Override |
606 | NotificationChain msgs = null; | 606 | public int getRuns() |
607 | if (config != null) | 607 | { |
608 | msgs = ((InternalEObject)config).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, null, msgs); | 608 | return runs; |
609 | if (newConfig != null) | 609 | } |
610 | msgs = ((InternalEObject)newConfig).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, null, msgs); | 610 | |
611 | msgs = basicSetConfig(newConfig, msgs); | 611 | /** |
612 | if (msgs != null) msgs.dispatch(); | 612 | * <!-- begin-user-doc --> |
613 | } | 613 | * <!-- end-user-doc --> |
614 | else if (eNotificationRequired()) | 614 | * @generated |
615 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, newConfig, newConfig)); | 615 | */ |
616 | } | 616 | @Override |
617 | 617 | public void setRuns(int newRuns) | |
618 | /** | 618 | { |
619 | * <!-- begin-user-doc --> | 619 | int oldRuns = runs; |
620 | * <!-- end-user-doc --> | 620 | runs = newRuns; |
621 | * @generated | 621 | if (eNotificationRequired()) |
622 | */ | 622 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__RUNS, oldRuns, runs)); |
623 | public File getDebugFolder() | 623 | } |
624 | { | 624 | |
625 | return debugFolder; | 625 | /** |
626 | } | 626 | * <!-- begin-user-doc --> |
627 | 627 | * <!-- end-user-doc --> | |
628 | /** | 628 | * @generated |
629 | * <!-- begin-user-doc --> | 629 | */ |
630 | * <!-- end-user-doc --> | 630 | @Override |
631 | * @generated | 631 | public Solver getSolver() |
632 | */ | 632 | { |
633 | public NotificationChain basicSetDebugFolder(File newDebugFolder, NotificationChain msgs) | 633 | return solver; |
634 | { | 634 | } |
635 | File oldDebugFolder = debugFolder; | 635 | |
636 | debugFolder = newDebugFolder; | 636 | /** |
637 | if (eNotificationRequired()) | 637 | * <!-- begin-user-doc --> |
638 | { | 638 | * <!-- end-user-doc --> |
639 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, oldDebugFolder, newDebugFolder); | 639 | * @generated |
640 | if (msgs == null) msgs = notification; else msgs.add(notification); | 640 | */ |
641 | } | 641 | @Override |
642 | return msgs; | 642 | public void setSolver(Solver newSolver) |
643 | } | 643 | { |
644 | 644 | Solver oldSolver = solver; | |
645 | /** | 645 | solver = newSolver == null ? SOLVER_EDEFAULT : newSolver; |
646 | * <!-- begin-user-doc --> | 646 | if (eNotificationRequired()) |
647 | * <!-- end-user-doc --> | 647 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SOLVER, oldSolver, solver)); |
648 | * @generated | 648 | } |
649 | */ | 649 | |
650 | public void setDebugFolder(File newDebugFolder) | 650 | /** |
651 | { | 651 | * <!-- begin-user-doc --> |
652 | if (newDebugFolder != debugFolder) | 652 | * <!-- end-user-doc --> |
653 | { | 653 | * @generated |
654 | NotificationChain msgs = null; | 654 | */ |
655 | if (debugFolder != null) | 655 | @Override |
656 | msgs = ((InternalEObject)debugFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, null, msgs); | 656 | public Config getConfig() |
657 | if (newDebugFolder != null) | 657 | { |
658 | msgs = ((InternalEObject)newDebugFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, null, msgs); | 658 | return config; |
659 | msgs = basicSetDebugFolder(newDebugFolder, msgs); | 659 | } |
660 | if (msgs != null) msgs.dispatch(); | 660 | |
661 | } | 661 | /** |
662 | else if (eNotificationRequired()) | 662 | * <!-- begin-user-doc --> |
663 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, newDebugFolder, newDebugFolder)); | 663 | * <!-- end-user-doc --> |
664 | } | 664 | * @generated |
665 | 665 | */ | |
666 | /** | 666 | public NotificationChain basicSetConfig(Config newConfig, NotificationChain msgs) |
667 | * <!-- begin-user-doc --> | 667 | { |
668 | * <!-- end-user-doc --> | 668 | Config oldConfig = config; |
669 | * @generated | 669 | config = newConfig; |
670 | */ | 670 | if (eNotificationRequired()) |
671 | public File getTargetLogFile() | 671 | { |
672 | { | 672 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, oldConfig, newConfig); |
673 | return targetLogFile; | 673 | if (msgs == null) msgs = notification; else msgs.add(notification); |
674 | } | 674 | } |
675 | 675 | return msgs; | |
676 | /** | 676 | } |
677 | * <!-- begin-user-doc --> | 677 | |
678 | * <!-- end-user-doc --> | 678 | /** |
679 | * @generated | 679 | * <!-- begin-user-doc --> |
680 | */ | 680 | * <!-- end-user-doc --> |
681 | public NotificationChain basicSetTargetLogFile(File newTargetLogFile, NotificationChain msgs) | 681 | * @generated |
682 | { | 682 | */ |
683 | File oldTargetLogFile = targetLogFile; | 683 | @Override |
684 | targetLogFile = newTargetLogFile; | 684 | public void setConfig(Config newConfig) |
685 | if (eNotificationRequired()) | 685 | { |
686 | { | 686 | if (newConfig != config) |
687 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, oldTargetLogFile, newTargetLogFile); | 687 | { |
688 | if (msgs == null) msgs = notification; else msgs.add(notification); | 688 | NotificationChain msgs = null; |
689 | } | 689 | if (config != null) |
690 | return msgs; | 690 | msgs = ((InternalEObject)config).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, null, msgs); |
691 | } | 691 | if (newConfig != null) |
692 | 692 | msgs = ((InternalEObject)newConfig).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, null, msgs); | |
693 | /** | 693 | msgs = basicSetConfig(newConfig, msgs); |
694 | * <!-- begin-user-doc --> | 694 | if (msgs != null) msgs.dispatch(); |
695 | * <!-- end-user-doc --> | 695 | } |
696 | * @generated | 696 | else if (eNotificationRequired()) |
697 | */ | 697 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, newConfig, newConfig)); |
698 | public void setTargetLogFile(File newTargetLogFile) | 698 | } |
699 | { | 699 | |
700 | if (newTargetLogFile != targetLogFile) | 700 | /** |
701 | { | 701 | * <!-- begin-user-doc --> |
702 | NotificationChain msgs = null; | 702 | * <!-- end-user-doc --> |
703 | if (targetLogFile != null) | 703 | * @generated |
704 | msgs = ((InternalEObject)targetLogFile).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, null, msgs); | 704 | */ |
705 | if (newTargetLogFile != null) | 705 | @Override |
706 | msgs = ((InternalEObject)newTargetLogFile).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, null, msgs); | 706 | public File getDebugFolder() |
707 | msgs = basicSetTargetLogFile(newTargetLogFile, msgs); | 707 | { |
708 | if (msgs != null) msgs.dispatch(); | 708 | return debugFolder; |
709 | } | 709 | } |
710 | else if (eNotificationRequired()) | 710 | |
711 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, newTargetLogFile, newTargetLogFile)); | 711 | /** |
712 | } | 712 | * <!-- begin-user-doc --> |
713 | 713 | * <!-- end-user-doc --> | |
714 | /** | 714 | * @generated |
715 | * <!-- begin-user-doc --> | 715 | */ |
716 | * <!-- end-user-doc --> | 716 | public NotificationChain basicSetDebugFolder(File newDebugFolder, NotificationChain msgs) |
717 | * @generated | 717 | { |
718 | */ | 718 | File oldDebugFolder = debugFolder; |
719 | public File getTargetStatisticsFile() | 719 | debugFolder = newDebugFolder; |
720 | { | 720 | if (eNotificationRequired()) |
721 | return targetStatisticsFile; | 721 | { |
722 | } | 722 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, oldDebugFolder, newDebugFolder); |
723 | 723 | if (msgs == null) msgs = notification; else msgs.add(notification); | |
724 | /** | 724 | } |
725 | * <!-- begin-user-doc --> | 725 | return msgs; |
726 | * <!-- end-user-doc --> | 726 | } |
727 | * @generated | 727 | |
728 | */ | 728 | /** |
729 | public NotificationChain basicSetTargetStatisticsFile(File newTargetStatisticsFile, NotificationChain msgs) | 729 | * <!-- begin-user-doc --> |
730 | { | 730 | * <!-- end-user-doc --> |
731 | File oldTargetStatisticsFile = targetStatisticsFile; | 731 | * @generated |
732 | targetStatisticsFile = newTargetStatisticsFile; | 732 | */ |
733 | if (eNotificationRequired()) | 733 | @Override |
734 | { | 734 | public void setDebugFolder(File newDebugFolder) |
735 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, oldTargetStatisticsFile, newTargetStatisticsFile); | 735 | { |
736 | if (msgs == null) msgs = notification; else msgs.add(notification); | 736 | if (newDebugFolder != debugFolder) |
737 | } | 737 | { |
738 | return msgs; | 738 | NotificationChain msgs = null; |
739 | } | 739 | if (debugFolder != null) |
740 | 740 | msgs = ((InternalEObject)debugFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, null, msgs); | |
741 | /** | 741 | if (newDebugFolder != null) |
742 | * <!-- begin-user-doc --> | 742 | msgs = ((InternalEObject)newDebugFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, null, msgs); |
743 | * <!-- end-user-doc --> | 743 | msgs = basicSetDebugFolder(newDebugFolder, msgs); |
744 | * @generated | 744 | if (msgs != null) msgs.dispatch(); |
745 | */ | 745 | } |
746 | public void setTargetStatisticsFile(File newTargetStatisticsFile) | 746 | else if (eNotificationRequired()) |
747 | { | 747 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, newDebugFolder, newDebugFolder)); |
748 | if (newTargetStatisticsFile != targetStatisticsFile) | 748 | } |
749 | { | 749 | |
750 | NotificationChain msgs = null; | 750 | /** |
751 | if (targetStatisticsFile != null) | 751 | * <!-- begin-user-doc --> |
752 | msgs = ((InternalEObject)targetStatisticsFile).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, null, msgs); | 752 | * <!-- end-user-doc --> |
753 | if (newTargetStatisticsFile != null) | 753 | * @generated |
754 | msgs = ((InternalEObject)newTargetStatisticsFile).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, null, msgs); | 754 | */ |
755 | msgs = basicSetTargetStatisticsFile(newTargetStatisticsFile, msgs); | 755 | @Override |
756 | if (msgs != null) msgs.dispatch(); | 756 | public File getTargetLogFile() |
757 | } | 757 | { |
758 | else if (eNotificationRequired()) | 758 | return targetLogFile; |
759 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, newTargetStatisticsFile, newTargetStatisticsFile)); | 759 | } |
760 | } | 760 | |
761 | 761 | /** | |
762 | /** | 762 | * <!-- begin-user-doc --> |
763 | * <!-- begin-user-doc --> | 763 | * <!-- end-user-doc --> |
764 | * <!-- end-user-doc --> | 764 | * @generated |
765 | * @generated | 765 | */ |
766 | */ | 766 | public NotificationChain basicSetTargetLogFile(File newTargetLogFile, NotificationChain msgs) |
767 | public File getTagetFolder() | 767 | { |
768 | { | 768 | File oldTargetLogFile = targetLogFile; |
769 | return tagetFolder; | 769 | targetLogFile = newTargetLogFile; |
770 | } | 770 | if (eNotificationRequired()) |
771 | 771 | { | |
772 | /** | 772 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, oldTargetLogFile, newTargetLogFile); |
773 | * <!-- begin-user-doc --> | 773 | if (msgs == null) msgs = notification; else msgs.add(notification); |
774 | * <!-- end-user-doc --> | 774 | } |
775 | * @generated | 775 | return msgs; |
776 | */ | 776 | } |
777 | public NotificationChain basicSetTagetFolder(File newTagetFolder, NotificationChain msgs) | 777 | |
778 | { | 778 | /** |
779 | File oldTagetFolder = tagetFolder; | 779 | * <!-- begin-user-doc --> |
780 | tagetFolder = newTagetFolder; | 780 | * <!-- end-user-doc --> |
781 | if (eNotificationRequired()) | 781 | * @generated |
782 | { | 782 | */ |
783 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, oldTagetFolder, newTagetFolder); | 783 | @Override |
784 | if (msgs == null) msgs = notification; else msgs.add(notification); | 784 | public void setTargetLogFile(File newTargetLogFile) |
785 | } | 785 | { |
786 | return msgs; | 786 | if (newTargetLogFile != targetLogFile) |
787 | } | 787 | { |
788 | 788 | NotificationChain msgs = null; | |
789 | /** | 789 | if (targetLogFile != null) |
790 | * <!-- begin-user-doc --> | 790 | msgs = ((InternalEObject)targetLogFile).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, null, msgs); |
791 | * <!-- end-user-doc --> | 791 | if (newTargetLogFile != null) |
792 | * @generated | 792 | msgs = ((InternalEObject)newTargetLogFile).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, null, msgs); |
793 | */ | 793 | msgs = basicSetTargetLogFile(newTargetLogFile, msgs); |
794 | public void setTagetFolder(File newTagetFolder) | 794 | if (msgs != null) msgs.dispatch(); |
795 | { | 795 | } |
796 | if (newTagetFolder != tagetFolder) | 796 | else if (eNotificationRequired()) |
797 | { | 797 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, newTargetLogFile, newTargetLogFile)); |
798 | NotificationChain msgs = null; | 798 | } |
799 | if (tagetFolder != null) | 799 | |
800 | msgs = ((InternalEObject)tagetFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); | 800 | /** |
801 | if (newTagetFolder != null) | 801 | * <!-- begin-user-doc --> |
802 | msgs = ((InternalEObject)newTagetFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); | 802 | * <!-- end-user-doc --> |
803 | msgs = basicSetTagetFolder(newTagetFolder, msgs); | 803 | * @generated |
804 | if (msgs != null) msgs.dispatch(); | 804 | */ |
805 | } | 805 | @Override |
806 | else if (eNotificationRequired()) | 806 | public File getTargetStatisticsFile() |
807 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, newTagetFolder, newTagetFolder)); | 807 | { |
808 | } | 808 | return targetStatisticsFile; |
809 | 809 | } | |
810 | /** | 810 | |
811 | * <!-- begin-user-doc --> | 811 | /** |
812 | * <!-- end-user-doc --> | 812 | * <!-- begin-user-doc --> |
813 | * @generated | 813 | * <!-- end-user-doc --> |
814 | */ | 814 | * @generated |
815 | @Override | 815 | */ |
816 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | 816 | public NotificationChain basicSetTargetStatisticsFile(File newTargetStatisticsFile, NotificationChain msgs) |
817 | { | 817 | { |
818 | switch (featureID) | 818 | File oldTargetStatisticsFile = targetStatisticsFile; |
819 | { | 819 | targetStatisticsFile = newTargetStatisticsFile; |
820 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | 820 | if (eNotificationRequired()) |
821 | return basicSetMetamodel(null, msgs); | 821 | { |
822 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | 822 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, oldTargetStatisticsFile, newTargetStatisticsFile); |
823 | return basicSetPartialModel(null, msgs); | 823 | if (msgs == null) msgs = notification; else msgs.add(notification); |
824 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | 824 | } |
825 | return basicSetPatterns(null, msgs); | 825 | return msgs; |
826 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | 826 | } |
827 | return basicSetScope(null, msgs); | 827 | |
828 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 828 | /** |
829 | return basicSetConfig(null, msgs); | 829 | * <!-- begin-user-doc --> |
830 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 830 | * <!-- end-user-doc --> |
831 | return basicSetDebugFolder(null, msgs); | 831 | * @generated |
832 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | 832 | */ |
833 | return basicSetTargetLogFile(null, msgs); | 833 | @Override |
834 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 834 | public void setTargetStatisticsFile(File newTargetStatisticsFile) |
835 | return basicSetTargetStatisticsFile(null, msgs); | 835 | { |
836 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | 836 | if (newTargetStatisticsFile != targetStatisticsFile) |
837 | return basicSetTagetFolder(null, msgs); | 837 | { |
838 | } | 838 | NotificationChain msgs = null; |
839 | return super.eInverseRemove(otherEnd, featureID, msgs); | 839 | if (targetStatisticsFile != null) |
840 | } | 840 | msgs = ((InternalEObject)targetStatisticsFile).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, null, msgs); |
841 | 841 | if (newTargetStatisticsFile != null) | |
842 | /** | 842 | msgs = ((InternalEObject)newTargetStatisticsFile).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, null, msgs); |
843 | * <!-- begin-user-doc --> | 843 | msgs = basicSetTargetStatisticsFile(newTargetStatisticsFile, msgs); |
844 | * <!-- end-user-doc --> | 844 | if (msgs != null) msgs.dispatch(); |
845 | * @generated | 845 | } |
846 | */ | 846 | else if (eNotificationRequired()) |
847 | @Override | 847 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, newTargetStatisticsFile, newTargetStatisticsFile)); |
848 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 848 | } |
849 | { | 849 | |
850 | switch (featureID) | 850 | /** |
851 | { | 851 | * <!-- begin-user-doc --> |
852 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | 852 | * <!-- end-user-doc --> |
853 | return getMetamodel(); | 853 | * @generated |
854 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | 854 | */ |
855 | return getPartialModel(); | 855 | @Override |
856 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | 856 | public File getTagetFolder() |
857 | return getPatterns(); | 857 | { |
858 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | 858 | return tagetFolder; |
859 | return getScope(); | 859 | } |
860 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | 860 | |
861 | return isNumberSpecified(); | 861 | /** |
862 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | 862 | * <!-- begin-user-doc --> |
863 | return getNumber(); | 863 | * <!-- end-user-doc --> |
864 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | 864 | * @generated |
865 | return isRunSpecified(); | 865 | */ |
866 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | 866 | public NotificationChain basicSetTagetFolder(File newTagetFolder, NotificationChain msgs) |
867 | return getRuns(); | 867 | { |
868 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | 868 | File oldTagetFolder = tagetFolder; |
869 | return getSolver(); | 869 | tagetFolder = newTagetFolder; |
870 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 870 | if (eNotificationRequired()) |
871 | return getConfig(); | 871 | { |
872 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 872 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, oldTagetFolder, newTagetFolder); |
873 | return getDebugFolder(); | 873 | if (msgs == null) msgs = notification; else msgs.add(notification); |
874 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | 874 | } |
875 | return getTargetLogFile(); | 875 | return msgs; |
876 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 876 | } |
877 | return getTargetStatisticsFile(); | 877 | |
878 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | 878 | /** |
879 | return getTagetFolder(); | 879 | * <!-- begin-user-doc --> |
880 | } | 880 | * <!-- end-user-doc --> |
881 | return super.eGet(featureID, resolve, coreType); | 881 | * @generated |
882 | } | 882 | */ |
883 | 883 | @Override | |
884 | /** | 884 | public void setTagetFolder(File newTagetFolder) |
885 | * <!-- begin-user-doc --> | 885 | { |
886 | * <!-- end-user-doc --> | 886 | if (newTagetFolder != tagetFolder) |
887 | * @generated | 887 | { |
888 | */ | 888 | NotificationChain msgs = null; |
889 | @Override | 889 | if (tagetFolder != null) |
890 | public void eSet(int featureID, Object newValue) | 890 | msgs = ((InternalEObject)tagetFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); |
891 | { | 891 | if (newTagetFolder != null) |
892 | switch (featureID) | 892 | msgs = ((InternalEObject)newTagetFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); |
893 | { | 893 | msgs = basicSetTagetFolder(newTagetFolder, msgs); |
894 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | 894 | if (msgs != null) msgs.dispatch(); |
895 | setMetamodel((Metamodel)newValue); | 895 | } |
896 | return; | 896 | else if (eNotificationRequired()) |
897 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | 897 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, newTagetFolder, newTagetFolder)); |
898 | setPartialModel((PartialModel)newValue); | 898 | } |
899 | return; | 899 | |
900 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | 900 | /** |
901 | setPatterns((GraphPattern)newValue); | 901 | * <!-- begin-user-doc --> |
902 | return; | 902 | * <!-- end-user-doc --> |
903 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | 903 | * @generated |
904 | setScope((Scope)newValue); | 904 | */ |
905 | return; | 905 | @Override |
906 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | 906 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) |
907 | setNumberSpecified((Boolean)newValue); | 907 | { |
908 | return; | 908 | switch (featureID) |
909 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | 909 | { |
910 | setNumber((Integer)newValue); | 910 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: |
911 | return; | 911 | return basicSetMetamodel(null, msgs); |
912 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | 912 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: |
913 | setRunSpecified((Boolean)newValue); | 913 | return basicSetPartialModel(null, msgs); |
914 | return; | 914 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: |
915 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | 915 | return basicSetPatterns(null, msgs); |
916 | setRuns((Integer)newValue); | 916 | case ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES: |
917 | return; | 917 | return basicSetObjectives(null, msgs); |
918 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | 918 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: |
919 | setSolver((Solver)newValue); | 919 | return basicSetScope(null, msgs); |
920 | return; | 920 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: |
921 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 921 | return basicSetConfig(null, msgs); |
922 | setConfig((Config)newValue); | 922 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: |
923 | return; | 923 | return basicSetDebugFolder(null, msgs); |
924 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 924 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: |
925 | setDebugFolder((File)newValue); | 925 | return basicSetTargetLogFile(null, msgs); |
926 | return; | 926 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: |
927 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | 927 | return basicSetTargetStatisticsFile(null, msgs); |
928 | setTargetLogFile((File)newValue); | 928 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: |
929 | return; | 929 | return basicSetTagetFolder(null, msgs); |
930 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 930 | } |
931 | setTargetStatisticsFile((File)newValue); | 931 | return super.eInverseRemove(otherEnd, featureID, msgs); |
932 | return; | 932 | } |
933 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | 933 | |
934 | setTagetFolder((File)newValue); | 934 | /** |
935 | return; | 935 | * <!-- begin-user-doc --> |
936 | } | 936 | * <!-- end-user-doc --> |
937 | super.eSet(featureID, newValue); | 937 | * @generated |
938 | } | 938 | */ |
939 | 939 | @Override | |
940 | /** | 940 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
941 | * <!-- begin-user-doc --> | 941 | { |
942 | * <!-- end-user-doc --> | 942 | switch (featureID) |
943 | * @generated | 943 | { |
944 | */ | 944 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: |
945 | @Override | 945 | return getMetamodel(); |
946 | public void eUnset(int featureID) | 946 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: |
947 | { | 947 | return getPartialModel(); |
948 | switch (featureID) | 948 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: |
949 | { | 949 | return getPatterns(); |
950 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | 950 | case ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES: |
951 | setMetamodel((Metamodel)null); | 951 | return getObjectives(); |
952 | return; | 952 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: |
953 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | 953 | return getScope(); |
954 | setPartialModel((PartialModel)null); | 954 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: |
955 | return; | 955 | return isNumberSpecified(); |
956 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | 956 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: |
957 | setPatterns((GraphPattern)null); | 957 | return getNumber(); |
958 | return; | 958 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: |
959 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | 959 | return isRunSpecified(); |
960 | setScope((Scope)null); | 960 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: |
961 | return; | 961 | return getRuns(); |
962 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | 962 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: |
963 | setNumberSpecified(NUMBER_SPECIFIED_EDEFAULT); | 963 | return getSolver(); |
964 | return; | 964 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: |
965 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | 965 | return getConfig(); |
966 | setNumber(NUMBER_EDEFAULT); | 966 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: |
967 | return; | 967 | return getDebugFolder(); |
968 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | 968 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: |
969 | setRunSpecified(RUN_SPECIFIED_EDEFAULT); | 969 | return getTargetLogFile(); |
970 | return; | 970 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: |
971 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | 971 | return getTargetStatisticsFile(); |
972 | setRuns(RUNS_EDEFAULT); | 972 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: |
973 | return; | 973 | return getTagetFolder(); |
974 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | 974 | } |
975 | setSolver(SOLVER_EDEFAULT); | 975 | return super.eGet(featureID, resolve, coreType); |
976 | return; | 976 | } |
977 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 977 | |
978 | setConfig((Config)null); | 978 | /** |
979 | return; | 979 | * <!-- begin-user-doc --> |
980 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 980 | * <!-- end-user-doc --> |
981 | setDebugFolder((File)null); | 981 | * @generated |
982 | return; | 982 | */ |
983 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | 983 | @Override |
984 | setTargetLogFile((File)null); | 984 | public void eSet(int featureID, Object newValue) |
985 | return; | 985 | { |
986 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 986 | switch (featureID) |
987 | setTargetStatisticsFile((File)null); | 987 | { |
988 | return; | 988 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: |
989 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | 989 | setMetamodel((Metamodel)newValue); |
990 | setTagetFolder((File)null); | 990 | return; |
991 | return; | 991 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: |
992 | } | 992 | setPartialModel((PartialModel)newValue); |
993 | super.eUnset(featureID); | 993 | return; |
994 | } | 994 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: |
995 | 995 | setPatterns((GraphPattern)newValue); | |
996 | /** | 996 | return; |
997 | * <!-- begin-user-doc --> | 997 | case ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES: |
998 | * <!-- end-user-doc --> | 998 | setObjectives((Objective)newValue); |
999 | * @generated | 999 | return; |
1000 | */ | 1000 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: |
1001 | @Override | 1001 | setScope((Scope)newValue); |
1002 | public boolean eIsSet(int featureID) | 1002 | return; |
1003 | { | 1003 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: |
1004 | switch (featureID) | 1004 | setNumberSpecified((Boolean)newValue); |
1005 | { | 1005 | return; |
1006 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | 1006 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: |
1007 | return metamodel != null; | 1007 | setNumber((Integer)newValue); |
1008 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | 1008 | return; |
1009 | return partialModel != null; | 1009 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: |
1010 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | 1010 | setRunSpecified((Boolean)newValue); |
1011 | return patterns != null; | 1011 | return; |
1012 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | 1012 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: |
1013 | return scope != null; | 1013 | setRuns((Integer)newValue); |
1014 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | 1014 | return; |
1015 | return numberSpecified != NUMBER_SPECIFIED_EDEFAULT; | 1015 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: |
1016 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | 1016 | setSolver((Solver)newValue); |
1017 | return number != NUMBER_EDEFAULT; | 1017 | return; |
1018 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | 1018 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: |
1019 | return runSpecified != RUN_SPECIFIED_EDEFAULT; | 1019 | setConfig((Config)newValue); |
1020 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | 1020 | return; |
1021 | return runs != RUNS_EDEFAULT; | 1021 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: |
1022 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | 1022 | setDebugFolder((File)newValue); |
1023 | return solver != SOLVER_EDEFAULT; | 1023 | return; |
1024 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 1024 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: |
1025 | return config != null; | 1025 | setTargetLogFile((File)newValue); |
1026 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 1026 | return; |
1027 | return debugFolder != null; | 1027 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: |
1028 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | 1028 | setTargetStatisticsFile((File)newValue); |
1029 | return targetLogFile != null; | 1029 | return; |
1030 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 1030 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: |
1031 | return targetStatisticsFile != null; | 1031 | setTagetFolder((File)newValue); |
1032 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | 1032 | return; |
1033 | return tagetFolder != null; | 1033 | } |
1034 | } | 1034 | super.eSet(featureID, newValue); |
1035 | return super.eIsSet(featureID); | 1035 | } |
1036 | } | 1036 | |
1037 | 1037 | /** | |
1038 | /** | 1038 | * <!-- begin-user-doc --> |
1039 | * <!-- begin-user-doc --> | 1039 | * <!-- end-user-doc --> |
1040 | * <!-- end-user-doc --> | 1040 | * @generated |
1041 | * @generated | 1041 | */ |
1042 | */ | 1042 | @Override |
1043 | @Override | 1043 | public void eUnset(int featureID) |
1044 | public String toString() | 1044 | { |
1045 | { | 1045 | switch (featureID) |
1046 | if (eIsProxy()) return super.toString(); | 1046 | { |
1047 | 1047 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | |
1048 | StringBuffer result = new StringBuffer(super.toString()); | 1048 | setMetamodel((Metamodel)null); |
1049 | result.append(" (numberSpecified: "); | 1049 | return; |
1050 | result.append(numberSpecified); | 1050 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: |
1051 | result.append(", number: "); | 1051 | setPartialModel((PartialModel)null); |
1052 | result.append(number); | 1052 | return; |
1053 | result.append(", runSpecified: "); | 1053 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: |
1054 | result.append(runSpecified); | 1054 | setPatterns((GraphPattern)null); |
1055 | result.append(", runs: "); | 1055 | return; |
1056 | result.append(runs); | 1056 | case ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES: |
1057 | result.append(", solver: "); | 1057 | setObjectives((Objective)null); |
1058 | result.append(solver); | 1058 | return; |
1059 | result.append(')'); | 1059 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: |
1060 | return result.toString(); | 1060 | setScope((Scope)null); |
1061 | } | 1061 | return; |
1062 | 1062 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | |
1063 | } //GenerationTaskImpl | 1063 | setNumberSpecified(NUMBER_SPECIFIED_EDEFAULT); |
1064 | return; | ||
1065 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | ||
1066 | setNumber(NUMBER_EDEFAULT); | ||
1067 | return; | ||
1068 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | ||
1069 | setRunSpecified(RUN_SPECIFIED_EDEFAULT); | ||
1070 | return; | ||
1071 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | ||
1072 | setRuns(RUNS_EDEFAULT); | ||
1073 | return; | ||
1074 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | ||
1075 | setSolver(SOLVER_EDEFAULT); | ||
1076 | return; | ||
1077 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | ||
1078 | setConfig((Config)null); | ||
1079 | return; | ||
1080 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | ||
1081 | setDebugFolder((File)null); | ||
1082 | return; | ||
1083 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | ||
1084 | setTargetLogFile((File)null); | ||
1085 | return; | ||
1086 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | ||
1087 | setTargetStatisticsFile((File)null); | ||
1088 | return; | ||
1089 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
1090 | setTagetFolder((File)null); | ||
1091 | return; | ||
1092 | } | ||
1093 | super.eUnset(featureID); | ||
1094 | } | ||
1095 | |||
1096 | /** | ||
1097 | * <!-- begin-user-doc --> | ||
1098 | * <!-- end-user-doc --> | ||
1099 | * @generated | ||
1100 | */ | ||
1101 | @Override | ||
1102 | public boolean eIsSet(int featureID) | ||
1103 | { | ||
1104 | switch (featureID) | ||
1105 | { | ||
1106 | case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: | ||
1107 | return metamodel != null; | ||
1108 | case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: | ||
1109 | return partialModel != null; | ||
1110 | case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: | ||
1111 | return patterns != null; | ||
1112 | case ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES: | ||
1113 | return objectives != null; | ||
1114 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | ||
1115 | return scope != null; | ||
1116 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | ||
1117 | return numberSpecified != NUMBER_SPECIFIED_EDEFAULT; | ||
1118 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | ||
1119 | return number != NUMBER_EDEFAULT; | ||
1120 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | ||
1121 | return runSpecified != RUN_SPECIFIED_EDEFAULT; | ||
1122 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | ||
1123 | return runs != RUNS_EDEFAULT; | ||
1124 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | ||
1125 | return solver != SOLVER_EDEFAULT; | ||
1126 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | ||
1127 | return config != null; | ||
1128 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | ||
1129 | return debugFolder != null; | ||
1130 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | ||
1131 | return targetLogFile != null; | ||
1132 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | ||
1133 | return targetStatisticsFile != null; | ||
1134 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
1135 | return tagetFolder != null; | ||
1136 | } | ||
1137 | return super.eIsSet(featureID); | ||
1138 | } | ||
1139 | |||
1140 | /** | ||
1141 | * <!-- begin-user-doc --> | ||
1142 | * <!-- end-user-doc --> | ||
1143 | * @generated | ||
1144 | */ | ||
1145 | @Override | ||
1146 | public String toString() | ||
1147 | { | ||
1148 | if (eIsProxy()) return super.toString(); | ||
1149 | |||
1150 | StringBuilder result = new StringBuilder(super.toString()); | ||
1151 | result.append(" (numberSpecified: "); | ||
1152 | result.append(numberSpecified); | ||
1153 | result.append(", number: "); | ||
1154 | result.append(number); | ||
1155 | result.append(", runSpecified: "); | ||
1156 | result.append(runSpecified); | ||
1157 | result.append(", runs: "); | ||
1158 | result.append(runs); | ||
1159 | result.append(", solver: "); | ||
1160 | result.append(solver); | ||
1161 | result.append(')'); | ||
1162 | return result.toString(); | ||
1163 | } | ||
1164 | |||
1165 | } //GenerationTaskImpl | ||