Represents a Join table in Grails mapping. It has a name which represents the name of the table, a key for the primary key and a column which is the other side of the join.
| Type | Name and description |
|---|---|
ColumnConfig |
columnThe child id column |
ColumnConfig |
keyThe foreign key column |
| Type | Name and description |
|---|---|
JoinTable |
column(groovy.lang.Closure columnConfig)Configures the column |
JoinTable |
column(java.lang.String columnName)Configures the column |
JoinTable |
key(groovy.lang.Closure columnConfig)Configures the column |
JoinTable |
key(java.lang.String columnName)Configures the column |
| Methods inherited from class | Name |
|---|---|
class Table |
configureExisting, configureExisting, configureNew |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The child id column
The foreign key column
Configures the column
columnConfig - The column configConfigures the column
columnName - the column nameConfigures the column
columnConfig - The column configConfigures the column
columnName - the column name