Package | Description |
---|---|
org.fastnate.generator.context | |
org.fastnate.generator.converter | |
org.fastnate.generator.provider |
Modifier and Type | Field and Description |
---|---|
private ValueConverter<T> |
PrimitiveProperty.converter
The converter for any value.
|
private ValueConverter<K> |
MapProperty.keyConverter
The converter for the target value,
null if not a primitive value. |
private ValueConverter<T> |
PluralProperty.valueConverter
The converter for the value of the collection,
null if not a primitive value. |
Modifier and Type | Field and Description |
---|---|
private static Map<String,Supplier<? extends ValueConverter<?>>> |
AnyMapping.META_TYPES |
Modifier and Type | Method and Description |
---|---|
ValueConverter<T> |
PrimitiveProperty.getConverter()
The converter for any value.
|
ValueConverter<K> |
MapProperty.getKeyConverter()
The converter for the target value,
null if not a primitive value. |
ValueConverter<T> |
PluralProperty.getValueConverter()
The converter for the value of the collection,
null if not a primitive value. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDateConverter<T>
|
class |
BooleanConverter
Converts a boolean to a SQL expression.
|
class |
CalendarConverter
Converts a calendar property of an
EntityClass to SQL. |
class |
CharConverter
Describes a char property of an
EntityClass . |
class |
CustomValueConverter<T,C>
A value converter that uses an
AttributeConverter . |
class |
DateConverter
Converts a date property of an
EntityClass to SQL. |
class |
DurationConverter
Converts a
Duration to an SQL expression. |
class |
EntityConverter
Converts the reference to an entity to an expression that uses the sequence value of that entity.
|
class |
EnumConverter<E extends Enum<E>>
Describes a enum property of an
EntityClass . |
class |
LobConverter
Generates the expression for a
property . |
class |
NumberConverter
Converts a numeric value to a SQL expression.
|
class |
SerializableConverter
Converts a
Serializable to a SQL expression. |
class |
StringConverter
Converts a string property of an
EntityClass . |
class |
TemporalConverter<T extends Temporal>
|
class |
UnsupportedTypeConverter
Converter used for all types that we can't convert.
|
Modifier and Type | Field and Description |
---|---|
private ValueConverter<C> |
CustomValueConverter.valueConverter |
Constructor and Description |
---|
CustomValueConverter(javax.persistence.AttributeConverter<T,C> customConverter,
ValueConverter<C> valueConverter) |
Modifier and Type | Method and Description |
---|---|
default <T> ValueConverter<T> |
JpaProvider.createBasicConverter(String attributeName,
Class<T> targetType)
Creates a converter for a primitive database type.
|
default <T> ValueConverter<T> |
JpaProvider.createConverter(AttributeAccessor attribute,
Class<T> targetType,
boolean mapKey)
Creates a converter for an attribute that has a
PrimitiveProperty . |
default <T> ValueConverter<T> |
JpaProvider.createFallbackConverter(String attributeName,
Class<T> targetType)
Creates the converter for a type that is unknown to us.
|
Copyright © 2022 fastnate.org. All rights reserved.