View Javadoc
1   package org.andromda.metafacades.uml14;
2   
3   import java.util.List;
4   import org.omg.uml.behavioralelements.usecases.UseCase;
5   import org.omg.uml.behavioralelements.usecases.Extend;
6   
7   /**
8    * MetafacadeLogic implementation for org.andromda.metafacades.uml.ExtendFacade.
9    *
10   * @see org.andromda.metafacades.uml.ExtendFacade
11   * @author Bob Fields
12   */
13  public class ExtendFacadeLogicImpl
14      extends ExtendFacadeLogic
15  {
16      private static final long serialVersionUID = 6837436012981404087L;
17  
18      /**
19       * @param metaObject
20       * @param context
21       */
22      public ExtendFacadeLogicImpl (Extend metaObject, String context)
23      {
24          super (metaObject, context);
25      }
26  
27      /**
28       * @see org.andromda.metafacades.uml.ExtendFacade#getBase()
29       */
30      @Override
31      protected UseCase handleGetBase()
32      {
33          return metaObject.getBase();
34      }
35  
36      /**
37       * @see org.andromda.metafacades.uml.ExtendFacade#getExtensionPoints()
38       */
39      @Override
40      protected List handleGetExtensionPoints()
41      {
42          return metaObject.getExtensionPoint();
43      }
44  
45      /**
46       * @see org.andromda.metafacades.uml.ExtendFacade#getExtension()
47       */
48      @Override
49      protected UseCase handleGetExtension()
50      {
51          return metaObject.getExtension();
52      }
53  }