Modifier and Type | Method and Description |
---|---|
String |
getColumn()
Accessor for the discriminator column name
|
ColumnMetadata[] |
getColumns()
Accessor for all column(s) defined on the discriminator.
|
Indexed |
getIndexed()
Accessor for whether indexed (true|false|unique)
|
IndexMetadata |
getIndexMetadata()
Accessor for any index metadata for the discriminator.
|
int |
getNumberOfColumns()
Accessor for the number of columns defined for this discriminator.
|
DiscriminatorStrategy |
getStrategy()
Accessor for the discriminator strategy.
|
String |
getValue()
Accessor for the discriminator value (when using "value-map" strategy).
|
ColumnMetadata |
newColumnMetadata()
Add a new column for this discriminator.
|
IndexMetadata |
newIndexMetadata()
Method to set the index metadata for the discriminator.
|
DiscriminatorMetadata |
setColumn(String column)
Method to set the discriminator column.
|
DiscriminatorMetadata |
setIndexed(Indexed indexed)
Method to set whether indexed.
|
DiscriminatorMetadata |
setStrategy(DiscriminatorStrategy strategy)
Method to set the discriminator strategy.
|
DiscriminatorMetadata |
setValue(String val)
Method to set the discriminator value (when using "value-map" strategy).
|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
DiscriminatorMetadata setColumn(String column)
column
- Name of the discriminator columnString getColumn()
DiscriminatorMetadata setValue(String val)
val
- Value for the discriminator for this classString getValue()
DiscriminatorMetadata setStrategy(DiscriminatorStrategy strategy)
strategy
- The strategyDiscriminatorStrategy getStrategy()
DiscriminatorMetadata setIndexed(Indexed indexed)
indexed
- Whether indexed (true | false | unique)Indexed getIndexed()
ColumnMetadata[] getColumns()
ColumnMetadata newColumnMetadata()
int getNumberOfColumns()
IndexMetadata newIndexMetadata()
IndexMetadata getIndexMetadata()
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.