Module eclipselink
Class TableValidationException.DifferentColumns.TypeDifference
java.lang.Object
org.eclipse.persistence.tools.schemaframework.TableValidationException.DifferentColumns.Difference
org.eclipse.persistence.tools.schemaframework.TableValidationException.DifferentColumns.TypeDifference
- Enclosing class:
TableValidationException.DifferentColumns
public static class TableValidationException.DifferentColumns.TypeDifference
extends TableValidationException.DifferentColumns.Difference
Column type difference description.
-
Method Summary
Modifier and TypeMethodDescriptionColumn type name from the database.Column type name from thejakarta.persistence.Entitymodel.<T extends TableValidationException.DifferentColumns.Difference>
TUnwrapTableValidationException.DifferentColumns.Differenceas specific subtype.Methods inherited from class org.eclipse.persistence.tools.schemaframework.TableValidationException.DifferentColumns.Difference
getColumnName, getType
-
Method Details
-
unwrap
Description copied from class:TableValidationException.DifferentColumns.DifferenceUnwrapTableValidationException.DifferentColumns.Differenceas specific subtype. The specificTableValidationException.DifferentColumns.Differencesubtype depends on theTableValidationException.DifferentColumns.Type.- Specified by:
unwrapin classTableValidationException.DifferentColumns.Difference- Type Parameters:
T- theTableValidationException.DifferentColumns.Differencesubtype class- Parameters:
cls- theTableValidationException.DifferentColumns.Differencespecific subtype matching theTableValidationException.DifferentColumns.Type.- Returns:
- the
TableValidationException.DifferentColumns.Differencecast to the specific subtype
-
getDbValue
Column type name from the database.- Returns:
- column type name
-
getModelValue
Column type name from thejakarta.persistence.Entitymodel.- Returns:
- column type name
-