@groovy.transform.CompileStatic @groovy.transform.builder.Builder(builderStrategy: SimpleStrategy, prefix: ) class DiscriminatorConfig extends java.lang.Object
Configurations the discriminator
Type | Name and description |
---|---|
ColumnConfig |
column The column configuration |
java.lang.String |
formula The formula to use |
java.lang.Boolean |
insertable Whether it is insertable |
java.lang.Object |
type The type |
java.lang.String |
value The 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#wait(long), java.lang.Object#wait(long, int), 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 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