1
2
3
4 package org.andromda.metafacades.uml;
5
6 /***
7 * <p>
8 * Represents an association between entities.
9 * </p>
10 *
11 * Metafacade interface to be used by AndroMDA cartridges.
12 */
13 public interface EntityAssociation
14 extends org.andromda.metafacades.uml.AssociationFacade
15 {
16
17 /***
18 * Indicates the metafacade type (used for metafacade mappings).
19 *
20 * @return always <code>true</code>
21 */
22 public boolean isEntityAssociationMetaType();
23
24 /***
25 * <p>
26 * The name of the schema that contains the database table
27 * </p>
28 */
29 public java.lang.String getSchema();
30
31 /***
32 * <p>
33 * The name of the table if this is a many-to-many association.
34 * Otherwise it just returns null if not part of a many-to-many
35 * association.
36 * </p>
37 */
38 public java.lang.String getTableName();
39
40 /***
41 * <p>
42 * is this an EntityAssociation?
43 * </p>
44 */
45 public boolean isEntityAssociation();
46
47 }