View Javadoc

1   //
2   // Attention: generated code (by Metafacade.vsl) - do not modify!
3   //
4   package org.andromda.metafacades.uml;
5   
6   /***
7    * <p>
8    * Represents an association end of an entity.
9    * </p>
10   *
11   * Metafacade interface to be used by AndroMDA cartridges.
12   */
13  public interface EntityAssociationEnd
14      extends org.andromda.metafacades.uml.AssociationEndFacade
15  {
16  
17      /***
18       * Indicates the metafacade type (used for metafacade mappings).
19       *
20       * @return always <code>true</code>
21       */
22      public boolean isEntityAssociationEndMetaType();
23  
24     /***
25      * <p>
26      * The name of the index to create on a column that persists the
27      * foreign key attribute.
28      * </p>
29      */
30      public java.lang.String getColumnIndex();
31  
32     /***
33      * <p>
34      * The name of the column that makes up the foreign key.
35      * </p>
36      */
37      public java.lang.String getColumnName();
38  
39     /***
40      * <p>
41      * The name of the foreign key constraint to use for databases.
42      * </p>
43      */
44      public java.lang.String getForeignKeyConstraintName();
45  
46     /***
47      * <p>
48      * The current foreign key suffix specified for this entity
49      * association end facade.
50      * </p>
51      */
52      public java.lang.String getForeignKeySuffix();
53  
54     /***
55      * <p>
56      * The SQL type for this the foreign key column of this association
57      * end.
58      * </p>
59      */
60      public java.lang.String getSqlType();
61  
62     /***
63      * <p>
64      * Indicates whether or not a foreign identifier should be used for
65      * the entity that owns this association end.  This would only make
66      * sense in the case of a child in a one-to-one parent-child
67      * association.  If this flag is true, then the identifier of this
68      * entity should also be used as the foreign key to the related
69      * parent entity.
70      * </p>
71      */
72      public boolean isForeignIdentifier();
73  
74     /***
75      * <p>
76      * True if the associationEnd is marked with identifiers
77      * stereotype, false otherwise.
78      * </p>
79      */
80      public boolean isIdentifiersPresent();
81  
82     /***
83      * <p>
84      * Indicates this association end should be ignored by the
85      * persistence layer.
86      * </p>
87      */
88      public boolean isTransient();
89  
90  }