diff options
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java')
-rw-r--r-- | Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java | 186 |
1 files changed, 186 insertions, 0 deletions
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java index d4be344f..1aa8b67a 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -221,3 +222,188 @@ public class YakindummFactoryImpl extends EFactoryImpl implements YakindummFacto | |||
221 | } | 222 | } |
222 | 223 | ||
223 | } //YakindummFactoryImpl | 224 | } //YakindummFactoryImpl |
225 | ======= | ||
226 | /** | ||
227 | */ | ||
228 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
229 | |||
230 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*; | ||
231 | |||
232 | import org.eclipse.emf.ecore.EClass; | ||
233 | import org.eclipse.emf.ecore.EObject; | ||
234 | import org.eclipse.emf.ecore.EPackage; | ||
235 | |||
236 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
237 | |||
238 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * An implementation of the model <b>Factory</b>. | ||
243 | * <!-- end-user-doc --> | ||
244 | * @generated | ||
245 | */ | ||
246 | public class YakinduFactoryImpl extends EFactoryImpl implements YakinduFactory { | ||
247 | /** | ||
248 | * Creates the default factory implementation. | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | public static YakinduFactory init() { | ||
254 | try { | ||
255 | YakinduFactory theYakinduFactory = (YakinduFactory)EPackage.Registry.INSTANCE.getEFactory(YakinduPackage.eNS_URI); | ||
256 | if (theYakinduFactory != null) { | ||
257 | return theYakinduFactory; | ||
258 | } | ||
259 | } | ||
260 | catch (Exception exception) { | ||
261 | EcorePlugin.INSTANCE.log(exception); | ||
262 | } | ||
263 | return new YakinduFactoryImpl(); | ||
264 | } | ||
265 | |||
266 | /** | ||
267 | * Creates an instance of the factory. | ||
268 | * <!-- begin-user-doc --> | ||
269 | * <!-- end-user-doc --> | ||
270 | * @generated | ||
271 | */ | ||
272 | public YakinduFactoryImpl() { | ||
273 | super(); | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | @Override | ||
282 | public EObject create(EClass eClass) { | ||
283 | switch (eClass.getClassifierID()) { | ||
284 | case YakinduPackage.REGION: return createRegion(); | ||
285 | case YakinduPackage.TRANSITION: return createTransition(); | ||
286 | case YakinduPackage.STATECHART: return createStatechart(); | ||
287 | case YakinduPackage.ENTRY: return createEntry(); | ||
288 | case YakinduPackage.SYNCHRONIZATION: return createSynchronization(); | ||
289 | case YakinduPackage.STATE: return createState(); | ||
290 | case YakinduPackage.CHOICE: return createChoice(); | ||
291 | case YakinduPackage.EXIT: return createExit(); | ||
292 | case YakinduPackage.FINAL_STATE: return createFinalState(); | ||
293 | default: | ||
294 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
295 | } | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | public Region createRegion() { | ||
304 | RegionImpl region = new RegionImpl(); | ||
305 | return region; | ||
306 | } | ||
307 | |||
308 | /** | ||
309 | * <!-- begin-user-doc --> | ||
310 | * <!-- end-user-doc --> | ||
311 | * @generated | ||
312 | */ | ||
313 | public Transition createTransition() { | ||
314 | TransitionImpl transition = new TransitionImpl(); | ||
315 | return transition; | ||
316 | } | ||
317 | |||
318 | /** | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | */ | ||
323 | public Statechart createStatechart() { | ||
324 | StatechartImpl statechart = new StatechartImpl(); | ||
325 | return statechart; | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | */ | ||
333 | public Entry createEntry() { | ||
334 | EntryImpl entry = new EntryImpl(); | ||
335 | return entry; | ||
336 | } | ||
337 | |||
338 | /** | ||
339 | * <!-- begin-user-doc --> | ||
340 | * <!-- end-user-doc --> | ||
341 | * @generated | ||
342 | */ | ||
343 | public Synchronization createSynchronization() { | ||
344 | SynchronizationImpl synchronization = new SynchronizationImpl(); | ||
345 | return synchronization; | ||
346 | } | ||
347 | |||
348 | /** | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | */ | ||
353 | public State createState() { | ||
354 | StateImpl state = new StateImpl(); | ||
355 | return state; | ||
356 | } | ||
357 | |||
358 | /** | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @generated | ||
362 | */ | ||
363 | public Choice createChoice() { | ||
364 | ChoiceImpl choice = new ChoiceImpl(); | ||
365 | return choice; | ||
366 | } | ||
367 | |||
368 | /** | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @generated | ||
372 | */ | ||
373 | public Exit createExit() { | ||
374 | ExitImpl exit = new ExitImpl(); | ||
375 | return exit; | ||
376 | } | ||
377 | |||
378 | /** | ||
379 | * <!-- begin-user-doc --> | ||
380 | * <!-- end-user-doc --> | ||
381 | * @generated | ||
382 | */ | ||
383 | public FinalState createFinalState() { | ||
384 | FinalStateImpl finalState = new FinalStateImpl(); | ||
385 | return finalState; | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * <!-- begin-user-doc --> | ||
390 | * <!-- end-user-doc --> | ||
391 | * @generated | ||
392 | */ | ||
393 | public YakinduPackage getYakinduPackage() { | ||
394 | return (YakinduPackage)getEPackage(); | ||
395 | } | ||
396 | |||
397 | /** | ||
398 | * <!-- begin-user-doc --> | ||
399 | * <!-- end-user-doc --> | ||
400 | * @deprecated | ||
401 | * @generated | ||
402 | */ | ||
403 | @Deprecated | ||
404 | public static YakinduPackage getPackage() { | ||
405 | return YakinduPackage.eINSTANCE; | ||
406 | } | ||
407 | |||
408 | } //YakinduFactoryImpl | ||
409 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java | ||