public interface TypeManager
| Modifier and Type | Method and Description |
|---|---|
void |
add(ScalarType<?> scalarType)
Register a ScalarType with the system.
|
CheckImmutableResponse |
checkImmutable(Class<?> cls)
Check if the type is immutable using reflection.
|
ScalarType<?> |
createEnumScalarType(Class<?> enumType)
Create a ScalarType for an Enum using a mapping (rather than JPA Ordinal
or String which has limitations).
|
CtCompoundType<?> |
getCompoundType(Class<?> type)
Return the Internal CompoundType handler for a given compound type.
|
<T> ScalarType<T> |
getScalarType(Class<T> type)
Return the ScalarType for a given logical type.
|
<T> ScalarType<T> |
getScalarType(Class<T> type,
int jdbcType)
For java.util.Date and java.util.Calendar additionally pass the jdbc type
that you would like the ScalarType to map to.
|
ScalarType<?> |
getScalarType(int jdbcType)
Return the ScalarType for a given jdbc type.
|
ScalarDataReader<?> |
recursiveCreateScalarDataReader(Class<?> cls)
Create ScalarDataReader's for the Immutable compound type.
|
ScalarType<?> |
recursiveCreateScalarTypes(Class<?> cls)
Create ScalarTypes for this Immutable Value Object type.
|
CheckImmutableResponse checkImmutable(Class<?> cls)
ScalarDataReader<?> recursiveCreateScalarDataReader(Class<?> cls)
ScalarType<?> recursiveCreateScalarTypes(Class<?> cls)
void add(ScalarType<?> scalarType)
CtCompoundType<?> getCompoundType(Class<?> type)
ScalarType<?> getScalarType(int jdbcType)
jdbcType - as per java.sql.Types<T> ScalarType<T> getScalarType(Class<T> type)
<T> ScalarType<T> getScalarType(Class<T> type, int jdbcType)
ScalarType<?> createEnumScalarType(Class<?> enumType)
Copyright © 2014. All Rights Reserved.