Module eclipselink
Class TableValidationException.DifferentColumns.NullableDifference
java.lang.Object
org.eclipse.persistence.tools.schemaframework.TableValidationException.DifferentColumns.Difference
org.eclipse.persistence.tools.schemaframework.TableValidationException.DifferentColumns.NullableDifference
- Enclosing class:
TableValidationException.DifferentColumns
public static class TableValidationException.DifferentColumns.NullableDifference
extends TableValidationException.DifferentColumns.Difference
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether database column type definition allowsNULLvalues.booleanWhetherjakarta.persistence.Entitymodel column type definition allowsNULLvalues.<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
-
isDbNullable
public boolean isDbNullable()Whether database column type definition allowsNULLvalues.- Returns:
- type definition allows
NULLvalues thentrue
-
isModelNullable
public boolean isModelNullable()Whetherjakarta.persistence.Entitymodel column type definition allowsNULLvalues.- Returns:
- type definition allows
NULLvalues thentrue
-