1 // license-header java merge-point
2 //
3 // Attention: generated code (by Metafacade.vsl) - do not modify!
4 //
5 package org.andromda.metafacades.uml;
6
7 import java.util.Collection;
8
9 /**
10 * Can be an AttributeLinkImpl or LinkEndImpl. A representation of the model object 'Slot'. A slot
11 * specifies that an entity modeled by an instance specification has a value or values for a
12 * specific structural feature.
13 *
14 * Metafacade interface to be used by AndroMDA cartridges.
15 */
16 public interface LinkEndFacade
17 extends ModelElementFacade
18 {
19 /**
20 * Indicates the metafacade type (used for metafacade mappings).
21 *
22 * @return boolean always <code>true</code>
23 */
24 public boolean isLinkEndFacadeMetaType();
25
26 /**
27 * The association end owned by this link.
28 * @return AssociationEndFacade
29 */
30 public AssociationEndFacade getAssociationEnd();
31
32 /**
33 * The first instance to which this link end is attached.
34 * @return InstanceFacade
35 */
36 public InstanceFacade getInstance();
37
38 /**
39 * The instances this link end is attached too. A link can have many instance values when its
40 * defining feature is an association end with a 'many' multiplicity.
41 * @return Collection<InstanceFacade>
42 */
43 public Collection<InstanceFacade> getInstances();
44
45 /**
46 * The link owning this link end.
47 * @return LinkFacade
48 */
49 public LinkFacade getLink();
50 }