View Javadoc
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   /**
8    * Represents an association between entities.
9    *
10   * Metafacade interface to be used by AndroMDA cartridges.
11   */
12  public interface EntityAssociation
13      extends AssociationFacade
14  {
15      /**
16       * Indicates the metafacade type (used for metafacade mappings).
17       *
18       * @return boolean always <code>true</code>
19       */
20      public boolean isEntityAssociationMetaType();
21  
22      /**
23       * The name of the schema that contains the database table
24       * @return String
25       */
26      public String getSchema();
27  
28      /**
29       * The name of the table if this is a many-to-many association.  Otherwise it just returns null
30       * if not part of a many-to-many association.
31       * @return String
32       */
33      public String getTableName();
34  
35      /**
36       * is this an EntityAssociation?
37       * @return boolean
38       */
39      public boolean isEntityAssociation();
40  }