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.Difference
as specific subtype.
-
Method Details
-
unwrap
public abstract <T extends TableValidationException.DifferentColumns.Difference> T unwrap(Class<T> type) UnwrapTableValidationException.DifferentColumns.Difference
as specific subtype. The specificTableValidationException.DifferentColumns.Difference
subtype depends on theTableValidationException.DifferentColumns.Type
.- Type Parameters:
T
- theTableValidationException.DifferentColumns.Difference
subtype class- Parameters:
type
- theTableValidationException.DifferentColumns.Difference
specific subtype matching theTableValidationException.DifferentColumns.Type
.- Returns:
- the
TableValidationException.DifferentColumns.Difference
cast 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.Difference
subtype.- Returns:
- type of the difference
-