1 package org.andromda.metafacades.emf.uml22;
2
3 import java.util.List;
4 import org.eclipse.uml2.uml.Extend;
5 import org.eclipse.uml2.uml.ExtensionPoint;
6 import org.eclipse.uml2.uml.UseCase;
7
8
9
10
11
12
13 public class ExtendFacadeLogicImpl
14 extends ExtendFacadeLogic
15 {
16 private static final long serialVersionUID = 6629935453907047694L;
17
18
19
20
21
22 public ExtendFacadeLogicImpl(
23 final Extend metaObject,
24 final String context)
25 {
26 super(metaObject, context);
27 }
28
29
30
31
32 @Override
33 protected UseCase handleGetBase()
34 {
35 return this.metaObject.getExtendedCase();
36 }
37
38
39
40
41 @Override
42 protected List<ExtensionPoint> handleGetExtensionPoints()
43 {
44 return this.metaObject.getExtensionLocations();
45 }
46
47
48
49
50 @Override
51 protected UseCase handleGetExtension()
52 {
53 return this.metaObject.getExtension();
54 }
55 }