1 package org.andromda.metafacades.emf.uml22;
2
3 import java.util.Collection;
4 import org.apache.commons.collections.CollectionUtils;
5
6
7
8
9
10
11 public class LinkFacadeLogicImpl extends LinkFacadeLogic
12 {
13 private static final long serialVersionUID = -3677987842769687470L;
14
15
16
17
18
19 public LinkFacadeLogicImpl(final LinkInstance metaObject, final String context)
20 {
21 super(metaObject, context);
22 }
23
24
25
26
27 @Override
28 protected Collection<LinkEnd> handleGetLinkEnds()
29 {
30 return CollectionUtils.collect(this.metaObject.getSlots(), UmlUtilities.ELEMENT_TRANSFORMER);
31 }
32 }