Module eclipselink
Class TableValidationException.DifferentColumns.Difference
java.lang.Object
org.eclipse.persistence.tools.schemaframework.TableValidationException.DifferentColumns.Difference
- Direct Known Subclasses:
TableValidationException.DifferentColumns.NullableDifference,TableValidationException.DifferentColumns.TypeDifference
- Enclosing class:
TableValidationException.DifferentColumns
Column difference description.
-
Method Summary
Modifier and TypeMethodDescriptionName of the database column.getType()Type of the difference in the column definition.abstract <T extends TableValidationException.DifferentColumns.Difference>
TUnwrapTableValidationException.DifferentColumns.Differenceas specific subtype.
-
Method Details
-
unwrap
public abstract <T extends TableValidationException.DifferentColumns.Difference> T unwrap(Class<T> type) UnwrapTableValidationException.DifferentColumns.Differenceas specific subtype. The specificTableValidationException.DifferentColumns.Differencesubtype depends on theTableValidationException.DifferentColumns.Type.- Type Parameters:
T- theTableValidationException.DifferentColumns.Differencesubtype class- Parameters:
type- theTableValidationException.DifferentColumns.Differencespecific subtype matching theTableValidationException.DifferentColumns.Type.- Returns:
- the
TableValidationException.DifferentColumns.Differencecast to the specific subtype
-
getColumnName
Name of the database column.- Returns:
- name of the database column
-
getType
Type of the difference in the column definition. E.g. E.g. type difference or nullable difference. Each specific difference has its ownTableValidationException.DifferentColumns.Differencesubtype.- Returns:
- type of the difference
-