001// license-header java merge-point
002//
003// Attention: generated code (by Metafacade.vsl) - do not modify!
004//
005package org.andromda.metafacades.uml;
006
007/**
008 * Represents an association between entities.
009 *
010 * Metafacade interface to be used by AndroMDA cartridges.
011 */
012public interface EntityAssociation
013    extends AssociationFacade
014{
015    /**
016     * Indicates the metafacade type (used for metafacade mappings).
017     *
018     * @return boolean always <code>true</code>
019     */
020    public boolean isEntityAssociationMetaType();
021
022    /**
023     * The name of the schema that contains the database table
024     * @return String
025     */
026    public String getSchema();
027
028    /**
029     * The name of the table if this is a many-to-many association.  Otherwise it just returns null
030     * if not part of a many-to-many association.
031     * @return String
032     */
033    public String getTableName();
034
035    /**
036     * is this an EntityAssociation?
037     * @return boolean
038     */
039    public boolean isEntityAssociation();
040}