1
2
3
4 package org.andromda.metafacades.uml;
5
6 /***
7 *
8 *
9 * Metafacade interface to be used by AndroMDA cartridges.
10 */
11 public interface AssociationFacade
12 extends org.andromda.metafacades.uml.GeneralizableElementFacade
13 {
14
15 /***
16 * Indicates the metafacade type (used for metafacade mappings).
17 *
18 * @return always <code>true</code>
19 */
20 public boolean isAssociationFacadeMetaType();
21
22 /***
23 * <p>
24 * The first association end.
25 * </p>
26 */
27 public org.andromda.metafacades.uml.AssociationEndFacade getAssociationEndA();
28
29 /***
30 * <p>
31 * The second association end.
32 * </p>
33 */
34 public org.andromda.metafacades.uml.AssociationEndFacade getAssociationEndB();
35
36 /***
37 * <p>
38 * Gets the association ends belonging to this association.
39 * </p>
40 */
41 public java.util.List getAssociationEnds();
42
43 /***
44 * <p>
45 * A name suited for naming this relationship. This name will be
46 * constructed from both association ends.
47 * </p>
48 */
49 public java.lang.String getRelationName();
50
51 /***
52 * <p>
53 * Indicates if this association is 'abstract'.
54 * </p>
55 */
56 public boolean isAbstract();
57
58 /***
59 *
60 */
61 public boolean isAssociationClass();
62
63 /***
64 * <p>
65 * True if this association cannot be extended and represent a leaf
66 * in the inheritance tree.
67 * </p>
68 */
69 public boolean isLeaf();
70
71 /***
72 * <p>
73 * Indicates whether or not this associations represents a
74 * many-to-many relation.
75 * </p>
76 */
77 public boolean isMany2Many();
78
79 }