View Javadoc
1   package org.andromda.metafacades.uml14;
2   
3   import org.omg.uml.foundation.core.GeneralizableElement;
4   import org.omg.uml.foundation.core.Generalization;
5   
6   /**
7    * MetafacadeLogic implementation.
8    *
9    * @see org.andromda.metafacades.uml.GeneralizationFacade
10   * @author Bob Fields
11   */
12  public class GeneralizationFacadeLogicImpl
13      extends GeneralizationFacadeLogic
14  {
15      private static final long serialVersionUID = 5541756660727351738L;
16  
17      /**
18       * @param metaObject
19       * @param context
20       */
21      public GeneralizationFacadeLogicImpl(
22          Generalization metaObject,
23          String context)
24      {
25          super(metaObject, context);
26      }
27  
28      // ------------- relations ------------------
29  
30      /**
31       * @see org.andromda.metafacades.uml.GeneralizationFacade#getChild()
32       */
33      @Override
34      public GeneralizableElement handleGetChild()
35      {
36          return metaObject.getChild();
37      }
38  
39      /**
40       * @see org.andromda.metafacades.uml.GeneralizationFacade#getParent()
41       */
42      @Override
43      public GeneralizableElement handleGetParent()
44      {
45          return metaObject.getParent();
46      }
47  }