@groovy.transform.CompileStatic @groovy.transform.builder.Builder(builderStrategy: SimpleStrategy, prefix: ) class DiscriminatorConfig extends java.lang.Object
Configurations the discriminator
| Type | Name and description |
|---|---|
ColumnConfig |
columnThe column configuration |
java.lang.String |
formulaThe formula to use |
java.lang.Boolean |
insertableWhether it is insertable |
java.lang.Object |
typeThe type |
java.lang.String |
valueThe discriminator value |
| Constructor and description |
|---|
DiscriminatorConfig() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
DiscriminatorConfig |
column(groovy.lang.Closure columnConfig)Configures the column |
|
void |
setInsert(boolean insertable)Whether it is insertable |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
The column configuration
The formula to use
Whether it is insertable
The type
The discriminator value
Configures the column
columnConfig - The column configWhether it is insertable
insertable - True if it is insertableGroovy Documentation