View Javadoc
1   package org.andromda.metafacades.emf.uml22;
2   
3   import org.eclipse.uml2.uml.Include;
4   
5   /**
6    * MetafacadeLogic implementation for org.andromda.metafacades.uml.IncludeFacade.
7    *
8    * @see org.andromda.metafacades.uml.IncludeFacade
9    */
10  public class IncludeFacadeLogicImpl
11      extends IncludeFacadeLogic
12  {
13      private static final long serialVersionUID = 34L;
14      /**
15       * @param metaObject
16       * @param context
17       */
18      public IncludeFacadeLogicImpl(
19          final Include metaObject,
20          final String context)
21      {
22          super(metaObject, context);
23      }
24  
25      /**
26       * @see org.andromda.metafacades.uml.IncludeFacade#getBase()
27       */
28      @Override
29      protected Object handleGetBase()
30      {
31          return this.metaObject.getIncludingCase();
32      }
33  
34      /**
35       * @see org.andromda.metafacades.uml.IncludeFacade#getAddition()
36       */
37      @Override
38      protected Object handleGetAddition()
39      {
40          return this.metaObject.getAddition();
41      }
42  }