01: package org.andromda.metafacades.emf.uml2;
02:
03: import org.apache.commons.collections.CollectionUtils;
04:
05: /**
06: * MetafacadeLogic implementation for org.andromda.metafacades.uml.LinkFacade.
07: *
08: * @see org.andromda.metafacades.uml.LinkFacade
09: */
10: public class LinkFacadeLogicImpl extends LinkFacadeLogic {
11: public LinkFacadeLogicImpl(LinkInstance metaObject, String context) {
12: super (metaObject, context);
13: }
14:
15: /**
16: * @see org.andromda.metafacades.uml.LinkFacade#getLinkEnds()
17: */
18: protected java.util.Collection handleGetLinkEnds() {
19: return CollectionUtils.collect(this.metaObject.getSlots(),
20: UmlUtilities.ELEMENT_TRANSFORMER);
21: }
22: }
|