View Javadoc
1   package org.andromda.metafacades.emf.uml22;
2   
3   import java.util.Collection;
4   import org.andromda.metafacades.uml.AssociationEndFacade;
5   import org.apache.commons.collections.CollectionUtils;
6   import org.eclipse.uml2.uml.AssociationClass;
7   
8   /**
9    * MetafacadeLogic implementation for
10   * org.andromda.metafacades.uml.AssociationClassFacade.
11   *
12   * @see org.andromda.metafacades.uml.AssociationClassFacade
13   */
14  public class AssociationClassFacadeLogicImpl
15      extends AssociationClassFacadeLogic
16  {
17      private static final long serialVersionUID = 34L;
18      /**
19       * Public constructor for AssociationClassFacadeLogicImpl
20       * @param metaObject
21       * @param context
22       * @see org.andromda.metafacades.uml.AssociationClassFacade
23       */
24      public AssociationClassFacadeLogicImpl(
25          final AssociationClass metaObject,
26          final String context)
27      {
28          super(metaObject, context);
29      }
30  
31      /**
32       * @see org.andromda.metafacades.uml.AssociationClassFacade#getConnectionAssociationEnds()
33       */
34      @Override
35      protected Collection<AssociationEndFacade> handleGetConnectionAssociationEnds()
36      {
37          return CollectionUtils.collect(
38                  this.metaObject.getMemberEnds(),
39                  UmlUtilities.ELEMENT_TRANSFORMER);
40      }
41  }